Documentation ¶
Index ¶
- type EthClient
- func (_m *EthClient) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (_m *EthClient) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error)
- func (_m *EthClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- type S3Client
- type SNSClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthClient ¶
EthClient is an autogenerated mock type for the EthClient type
func (*EthClient) BlockByNumber ¶
BlockByNumber provides a mock function with given fields: ctx, number
func (*EthClient) SubscribeNewHead ¶
func (_m *EthClient) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error)
SubscribeNewHead provides a mock function with given fields: ctx, ch
Click to show internal directories.
Click to hide internal directories.