Documentation ¶
Index ¶
- func SplitEventArguments(args abi.Arguments) (abi.Arguments, abi.Arguments)
- type AddressDatabase
- type DefaultAddressDatabase
- type GnosisResult
- type LogResult
- type ParamResult
- type TopicResult
- type TxAnalyzer
- func (self *TxAnalyzer) Analyze(tx string) *TxResult
- func (self *TxAnalyzer) AnalyzeLog(abi *abi.ABI, l *types.Log) (LogResult, error)
- func (self *TxAnalyzer) AnalyzeMethodCall(abi *abi.ABI, data []byte) (method string, params []ParamResult, gnosisResult *GnosisResult, err error)
- func (self *TxAnalyzer) AnalyzeOffline(txinfo *ethutils.TxInfo, abi *abi.ABI, isContract bool) *TxResult
- func (self *TxAnalyzer) AnalyzeWithABI(tx string, a *abi.ABI) *TxResult
- func (self *TxAnalyzer) ParamAsStrings(t abi.Type, value interface{}) []string
- type TxResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddressDatabase ¶
type DefaultAddressDatabase ¶
func NewDefaultAddressDatabase ¶
func NewDefaultAddressDatabase() *DefaultAddressDatabase
func (*DefaultAddressDatabase) GetName ¶
func (self *DefaultAddressDatabase) GetName(addr string) string
func (*DefaultAddressDatabase) Register ¶
func (self *DefaultAddressDatabase) Register(addr string, name string)
type GnosisResult ¶
type GnosisResult struct { Contract string Network string Method string Params []ParamResult Error string }
type LogResult ¶
type LogResult struct { Name string Topics []TopicResult Data []ParamResult }
type ParamResult ¶
type TopicResult ¶
type TxAnalyzer ¶
type TxAnalyzer struct { Network string // contains filtered or unexported fields }
func NewAnalyzer ¶
func NewAnalyzer() *TxAnalyzer
func NewGenericAnalyzer ¶ added in v0.0.9
func NewGenericAnalyzer(r *reader.EthReader) *TxAnalyzer
func NewRopstenAnalyzer ¶
func NewRopstenAnalyzer() *TxAnalyzer
func NewTomoAnalyzer ¶
func NewTomoAnalyzer() *TxAnalyzer
func (*TxAnalyzer) Analyze ¶
func (self *TxAnalyzer) Analyze(tx string) *TxResult
print all info on the tx
func (*TxAnalyzer) AnalyzeLog ¶
func (*TxAnalyzer) AnalyzeMethodCall ¶
func (self *TxAnalyzer) AnalyzeMethodCall(abi *abi.ABI, data []byte) (method string, params []ParamResult, gnosisResult *GnosisResult, err error)
func (*TxAnalyzer) AnalyzeOffline ¶
func (*TxAnalyzer) AnalyzeWithABI ¶ added in v0.0.17
func (self *TxAnalyzer) AnalyzeWithABI(tx string, a *abi.ABI) *TxResult
func (*TxAnalyzer) ParamAsStrings ¶ added in v0.0.11
func (self *TxAnalyzer) ParamAsStrings(t abi.Type, value interface{}) []string
type TxResult ¶
type TxResult struct { Hash string Network string Status string From string Value string To string Nonce string GasPrice string GasLimit string TxType string Contract string Method string Params []ParamResult Logs []LogResult GnosisInit *GnosisResult Completed bool Error string }
func NewTxResult ¶
func NewTxResult() *TxResult
Click to show internal directories.
Click to hide internal directories.