Name | Lookup | Parameters | |
|---|---|---|---|
| set_fee_receiver | 5000 | 1 | |
| set_fee_point | 5001 | 1 | |
| transfer | 5002 | 3 | |
| transfer_to_parachain | 5003 | 5 | |
| create_pair | 5004 | 2 | |
| add_liquidity | 5005 | 7 | |
| remove_liquidity | 5006 | 7 | |
| swap_exact_assets_for_assets | 5007 | 5 | |
| swap_assets_for_exact_assets | 5008 | 5 | |
| bootstrap_create | 5009 | 7 | |
| bootstrap_contribute | 500a | 5 | |
| bootstrap_claim | 500b | 4 | |
| bootstrap_end | 500c | 2 | |
| bootstrap_update | 500d | 7 | |
| bootstrap_refund | 500e | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Transferred | 5000 | ||
| Burned | 5001 | ||
| Minted | 5002 | ||
| PairCreated | 5003 | ||
| LiquidityAdded | 5004 | ||
| LiquidityRemoved | 5005 | ||
| AssetSwap | 5006 | ||
| TransferredToParachain | 5007 | ||
| BootstrapContribute | 5008 | ||
| BootstrapEnd | 5009 | ||
| BootstrapCreated | 500a | ||
| BootstrapClaim | 500b | ||
| BootstrapUpdate | 500c | ||
| BootstrapRefund | 500d |
Name | Type | |
|---|---|---|
| ForeignLedger | {"origin":"MapType","map_type":{"key":"(AssetId, AccountId)","hasher":"Blake2_128Concat","value":"AssetBalance","isLinked":false}} | |
| ForeignMeta | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"AssetBalance","isLinked":false}} | |
| ForeignList | {"origin":"PlainType","plain_type":"Vec<AssetId>"} | |
| KLast | {"origin":"MapType","map_type":{"key":"(AssetId, AssetId)","hasher":"Twox64Concat","value":"AssetBalance","isLinked":false}} | |
| FeeMeta | {"origin":"PlainType","plain_type":"(Option<AccountId>, u8)"} | |
| LiquidityPairs | {"origin":"MapType","map_type":{"key":"(AssetId, AssetId)","hasher":"Blake2_128Concat","value":"Option<AssetId>","isLinked":false}} | |
| PairStatuses | {"origin":"MapType","map_type":{"key":"(AssetId, AssetId)","hasher":"Twox64Concat","value":"PairStatus<AssetBalance, BlockNumber, AccountId>","isLinked":false}} | |
| BootstrapPersonalSupply | {"origin":"MapType","map_type":{"key":"((AssetId, AssetId), AccountId)","hasher":"Blake2_128Concat","value":"(AssetBalance, AssetBalance)","isLinked":false}} | |
| BootstrapEndStatus | {"origin":"MapType","map_type":{"key":"(AssetId, AssetId)","hasher":"Twox64Concat","value":"PairStatus<AssetBalance, BlockNumber, AccountId>","isLinked":false}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | PalletId | 0x2f7a656e6c696e6b |
Name | Docs |
|---|---|
| RequireProtocolAdmin | Require the admin who can reset the admin and receiver of the protocol fee. |
| RequireProtocolAdminCandidate | Require the admin candidate who can become new admin after confirm. |
| InvalidFeePoint | Invalid fee_point |
| UnsupportedAssetType | Unsupported AssetId by this ZenlinkProtocol Version. |
| InsufficientAssetBalance | Account balance must be greater than or equal to the transfer amount. |
| NativeBalanceTooLow | Account native currency balance must be greater than ExistentialDeposit. |
| DeniedCreatePair | Trading pair can't be created. |
| PairAlreadyExists | Trading pair already exists. |
| PairNotExists | Trading pair does not exist. |
| AssetNotExists | Asset does not exist. |
| InsufficientLiquidity | Liquidity is not enough. |
| InsufficientPairReserve | Trading pair does have enough foreign. |
| InsufficientTargetAmount | Get target amount is less than exception. |
| ExcessiveSoldAmount | Sold amount is more than exception. |
| InvalidPath | Can't find pair though trading path. |
| IncorrectAssetAmountRange | Incorrect foreign amount range. |
| Overflow | Overflow. |
| Deadline | Transaction block number is larger than the end block number. |
| AccountIdBadLocation | Location given was invalid or unsupported. |
| ExecutionFailed | XCM execution failed. |
| DeniedTransferToSelf | Transfer to self by XCM message. |
| TargetChainNotRegistered | Not in ZenlinkRegistedParaChains. |
| InvariantCheckFailed | Can't pass the K value check |
| PairCreateForbidden | Created pair can't create now |
| NotInBootstrap | Pair is not in bootstrap |
| InvalidContributionAmount | Amount of contribution is invalid. |
| UnqualifiedBootstrap | Amount of contribution is invalid. |
| ZeroContribute | Zero contribute in bootstrap |
| DenyRefund | Bootstrap deny refund |
| DisableBootstrap | Bootstrap is disable |