Name | Lookup | Parameters | |
|---|---|---|---|
| mint | 7300 | 3 | |
| redeem | 7301 | 2 | |
| 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 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Minted | 7300 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf","BoundedVec<u8, ConstU32<32>>"] | |
| Redeemed | 7301 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf"] | |
| RedeemSuccess | 7302 | ["UnlockId","CurrencyIdOf","AccountIdOf","BalanceOf"] | |
| Rebonded | 7303 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf"] | |
| RebondedByUnlockId | 7304 | ["AccountIdOf","CurrencyIdOf","BalanceOf","BalanceOf","BalanceOf"] | |
| 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"] |
Name | Type | |
|---|---|---|
| Fees | {"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":719} | |
| TokenPool | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":250,"value_id":6}} | |
| UnlockDuration | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":250,"value_id":279}} | |
| OngoingTimeUnit | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":250,"value_id":279}} | |
| MinimumMint | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":250,"value_id":6}} | |
| MinimumRedeem | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":250,"value_id":6}} | |
| TokenUnlockNextId | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U32","keys_id":250,"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":720,"value_id":721}} | |
| 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@724","keys_id":679,"value_id":723}} | |
| 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@727bifrost_primitives:currency:CurrencyId","keys_id":725,"value_id":726}} | |
| TokenToRebond | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":250,"value_id":6}} | |
| MinTimeUnit | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_primitives:TimeUnit","keys_id":250,"value_id":279}} | |
| UnlockingTotal | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":250,"value_id":6}} | |
| HookIterationLimit | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Type | Value | |
|---|---|---|---|
| MaximumUnlockIdOfUser | U32 | 0a000000 | |
| MaximumUnlockIdOfTimeUnit | U32 | 32000000 | |
| EntranceAccount | [U8; 8] | 62662f76746b696e | |
| ExitAccount | [U8; 8] | 62662f76746f7574 | |
| FeeAccount | AccountId | 6d6f646c62662f74727372790000000000000000000000000000000000000000 | |
| RelayChainToken | bifrost_primitives:currency:CurrencyId | 0800 | |
| AstarParachainId | U32 | d6070000 | |
| MoonbeamParachainId | U32 | d4070000 | |
| HydradxParachainId | U32 | f2070000 | |
| InterlayParachainId | U32 | f0070000 |
Name | Docs |
|---|---|
| BelowMinimumMint | |
| BelowMinimumRedeem | |
| InvalidRebondToken | Invalid token to rebond. |
| NotSupportTokenType | Token type not support. |
| NotEnoughBalanceToUnlock | |
| TokenToRebondNotZero | |
| OngoingTimeUnitNotSet | |
| TokenUnlockLedgerNotFound | |
| UserUnlockLedgerNotFound | |
| TimeUnitUnlockLedgerNotFound | |
| UnlockDurationNotFound | |
| Unexpected | |
| CalculationOverflow | |
| ExceedMaximumUnlockId | |
| TooManyRedeems | |
| CanNotRedeem | |
| CanNotRebond |