diff --git a/packages/apps-config/src/api/spec/subgame.ts b/packages/apps-config/src/api/spec/subgame.ts index 0aa733e072..6c3379abc7 100644 --- a/packages/apps-config/src/api/spec/subgame.ts +++ b/packages/apps-config/src/api/spec/subgame.ts @@ -116,6 +116,63 @@ const definitions: OverrideBundleDefinition = { asset_b: 'u32', asset_lp: 'u32', swap_k: 'u128' + }, + Auction: { + id: 'u128', + platform_id: 'u128', + nft_id: 'NftId', + seller: 'AccountId', + buyer: 'Option', + amount: 'Balance', + percentage_of_fee: 'u8', + platform_fee: 'Balance' + }, + Platform: { + id: 'u128', + admin: 'AccountId', + percentage_of_fee: 'u8', + fee_account: 'AccountId' + }, + Plan: { + amount: 'SGAssetBalance', + score: 'SGAssetBalance' + }, + GRPlatform: { + id: 'u128', + admin: 'AccountId', + pool_account: 'AccountId', + asset_id: 'u32', + plan: 'Vec' + }, + AbilityOfLevel: { + level: 'u8', + ability_value_1_min: 'u32', + ability_value_1_max: 'u32' + }, + CardType: { + admin: 'AccountId', + id: 'u128', + name: 'Vec', + desc: 'Vec', + fixed_ability_value_1: 'u32', + fixed_ability_value_2: 'u32', + special_attribute_1: 'Vec', + level_max_limit: 'u32', + ability_of_level: 'Vec', + is_can_draw: 'bool' + }, + CardInfo: { + id: 'u128', + name: 'Vec', + desc: 'Vec', + type_id: 'u128' + }, + Card: { + id: 'u128', + card_info_id: 'u128', + level: 'u8', + ability_value_1: 'u32', + nft_id: 'NftId' } } } diff --git a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts index 9e5998907b..5af71d6810 100644 --- a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts +++ b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts @@ -154,6 +154,15 @@ export function createPolkadot (t: TFunction): EndpointOption { providers: { SubDAO: 'wss://parachain-rpc.subdao.org' } + }, + { + info: 'subgame', + homepage: 'http://subgame.org/', + paraId: 2017, + text: t('rpc.polkadot.subgame', 'SubGame Gamma', { ns: 'apps-config' }), + providers: { + SubGame: 'wss://gamma.subgame.org/' + } } ] }; diff --git a/packages/apps/public/locales/en/apps-config.json b/packages/apps/public/locales/en/apps-config.json index ec1b09f6c6..8eef4534bf 100644 --- a/packages/apps/public/locales/en/apps-config.json +++ b/packages/apps/public/locales/en/apps-config.json @@ -62,6 +62,7 @@ "rpc.polkadot.parity": "Polkadot", "rpc.polkadot.statemint-shell": "Statemint (Shell)", "rpc.polkadot.subdao": "SubDAO", + "rpc.polkadot.subgame": "SubGame Gamma", "rpc.prod.centrifuge": "Centrifuge", "rpc.prod.chainx": "ChainX", "rpc.prod.crab": "Darwinia Crab",