Name | Lookup | Parameters | |
|---|---|---|---|
| add_resource | 2300 | 2 | |
| remove_resource | 2301 | 1 | |
| map_resource_and_rsymbol | 2302 | 2 | |
| unmap_resource_and_rsymbol | 2303 | 2 | |
| map_resource_and_xsymbol | 2304 | 2 | |
| unmap_resource_and_xsymbol | 2305 | 2 | |
| acknowledge_proposal | 2306 | 4 | |
| whitelist_chain | 2307 | 1 | |
| remove_whitelist_chain | 2308 | 1 | |
| set_proxy_accounts | 2309 | 1 | |
| remove_proxy_accounts | 230a | 1 | |
| set_chain_fees | 230b | 2 | |
| set_fees_recipient_account | 230c | 1 | |
| set_is_pasued | 230d | 1 | |
| set_migrate_target | 230e | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ChainWhitelisted | 2300 | ||
| ChainRemoved | 2301 | ||
| FungibleTransfer | 2302 | ||
| ChainFeesSet | 2303 | ||
| VoteFor | 2304 | ||
| VoteAgainst | 2305 | ||
| ProposalPassed | 2306 | ||
| ProposalCancelled | 2307 | ||
| ProposalExecuted | 2308 | ||
| SetMigrateTarget | 2309 |
Name | Type | |
|---|---|---|
| ChainNonces | {"origin":"MapType","map_type":{"key":"ChainId","hasher":"Twox64Concat","value":"DepositNonce","isLinked":false}} | |
| ChainFees | {"origin":"MapType","map_type":{"key":"ChainId","hasher":"Twox64Concat","value":"Balance","isLinked":false}} | |
| ProxyAccounts | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"u8","isLinked":false}} | |
| FeesRecipientAccount | {"origin":"PlainType","plain_type":"AccountId"} | |
| IsPaused | {"origin":"PlainType","plain_type":"bool"} | |
| RelayerThreshold | {"origin":"PlainType","plain_type":"u32"} | |
| Relayers | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"bool","isLinked":false}} | |
| RelayerCount | {"origin":"PlainType","plain_type":"u32"} | |
| Votes | {"origin":"DoubleMapType","double_map_type":{"key":"ChainId","key2":"(DepositNonce, Proposal)","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"ProposalVotes<AccountId, BlockNumber>","isLinked":false}} | |
| Resources | {"origin":"MapType","map_type":{"key":"ResourceId","hasher":"Blake2_128Concat","value":"Bytes","isLinked":false}} | |
| ResourceRsymbol | {"origin":"MapType","map_type":{"key":"ResourceId","hasher":"Blake2_128Concat","value":"RSymbol","isLinked":false}} | |
| RsymbolResource | {"origin":"MapType","map_type":{"key":"RSymbol","hasher":"Blake2_128Concat","value":"ResourceId","isLinked":false}} | |
| ResourceXsymbol | {"origin":"MapType","map_type":{"key":"ResourceId","hasher":"Blake2_128Concat","value":"XSymbol","isLinked":false}} | |
| XsymbolResource | {"origin":"MapType","map_type":{"key":"XSymbol","hasher":"Blake2_128Concat","value":"ResourceId","isLinked":false}} | |
| MigrateTarget | {"origin":"MapType","map_type":{"key":"RSymbol","hasher":"Blake2_128Concat","value":"ChainId","isLinked":false}} |
Name | Type | Value | |
|---|---|---|---|
| ChainIdentity | ChainId | 0x01 | |
| BridgeAccountId | AccountId | 0x6d6f646c63622f62726964670000000000000000000000000000000000000000 | |
| ProposalLifetime | BlockNumber | 0x80130300 |
Name | Docs |
|---|---|
| InvalidChainId | Provided chain Id is not valid |
| ChainNotWhitelisted | Interactions with this chain is not permitted |
| ChainAlreadyWhitelisted | Chain has already been enabled |
| InvalidProxyAccount | Provided proxy account is not valid |
| ResourceDoesNotExist | Resource ID provided isn't mapped to anything |
| 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 |
| ProposalNotPassed | Cannot complete proposal, needs more votes |
| ProposalAlreadyCompleted | Proposal has either failed or succeeded |
| ProposalExpired | Lifetime of proposal has been exceeded |
| ServicePaused | service paused |
| InvalidChainFee | invalid chain fee |
| InvalidEthereumAddress | invalid ethereum Address |
| InvalidFeesRecipientAccount | invalid fee recipient account |
| RsymbolNotMapped | rsymbol not mapped |