calltracer

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Call

type Call struct {
	Type    string  `json:"type"`
	From    string  `json:"from"`
	To      string  `json:"to"`
	Value   string  `json:"value,omitempty"`
	Gas     string  `json:"gas"`
	GasUsed string  `json:"gasUsed"`
	Input   string  `json:"input"`
	Output  string  `json:"output"`
	Calls   []*Call `json:"calls,omitempty"`
	// contains filtered or unexported fields
}

type CallTracer

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

func (*CallTracer) CallEnd

func (c *CallTracer) CallEnd(depth int, output []byte, err error)

func (*CallTracer) CallStart

func (c *CallTracer) CallStart(depth int, from, to types.Address, callType int,
	gas uint64, value *big.Int, input []byte)

func (*CallTracer) Cancel

func (c *CallTracer) Cancel(err error)

func (*CallTracer) CaptureState

func (c *CallTracer) CaptureState(memory []byte, stack []*big.Int, opCode int,
	contractAddress types.Address, sp int, host tracer.RuntimeHost, state tracer.VMState)

func (*CallTracer) Clear

func (c *CallTracer) Clear()

func (*CallTracer) ExecuteState

func (c *CallTracer) ExecuteState(contractAddress types.Address, ip uint64, opcode string,
	availableGas uint64, cost uint64, lastReturnData []byte, depth int, err error, host tracer.RuntimeHost)

func (*CallTracer) GetResult

func (c *CallTracer) GetResult() (interface{}, error)

func (*CallTracer) TxEnd

func (c *CallTracer) TxEnd(gasLeft uint64)

func (*CallTracer) TxStart

func (c *CallTracer) TxStart(gasLimit uint64)

Jump to

Keyboard shortcuts

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