Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxTrieCacheGen = uint16(120)
Functions ¶
Types ¶
type ContractAccount ¶
type ContractAccount struct { Address common.Address `json:"address"` // user accounts address Contracts map[string]ContractObj `json:"contracts"` // user contracts }
type ContractObj ¶
type ContractObj struct { TplID string `json:"tpl_id"` // contract template address Address common.Address `json:"address"` // the contract instance address Params map[string]interface{} `json:"params"` // contract params status Status string `json:"status"` // the contract status, like 'good', 'bad', 'close' etc. CreationDate time.Time `json:"creation_date"` // contract template create time DestroyedDate time.Time `json:"destroyed_date"` }
instance of contract
type ContractTplObj ¶
type ContractTplObj struct { TplID string `json:"address"` // contract template address CodeHash string `json:"codeHash"` // contract code hash Code []byte `json:"code"` // contract bytecode CreationDate time.Time `json:"creation_date"` // contract template create time }
contract template
Click to show internal directories.
Click to hide internal directories.