add new arcadia types (#2849)

* add new rc2 types

* offering to the linting gods
This commit is contained in:
Eliott Teissonniere 2020-05-28 10:20:48 -07:00 committed by GitHub
parent 3a5c673547
commit c6c0b9b2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,28 @@
// of the Apache-2.0 license. See the LICENSE file for details.
export default {
// previous substrate versions
Weight: 'u32'
Amendment: 'Call',
Application: {
candidate: 'AccountId',
candidate_deposit: 'Balance',
challenged_block: 'BlockNumber',
challenger: 'Option<AccountId>',
challenger_deposit: 'Option<Balance>',
created_block: 'BlockNumber',
metadata: 'Vec<u8>',
voters_against: 'Vec<(AccountId, Balance)>',
voters_for: 'Vec<(AccountId, Balance)>',
votes_against: 'Option<Balance>',
votes_for: 'Option<Balance>'
},
CertificateId: 'AccountId',
RootCertificate: {
child_revocations: 'Vec<CertificateId>',
created: 'BlockNumber',
key: 'CertificateId',
owner: 'AccountId',
renewed: 'BlockNumber',
revoked: 'bool',
validity: 'BlockNumber'
}
};