subscan
Runtime Modules / ZenlinkProtocol
Spec Version:
Events
Name
Lookup
Attributes
Transferred3300["AssetId","AccountId","AccountId","AssetBalance"]
Burned3301["AssetId","AccountId","AssetBalance"]
Minted3302["AssetId","AccountId","AssetBalance"]
PairCreated3303["AssetId","AssetId"]
LiquidityAdded3304["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"]
LiquidityRemoved3305["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"]
AssetSwap3306["AccountId","AccountId","Vec<AssetId>","Vec<AssetBalance>"]
TransferredToParachain3307["AssetId","AccountId","ParaId","AccountId","AssetBalance","u64"]
BootstrapContribute3308["AccountId","AssetId","AssetBalance","AssetId","AssetBalance"]
BootstrapEnd3309["AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"]
BootstrapCreated330a["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumber"]
BootstrapClaim330b["AccountId","AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance"]
BootstrapUpdate330c["AccountId","AssetId","AssetId","AssetBalance","AssetBalance","AssetBalance","AssetBalance","BlockNumber"]
BootstrapRefund330d["AccountId","AccountId","AssetId","AssetId","AssetBalance","AssetBalance"]
DistributeReward330e["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"]
ChargeReward330f["AssetId","AssetId","AccountId","Vec<(AssetId, AssetBalance)>"]
WithdrawReward3310["AssetId","AssetId","AccountId"]
Storage Functions
Name
Type
ForeignLedger{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","[U8; 32]"],"value":"U128","keys_id":491,"value_id":6}}
ForeignMeta{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId"],"value":"U128","keys_id":142,"value_id":6}}
ForeignList{"origin":"PlainType","plain_type":"Vec<zenlink_protocol:primitives:AssetId>","PlainTypeValue":143}
KLast{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["zenlink_protocol:primitives:AssetId","zenlink_protocol:primitives:AssetId"],"value":"U256","keys_id":492,"value_id":493}}
FeeMeta{"origin":"PlainType","plain_type":"Tuple:option<[U8; 32]>U8","PlainTypeValue":495}
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":492,"value_id":496}}
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":492,"value_id":497}}
BootstrapPersonalSupply{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Tuple:zenlink_protocol:primitives:AssetIdzenlink_protocol:primitives:AssetId","[U8; 32]"],"value":"Tuple:U128U128","keys_id":500,"value_id":149}}
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":492,"value_id":497}}
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":492,"value_id":501}}
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":492,"value_id":501}}
Constants
Name
Type
Value
PalletId[U8; 8]2f7a656e6c696e6b
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.
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,