Add SubGame parathread and types (#6527)
* feat: edit subgame types, add 7th pallet type * feat: add polkadot parathread SubGame Gamma * fix: SubGame types unnecessarily quoted property error * fix: error unexpected trailing comma Co-authored-by: ss910316 <ss910316@gmail.com>
This commit is contained in:
parent
e973b45b6a
commit
a4ce33b1c9
@ -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<AccountId>',
|
||||
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<Plan>'
|
||||
},
|
||||
AbilityOfLevel: {
|
||||
level: 'u8',
|
||||
ability_value_1_min: 'u32',
|
||||
ability_value_1_max: 'u32'
|
||||
},
|
||||
CardType: {
|
||||
admin: 'AccountId',
|
||||
id: 'u128',
|
||||
name: 'Vec<u8>',
|
||||
desc: 'Vec<u8>',
|
||||
fixed_ability_value_1: 'u32',
|
||||
fixed_ability_value_2: 'u32',
|
||||
special_attribute_1: 'Vec<u8>',
|
||||
level_max_limit: 'u32',
|
||||
ability_of_level: 'Vec<AbilityOfLevel>',
|
||||
is_can_draw: 'bool'
|
||||
},
|
||||
CardInfo: {
|
||||
id: 'u128',
|
||||
name: 'Vec<u8>',
|
||||
desc: 'Vec<u8>',
|
||||
type_id: 'u128'
|
||||
},
|
||||
Card: {
|
||||
id: 'u128',
|
||||
card_info_id: 'u128',
|
||||
level: 'u8',
|
||||
ability_value_1: 'u32',
|
||||
nft_id: 'NftId'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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/'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user