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"` Energy math.HexOrDecimal256 `json:"energy"` HasCode bool `json:"hasCode"` }
Account for marshal account
type BatchCallData ¶
type BatchCallData struct { Clauses Clauses `json:"clauses"` Gas uint64 `json:"gas"` GasPrice *math.HexOrDecimal256 `json:"gasPrice"` Caller *powerplay.Address `json:"caller"` }
BatchCallData executes a batch of codes
type BatchCallResults ¶
type BatchCallResults []*CallResult
type CallData ¶
type CallData struct { Value *math.HexOrDecimal256 `json:"value"` Data string `json:"data"` Gas uint64 `json:"gas"` GasPrice *math.HexOrDecimal256 `json:"gasPrice"` Caller *powerplay.Address `json:"caller"` }
CallData represents contract-call body
type CallResult ¶
type CallResult 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.