Name | Lookup | Parameters | |
---|---|---|---|
set_threshold | 9600 | 1 | |
set_resource | 9601 | 2 | |
remove_resource | 9602 | 1 | |
whitelist_chain | 9603 | 1 | |
add_relayer | 9604 | 1 | |
remove_relayer | 9605 | 1 | |
acknowledge_proposal | 9606 | 4 | |
reject_proposal | 9607 | 4 | |
eval_vote_state | 9608 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
RelayerThresholdChanged | 9600 | ["u32"] | |
ChainWhitelisted | 9601 | ["ChainId"] | |
RelayerAdded | 9602 | ["AccountId"] | |
RelayerRemoved | 9603 | ["AccountId"] | |
FungibleTransfer | 9604 | ["ChainId","DepositNonce","ResourceId","U256","Bytes"] | |
NonFungibleTransfer | 9605 | ["ChainId","DepositNonce","ResourceId","Bytes","Bytes","Bytes"] | |
GenericTransfer | 9606 | ["ChainId","DepositNonce","ResourceId","Bytes"] | |
VoteFor | 9607 | ["ChainId","DepositNonce","AccountId"] | |
VoteAgainst | 9608 | ["ChainId","DepositNonce","AccountId"] | |
ProposalApproved | 9609 | ["ChainId","DepositNonce"] | |
ProposalRejected | 960a | ["ChainId","DepositNonce"] | |
ProposalSucceeded | 960b | ["ChainId","DepositNonce"] | |
ProposalFailed | 960c | ["ChainId","DepositNonce"] |
Name | Type | |
---|---|---|
ChainNonces | {"origin":"Map","n_map_type":{"hashers":["Blake2_256"],"key_vec":["U8"],"value":"U64","keys_id":2,"value_id":11}} | |
RelayerVoteThreshold | {"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":49}} | |
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":"chainbridge:types:ProposalVotes","keys_id":769,"value_id":771}} | |
Resources | {"origin":"Map","n_map_type":{"hashers":["Blake2_256"],"key_vec":["[U8; 32]"],"value":"Vec<U8>","keys_id":1,"value_id":13}} |
Name | Type | Value | |
---|---|---|---|
ChainId | U8 | 01 | |
PalletId | [U8; 8] | 63686e6272646765 | |
ProposalLifetime | U32 | f4010000 | |
RelayerVoteThreshold | U32 | 01000000 |
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 |