Name | Lookup | Parameters | |
---|---|---|---|
mint | 7300 | 2 | |
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"] | |
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"] |
Name | Type | |
---|---|---|
Fees | {"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":659} | |
TokenPool | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"U128","keys_id":117,"value_id":6}} | |
UnlockDuration | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"node_primitives:TimeUnit","keys_id":117,"value_id":151}} | |
OngoingTimeUnit | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"node_primitives:TimeUnit","keys_id":117,"value_id":151}} | |
MinimumMint | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"U128","keys_id":117,"value_id":6}} | |
MinimumRedeem | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"U128","keys_id":117,"value_id":6}} | |
TokenUnlockNextId | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"U32","keys_id":117,"value_id":4}} | |
TokenUnlockLedger | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["node_primitives:currency:CurrencyId","U32"],"value":"Tuple:AccountIdU128node_primitives:TimeUnit","keys_id":662,"value_id":663}} | |
UserUnlockLedger | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","node_primitives:currency:CurrencyId"],"value":"Tuple:U128Vec<U32>","keys_id":592,"value_id":664}} | |
TimeUnitUnlockLedger | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["node_primitives:TimeUnit","node_primitives:currency:CurrencyId"],"value":"Tuple:U128Vec<U32>node_primitives:currency:CurrencyId","keys_id":666,"value_id":667}} | |
TokenToRebond | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"U128","keys_id":117,"value_id":6}} | |
MinTimeUnit | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"node_primitives:TimeUnit","keys_id":117,"value_id":151}} | |
UnlockingTotal | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"U128","keys_id":117,"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 | node_primitives:currency:CurrencyId | 0204 |
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 |