parent
b168051f1e
commit
e40d3fdc2a
@ -88,6 +88,7 @@ import quartz from './quartz';
|
||||
import realis from './realis';
|
||||
import riochain from './riochain';
|
||||
import robonomics from './robonomics';
|
||||
import shibuya from './shibuya';
|
||||
import shiden from './shiden';
|
||||
import snowbridge from './snowbridge';
|
||||
import soraSubstrate from './soraSubstrate';
|
||||
@ -225,6 +226,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
realis,
|
||||
'riochain-runtime': riochain,
|
||||
robonomics,
|
||||
shibuya,
|
||||
shiden,
|
||||
snowbridge,
|
||||
'sora-substrate': soraSubstrate,
|
||||
|
||||
52
packages/apps-config/src/api/spec/shibuya.ts
Normal file
52
packages/apps-config/src/api/spec/shibuya.ts
Normal file
@ -0,0 +1,52 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Keys: 'AccountId',
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
AmountOf: 'Amount',
|
||||
Amount: 'i128',
|
||||
SmartContract: {
|
||||
_enum: {
|
||||
Evm: 'H160',
|
||||
Wasm: 'AccountId'
|
||||
}
|
||||
},
|
||||
EraStakingPoints: {
|
||||
total: 'Balance',
|
||||
stakers: 'BTreeMap<AccountId, Balance>',
|
||||
formerStakedEra: 'EraIndex',
|
||||
claimedRewards: 'Balance'
|
||||
},
|
||||
PalletDappsStakingEraStakingPoints: {
|
||||
total: 'Balance',
|
||||
stakers: 'BTreeMap<AccountId, Balance>',
|
||||
formerStakedEra: 'EraIndex',
|
||||
claimedRewards: 'Balance'
|
||||
},
|
||||
EraRewardAndStake: {
|
||||
rewards: 'Balance',
|
||||
staked: 'Balance'
|
||||
},
|
||||
PalletDappsStakingEraRewardAndStake: {
|
||||
rewards: 'Balance',
|
||||
staked: 'Balance'
|
||||
},
|
||||
EraIndex: 'u32'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -29,10 +29,20 @@ const definitions: OverrideBundleDefinition = {
|
||||
formerStakedEra: 'EraIndex',
|
||||
claimedRewards: 'Balance'
|
||||
},
|
||||
PalletDappsStakingEraStakingPoints: {
|
||||
total: 'Balance',
|
||||
stakers: 'BTreeMap<AccountId, Balance>',
|
||||
formerStakedEra: 'EraIndex',
|
||||
claimedRewards: 'Balance'
|
||||
},
|
||||
EraRewardAndStake: {
|
||||
rewards: 'Balance',
|
||||
staked: 'Balance'
|
||||
},
|
||||
PalletDappsStakingEraRewardAndStake: {
|
||||
rewards: 'Balance',
|
||||
staked: 'Balance'
|
||||
},
|
||||
EraIndex: 'u32'
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user