Name | Lookup | Parameters | |
|---|---|---|---|
| set_vtoken | 8a00 | 8 | |
| charge | 8a01 | 2 | |
| remove_vtoken | 8a02 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Charged | 8a00 | ["AccountIdOf","CurrencyIdOf","BalanceOf"] | |
| ConfigSet | 8a01 | ["CurrencyIdOf","Info<BalanceOf, BlockNumberFor>"] | |
| Removed | 8a02 | ["CurrencyIdOf"] | |
| BuyBackFailed | 8a03 | ["CurrencyIdOf","BlockNumberFor"] | |
| BuyBackSuccess | 8a04 | ["CurrencyIdOf","BlockNumberFor"] | |
| AddLiquidityFailed | 8a05 | ["CurrencyIdOf","BlockNumberFor"] | |
| AddLiquiditySuccess | 8a06 | ["CurrencyIdOf","BlockNumberFor"] | |
| SetSwapOutMinFailed | 8a07 | ["CurrencyIdOf","BlockNumberFor"] | |
| SetSwapOutMinSuccess | 8a08 | ["CurrencyIdOf","BlockNumberFor"] |
Name | Type | |
|---|---|---|
| Infos | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"bifrost_buy_back:pallet:Info","keys_id":333,"value_id":653}} | |
| SwapOutMin | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}} | |
| AddLiquiditySwapOutMin | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":333,"value_id":6}} |
Name | Type | Value | |
|---|---|---|---|
| TreasuryAccount | AccountId | 6d6f646c62662f74727372790000000000000000000000000000000000000000 | |
| BuyBackAccount | [U8; 8] | 62662f627962636b | |
| LiquidityAccount | [U8; 8] | 62662f6c69716474 |
Name | Docs |
|---|---|
| NotEnoughBalance | Insufficient balance. |
| CurrencyIdNotExists | Currency does not exist. |
| CurrencyIdError | Currency is not supported. |
| ZeroDuration | Duration can't be zero. |
| ZeroMinSwapValue | Field min_swap_value can't be zero. |