Documentation ¶
Index ¶
- Constants
- func BytesToByteArray(val []byte) (value.Value, error)
- func BytesToSizedByteArray(val []byte) (value.Value, error)
- func IntsToBigTuple(ints []*big.Int) (value.Value, error)
- func SizedByteArrayToHex(val value.Value) ([]byte, error)
- func StackValueToList(val value.Value) ([]value.Value, error)
- type EthCallData
- type EthMsg
- type EthMsgData
- type FuncCall
- type Log
- type Result
- type Return
- type Revert
- type Stop
Constants ¶
View Source
const ( EVM_REVERT_CODE = 0 EVM_INVALID_CODE = 1 EVM_RETURN_CODE = 2 EVM_STOP_CODE = 3 EVM_BAD_SEQUENCE_CODE = 4 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EthCallData ¶
func NewEthCallDataFromValue ¶
func NewEthCallDataFromValue(val value.Value) (EthCallData, error)
type EthMsg ¶
type EthMsg struct { Data EthMsgData TokenType [21]byte Currency *big.Int Caller [32]byte }
type EthMsgData ¶
type EthMsgData struct { CallData EthCallData Timestamp *big.Int Number *big.Int TxHash [32]byte // contains filtered or unexported fields }
func NewEthMsgDataFromValue ¶
func NewEthMsgDataFromValue(val value.Value) (EthMsgData, error)
Click to show internal directories.
Click to hide internal directories.