diff --git a/packages/apps-config/src/api/spec/origintrail.ts b/packages/apps-config/src/api/spec/origintrail.ts index c659dbea41..59bf2e1251 100644 --- a/packages/apps-config/src/api/spec/origintrail.ts +++ b/packages/apps-config/src/api/spec/origintrail.ts @@ -68,6 +68,17 @@ const origintrailDefinitions = { nominations: 'Vec', total: 'Balance' }, + NominatorStatus: { + _enum: ['Active', { Leaving: 'RoundIndex' }] + }, + Nominator2: { + nominations: 'Vec', + revocations: 'Vec', + total: 'Balance', + scheduled_revocations_count: 'u32', + scheduled_revocations_total: 'Balance', + status: 'NominatorStatus' + }, Bond: { owner: 'AccountId', amount: 'Balance' @@ -125,6 +136,19 @@ const origintrailDefinitions = { total: 'Balance', state: 'CollatorStatus' }, + Collator2: { + id: 'AccountId', + bond: 'Balance', + nominators: 'Vec', + top_nominators: 'Vec', + bottom_nominators: 'Vec', + total_counted: 'Balance', + total_backing: 'Balance', + state: 'CollatorStatus' + }, + NominatorAdded: { + _enum: [{ AddedToTop: 'Balance' }, 'AddedToBottom'] + }, CollatorSnapshot: { bond: 'Balance', nominators: 'Vec', @@ -149,6 +173,21 @@ const origintrailDefinitions = { RegistrationInfo: { account: 'AccountId', deposit: 'Balance' + }, + ParachainBondConfig: { + account: 'AccountId', + deposit: 'Balance' + }, + EthereumSignature: { + r: 'H256', + s: 'H256', + v: 'U8' + }, + ExitQ: { + candidates: 'Vec', + nominators_leaving: 'Vec', + candidate_schedule: 'Vec<(AccountId, RoundIndex)>', + nominator_schedule: 'Vec<(AccountId, Option, RoundIndex)>' } } } diff --git a/packages/apps/public/locales/en/apps-config.json b/packages/apps/public/locales/en/apps-config.json index 875afff514..9ed4dc0de5 100644 --- a/packages/apps/public/locales/en/apps-config.json +++ b/packages/apps/public/locales/en/apps-config.json @@ -181,4 +181,4 @@ "rpc.westend.whala": "Whala", "ss58.default": "Default for the connected node", "testnet.kylin-node.co.uk": "Kylin Testnet" -} \ No newline at end of file +}