types

package
v0.3.0-beta5-tmp-bridge Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2025 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseEthereumClienter

type BaseEthereumClienter interface {
	ethereum.LogFilterer
	ethereum.BlockNumberReader
	ethereum.ChainReader
	ethereum.ChainIDReader
	bind.ContractBackend
}

BaseEthereumClienter defines the methods required to interact with an Ethereum client.

type DefaultEthClient

type DefaultEthClient struct {
	BaseEthereumClienter
	RPCClienter
}

DefaultEthClient is the default implementation of EthClient.

type EthClienter

type EthClienter interface {
	BaseEthereumClienter
	RPCClienter
}

EthClienter defines the methods for an Ethereum RPC client.

type NoopRPCClient

type NoopRPCClient struct{}

NoopRPCClient is no operation implementation for the RPCClienter interface

func (*NoopRPCClient) Call

func (c *NoopRPCClient) Call(result any, method string, args ...any) error

type RPCClienter

type RPCClienter interface {
	Call(result any, method string, args ...any) error
}

RPCClienter defines an interface for making generic RPC calls.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL