Name | Lookup | Parameters | |
|---|---|---|---|
| set_fee_receiver | 3b00 | 1 | |
| set_fee_point | 3b01 | 1 | |
| transfer | 3b02 | 3 | |
| create_pair | 3b03 | 3 | |
| add_liquidity | 3b04 | 7 | |
| remove_liquidity | 3b05 | 7 | |
| swap_exact_assets_for_assets | 3b06 | 5 | |
| swap_assets_for_exact_assets | 3b07 | 5 | |
| bootstrap_create | 3b08 | 9 | |
| bootstrap_contribute | 3b09 | 5 | |
| bootstrap_claim | 3b0a | 4 | |
| bootstrap_end | 3b0b | 2 | |
| bootstrap_update | 3b0c | 9 | |
| bootstrap_refund | 3b0d | 2 | |
| bootstrap_charge_reward | 3b0e | 3 | |
| bootstrap_withdraw_reward | 3b0f | 3 | |
| set_new_fee_receiver | 3b10 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Transferred | 3b00 | ["AssetId","AccountId","AccountId","AssetBalance"] | |
| Burned | 3b01 | ["AssetId","AccountId","AssetBalance"] | |
| Minted | 3b02 | ["AssetId","AccountId","AssetBalance"] | |
| PairCreated | 3b03 | ["AssetId","AssetId"] | |
| LiquidityAdded | 3b04 | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
| LiquidityRemoved | 3b05 | ["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
| AssetSwap | 3b06 | ["AccountId","AccountId","Vec<AssetId>","Vec<AssetBalance>"] | |
| TransferredToParachain | 3b07 | ["AssetId","AccountId","ParaId","AccountId","AssetBalance","u64"] | |
| BootstrapContribute | 3b08 | ["AccountId","AssetId","AssetBalance","AssetId","AssetBalance"] | |
| BootstrapEnd | 3b09 | ["AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
| BootstrapCreated | 3b0a | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumberFor"] | |
| BootstrapClaim | 3b0b | ["AccountId","AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
| BootstrapUpdate | 3b0c | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumberFor"] | |
| BootstrapRefund | 3b0d | ["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance"] | |
| DistributeReward | 3b0e | ["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"] | |
| ChargeReward | 3b0f | ["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"] | |
| WithdrawReward | 3b10 | ["AssetId","AssetId","AccountId"] |
Name | Type | |
|---|---|---|
| ForeignLedger | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdAccountId"],"value":"U128","keys_id":611,"value_id":6}} | |
| ForeignMeta | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId"],"value":"U128","keys_id":136,"value_id":6}} | |
| ForeignList | {"origin":"PlainType","plain_type":"Vec<zenlink_protocol:primitives:AssetId>","PlainTypeValue":137} | |
| KLast | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetId"],"value":"U256","keys_id":612,"value_id":613}} | |
| FeeMeta | {"origin":"PlainType","plain_type":"Tuple:option<AccountId>U8","PlainTypeValue":615} | |
| FeeReceiver | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId"],"value":"AccountId","keys_id":136,"value_id":0}} | |
| LiquidityPairs | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetId"],"value":"option<zenlink_protocol:primitives:AssetId>","keys_id":612,"value_id":616}} | |
| PairStatuses | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetId"],"value":"zenlink_protocol:primitives:PairStatus","keys_id":612,"value_id":617}} | |
| BootstrapPersonalSupply | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Tuple:Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetIdAccountId"],"value":"Tuple:U128U128","keys_id":621,"value_id":620}} | |
| BootstrapEndStatus | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetId"],"value":"zenlink_protocol:primitives:PairStatus","keys_id":612,"value_id":617}} | |
| BootstrapRewards | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetId"],"value":"Vec<Tuple:zenlink_protocol:primitives:AssetIdU128>","keys_id":612,"value_id":622}} | |
| BootstrapLimits | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetId"],"value":"Vec<Tuple:zenlink_protocol:primitives:AssetIdU128>","keys_id":612,"value_id":622}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 2f7a656e6c696e6b |
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 |
| NotQualifiedAccount | Not eligible to contribute |
| NoRewardTokens | Reward of bootstrap is not set. |
| ChargeRewardParamsError | Charge bootstrap extrinsic args has error, |
| ExistRewardsInBootstrap | Exist some reward in bootstrap, |