Name | Lookup | Parameters | |
---|---|---|---|
create_pool | 3700 | 2 | |
add_liquidity | 3701 | 7 | |
remove_liquidity | 3702 | 6 | |
swap_exact_tokens_for_tokens | 3703 | 5 | |
swap_tokens_for_exact_tokens | 3704 | 5 |
Name | Lookup | Attributes | |
---|---|---|---|
PoolCreated | 3700 | ["AccountId","PoolId","AccountId","PoolAssetId"] | |
LiquidityAdded | 3701 | ["AccountId","AccountId","PoolId","Balance","Balance","PoolAssetId","Balance"] | |
LiquidityRemoved | 3702 | ["AccountId","AccountId","PoolId","Balance","Balance","PoolAssetId","Balance","Permill"] | |
SwapExecuted | 3703 | ["AccountId","AccountId","Balance","Balance","BalancePath"] | |
SwapCreditExecuted | 3704 | ["Balance","Balance","BalancePath"] |
Name | Type | |
---|---|---|
Pools | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["staging_xcm:v3:multilocation:MultiLocation","staging_xcm:v3:multilocation:MultiLocation"],"value":"U32","keys_id":148,"value_id":453}} | |
NextPoolAssetId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Type | Value | |
---|---|---|---|
LPFee | U32 | 03000000 | |
PoolSetupFee | U128 | 402d93ef000000000000000000000000 | |
PoolSetupFeeAsset | staging_xcm:v3:multilocation:MultiLocation | 0100 | |
LiquidityWithdrawalFee | U32 | 00000000 | |
MintMinLiquidity | U128 | 64000000000000000000000000000000 | |
MaxSwapPathLength | U32 | 03000000 | |
PalletId | [U8; 8] | 70792f6173636f6e |
Name | Docs |
---|---|
InvalidAssetPair | Provided asset pair is not supported for pool. |
PoolExists | Pool already exists. |
WrongDesiredAmount | Desired amount can't be zero. |
AmountOneLessThanMinimal | Provided amount should be greater than or equal to the existential deposit/asset'sminimal amount. |
AmountTwoLessThanMinimal | Provided amount should be greater than or equal to the existential deposit/asset'sminimal amount. |
ReserveLeftLessThanMinimal | Reserve needs to always be greater than or equal to the existential deposit/asset'sminimal amount. |
AmountOutTooHigh | Desired amount can't be equal to the pool reserve. |
PoolNotFound | The pool doesn't exist. |
Overflow | An overflow happened. |
AssetOneDepositDidNotMeetMinimum | The minimal amount requirement for the first token in the pair wasn't met. |
AssetTwoDepositDidNotMeetMinimum | The minimal amount requirement for the second token in the pair wasn't met. |
AssetOneWithdrawalDidNotMeetMinimum | The minimal amount requirement for the first token in the pair wasn't met. |
AssetTwoWithdrawalDidNotMeetMinimum | The minimal amount requirement for the second token in the pair wasn't met. |
OptimalAmountLessThanDesired | Optimal calculated amount is less than desired. |
InsufficientLiquidityMinted | Insufficient liquidity minted. |
ZeroLiquidity | Requested liquidity can't be zero. |
ZeroAmount | Amount can't be zero. |
ProvidedMinimumNotSufficientForSwap | Calculated amount out is less than provided minimum amount. |
ProvidedMaximumNotSufficientForSwap | Provided maximum amount is not sufficient for swap. |
InvalidPath | The provided path must consists of 2 assets at least. |
NonUniquePath | The provided path must consists of unique assets. |
IncorrectPoolAssetId | It was not possible to get or increment the Id of the pool. |
BelowMinimum | The destination account cannot exist with the swapped funds. |