Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EthClient ¶ added in v0.7.0
type EthClient interface { bind.ContractBackend ReceiptFetcher HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error) BlockInfoByNumber(ctx context.Context, number *big.Int) (*BlockInfo, error) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error) TransactionByHash(ctx context.Context, hash common.Hash) (tx *types.Transaction, isPending bool, err error) PendingCallContract(ctx context.Context, msg ethereum.CallMsg) ([]byte, error) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error) }
type RPCEthClient ¶ added in v0.7.2
func NewRPCEthClient ¶ added in v0.7.2
func NewRPCEthClient(url string) (*RPCEthClient, error)
func (*RPCEthClient) BlockInfoByNumber ¶ added in v0.7.2
type ReceiptFetcher ¶ added in v0.7.3
type SimulatedEthClient ¶ added in v0.7.2
type SimulatedEthClient struct {
*backends.SimulatedBackend
}
func (*SimulatedEthClient) BlockInfoByNumber ¶ added in v0.7.2
Click to show internal directories.
Click to hide internal directories.