peaq
subscan
Runtime Modules / ZenlinkProtocol
Spec Version:
Events
Name
Lookup
Attributes
Transferred2600["AssetId","AccountId","AccountId","AssetBalance"]
Burned2601["AssetId","AccountId","AssetBalance"]
Minted2602["AssetId","AccountId","AssetBalance"]
PairCreated2603["AssetId","AssetId"]
LiquidityAdded2604["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"]
LiquidityRemoved2605["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"]
AssetSwap2606["AccountId","AccountId","Vec<AssetId>","Vec<AssetBalance>"]
TransferredToParachain2607["AssetId","AccountId","ParaId","AccountId","AssetBalance","u64"]
BootstrapContribute2608["AccountId","AssetId","AssetBalance","AssetId","AssetBalance"]
BootstrapEnd2609["AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"]
BootstrapCreated260a["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumberFor"]
BootstrapClaim260b["AccountId","AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"]
BootstrapUpdate260c["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumberFor"]
BootstrapRefund260d["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance"]
DistributeReward260e["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"]
ChargeReward260f["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"]
WithdrawReward2610["AssetId","AssetId","AccountId"]
Storage Functions
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}}
Constants
Name
Type
Value
PalletId[U8; 8]7a656e6c6b70726f
Error Types
Name
Docs
RequireProtocolAdminRequire the admin who can reset the admin and receiver of the protocol fee.
RequireProtocolAdminCandidateRequire the admin candidate who can become new admin after confirm.
InvalidFeePointInvalid fee_point
UnsupportedAssetTypeUnsupported AssetId by this ZenlinkProtocol Version.
InsufficientAssetBalanceAccount balance must be greater than or equal to the transfer amount.
NativeBalanceTooLowAccount native currency balance must be greater than ExistentialDeposit.
DeniedCreatePairTrading pair can't be created.
PairAlreadyExistsTrading pair already exists.
PairNotExistsTrading pair does not exist.
AssetNotExistsAsset does not exist.
AssetCreateFailAsset create fail,
InsufficientLiquidityLiquidity is not enough.
InsufficientPairReserveTrading pair does have enough foreign.
InsufficientTargetAmountGet target amount is less than exception.
ExcessiveSoldAmountSold amount is more than exception.
InvalidPathCan't find pair though trading path.
IncorrectAssetAmountRangeIncorrect foreign amount range.
OverflowOverflow.
DeadlineTransaction block number is larger than the end block number.
AccountIdBadLocationLocation given was invalid or unsupported.
ExecutionFailedXCM execution failed.
DeniedTransferToSelfTransfer to self by XCM message.
TargetChainNotRegisteredNot in ZenlinkRegistedParaChains.
InvariantCheckFailedCan't pass the K value check
PairCreateForbiddenCreated pair can't create now
NotInBootstrapPair is not in bootstrap
InvalidContributionAmountAmount of contribution is invalid.
UnqualifiedBootstrapAmount of contribution is invalid.
ZeroContributeZero contribute in bootstrap
DenyRefundBootstrap deny refund
DisableBootstrapBootstrap is disable
NotQualifiedAccountNot eligible to contribute
NoRewardTokensReward of bootstrap is not set.
ChargeRewardParamsErrorCharge bootstrap extrinsic args has error,
ExistRewardsInBootstrapExist some reward in bootstrap,