add dapps staking custom types to shiden network (#6287)
* add dapps staking type * remove unused type * add era index
This commit is contained in:
parent
d6cfed6888
commit
9e2e4a48ea
@ -13,9 +13,27 @@ const definitions: OverrideBundleDefinition = {
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Keys: 'AccountId',
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
AmountOf: 'Amount',
|
||||
Amount: 'i128',
|
||||
SmartContract: {
|
||||
_enum: ['H160', 'AccountId']
|
||||
}
|
||||
_enum: {
|
||||
Evm: 'H160',
|
||||
Wasm: 'AccountId'
|
||||
}
|
||||
},
|
||||
EraStakingPoints: {
|
||||
total: 'Balance',
|
||||
stakers: 'BTreeMap<AccountId, Balance>',
|
||||
formerStakedEra: 'EraIndex',
|
||||
claimedRewards: 'Balance'
|
||||
},
|
||||
EraRewardAndStake: {
|
||||
rewards: 'Balance',
|
||||
staked: 'Balance'
|
||||
},
|
||||
EraIndex: 'u32'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user