subscan
Runtime Modules / ChainBridge
Spec Version:
Storage Functions
Name
Type
ChainNonces{"origin":"MapType","map_type":{"key":"BridgeChainId","hasher":"Blake2_256","value":"DepositNonce","isLinked":false}}
RelayerThreshold{"origin":"PlainType","plain_type":"u32"}
Relayers{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_256","value":"bool","isLinked":false}}
RelayerCount{"origin":"PlainType","plain_type":"u32"}
Votes{"origin":"DoubleMapType","double_map_type":{"key":"BridgeChainId","key2":"(DepositNonce, Proposal)","hasher":"Blake2_256","key2Hasher":"Blake2_256","value":"ProposalVotes<AccountId, BlockNumber>","isLinked":false}}
Resources{"origin":"MapType","map_type":{"key":"ResourceId","hasher":"Blake2_256","value":"Bytes","isLinked":false}}
BridgeEvents{"origin":"PlainType","plain_type":"Vec<BridgeEvent>"}
Constants
Name
Type
Value
BridgeChainIdBridgeChainId0x01
ProposalLifetimeBlockNumber0xe0c40000
Error Types
Name
Docs
ThresholdNotSet Relayer threshold not set
InvalidChainId Provided chain Id is not valid
InvalidThreshold Relayer threshold cannot be 0
ChainNotWhitelisted Interactions with this chain is not permitted
ChainAlreadyWhitelisted Chain has already been enabled
ResourceDoesNotExist Resource ID provided isn't mapped to anything
RelayerAlreadyExists Relayer already in set
RelayerInvalid Provided accountId is not a relayer
MustBeRelayer Protected operation, must be performed by relayer
RelayerAlreadyVoted Relayer has already submitted some vote for this proposal
ProposalAlreadyExists A proposal with these parameters has already been submitted
ProposalDoesNotExist No proposal with the ID was found
ProposalNotComplete Cannot complete proposal, needs more votes
ProposalAlreadyComplete Proposal has either failed or succeeded
ProposalExpired Lifetime of proposal has been exceeded