Name | Lookup | Parameters | |
|---|---|---|---|
| add_authority | 1100 | 1 | |
| remove_authority | 1101 | 1 | |
| swap_authority | 1102 | 2 | |
| submit_authorities_change_signature | 1103 | 1 | |
| submit_new_message_root_signature | 1104 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| CollectingAuthoritiesChangeSignatures | 1100 | ["Hash"] | |
| CollectedEnoughAuthoritiesChangeSignatures | 1101 | ["Operation<AccountId>","Option<u32>","Hash","Vec<(AccountId, Signature)>"] | |
| CollectingNewMessageRootSignatures | 1102 | ["Hash"] | |
| CollectedEnoughNewMessageRootSignatures | 1103 | ["Commitment","Hash","Vec<(AccountId, Signature)>"] |
Name | Type | |
|---|---|---|
| Authorities | {"origin":"PlainType","plain_type":"Vec<H160>","PlainTypeValue":342} | |
| NextAuthorities | {"origin":"PlainType","plain_type":"Vec<H160>","PlainTypeValue":342} | |
| Nonce | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| AuthoritiesChangeToSign | {"origin":"PlainType","plain_type":"darwinia_ecdsa_authority:primitives:AuthoritiesChangeSigned","PlainTypeValue":343} | |
| MessageRootToSign | {"origin":"PlainType","plain_type":"darwinia_ecdsa_authority:primitives:MessageRootSigned","PlainTypeValue":345} |
Name | Type | Value | |
|---|---|---|---|
| MaxAuthorities | U32 | 07000000 | |
| ChainId | U64 | 2e00000000000000 | |
| SignThreshold | U32 | 0046c323 | |
| SyncInterval | U32 | 0a000000 | |
| MaxPendingPeriod | U32 | 64000000 |
Name | Docs |
|---|---|
| AuthorityExisted | The authority is already existed. |
| TooManyAuthorities | Too many authorities. |
| NotAuthority | This is not an authority. |
| AtLeastOneAuthority | Require at least one authority. Not allow to decrease below one. |
| OnAuthoritiesChange | Currently, the authorities is changing. |
| NoAuthoritiesChange | Didn't find any authorities changes to sign. |
| NoNewMessageRoot | Didn't find any new message root to sign. |
| BadSignature | Failed to verify the signature. |
| AlreadySubmitted | This authority had already finished his duty. |