Name | Lookup | Parameters | |
---|---|---|---|
mint | 7300 | 4 | |
redeem | 7301 | 3 | |
rebond | 7302 | 2 | |
rebond_by_unlock_id | 7303 | 2 | |
set_unlock_duration | 7304 | 2 | |
set_minimum_mint | 7305 | 2 | |
set_minimum_redeem | 7306 | 2 | |
add_support_rebond_token | 7307 | 1 | |
remove_support_rebond_token | 7308 | 1 | |
set_fees | 7309 | 2 | |
set_hook_iteration_limit | 730a | 1 | |
set_unlocking_total | 730b | 2 | |
set_min_time_unit | 730c | 2 | |
set_ongoing_time_unit | 730d | 2 | |
mint_with_lock | 730e | 4 | |
unlock_incentive_minted_vtoken | 730f | 1 | |
set_incentive_coef | 7310 | 2 | |
set_vtoken_incentive_lock_blocks | 7311 | 2 | |
set_supported_eth | 7312 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Minted | 7300 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","BoundedVec<u8, ConstU32<32>>","Option<u32>"] | |
Redeemed | 7301 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","UnlockId"] | |
RedeemSuccess | 7302 | ["AccountIdOf","UnlockId","CurrencyIdOf","RedeemTo<AccountIdOf>","BalanceOf"] | |
Rebonded | 7303 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf"] | |
RebondedByUnlockId | 7304 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","UnlockId"] | |
UnlockDurationSet | 7305 | ["CurrencyIdOf","TimeUnit"] | |
MinimumMintSet | 7306 | ["CurrencyIdOf","BalanceOf"] | |
MinimumRedeemSet | 7307 | ["CurrencyIdOf","BalanceOf"] | |
SupportRebondTokenAdded | 7308 | ["CurrencyIdOf"] | |
SupportRebondTokenRemoved | 7309 | ["CurrencyIdOf"] | |
FeeSet | 730a | ["Permill","Permill"] | |
HookIterationLimitSet | 730b | ["u32"] | |
UnlockingTotalSet | 730c | ["CurrencyIdOf","BalanceOf"] | |
MinTimeUnitSet | 730d | ["CurrencyIdOf","TimeUnit"] | |
FastRedeemFailed | 730e | ["DispatchError"] | |
SetOngoingTimeUnit | 730f | ["CurrencyIdOf","TimeUnit"] | |
IncentivizedMinting | 7310 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf"] | |
VtokenIncentiveCoefSet | 7311 | ["CurrencyIdOf","Option<u128>"] | |
VtokenIncentiveLockBlocksSet | 7312 | ["CurrencyIdOf","Option<BlockNumberFor>"] | |
SupportedEthSet | 7313 | ["BoundedVec<CurrencyId, ConstU32<10>>"] |
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}} |
Name | Type | Value | |
---|---|---|---|
MaximumUnlockIdOfUser | U32 | 0a000000 | |
MaximumUnlockIdOfTimeUnit | U32 | e8030000 | |
MaxLockRecords | U32 | 64000000 | |
EntranceAccount | [U8; 8] | 62662f76746b696e | |
ExitAccount | [U8; 8] | 62662f76746f7574 | |
FeeAccount | AccountId | 6d6f646c62662f74727372790000000000000000000000000000000000000000 | |
RedeemFeeAccount | AccountId | 6d6f646c62662f74727372790000000000000000000000000000000000000000 | |
IncentivePoolAccount | [U8; 8] | 62662f696e706f6f | |
RelayChainToken | bifrost_primitives:currency:CurrencyId | 0204 | |
MoonbeamChainId | U32 | e7070000 |
Name | Docs |
---|---|
BelowMinimumMint | Below minimum mint amount. |
BelowMinimumRedeem | Below minimum redeem amount. |
InvalidRebondToken | Invalid token to rebond. |
NotSupportTokenType | Token type not support. |
NotEnoughBalanceToUnlock | Not enough balance to unlock. |
TokenToRebondNotZero | Token unlock ledger not found. |
OngoingTimeUnitNotSet | Ongoing time unit not set. |
TokenUnlockLedgerNotFound | Token unlock ledger not found. |
UserUnlockLedgerNotFound | User unlock ledger not found. |
TimeUnitUnlockLedgerNotFound | Time unit unlock ledger not found. |
UnlockDurationNotFound | Unlock duration not found. |
Unexpected | Unexpected error. |
CalculationOverflow | Calculation overflow. |
ExceedMaximumUnlockId | Exceed maximum unlock id. |
TooManyRedeems | Too many redeems. |
CanNotRebond | Can not rebond. |
NotEnoughBalance | Not enough balance. |
VeBNCCheckingError | veBNC checking error. |
IncentiveCoefNotFound | IncentiveCoef not found. |
TooManyLocks | Too many locks. |
NoUnlockRecord | No unlock record. |
FailToRemoveLock | Fail to remove lock. |
BalanceZero | Balance not zero. |
IncentiveLockBlocksNotSet | IncentiveLockBlocksNotSet |