Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EthClient ¶ added in v0.4.0
type EthClient interface { HeaderByNumber(ctx context.Context, number *big.Int) (*ethtypes.Header, error) TransactionReceipt(ctx context.Context, txHash common.Hash) (*ethtypes.Receipt, error) SuggestGasPrice(ctx context.Context) (*big.Int, error) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error) SendTransaction(ctx context.Context, tx *ethtypes.Transaction) error PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) }
EthClient contains all the ethclient.Client methods that we use.
Click to show internal directories.
Click to hide internal directories.