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":775}
TokenPool{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":258,"value_id":6}}
UnlockDuration{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":258,"value_id":297}}
OngoingTimeUnit{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":258,"value_id":297}}
MinimumMint{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":258,"value_id":6}}
MinimumRedeem{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":258,"value_id":6}}
TokenUnlockNextId{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":258,"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":778,"value_id":779}}
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@782","keys_id":726,"value_id":781}}
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@785bifrost_primitives:currency:CurrencyId","keys_id":783,"value_id":784}}
TokenToRebond{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":258,"value_id":6}}
MinTimeUnit{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":258,"value_id":297}}
UnlockingTotal{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":258,"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:CurrencyId0204
AstarParachainIdU32d7070000
MoonbeamParachainIdU32e7070000
HydradxParachainIdU32f2070000
InterlayParachainIdU322c080000
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