tracely

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 14 Imported by: 0

README

Tracely

Tracely is an extension of the Tracely tool by DenrianWeiss. It was forked to add error/context handling and hopefully add more features in the future. The intent is to merge these features upstream.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OpCodeFocus map[string]bool = map[string]bool{
	"CALL":         true,
	"DELEGATECALL": true,
	"STATICCALL":   true,
	"RETURN":       true,
	"CREATE":       true,
	"REVERT":       true,
}

Functions

func AccessMemory

func AccessMemory(m []byte, offset, size int) []byte

func AccessStack

func AccessStack(s [][]byte, index int) []byte

func BytesToInt

func BytesToInt(b []byte) (int64, error)

func GenSpace

func GenSpace(c int) string

func GenerateMemory

func GenerateMemory(m []interface{}) []byte

func GenerateStack

func GenerateStack(s []interface{}) [][]byte

func GetTxResult

func GetTxResult(rpc, txid string) ([]model.TraceStep, error)

func ParseCall

func ParseCall(step model.TraceStep) (map[string]string, error)

func ParseDelegateCall

func ParseDelegateCall(step model.TraceStep) (map[string]string, error)

func ParseReturn

func ParseReturn(step model.TraceStep) (map[string]string, error)

func ParseRevert

func ParseRevert(step model.TraceStep) (map[string]string, error)

func PrintStep

func PrintStep(step model.TraceStep) (err error)

func SeperatePayload

func SeperatePayload(in *string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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