Name | Lookup | Parameters | |
|---|---|---|---|
| set_alternative_fee_swap_path | 0e00 | 1 | |
| set_swap_balance_threshold | 0e01 | 2 | |
| enable_charge_fee_pool | 0e02 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| SwapBalanceThresholdUpdated | 0e00 | ["CurrencyId","Balance"] | |
| ChargeFeePoolEnabled | 0e01 | ["AccountId","CurrencyId","Ratio","Balance","Balance"] |
Name | Type | |
|---|---|---|
| NextFeeMultiplier | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":52} | |
| AlternativeFeeSwapPath | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<acala_primitives:currency:CurrencyId>","keys_id":0,"value_id":360}} | |
| PoolSize | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":41,"value_id":6}} | |
| TokenExchangeRate | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":41,"value_id":52}} | |
| SwapBalanceThreshold | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":41,"value_id":6}} |
Name | Type | Value | |
|---|---|---|---|
| NativeCurrencyId | acala_primitives:currency:CurrencyId | 0000 | |
| DefaultFeeSwapPathList | Vec<Vec<acala_primitives:currency:CurrencyId>> | 0c0c00010002000008000200000c000300020000 | |
| 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 |
| DexNotAvailable | Dex swap pool is not available now |
| ChargeFeePoolAlreadyExisted | Charge fee pool is already exist |