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["AccountIdOf","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"]
SetOngoingTimeUnit730f["CurrencyIdOf","TimeUnit"]
IncentivizedMinting7310["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf"]
VtokenIncentiveCoefSet7311["CurrencyIdOf","Option<u128>"]
VtokenIncentiveLockBlocksSet7312["CurrencyIdOf","Option<BlockNumberFor>"]
SupportedEthSet7313["BoundedVec<CurrencyId, ConstU32<10>>"]
Storage Functions
Name
Type
Fees{"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":750}
TokenPool{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":287,"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":287,"value_id":318}}
OngoingTimeUnit{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:time_unit:TimeUnit","keys_id":287,"value_id":318}}
MinimumMint{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":287,"value_id":6}}
MinimumRedeem{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":287,"value_id":6}}
TokenUnlockNextId{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":287,"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":751,"value_id":752}}
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@755","keys_id":716,"value_id":754}}
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@758bifrost_primitives:currency:CurrencyId","keys_id":756,"value_id":757}}
TokenToRebond{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":287,"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":287,"value_id":318}}
UnlockingTotal{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":287,"value_id":6}}
HookIterationLimit{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
SupportedEth{"origin":"PlainType","plain_type":"Vec<bifrost_primitives:currency:CurrencyId>","PlainTypeValue":320}
EthUnlockNextId{"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":287,"value_id":4}}
VtokenIncentiveCoef{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":287,"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@760","keys_id":716,"value_id":759}}
Constants
Name
Type
Value
MaximumUnlockIdOfUserU320a000000
MaximumUnlockIdOfTimeUnitU32e8030000
MaxLockRecordsU3264000000
EntranceAccount[U8; 8]62662f76746b696e
ExitAccount[U8; 8]62662f76746f7574
FeeAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
RedeemFeeAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
IncentivePoolAccount[U8; 8]62662f696e706f6f
RelayChainTokenbifrost_primitives:currency:CurrencyId0204
MoonbeamChainIdU32e7070000
Error Types
Name
Docs
BelowMinimumMintBelow minimum mint amount.
BelowMinimumRedeemBelow minimum redeem amount.
InvalidRebondTokenInvalid token to rebond.
NotSupportTokenTypeToken type not support.
NotEnoughBalanceToUnlockNot enough balance to unlock.
TokenToRebondNotZeroToken unlock ledger not found.
OngoingTimeUnitNotSetOngoing time unit not set.
TokenUnlockLedgerNotFoundToken unlock ledger not found.
UserUnlockLedgerNotFoundUser unlock ledger not found.
TimeUnitUnlockLedgerNotFoundTime unit unlock ledger not found.
UnlockDurationNotFoundUnlock duration not found.
UnexpectedUnexpected error.
CalculationOverflowCalculation overflow.
ExceedMaximumUnlockIdExceed maximum unlock id.
TooManyRedeemsToo many redeems.
CanNotRebondCan not rebond.
NotEnoughBalanceNot enough balance.
VeBNCCheckingErrorveBNC checking error.
IncentiveCoefNotFoundIncentiveCoef not found.
TooManyLocksToo many locks.
NoUnlockRecordNo unlock record.
FailToRemoveLockFail to remove lock.
BalanceZeroBalance not zero.
IncentiveLockBlocksNotSetIncentiveLockBlocksNotSet