Type Definition security::pallet::Nonce

source ·
pub type Nonce<T: Config> = StorageValue<_GeneratedPrefixForStorageNonce<T>, U256, ValueQuery>;
Expand description

Integer increment-only counter, used to prevent collisions when generating identifiers for e.g. issue, redeem or replace requests (for OP_RETURN field in Bitcoin).

Storage type is [StorageValue] with value type U256.