bifrost
subscan
Runtime Modules / VtokenMinting
Spec Version:
Events
Name
Lookup
Attributes
Minted7300["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","BoundedVec<u8, ConstU32<32>>","Option<u32>"]
Redeemed7301["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","UnlockId"]
RedeemSuccess7302["UnlockId","CurrencyIdOf","RedeemTo<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"]
IncentivizedMinting7310["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf"]
VtokenIncentiveCoefSet7311["CurrencyIdOf","Option<u128>"]
VtokenIncentiveLockBlocksSet7312["CurrencyIdOf","Option<BlockNumberFor>"]
Storage Functions
Name
Type
Fees{"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":852}
TokenPool{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":315,"value_id":6}}
UnlockDuration{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:time_unit:TimeUnit","keys_id":315,"value_id":342}}
OngoingTimeUnit{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:time_unit:TimeUnit","keys_id":315,"value_id":342}}
MinimumMint{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":315,"value_id":6}}
MinimumRedeem{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":315,"value_id":6}}
TokenUnlockNextId{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":315,"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:time_unit:TimeUnitbifrost_primitives:RedeemType","keys_id":853,"value_id":854}}
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@857","keys_id":815,"value_id":856}}
TimeUnitUnlockLedger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["bifrost_primitives:time_unit:TimeUnit","bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128bounded_collections:bounded_vec:BoundedVec@860bifrost_primitives:currency:CurrencyId","keys_id":858,"value_id":859}}
TokenToRebond{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":315,"value_id":6}}
MinTimeUnit{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:time_unit:TimeUnit","keys_id":315,"value_id":342}}
UnlockingTotal{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":315,"value_id":6}}
HookIterationLimit{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
MintWithLockBlocks{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":315,"value_id":4}}
VtokenIncentiveCoef{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":315,"value_id":6}}
VtokenLockLedger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","bifrost_primitives:currency:CurrencyId"],"value":"Tuple:U128bounded_collections:bounded_vec:BoundedVec@862","keys_id":815,"value_id":861}}
Constants
Name
Type
Value
MaximumUnlockIdOfUserU320a000000
MaximumUnlockIdOfTimeUnitU3232000000
MaxLockRecordsU3264000000
EntranceAccount[U8; 8]62662f76746b696e
ExitAccount[U8; 8]62662f76746f7574
FeeAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
RedeemFeeAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
IncentivePoolAccount[U8; 8]62662f696e706f6f
RelayChainTokenbifrost_primitives:currency:CurrencyId0800
MoonbeamChainIdU32d4070000
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
NotEnoughBalance
VeBNCCheckingError
IncentiveCoefNotFound
TooManyLocks
ConvertError
NoUnlockRecord
FailToRemoveLock
BalanceZero
IncentiveLockBlocksNotSet