Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABIWrapper ¶
type ABIWrapper struct {
// contains filtered or unexported fields
}
ABIWrapper wraps the decoding logic using go-ethereum's ABI parser.
func NewFromJSON ¶
func NewFromJSON(jsonStr string) (*ABIWrapper, error)
NewFromJSON creates a decoder from a JSON ABI string
func (*ABIWrapper) Decode ¶
func (w *ABIWrapper) Decode(log types.Log) (*DecodedLog, error)
Decode parses a single Log
type DecodedLog ¶
type DecodedLog struct {
Name string // Event name (e.g., Transfer)
Inputs map[string]interface{} // Parameter key-value pairs (e.g., from: 0x..., value: 100)
}
DecodedLog contains parsed human-readable data from a transaction log.
Click to show internal directories.
Click to hide internal directories.