add parachain types for upcoming encointer-rococo (#4398)

This commit is contained in:
brenzi 2021-01-13 19:41:48 +01:00 committed by GitHub
parent 0815270f30
commit 15adef684c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 73 additions and 1 deletions

View File

@ -0,0 +1,71 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
// structs need to be in order
/* eslint-disable sort-keys */
/* eslint-disable camelcase */
export default {
Address: 'AccountId',
LookupSource: 'AccountId',
CeremonyPhaseType: {
_enum: [
'Registering',
'Assigning',
'Attesting'
]
},
CeremonyIndexType: 'u32',
ParticipantIndexType: 'u64',
MeetupIndexType: 'u64',
AttestationIndexType: 'u64',
CurrencyIdentifier: 'Hash',
BalanceType: 'i128',
BalanceEntry: {
principal: 'i128',
last_update: 'BlockNumber'
},
CurrencyCeremony: {
cid: 'CurrencyIdentifier',
cindex: 'CeremonyIndexType'
},
Location: {
lat: 'i64',
lon: 'i64'
},
Reputation: {
_enum: [
'Unverified',
'UnverifiedReputable',
'VerifiedUnlinked',
'VerifiedLinked'
]
},
CurrencyPropertiesType: {
name_utf8: 'Text',
demurrage_per_block: 'i128'
},
ClaimOfAttendance: {
claimant_public: 'AccountId',
ceremony_index: 'CeremonyIndexType',
currency_identifier: 'CurrencyIdentifier',
meetup_index: 'MeetupIndexType',
location: 'Location',
timestamp: 'Moment',
number_of_participants_confirmed: 'u32'
},
Attestation: {
claim: 'ClaimOfAttendance',
signature: 'Signature',
public: 'AccountId'
},
ProofOfAttendance: {
prover_public: 'AccountId',
ceremony_index: 'CeremonyIndexType',
currency_identifier: 'CurrencyIdentifier',
attendee_public: 'AccountId',
attendee_signature: 'Signature'
},
ShopIdentifier: 'Text',
ArticleIdentifier: 'Text'
};

View File

@ -13,6 +13,7 @@ import dock from './dock';
import dusty from './dusty';
import encointerNodeNotee from './encointer-node-notee';
import encointerNodeTeeproxy from './encointer-node-teeproxy';
import encointerPara from './encointer-para';
import equilibrium from './equilibrium';
import galois from './galois';
import hanonycash from './hanonycash';
@ -43,9 +44,9 @@ export default {
'dock-main-runtime': dock,
'dock-testnet': dock,
dusty3: dusty,
'encointer-node': encointerNodeNotee,
'encointer-node-notee': encointerNodeNotee,
'encointer-node-teeproxy': encointerNodeTeeproxy,
'encointer-parachain': encointerPara,
galois: galois,
hanonycash,
jupiter,