Versions in this module Expand all Collapse all v1 v1.0.2 Jul 14, 2024 v1.0.1 Jul 14, 2024 Changes in this version + func BlockNumberArg(blockNumber *big.Int) string + type ArgsWrapperFunc func([]any) ([]any, error) + type Factory struct + func NewFactory[T any](method string, args []any, opts ...Option[T]) *Factory[T] + func (f Factory[T]) CreateRequest() (rpc.BatchElem, error) + func (f Factory[T]) HandleResponse(elem rpc.BatchElem) error + func (f Factory[T]) Returns(ret *T) w3types.RPCCaller + type Option func(*Factory[T]) + func WithArgsWrapper[T any](fn ArgsWrapperFunc) Option[T] + func WithRetWrapper[T any](fn RetWrapperFunc[T]) Option[T] + type RetWrapperFunc func(*T) any + var HexBigRetWrapper RetWrapperFunc[big.Int] = func(ret *big.Int) any { ... } + var HexBytesRetWrapper RetWrapperFunc[[]byte] = func(ret *[]byte) any { ... } + var HexUint64RetWrapper RetWrapperFunc[uint64] = func(ret *uint64) any { ... } + var HexUintRetWrapper RetWrapperFunc[uint] = func(ret *uint) any { ... }