Name | Lookup | Parameters | |
---|---|---|---|
set_fee_receiver | 2600 | 1 | |
set_fee_point | 2601 | 1 | |
transfer | 2602 | 3 | |
create_pair | 2603 | 2 | |
add_liquidity | 2604 | 7 | |
remove_liquidity | 2605 | 7 | |
swap_exact_assets_for_assets | 2606 | 5 | |
swap_assets_for_exact_assets | 2607 | 5 | |
bootstrap_create | 2608 | 9 | |
bootstrap_contribute | 2609 | 5 | |
bootstrap_claim | 260a | 4 | |
bootstrap_end | 260b | 2 | |
bootstrap_update | 260c | 9 | |
bootstrap_refund | 260d | 2 | |
bootstrap_charge_reward | 260e | 3 | |
bootstrap_withdraw_reward | 260f | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
Transferred | 2600 | ["AssetId","AccountId","AccountId","AssetBalance"] | |
Burned | 2601 | ["AssetId","AccountId","AssetBalance"] | |
Minted | 2602 | ["AssetId","AccountId","AssetBalance"] | |
PairCreated | 2603 | ["AssetId","AssetId"] | |
LiquidityAdded | 2604 | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
LiquidityRemoved | 2605 | ["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
AssetSwap | 2606 | ["AccountId","AccountId","Vec<AssetId>","Vec<AssetBalance>"] | |
TransferredToParachain | 2607 | ["AssetId","AccountId","ParaId","AccountId","AssetBalance","u64"] | |
BootstrapContribute | 2608 | ["AccountId","AssetId","AssetBalance","AssetId","AssetBalance"] | |
BootstrapEnd | 2609 | ["AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
BootstrapCreated | 260a | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumberFor"] | |
BootstrapClaim | 260b | ["AccountId","AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"] | |
BootstrapUpdate | 260c | ["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumberFor"] | |
BootstrapRefund | 260d | ["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance"] | |
DistributeReward | 260e | ["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"] | |
ChargeReward | 260f | ["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"] | |
WithdrawReward | 2610 | ["AssetId","AssetId","AccountId"] |
Name | Type | |
---|---|---|
ForeignLedger | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","AccountId"],"value":"U128","keys_id":495,"value_id":6}} | |
ForeignMeta | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId"],"value":"U128","keys_id":153,"value_id":6}} | |
ForeignMinimumBalance | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId"],"value":"U128","keys_id":153,"value_id":6}} | |
ForeignList | {"origin":"PlainType","plain_type":"Vec<zenlink_protocol:primitives:AssetId>","PlainTypeValue":154} | |
KLast | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","zenlink_protocol:primitives:AssetId"],"value":"U256","keys_id":496,"value_id":59}} | |
FeeMeta | {"origin":"PlainType","plain_type":"Tuple:option<AccountId>U8","PlainTypeValue":497} | |
LiquidityPairs | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","zenlink_protocol:primitives:AssetId"],"value":"option<zenlink_protocol:primitives:AssetId>","keys_id":496,"value_id":498}} | |
PairStatuses | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","zenlink_protocol:primitives:AssetId"],"value":"zenlink_protocol:primitives:PairStatus","keys_id":496,"value_id":499}} | |
BootstrapPersonalSupply | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetId","AccountId"],"value":"Tuple:U128U128","keys_id":503,"value_id":502}} | |
BootstrapEndStatus | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","zenlink_protocol:primitives:AssetId"],"value":"zenlink_protocol:primitives:PairStatus","keys_id":496,"value_id":499}} | |
BootstrapRewards | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","zenlink_protocol:primitives:AssetId"],"value":"Vec<Tuple:zenlink_protocol:primitives:AssetIdU128>","keys_id":496,"value_id":504}} | |
BootstrapLimits | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","zenlink_protocol:primitives:AssetId"],"value":"Vec<Tuple:zenlink_protocol:primitives:AssetIdU128>","keys_id":496,"value_id":504}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 7a656e6c6b70726f |
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. |
AssetCreateFail | Asset create fail, |
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, |