model

package
v0.0.0-...-309c178 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Jsonrpc string        `json:"jsonrpc"`
	ID      int           `json:"id"`
	Method  string        `json:"method"`
	Params  []interface{} `json:"params"`
}

func NewRequest

func NewRequest(txId string) Request

type TraceStep

type TraceStep struct {
	Depth   int                  `json:"depth"`
	Gas     int                  `json:"gas"`
	GasCost int                  `json:"gasCost"`
	Memory  []interface{}        `json:"memory"`
	Op      constants.OpCodeEnum `json:"op"`
	Pc      int                  `json:"pc"`
	Stack   []interface{}        `json:"stack"`
}

Jump to

Keyboard shortcuts

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