txanalyzer

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTxDatasFromFunctionCallParams added in v0.0.20

func GetTxDatasFromFunctionCallParams(params []ParamResult) (destinations []string, values []string, data []string)

func LooksLikeTxData added in v0.0.20

func LooksLikeTxData(params []ParamResult) bool

func SplitEventArguments

func SplitEventArguments(args abi.Arguments) (abi.Arguments, abi.Arguments)

Types

type TxAnalyzer

type TxAnalyzer struct {
	Network Network
	// contains filtered or unexported fields
}

func EthAnalyzer added in v0.0.18

func EthAnalyzer(network Network) (*TxAnalyzer, error)

func NewAnalyzer

func NewAnalyzer() *TxAnalyzer

func NewGenericAnalyzer added in v0.0.9

func NewGenericAnalyzer(r *reader.EthReader, network Network) *TxAnalyzer

func NewRopstenAnalyzer

func NewRopstenAnalyzer() *TxAnalyzer

func NewTomoAnalyzer

func NewTomoAnalyzer() *TxAnalyzer

func (*TxAnalyzer) AnalyzeFunctionCallRecursively added in v0.0.20

func (self *TxAnalyzer) AnalyzeFunctionCallRecursively(lookupABI ABIDatabase, value *big.Int, destination string, data []byte, customABIs map[string]*abi.ABI) (fc *FunctionCall)

func (*TxAnalyzer) AnalyzeLog

func (self *TxAnalyzer) AnalyzeLog(customABIs map[string]*abi.ABI, l *types.Log, network Network) (LogResult, error)

func (*TxAnalyzer) AnalyzeMethodCall

func (self *TxAnalyzer) AnalyzeMethodCall(a *abi.ABI, data []byte) (method string, params []ParamResult, err error)

func (*TxAnalyzer) AnalyzeOffline

func (self *TxAnalyzer) AnalyzeOffline(txinfo *TxInfo, lookupABI ABIDatabase, customABIs map[string]*abi.ABI, isContract bool, network Network) *TxResult

func (*TxAnalyzer) ParamAsJarvisTuple added in v0.0.20

func (self *TxAnalyzer) ParamAsJarvisTuple(t abi.Type, value interface{}) []ParamResult

func (*TxAnalyzer) ParamAsJarvisValues added in v0.0.18

func (self *TxAnalyzer) ParamAsJarvisValues(t abi.Type, value interface{}) []Value

Jump to

Keyboard shortcuts

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