From c6c0b9b2cc11817aeaa8bc06d68f7a491285185a Mon Sep 17 00:00:00 2001 From: Eliott Teissonniere <10683430+ETeissonniere@users.noreply.github.com> Date: Thu, 28 May 2020 10:20:48 -0700 Subject: [PATCH] add new arcadia types (#2849) * add new rc2 types * offering to the linting gods --- packages/apps-config/src/api/chain/arcadia.ts | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/packages/apps-config/src/api/chain/arcadia.ts b/packages/apps-config/src/api/chain/arcadia.ts index 33c773ca3a..066edfd0ab 100644 --- a/packages/apps-config/src/api/chain/arcadia.ts +++ b/packages/apps-config/src/api/chain/arcadia.ts @@ -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', + challenger_deposit: 'Option', + created_block: 'BlockNumber', + metadata: 'Vec', + voters_against: 'Vec<(AccountId, Balance)>', + voters_for: 'Vec<(AccountId, Balance)>', + votes_against: 'Option', + votes_for: 'Option' + }, + CertificateId: 'AccountId', + RootCertificate: { + child_revocations: 'Vec', + created: 'BlockNumber', + key: 'CertificateId', + owner: 'AccountId', + renewed: 'BlockNumber', + revoked: 'bool', + validity: 'BlockNumber' + } };