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_vtoken_multimap | 7312 | 2 | |
| set_v_currency_issuance | 7313 | 2 |
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>"] | |
| VTokenMultiMapSet | 7313 | ["CurrencyIdOf","VTokenMultiMap<CurrencyIdOf>"] | |
| VTokenMultiMapMigrated | 7314 | ["CurrencyIdOf","VTokenMultiMap<CurrencyIdOf>"] | |
| VtokenIssuanceSet | 7315 | ["CurrencyIdOf","BalanceOf"] |
Name | Type | |
|---|---|---|
| Fees | {"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":943} | |
| TokenPool | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"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":333,"value_id":418}} | |
| OngoingTimeUnit | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:time_unit:TimeUnit","keys_id":333,"value_id":418}} | |
| MinimumMint | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}} | |
| MinimumRedeem | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}} | |
| TokenUnlockNextId | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":333,"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":944,"value_id":945}} | |
| 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@948","keys_id":908,"value_id":947}} | |
| 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@951bifrost_primitives:currency:CurrencyId","keys_id":949,"value_id":950}} | |
| TokenToRebond | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"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":333,"value_id":418}} | |
| UnlockingTotal | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}} | |
| VtokenIssuance | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}} | |
| HookIterationLimit | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| VTokenToTokens | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"Vec<bifrost_vtoken_minting:VTokenTokenConfig>","keys_id":333,"value_id":420}} | |
| TokenToVToken | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:currency:CurrencyId","keys_id":333,"value_id":333}} | |
| MintWithLockBlocks | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":333,"value_id":4}} | |
| VtokenIncentiveCoef | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"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@953","keys_id":908,"value_id":952}} |
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 | 0800 | |
| MoonbeamChainId | U32 | d4070000 |
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. |
| BbBNCCheckingError | bbBNC 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 |
| VtokenIssuanceNotSet | VtokenIssuanceNotSet |
| TokenAlreadyMapped | Token already mapped to another vToken |
| InvalidVTokenMultiMapConfig | Invalid vToken multi-map configuration |
| TokenNotInVTokenMultiMap | Token not found in vToken multi-map |
| RedeemNotEnabled | Redeem not enabled for this token |