Name | Lookup | Parameters | |
|---|---|---|---|
| set_alternative_fee_swap_path | 0e00 | 1 | |
| set_global_fee_swap_path | 0e01 | 1 | |
| remove_global_fee_swap_path | 0e02 | 1 | |
| set_swap_balance_threshold | 0e03 | 2 | |
| enable_charge_fee_pool | 0e04 | 3 | |
| disable_charge_fee_pool | 0e05 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| GlobalFeeSwapPathUpdated | 0e00 | ["Option<Vec<CurrencyId>>","Vec<CurrencyId>"] | |
| GlobalFeeSwapPathRemoved | 0e01 | ["Vec<CurrencyId>"] | |
| SwapBalanceThresholdUpdated | 0e02 | ["CurrencyId","Balance"] | |
| ChargeFeePoolEnabled | 0e03 | ["AccountId","CurrencyId","Ratio","Balance","Balance"] | |
| ChargeFeePoolSwapped | 0e04 | ["Ratio","Ratio","Ratio","Balance"] | |
| ChargeFeePoolDisabled | 0e05 | ["CurrencyId","Balance","Balance"] |
Name | Type | |
|---|---|---|
| NextFeeMultiplier | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":56} | |
| AlternativeFeeSwapPath | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<acala_primitives:currency:CurrencyId>","keys_id":0,"value_id":370}} | |
| GlobalFeeSwapPath | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"Vec<acala_primitives:currency:CurrencyId>","keys_id":43,"value_id":370}} | |
| PoolSize | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":43,"value_id":6}} | |
| TokenExchangeRate | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":43,"value_id":56}} | |
| SwapBalanceThreshold | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":43,"value_id":6}} |
Name | Type | Value | |
|---|---|---|---|
| NativeCurrencyId | acala_primitives:currency:CurrencyId | 0000 | |
| DefaultFeeSwapPathList | Vec<Vec<acala_primitives:currency:CurrencyId>> | 0c08000100000c040d00000000010000100002040d00000000010000 | |
| TransactionByteFee | U128 | 80969800000000000000000000000000 | |
| OperationalFeeMultiplier | U64 | 00407a10f35a0000 | |
| TipPerWeightStep | U128 | 00e40b54020000000000000000000000 | |
| MaxTipsOfPriority | U128 | 0000c16ff28623000000000000000000 | |
| AlternativeFeeSwapDeposit | U128 | 00e87648170000000000000000000000 | |
| MaxSwapSlippageCompareToOracle | U128 | 00004f8c34e814020000000000000000 | |
| TradingPathLimit | U32 | 04000000 | |
| PalletId | [U8; 8] | 6163612f66656573 | |
| TreasuryAccount | AccountId | 6d6f646c6163612f747273790000000000000000000000000000000000000000 | |
| WeightToFee | Vec<frame_support:weights:WeightToFeeCoefficient> | 0408000000000000000000000000000000000000000001 |
Name | Docs |
|---|---|
| InvalidSwapPath | The swap path is invalid |
| InvalidBalance | The balance is invalid |
| InvalidRate | Can't find rate by the supply token |
| InvalidToken | Can't find the token info in the charge fee pool |
| DexNotAvailable | Dex swap pool is not available now |
| ChargeFeePoolAlreadyExisted | Charge fee pool is already exist |
| SwapPathNotExists | The swap path not exists. |