Name | Lookup | Parameters | |
---|---|---|---|
set_threshold | 7200 | 1 | |
set_resource | 7201 | 2 | |
remove_resource | 7202 | 1 | |
whitelist_chain | 7203 | 1 | |
add_relayer | 7204 | 1 | |
remove_relayer | 7205 | 1 | |
acknowledge_proposal | 7206 | 4 | |
reject_proposal | 7207 | 4 | |
eval_vote_state | 7208 | 3 |
Name | Lookup | Attributes | |
---|---|---|---|
RelayerThresholdChanged | 7200 | ["u32"] | |
ChainWhitelisted | 7201 | ["u8"] | |
RelayerAdded | 7202 | ["AccountId"] | |
RelayerRemoved | 7203 | ["AccountId"] | |
FungibleTransfer | 7204 | ["u8","u64","ResourceId","U256","Bytes"] | |
NonFungibleTransfer | 7205 | ["u8","u64","ResourceId","Bytes","Bytes","Bytes"] | |
GenericTransfer | 7206 | ["u8","u64","ResourceId","Bytes"] | |
VoteFor | 7207 | ["u8","u64","AccountId"] | |
VoteAgainst | 7208 | ["u8","u64","AccountId"] | |
ProposalApproved | 7209 | ["u8","u64"] | |
ProposalRejected | 720a | ["u8","u64"] | |
ProposalSucceeded | 720b | ["u8","u64"] | |
ProposalFailed | 720c | ["u8","u64"] |
Name | Type | |
---|---|---|
RelayerThreshold | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
Resources | {"origin":"Map","n_map_type":{"hashers":["Blake2_256"],"key_vec":["[U8; 32]"],"value":"Vec<U8>","keys_id":1,"value_id":13}} | |
ChainNonces | {"origin":"Map","n_map_type":{"hashers":["Blake2_256"],"key_vec":["U8"],"value":"option<U64>","keys_id":2,"value_id":415}} | |
Relayers | {"origin":"Map","n_map_type":{"hashers":["Blake2_256"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":38}} | |
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":"cstrml_bridge:types:ProposalVotes","keys_id":416,"value_id":418}} | |
BridgeEvents | {"origin":"PlainType","plain_type":"Vec<cstrml_bridge:types:BridgeEvent>","PlainTypeValue":420} |
Name | Type | Value | |
---|---|---|---|
BridgeChainId | U8 | 03 | |
ProposalLifetime | U32 | e0c40000 | |
PalletId | [U8; 8] | 6372636c61696d73 |
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 |