Documentation ¶
Index ¶
- func GetDiffPercent(d1 *decimal.Decimal, d2 *decimal.Decimal) decimal.Decimal
- func Handle[T any](ctx context.Context, handleItem T, ...) error
- func MethodID(method string) string
- func ParseEventHashFromCode(code []byte) ([]string, error)
- func ParseMethodIDFromCode(code []byte) ([]string, error)
- func Retry[T any](ctx context.Context, maxRetries uint64, fn func() (T, error)) (T, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseEventHashFromCode ¶
ParseEventHashFromCode parses event hash from contract code PUSH32 is used to push 32 bytes of data onto the stack
func ParseMethodIDFromCode ¶
ParseMethodIDFromCode parses method id from contract code PUSH3 and PUSH4 are used to push 3 and 4 bytes of data onto the stack
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.