subscan
Runtime Modules / ChainBridge
Spec Version:
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"]
FeeUpdated500d["BridgeChainId","u128"]
Storage Functions
Name
Type
ChainNonces{"origin":"Map","n_map_type":{"hashers":["Blake2_256"],"key_vec":["U8"],"value":"U64","keys_id":2,"value_id":10}}
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":100}}
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":"subbridge_pallets:chainbridge:pallet:ProposalVotes","keys_id":543,"value_id":545}}
BridgeEvents{"origin":"PlainType","plain_type":"Vec<subbridge_pallets:chainbridge:pallet:BridgeEvent>","PlainTypeValue":547}
BridgeFee{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U8"],"value":"U128","keys_id":2,"value_id":6}}
Constants
Name
Type
Value
BridgeChainIdU801
ProposalLifetimeU32e0c40000
BridgeEventLimitU3200040000
ResourceIdGenerationSaltoption<U128>00
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
InvalidFeeOptionGot wrong paremeter when update fee
ExtractAssetFailedUnkonwn asset
ExtractDestFailedUnknown destnation
CannotPayAsFeeAsset can not pay as fee
TransactFailedTransfer failed
InsufficientBalanceInfusficient balance to withdraw
FeeTooExpensiveToo expensive fee for withdrawn asset
CannotDetermineReservedLocationCan not extract asset reserve location
DestUnrecognizedCan not extract dest location
AssetNotRegisteredAssets not registered through pallet-assets or pallet-uniques
AssetConversionFailedConvertion failed from resource id
UnimplementedFunction unimplemented
CannotDepositAssetCan not transfer assets to dest due to some reasons
BridgeEventOverflowTrying to push bridge event count more than `BridgeEventLimit`