subscan
Runtime Modules / ZenlinkProtocol
Spec Version:
Storage Functions
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}}
Constants
Name
Type
Value
PalletIdPalletId0x2f7a656e6c696e6b
Error Types
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