subscan
Runtime Modules / ChainBridge
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
RelayerThresholdChanged5000["u32"]
ChainWhitelisted5001["BridgeChainId"]
RelayerAdded5002["AccountId"]
RelayerRemoved5003["AccountId"]
FungibleTransfer5004["BridgeChainId","DepositNonce","ResourceId","U256","Bytes"]
NonFungibleTransfer5005["BridgeChainId","DepositNonce","ResourceId","Bytes","Bytes","Bytes"]
GenericTransfer5006["BridgeChainId","DepositNonce","ResourceId","Bytes"]
VoteFor5007["BridgeChainId","DepositNonce","AccountId"]
VoteAgainst5008["BridgeChainId","DepositNonce","AccountId"]
ProposalApproved5009["BridgeChainId","DepositNonce"]
ProposalRejected500a["BridgeChainId","DepositNonce"]
ProposalSucceeded500b["BridgeChainId","DepositNonce"]
ProposalFailed500c["BridgeChainId","DepositNonce"]
Storage Functions
Name
Type
ChainNonces{"origin":"Map","n_map_type":{"hashers":["Blake2_256"],"key_vec":["U8"],"value":"U64","keys_id":2,"value_id":8}}
RelayerThreshold{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Relayers{"origin":"Map","n_map_type":{"hashers":["Blake2_256"],"key_vec":["AccountId"],"value":"Bool","keys_id":0,"value_id":98}}
RelayerCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Votes{"origin":"Map","n_map_type":{"hashers":["Blake2_256","Blake2_256"],"key_vec":["U8","Tuple:U64Call"],"value":"xtransfer_pallets:bridge:pallet:ProposalVotes","keys_id":447,"value_id":449}}
BridgeEvents{"origin":"PlainType","plain_type":"Vec<xtransfer_pallets:bridge:pallet:BridgeEvent>","PlainTypeValue":451}
Constants
Name
Type
Value
BridgeChainIdU801
ProposalLifetimeU32e0c40000
Error Types
Name
Docs
ThresholdNotSetRelayer threshold not set
InvalidChainIdProvided chain Id is not valid
InvalidThresholdRelayer threshold cannot be 0
ChainNotWhitelistedInteractions with this chain is not permitted
ChainAlreadyWhitelistedChain has already been enabled
ResourceDoesNotExistResource ID provided isn't mapped to anything
RelayerAlreadyExistsRelayer already in set
RelayerInvalidProvided accountId is not a relayer
MustBeRelayerProtected operation, must be performed by relayer
RelayerAlreadyVotedRelayer has already submitted some vote for this proposal
ProposalAlreadyExistsA proposal with these parameters has already been submitted
ProposalDoesNotExistNo proposal with the ID was found
ProposalNotCompleteCannot complete proposal, needs more votes
ProposalAlreadyCompleteProposal has either failed or succeeded
ProposalExpiredLifetime of proposal has been exceeded