From ecfb04e330ed3adb46debd04f8427cc63c658f09 Mon Sep 17 00:00:00 2001 From: Nikita <63471940+Daelon02@users.noreply.github.com> Date: Thu, 5 Aug 2021 22:06:08 +0300 Subject: [PATCH] Update spec for Realis.Network (#5922) * Update logo for Realis.Network * Update spec for Realis.Network * Update spec for Realis.Network Co-authored-by: Daelon02 --- packages/apps-config/src/api/spec/realis.ts | 110 +------------------- 1 file changed, 1 insertion(+), 109 deletions(-) diff --git a/packages/apps-config/src/api/spec/realis.ts b/packages/apps-config/src/api/spec/realis.ts index f4441855f7..784ec15f56 100644 --- a/packages/apps-config/src/api/spec/realis.ts +++ b/packages/apps-config/src/api/spec/realis.ts @@ -21,35 +21,8 @@ const definitions: OverrideBundleDefinition = { 'Legendary' ] }, - Socket: { - _enum: [ - 'Head', - 'Body', - 'LegLeft', - 'LegRight', - 'ArmLeft', - 'ArmRight', - 'Weapon' - ] - }, - pallet_nfts: 'u8', Basic: 'u8', TokenId: 'U256', - Tapes: { - id: 'TokenId', - tape: 'u8' - }, - Params: { - strength: 'u8', - agility: 'u8', - intelligence: 'u8' - }, - Mergeable: { - rarity: 'Rarity', - socket: 'Socket', - params: 'Params' - }, - Stackable: { _enum: [ 'Silver', @@ -57,95 +30,14 @@ const definitions: OverrideBundleDefinition = { 'Diamond' ] }, - TokenType: { _enum: { - Mergeable: 'Mergeable', - Stackable: 'Stackable', - Basic: 'Basic' + Basic: '(Basic, Rarity)' } }, Token: { token_id: 'TokenId', token: 'TokenType' - }, - 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', - RealisTokenId: 'u32', - Erc721Token: { - id: 'NftId' } } }