subscan
Runtime Modules / VtokenMinting
Spec Version:
Events
Name
Lookup
Attributes
Minted7300["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","BoundedVec<u8, ConstU32<32>>"]
Redeemed7301["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","UnlockId"]
RedeemSuccess7302["UnlockId","CurrencyIdOf","AccountIdOf","BalanceOf"]
Rebonded7303["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf"]
RebondedByUnlockId7304["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","UnlockId"]
UnlockDurationSet7305["CurrencyIdOf","TimeUnit"]
MinimumMintSet7306["CurrencyIdOf","BalanceOf"]
MinimumRedeemSet7307["CurrencyIdOf","BalanceOf"]
SupportRebondTokenAdded7308["CurrencyIdOf"]
SupportRebondTokenRemoved7309["CurrencyIdOf"]
FeeSet730a["Permill","Permill"]
HookIterationLimitSet730b["u32"]
UnlockingTotalSet730c["CurrencyIdOf","BalanceOf"]
MinTimeUnitSet730d["CurrencyIdOf","TimeUnit"]
FastRedeemFailed730e["DispatchError"]
CurrencyTimeUnitRecreated730f["CurrencyIdOf","TimeUnit"]
Storage Functions
Name
Type
Fees{"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":736}
TokenPool{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":251,"value_id":6}}
UnlockDuration{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":251,"value_id":279}}
OngoingTimeUnit{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":251,"value_id":279}}
MinimumMint{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":251,"value_id":6}}
MinimumRedeem{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":251,"value_id":6}}
TokenUnlockNextId{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":251,"value_id":4}}
TokenUnlockLedger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId","U32"],"value":"Tuple:AccountIdU128bifrost_primitives:TimeUnitbifrost_primitives:RedeemType","keys_id":737,"value_id":738}}
UserUnlockLedger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128bounded_collections:bounded_vec:BoundedVec@741","keys_id":696,"value_id":740}}
TimeUnitUnlockLedger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_primitives:TimeUnit","bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128bounded_collections:bounded_vec:BoundedVec@744bifrost_primitives:currency:CurrencyId","keys_id":742,"value_id":743}}
TokenToRebond{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":251,"value_id":6}}
MinTimeUnit{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":251,"value_id":279}}
UnlockingTotal{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":251,"value_id":6}}
HookIterationLimit{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Constants
Name
Type
Value
MaximumUnlockIdOfUserU320a000000
MaximumUnlockIdOfTimeUnitU3232000000
EntranceAccount[U8; 8]62662f76746b696e
ExitAccount[U8; 8]62662f76746f7574
FeeAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
RelayChainTokenbifrost_primitives:currency:CurrencyId0800
AstarParachainIdU32d6070000
MoonbeamParachainIdU32d4070000
HydradxParachainIdU32f2070000
InterlayParachainIdU32f0070000
MantaParachainIdU3238080000
Error Types
Name
Docs
BelowMinimumMint
BelowMinimumRedeem
InvalidRebondTokenInvalid token to rebond.
NotSupportTokenTypeToken type not support.
NotEnoughBalanceToUnlock
TokenToRebondNotZero
OngoingTimeUnitNotSet
TokenUnlockLedgerNotFound
UserUnlockLedgerNotFound
TimeUnitUnlockLedgerNotFound
UnlockDurationNotFound
Unexpected
CalculationOverflow
ExceedMaximumUnlockId
TooManyRedeems
CanNotRedeem
CanNotRebond