Module utils

Module utils 

Source

Structs§

AssetBundle
Bundle of assets within range of T, grouped by PolicyID then AssetName
Value
ValueEncoding

Enums§

AssetArithmeticError

Traits§

ClampedSub
Subtraction over a numerical type where the type’s minimum is returned if underflow would occur.

Type Aliases§

Coin
Mint
MultiAsset
NonZeroInt64
This should technically now allow 0 but this would make the API harder to use. At least for now we’ll keep it as Coin (aka u64) as an alias with this comment here. Later on it could potentially be redone to its own struct.
PositiveCoin
This should technically now allow 0 but this would make the API harder to use. At least for now we’ll keep it as Coin (aka u64) as an alias with this comment here. Later on it could potentially be redone to its own struct.