Versions in this module Expand all Collapse all v0 v0.5.0 Aug 31, 2023 v0.4.0 Feb 24, 2023 Changes in this version + type MockClient struct + func NewMockClient(ctrl *gomock.Controller) *MockClient + func (m *MockClient) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error) + func (m *MockClient) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error) + func (m *MockClient) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error) + func (m *MockClient) BlockNumber(ctx context.Context) (uint64, error) + func (m *MockClient) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error) + func (m *MockClient) ChainID(ctx context.Context) (*big.Int, error) + func (m *MockClient) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error) + func (m *MockClient) EXPECT() *MockClientMockRecorder + func (m *MockClient) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error) + func (m *MockClient) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error) + func (m *MockClient) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error) + func (m *MockClient) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error) + func (m *MockClient) NetworkID(ctx context.Context) (*big.Int, error) + func (m *MockClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error) + func (m *MockClient) PendingBalanceAt(ctx context.Context, account common.Address) (*big.Int, error) + func (m *MockClient) PendingCallContract(ctx context.Context, call ethereum.CallMsg) ([]byte, error) + func (m *MockClient) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) + func (m *MockClient) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) + func (m *MockClient) PendingStorageAt(ctx context.Context, account common.Address, key common.Hash) ([]byte, error) + func (m *MockClient) PendingTransactionCount(ctx context.Context) (uint, error) + func (m *MockClient) SendTransaction(ctx context.Context, tx *types.Transaction) error + func (m *MockClient) StorageAt(ctx context.Context, account common.Address, key common.Hash, ...) ([]byte, error) + func (m *MockClient) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error) + func (m *MockClient) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error) + func (m *MockClient) SuggestGasPrice(ctx context.Context) (*big.Int, error) + func (m *MockClient) SuggestGasTipCap(ctx context.Context) (*big.Int, error) + func (m *MockClient) SyncProgress(ctx context.Context) (*ethereum.SyncProgress, error) + func (m *MockClient) TransactionByHash(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error) + func (m *MockClient) TransactionCount(ctx context.Context, blockHash common.Hash) (uint, error) + func (m *MockClient) TransactionInBlock(ctx context.Context, blockHash common.Hash, index uint) (*types.Transaction, error) + func (m *MockClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error) + type MockClientMockRecorder struct + func (mr *MockClientMockRecorder) BalanceAt(ctx, account, blockNumber interface{}) *gomock.Call + func (mr *MockClientMockRecorder) BlockByHash(ctx, hash interface{}) *gomock.Call + func (mr *MockClientMockRecorder) BlockByNumber(ctx, number interface{}) *gomock.Call + func (mr *MockClientMockRecorder) BlockNumber(ctx interface{}) *gomock.Call + func (mr *MockClientMockRecorder) CallContract(ctx, call, blockNumber interface{}) *gomock.Call + func (mr *MockClientMockRecorder) ChainID(ctx interface{}) *gomock.Call + func (mr *MockClientMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call + func (mr *MockClientMockRecorder) EstimateGas(ctx, call interface{}) *gomock.Call + func (mr *MockClientMockRecorder) FilterLogs(ctx, query interface{}) *gomock.Call + func (mr *MockClientMockRecorder) HeaderByHash(ctx, hash interface{}) *gomock.Call + func (mr *MockClientMockRecorder) HeaderByNumber(ctx, number interface{}) *gomock.Call + func (mr *MockClientMockRecorder) NetworkID(ctx interface{}) *gomock.Call + func (mr *MockClientMockRecorder) NonceAt(ctx, account, blockNumber interface{}) *gomock.Call + func (mr *MockClientMockRecorder) PendingBalanceAt(ctx, account interface{}) *gomock.Call + func (mr *MockClientMockRecorder) PendingCallContract(ctx, call interface{}) *gomock.Call + func (mr *MockClientMockRecorder) PendingCodeAt(ctx, account interface{}) *gomock.Call + func (mr *MockClientMockRecorder) PendingNonceAt(ctx, account interface{}) *gomock.Call + func (mr *MockClientMockRecorder) PendingStorageAt(ctx, account, key interface{}) *gomock.Call + func (mr *MockClientMockRecorder) PendingTransactionCount(ctx interface{}) *gomock.Call + func (mr *MockClientMockRecorder) SendTransaction(ctx, tx interface{}) *gomock.Call + func (mr *MockClientMockRecorder) StorageAt(ctx, account, key, blockNumber interface{}) *gomock.Call + func (mr *MockClientMockRecorder) SubscribeFilterLogs(ctx, query, ch interface{}) *gomock.Call + func (mr *MockClientMockRecorder) SubscribeNewHead(ctx, ch interface{}) *gomock.Call + func (mr *MockClientMockRecorder) SuggestGasPrice(ctx interface{}) *gomock.Call + func (mr *MockClientMockRecorder) SuggestGasTipCap(ctx interface{}) *gomock.Call + func (mr *MockClientMockRecorder) SyncProgress(ctx interface{}) *gomock.Call + func (mr *MockClientMockRecorder) TransactionByHash(ctx, txHash interface{}) *gomock.Call + func (mr *MockClientMockRecorder) TransactionCount(ctx, blockHash interface{}) *gomock.Call + func (mr *MockClientMockRecorder) TransactionInBlock(ctx, blockHash, index interface{}) *gomock.Call + func (mr *MockClientMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call