Name | Lookup | Parameters | |
---|---|---|---|
swap_with_exact_supply | 6f00 | 3 | |
swap_with_exact_target | 6f01 | 3 | |
add_liquidity | 6f02 | 6 | |
add_provision | 6f03 | 4 | |
claim_dex_share | 6f04 | 3 | |
remove_liquidity | 6f05 | 6 | |
list_provisioning | 6f06 | 7 | |
update_provisioning_parameters | 6f07 | 7 | |
end_provisioning | 6f08 | 2 | |
enable_trading_pair | 6f09 | 2 | |
disable_trading_pair | 6f0a | 2 | |
refund_provision | 6f0b | 3 | |
abort_provisioning | 6f0c | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
AddProvision | 6f00 | ["AccountId","CurrencyId","Balance","CurrencyId","Balance"] | |
AddLiquidity | 6f01 | ["AccountId","CurrencyId","Balance","CurrencyId","Balance","Balance"] | |
RemoveLiquidity | 6f02 | ["AccountId","CurrencyId","Balance","CurrencyId","Balance","Balance"] | |
Swap | 6f03 | ["AccountId","Vec<CurrencyId>","Vec<Balance>"] | |
EnableTradingPair | 6f04 | ["TradingPair"] | |
ListProvisioning | 6f05 | ["TradingPair"] | |
DisableTradingPair | 6f06 | ["TradingPair"] | |
ProvisioningToEnabled | 6f07 | ["TradingPair","Balance","Balance","Balance"] | |
RefundProvision | 6f08 | ["AccountId","CurrencyId","Balance","CurrencyId","Balance"] | |
ProvisioningAborted | 6f09 | ["TradingPair","Balance","Balance"] |
Name | Type | |
---|---|---|
LiquidityPool | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:TradingPair"],"value":"Tuple:U128U128","keys_id":120,"value_id":499}} | |
TradingPairStatuses | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:TradingPair"],"value":"module_dex:TradingPairStatus","keys_id":120,"value_id":519}} | |
ProvisioningPool | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["acala_primitives:TradingPair","AccountId"],"value":"Tuple:U128U128","keys_id":521,"value_id":499}} | |
InitialShareExchangeRates | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:TradingPair"],"value":"Tuple:U128U128","keys_id":120,"value_id":522}} |
Name | Type | Value | |
---|---|---|---|
GetExchangeFee | Tuple:U32U32 | 01000000e8030000 | |
TradingPathLimit | U32 | 04000000 | |
PalletId | [U8; 8] | 6163612f6465786d | |
ExtendedProvisioningBlocks | U32 | 40380000 |
Name | Docs |
---|---|
AlreadyEnabled | |
MustBeEnabled | |
MustBeProvisioning | |
MustBeDisabled | |
NotAllowedList | |
InvalidContributionIncrement | |
InvalidLiquidityIncrement | |
InvalidCurrencyId | |
InvalidTradingPathLength | |
InsufficientTargetAmount | |
ExcessiveSupplyAmount | |
InsufficientLiquidity | |
ZeroSupplyAmount | |
ZeroTargetAmount | |
UnacceptableShareIncrement | |
UnacceptableLiquidityWithdrawn | |
InvariantCheckFailed | |
UnqualifiedProvision | |
StillProvisioning | |
AssetUnregistered | |
InvalidTradingPath | |
NotAllowedRefund | |
CannotSwap |