Documentation
¶
Index ¶
- type Config
- type StructLog
- type StructTraceResult
- type StructTracer
- func (t *StructTracer) CallEnd(depth int, output []byte, err error)
- func (t *StructTracer) CallStart(depth int, from, to types.Address, callType int, gas uint64, value *big.Int, ...)
- func (t *StructTracer) Cancel(err error)
- func (t *StructTracer) CaptureState(memory []byte, stack []*big.Int, opCode int, contractAddress types.Address, ...)
- func (t *StructTracer) Clear()
- func (t *StructTracer) ExecuteState(contractAddress types.Address, ip uint64, opCode string, availableGas uint64, ...)
- func (t *StructTracer) GetResult() (interface{}, error)
- func (t *StructTracer) TxEnd(gasLeft uint64)
- func (t *StructTracer) TxStart(gasLimit uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StructLog ¶
type StructLog struct {
Pc uint64 `json:"pc"`
Op string `json:"op"`
Gas uint64 `json:"gas"`
GasCost uint64 `json:"gasCost"`
Depth int `json:"depth"`
Error string `json:"error,omitempty"`
Stack []string `json:"stack,omitempty"`
Memory []string `json:"memory,omitempty"`
Storage map[string]string `json:"storage,omitempty"`
RefundCounter uint64 `json:"refund,omitempty"`
ReturnData string `json:"returnData,omitempty"`
}
type StructTraceResult ¶
type StructTracer ¶
type StructTracer struct {
Config Config
// contains filtered or unexported fields
}
func NewStructTracer ¶
func NewStructTracer(config Config) *StructTracer
func (*StructTracer) CallEnd ¶
func (t *StructTracer) CallEnd( depth int, output []byte, err error, )
func (*StructTracer) Cancel ¶
func (t *StructTracer) Cancel(err error)
func (*StructTracer) CaptureState ¶
func (*StructTracer) Clear ¶
func (t *StructTracer) Clear()
func (*StructTracer) ExecuteState ¶
func (*StructTracer) GetResult ¶
func (t *StructTracer) GetResult() (interface{}, error)
func (*StructTracer) TxEnd ¶
func (t *StructTracer) TxEnd(gasLeft uint64)
func (*StructTracer) TxStart ¶
func (t *StructTracer) TxStart(gasLimit uint64)
Click to show internal directories.
Click to hide internal directories.