Versions in this module Expand all Collapse all v0 v0.55.2 Apr 12, 2025 v0.55.1 Apr 12, 2025 Changes in this version + func NewCallDecoder(method *goethABI.Method) func(data []byte, res any) error + func NewCallEncoder(method *goethABI.Method, args ...any) func() ([]byte, error) + func NewContractErrorDecoder(contract *goethABI.Contract) func(err error) error + type Call struct + func NewCall(opts CallOpts) *Call + func (c *Call) Address() types.Address + func (c *Call) Call(ctx context.Context, number types.BlockNumber, res any) error + func (c *Call) CallData() ([]byte, error) + func (c *Call) Client() rpc.RPC + func (c *Call) DecodeTo(data []byte, res any) error + type CallOpts struct + Address types.Address + Client rpc.RPC + Decoder func([]byte, any) error + Encoder func() ([]byte, error) + ErrorDecoder func(err error) error + type Callable interface + Address func() types.Address + CallData func() ([]byte, error) + type Caller interface + Address func() types.Address + Call func(ctx context.Context, number types.BlockNumber, res any) error + Client func() rpc.RPC + type Decoder interface + DecodeTo func([]byte, any) error + type SelfCaller interface + type SelfTransactableCaller interface + type TransactableCall struct + func NewTransactableCall(opts CallOpts) *TransactableCall + func (t *TransactableCall) SendTransaction(ctx context.Context) (*types.Hash, *types.Transaction, error) + func (t *TransactableCall) Simulate(ctx context.Context, number types.BlockNumber) error + type Transactor interface + Address func() types.Address + Client func() rpc.RPC + SendTransaction func(ctx context.Context) (*types.Hash, *types.Transaction, error) + Simulate func(ctx context.Context, number types.BlockNumber) error + type TypedCall struct + func NewTypedCall[T any](opts CallOpts) *TypedCall[T] + func (t *TypedCall[T]) Call(ctx context.Context, number types.BlockNumber) (T, error) + func (t *TypedCall[T]) Decode(data []byte) (T, error) + type TypedCaller interface + Address func() types.Address + Call func(ctx context.Context, number types.BlockNumber) (T, error) + Client func() rpc.RPC + type TypedDecoder interface + Decode func([]byte) (T, error) + type TypedSelfCaller interface + type TypedSelfTransactableCaller interface + type TypedTransactableCall struct + func NewTypedTransactableCall[T any](opts CallOpts) *TypedTransactableCall[T] + func (t *TypedTransactableCall[T]) Call(ctx context.Context, number types.BlockNumber) (T, error) + func (t *TypedTransactableCall[T]) Decode(data []byte) (T, error)