Update ContractInfo struct (#2700)

This commit is contained in:
Jaco Greeff
2020-10-10 12:55:03 +02:00
committed by GitHub
parent d963cdf5ae
commit c6f4e64c1a
2 changed files with 4 additions and 0 deletions
@@ -65,6 +65,8 @@ export default {
AliveContractInfo: {
trieId: 'TrieId',
storageSize: 'u32',
emptyPairCount: 'u32',
totalPairCount: 'u32',
codeHash: 'CodeHash',
rentAllowance: 'Balance',
deductBlock: 'BlockNumber',
@@ -9,6 +9,8 @@ import { AccountId, Balance, BlockNumber, Hash, Weight } from '@polkadot/types/i
export interface AliveContractInfo extends Struct {
readonly trieId: TrieId;
readonly storageSize: u32;
readonly emptyPairCount: u32;
readonly totalPairCount: u32;
readonly codeHash: CodeHash;
readonly rentAllowance: Balance;
readonly deductBlock: BlockNumber;