Name | Lookup | Parameters | |
|---|---|---|---|
| set_threshold | 1f00 | 1 | |
| set_resource | 1f01 | 2 | |
| remove_resource | 1f02 | 1 | |
| whitelist_chain | 1f03 | 1 | |
| add_relayer | 1f04 | 1 | |
| remove_relayer | 1f05 | 1 | |
| acknowledge_proposal | 1f06 | 4 | |
| reject_proposal | 1f07 | 4 | |
| eval_vote_state | 1f08 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| RelayerThresholdChanged | 1f00 | ||
| ChainWhitelisted | 1f01 | ||
| RelayerAdded | 1f02 | ||
| RelayerRemoved | 1f03 | ||
| FungibleTransfer | 1f04 | ||
| NonFungibleTransfer | 1f05 | ||
| GenericTransfer | 1f06 | ||
| VoteFor | 1f07 | ||
| VoteAgainst | 1f08 | ||
| ProposalApproved | 1f09 | ||
| ProposalRejected | 1f0a | ||
| ProposalSucceeded | 1f0b | ||
| ProposalFailed | 1f0c |
Name | Type | |
|---|---|---|
| ChainNonces | {"origin":"MapType","map_type":{"key":"u8","hasher":"Blake2_256","value":"u64","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":"u8","key2":"(u64, Proposal)","hasher":"Blake2_256","key2Hasher":"Blake2_256","value":"ProposalVotes<AccountId, BlockNumber>","isLinked":false}} | |
| Resources | {"origin":"MapType","map_type":{"key":"[u8; 32]","hasher":"Blake2_256","value":"Bytes","isLinked":false}} |
Name | Type | Value | |
|---|---|---|---|
| ChainIdentity | u8 | 0x01 | |
| ProposalLifetime | BlockNumber | 0xe0c40000 | |
| BridgeAccountId | AccountId | 0x6d6f646c63727573742f62670000000000000000000000000000000000000000 | |
| ElrondAccountId | AccountId | 0x6d6f646c656c726f6e6462670000000000000000000000000000000000000000 | |
| PolkadotParachainAccountId | AccountId | 0x6d6f646c70617261632f62670000000000000000000000000000000000000000 |
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 |