package
0.1.3
Repository: https://github.com/umbracle/ethgo.git
Documentation: pkg.go.dev

# Functions

Decode decodes the input with a given type.
DecodeStruct decodes the input with a type to a struct.
Encode encodes a value.
EncodeTopic encodes a topic.
MustNewABI returns a parsed ABI contract or panics if fails.
MustNewEvent creates a new solidity event object or fails.
MustNewType parses a type in string format or panics if its invalid.
NewABI returns a parsed ABI struct.
No description provided by the author
NewABIFromReader returns an ABI object from a reader.
NewError creates a new solidity error object.
NewEvent creates a new solidity event object using the signature.
NewEventFromType creates a new solidity event object using the name and type.
No description provided by the author
No description provided by the author
No description provided by the author
NewType parses a type in string format.
NewTypeFromArgument parses an abi type from an argument.
ParseLog parses an event log.
ParseTopic parses an individual topic.
ParseTopics parses topics from a log event.
No description provided by the author

# Constants

KindAddress is an address.
KindArray is an array.
KindBool is a boolean.
KindBytes is a bytes array.
KindFixedBytes is a fixed bytes.
KindFixedPoint is a fixed point.
KindFunction is a function.
KindInt is an int.
KindSlice is a slice.
KindString is a string.
KindTuple is a tuple.
KindUInt is an uint.

# Structs

ABI represents the ethereum abi format.
ArgumentStr encodes a type object.
Error is a solidity error object.
Event is a triggered log mechanism.
Method is a callable function in the contract.
TupleElem is an element of a tuple.
Type is an ABI type.

# Type aliases

Kind represents the kind of abi type.