add dapps staking custom types to shiden network (#6287)

* add dapps staking type

* remove unused type

* add era index
This commit is contained in:
Hoon Kim 2021-10-14 06:17:14 +02:00 committed by GitHub
parent d6cfed6888
commit 9e2e4a48ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
}
}
]