test

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	// contains filtered or unexported fields
}

Message is used for evm test.

func NewMessage

func NewMessage(from *types.AddressHash, gasPrice *big.Int) Message

NewMessage new msg.

func (Message) CheckNonce

func (msg Message) CheckNonce() bool

CheckNonce check nonce.

func (Message) Data

func (msg Message) Data() []byte

Data get data.

func (Message) From

func (msg Message) From() *types.AddressHash

From get from.

func (Message) Gas

func (msg Message) Gas() uint64

Gas get gas.

func (Message) GasPrice

func (msg Message) GasPrice() *big.Int

GasPrice get gas price.

func (Message) Nonce

func (msg Message) Nonce() uint64

Nonce get nonce.

func (Message) String

func (msg Message) String() string

String prints msg

func (Message) To

func (msg Message) To() *types.AddressHash

To get to.

func (Message) Type

func (msg Message) Type() types.ContractType

Type get type.

func (Message) Value

func (msg Message) Value() *big.Int

Value get value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL