From 62acb73dc5bdb51bc4e8ed4407ddf37bab9a0bc2 Mon Sep 17 00:00:00 2001 From: Nikita <63471940+Daelon02@users.noreply.github.com> Date: Mon, 31 May 2021 08:44:09 +0300 Subject: [PATCH] Added new types for Realis.Network (#5393) * Update logo for Realis Network * Added new types for Realis.Network --- packages/apps-config/src/api/spec/realis.ts | 80 ++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/packages/apps-config/src/api/spec/realis.ts b/packages/apps-config/src/api/spec/realis.ts index 1e757af2c2..85cc583655 100644 --- a/packages/apps-config/src/api/spec/realis.ts +++ b/packages/apps-config/src/api/spec/realis.ts @@ -12,7 +12,6 @@ const definitions: OverrideBundleDefinition = { // on all versions minmax: [0, undefined], types: { - TokenId: 'u32', Rarity: { _enum: [ 'Common', @@ -42,6 +41,85 @@ const definitions: OverrideBundleDefinition = { rarity: 'Rarity', socket: 'Socket', params: 'Params' + }, + AttributeTransaction: { + signature: 'Signature', + name: 'Vec', + value: 'Vec', + validity: 'u32', + signer: 'AccountId', + identity: 'AccountId' + }, + Attribute: { + name: 'Vec', + value: 'Vec', + validity: 'BlockNumber', + creation: 'Moment', + nonce: 'u64' + }, + SocialTokenBalance: 'u128', + RegistrarIndex: 'u32', + Judgement: { + _enum: [ + 'Requested', + 'Approved' + ] + }, + Registration: { + judgements: 'Vec', + account_id: 'AccountId' + }, + Bloom: 'H256', + Log: { + address: 'H160', + topics: 'Vec', + data: 'Bytes' + }, + Receipt: { + state_root: 'H256', + used_gas: 'U256', + logs_bloom: 'Bloom', + logs: 'Vec' + }, + TransactionAction: { + _enum: { + Call: 'H160', + Create: 'Null' + } + }, + TransactionRecoveryId: 'u64', + TransactionSignature: { + v: 'TransactionRecoveryId', + r: 'H256', + s: 'H256' + }, + Transaction: { + nonce: 'U256', + gas_price: 'U256', + gas_limit: 'U256', + action: 'TransactionAction', + value: 'U256', + input: 'Bytes', + signature: 'TransactionSignature' + }, + TransactionStatus: { + transaction_hash: 'H256', + transaction_index: 'u32', + from: 'H160', + to: 'Option', + contract_address: 'Option', + logs: 'Vec', + logs_bloom: 'Bloom' + }, + Id: 'AuthorityId', + ChainId: 'u8', + ResourceId: 'Vec', + ExchangeId: 'u64', + CurrencyOf: 'Balance', + TokenId: 'U256', + RealisTokenId: 'u32', + Erc721Token: { + id: 'NftId' } } }