Update ContractInfo struct (#2700)
This commit is contained in:
@@ -65,6 +65,8 @@ export default {
|
|||||||
AliveContractInfo: {
|
AliveContractInfo: {
|
||||||
trieId: 'TrieId',
|
trieId: 'TrieId',
|
||||||
storageSize: 'u32',
|
storageSize: 'u32',
|
||||||
|
emptyPairCount: 'u32',
|
||||||
|
totalPairCount: 'u32',
|
||||||
codeHash: 'CodeHash',
|
codeHash: 'CodeHash',
|
||||||
rentAllowance: 'Balance',
|
rentAllowance: 'Balance',
|
||||||
deductBlock: 'BlockNumber',
|
deductBlock: 'BlockNumber',
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ import { AccountId, Balance, BlockNumber, Hash, Weight } from '@polkadot/types/i
|
|||||||
export interface AliveContractInfo extends Struct {
|
export interface AliveContractInfo extends Struct {
|
||||||
readonly trieId: TrieId;
|
readonly trieId: TrieId;
|
||||||
readonly storageSize: u32;
|
readonly storageSize: u32;
|
||||||
|
readonly emptyPairCount: u32;
|
||||||
|
readonly totalPairCount: u32;
|
||||||
readonly codeHash: CodeHash;
|
readonly codeHash: CodeHash;
|
||||||
readonly rentAllowance: Balance;
|
readonly rentAllowance: Balance;
|
||||||
readonly deductBlock: BlockNumber;
|
readonly deductBlock: BlockNumber;
|
||||||
|
|||||||
Reference in New Issue
Block a user