Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Balance math.HexOrDecimal256 `json:"balance,string"` Energy math.HexOrDecimal256 `json:"energy,string"` HasCode bool `json:"hasCode"` }
Account for marshal account
type Accounts ¶
type Accounts struct {
// contains filtered or unexported fields
}
type ContractCall ¶
type ContractCall struct { Value *math.HexOrDecimal256 `json:"value,string"` Data string `json:"data"` Gas uint64 `json:"gas"` GasPrice *math.HexOrDecimal256 `json:"gasPrice,string"` Caller thor.Address `json:"caller"` }
ContractCall represents contract-call body
type VMOutput ¶
type VMOutput struct { Data string `json:"data"` Events []*transactions.Event `json:"events"` Transfers []*transactions.Transfer `json:"transfers"` GasUsed uint64 `json:"gasUsed"` Reverted bool `json:"reverted"` VMError string `json:"vmError"` }
Click to show internal directories.
Click to hide internal directories.