Documentation ¶
Index ¶
- func GetTxDatasFromFunctionCallParams(params []ParamResult) (destinations []string, values []string, data []string)
- func LooksLikeTxData(params []ParamResult) bool
- func SplitEventArguments(args abi.Arguments) (abi.Arguments, abi.Arguments)
- type TxAnalyzer
- func (self *TxAnalyzer) AnalyzeFunctionCallRecursively(lookupABI ABIDatabase, value *big.Int, destination string, data []byte, ...) (fc *FunctionCall)
- func (self *TxAnalyzer) AnalyzeLog(customABIs map[string]*abi.ABI, l *types.Log, network Network) (LogResult, error)
- func (self *TxAnalyzer) AnalyzeMethodCall(a *abi.ABI, data []byte) (method string, params []ParamResult, err error)
- func (self *TxAnalyzer) AnalyzeOffline(txinfo *TxInfo, lookupABI ABIDatabase, customABIs map[string]*abi.ABI, ...) *TxResult
- func (self *TxAnalyzer) ParamAsJarvisTuple(t abi.Type, value interface{}) []ParamResult
- func (self *TxAnalyzer) ParamAsJarvisValues(t abi.Type, value interface{}) []Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTxDatasFromFunctionCallParams ¶ added in v0.0.20
func LooksLikeTxData ¶ added in v0.0.20
func LooksLikeTxData(params []ParamResult) bool
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 (*TxAnalyzer) AnalyzeLog ¶
func (*TxAnalyzer) AnalyzeMethodCall ¶
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
Click to show internal directories.
Click to hide internal directories.