Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockBatchCallClient
- type MockBatchCallClientMockRecorder
- type MockChainInterface
- func (m *MockChainInterface) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
- func (m *MockChainInterface) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error
- func (m *MockChainInterface) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)
- func (m *MockChainInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (m *MockChainInterface) BlockNumber(ctx context.Context) (uint64, error)
- func (m *MockChainInterface) CallBlockHashByTransaction(ctx context.Context, blockNumber *big.Int, index uint) (common.Hash, error)
- func (m *MockChainInterface) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
- func (m *MockChainInterface) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (m *MockChainInterface) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
- func (m *MockChainInterface) EXPECT() *MockChainInterfaceMockRecorder
- func (m *MockChainInterface) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (m *MockChainInterface) GetBaseFeeFromBlock(ctx context.Context, blockNumber *big.Int) (string, error)
- func (m *MockChainInterface) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error)
- func (m *MockChainInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (m *MockChainInterface) NetworkID() uint64
- func (m *MockChainInterface) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
- func (m *MockChainInterface) ToBigInt() *big.Int
- func (m *MockChainInterface) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)
- func (m *MockChainInterface) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- type MockChainInterfaceMockRecorder
- func (mr *MockChainInterfaceMockRecorder) BalanceAt(ctx, account, blockNumber interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) BatchCallContext(ctx, b interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) BlockByHash(ctx, hash interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) BlockByNumber(ctx, number interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) BlockNumber(ctx interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) CallBlockHashByTransaction(ctx, blockNumber, index interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) CallContext(ctx, result, method interface{}, args ...interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) CallContract(ctx, call, blockNumber interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) FilterLogs(ctx, q interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) GetBaseFeeFromBlock(ctx, blockNumber interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) HeaderByHash(ctx, hash interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) HeaderByNumber(ctx, number interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) NetworkID() *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) NonceAt(ctx, account, blockNumber interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) ToBigInt() *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) TransactionByHash(ctx, hash interface{}) *gomock.Call
- func (mr *MockChainInterfaceMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call
- type MockClientInterface
- func (m *MockClientInterface) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
- func (m *MockClientInterface) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error
- func (m *MockClientInterface) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)
- func (m *MockClientInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (m *MockClientInterface) BlockNumber(ctx context.Context) (uint64, error)
- func (m *MockClientInterface) CallBlockHashByTransaction(ctx context.Context, blockNumber *big.Int, index uint) (common.Hash, error)
- func (m *MockClientInterface) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
- func (m *MockClientInterface) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (m *MockClientInterface) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)
- func (m *MockClientInterface) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (m *MockClientInterface) GetBaseFeeFromBlock(ctx context.Context, blockNumber *big.Int) (string, error)
- func (m *MockClientInterface) GetLimiter() chain.RequestLimiter
- func (m *MockClientInterface) GetWalletNotifier() func(uint64, string)
- func (m *MockClientInterface) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error)
- func (m *MockClientInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (m *MockClientInterface) IsConnected() bool
- func (m *MockClientInterface) NetworkID() uint64
- func (m *MockClientInterface) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
- func (m *MockClientInterface) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)
- func (m *MockClientInterface) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)
- func (m *MockClientInterface) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (m *MockClientInterface) SetIsConnected(arg0 bool)
- func (m *MockClientInterface) SetLimiter(arg0 chain.RequestLimiter)
- func (m *MockClientInterface) SetWalletNotifier(notifier func(uint64, string))
- func (m *MockClientInterface) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
- func (m *MockClientInterface) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (m *MockClientInterface) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
- func (m *MockClientInterface) ToBigInt() *big.Int
- func (m *MockClientInterface) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)
- func (m *MockClientInterface) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) BalanceAt(ctx, account, blockNumber interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) BatchCallContext(ctx, b interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) BlockByHash(ctx, hash interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) BlockByNumber(ctx, number interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) BlockNumber(ctx interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CallBlockHashByTransaction(ctx, blockNumber, index interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CallContext(ctx, result, method interface{}, args ...interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CallContract(ctx, call, blockNumber interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) EstimateGas(ctx, call interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) FilterLogs(ctx, q interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetBaseFeeFromBlock(ctx, blockNumber interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetLimiter() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetWalletNotifier() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) HeaderByHash(ctx, hash interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) HeaderByNumber(ctx, number interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) IsConnected() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) NetworkID() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) NonceAt(ctx, account, blockNumber interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) PendingCodeAt(ctx, account interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) PendingNonceAt(ctx, account interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SendTransaction(ctx, tx interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SetIsConnected(arg0 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SetLimiter(arg0 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SetWalletNotifier(notifier interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SubscribeFilterLogs(ctx, query, ch interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SuggestGasPrice(ctx interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SuggestGasTipCap(ctx interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ToBigInt() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) TransactionByHash(ctx, hash interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call
- type MockTagger
- type MockTaggerMockRecorder
- func (mr *MockTaggerMockRecorder) DeepCopyTag() *gomock.Call
- func (mr *MockTaggerMockRecorder) GroupTag() *gomock.Call
- func (mr *MockTaggerMockRecorder) SetGroupTag(tag interface{}) *gomock.Call
- func (mr *MockTaggerMockRecorder) SetTag(tag interface{}) *gomock.Call
- func (mr *MockTaggerMockRecorder) Tag() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBatchCallClient ¶
type MockBatchCallClient struct {
// contains filtered or unexported fields
}
MockBatchCallClient is a mock of BatchCallClient interface.
func NewMockBatchCallClient ¶
func NewMockBatchCallClient(ctrl *gomock.Controller) *MockBatchCallClient
NewMockBatchCallClient creates a new mock instance.
func (*MockBatchCallClient) BatchCallContext ¶
BatchCallContext mocks base method.
func (*MockBatchCallClient) EXPECT ¶
func (m *MockBatchCallClient) EXPECT() *MockBatchCallClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBatchCallClientMockRecorder ¶
type MockBatchCallClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBatchCallClientMockRecorder is the mock recorder for MockBatchCallClient.
func (*MockBatchCallClientMockRecorder) BatchCallContext ¶
func (mr *MockBatchCallClientMockRecorder) BatchCallContext(ctx, b interface{}) *gomock.Call
BatchCallContext indicates an expected call of BatchCallContext.
type MockChainInterface ¶
type MockChainInterface struct {
// contains filtered or unexported fields
}
MockChainInterface is a mock of ChainInterface interface.
func NewMockChainInterface ¶
func NewMockChainInterface(ctrl *gomock.Controller) *MockChainInterface
NewMockChainInterface creates a new mock instance.
func (*MockChainInterface) BalanceAt ¶
func (m *MockChainInterface) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
BalanceAt mocks base method.
func (*MockChainInterface) BatchCallContext ¶
BatchCallContext mocks base method.
func (*MockChainInterface) BlockByHash ¶
func (m *MockChainInterface) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)
BlockByHash mocks base method.
func (*MockChainInterface) BlockByNumber ¶
func (m *MockChainInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
BlockByNumber mocks base method.
func (*MockChainInterface) BlockNumber ¶
func (m *MockChainInterface) BlockNumber(ctx context.Context) (uint64, error)
BlockNumber mocks base method.
func (*MockChainInterface) CallBlockHashByTransaction ¶
func (m *MockChainInterface) CallBlockHashByTransaction(ctx context.Context, blockNumber *big.Int, index uint) (common.Hash, error)
CallBlockHashByTransaction mocks base method.
func (*MockChainInterface) CallContext ¶
func (m *MockChainInterface) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
CallContext mocks base method.
func (*MockChainInterface) CallContract ¶
func (m *MockChainInterface) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockChainInterface) CodeAt ¶
func (m *MockChainInterface) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt mocks base method.
func (*MockChainInterface) EXPECT ¶
func (m *MockChainInterface) EXPECT() *MockChainInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChainInterface) FilterLogs ¶
func (m *MockChainInterface) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
FilterLogs mocks base method.
func (*MockChainInterface) GetBaseFeeFromBlock ¶
func (m *MockChainInterface) GetBaseFeeFromBlock(ctx context.Context, blockNumber *big.Int) (string, error)
GetBaseFeeFromBlock mocks base method.
func (*MockChainInterface) HeaderByHash ¶
func (m *MockChainInterface) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error)
HeaderByHash mocks base method.
func (*MockChainInterface) HeaderByNumber ¶
func (m *MockChainInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
HeaderByNumber mocks base method.
func (*MockChainInterface) NetworkID ¶
func (m *MockChainInterface) NetworkID() uint64
NetworkID mocks base method.
func (*MockChainInterface) NonceAt ¶
func (m *MockChainInterface) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
NonceAt mocks base method.
func (*MockChainInterface) ToBigInt ¶
func (m *MockChainInterface) ToBigInt() *big.Int
ToBigInt mocks base method.
func (*MockChainInterface) TransactionByHash ¶
func (m *MockChainInterface) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)
TransactionByHash mocks base method.
func (*MockChainInterface) TransactionReceipt ¶
func (m *MockChainInterface) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
TransactionReceipt mocks base method.
type MockChainInterfaceMockRecorder ¶
type MockChainInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockChainInterfaceMockRecorder is the mock recorder for MockChainInterface.
func (*MockChainInterfaceMockRecorder) BalanceAt ¶
func (mr *MockChainInterfaceMockRecorder) BalanceAt(ctx, account, blockNumber interface{}) *gomock.Call
BalanceAt indicates an expected call of BalanceAt.
func (*MockChainInterfaceMockRecorder) BatchCallContext ¶
func (mr *MockChainInterfaceMockRecorder) BatchCallContext(ctx, b interface{}) *gomock.Call
BatchCallContext indicates an expected call of BatchCallContext.
func (*MockChainInterfaceMockRecorder) BlockByHash ¶
func (mr *MockChainInterfaceMockRecorder) BlockByHash(ctx, hash interface{}) *gomock.Call
BlockByHash indicates an expected call of BlockByHash.
func (*MockChainInterfaceMockRecorder) BlockByNumber ¶
func (mr *MockChainInterfaceMockRecorder) BlockByNumber(ctx, number interface{}) *gomock.Call
BlockByNumber indicates an expected call of BlockByNumber.
func (*MockChainInterfaceMockRecorder) BlockNumber ¶
func (mr *MockChainInterfaceMockRecorder) BlockNumber(ctx interface{}) *gomock.Call
BlockNumber indicates an expected call of BlockNumber.
func (*MockChainInterfaceMockRecorder) CallBlockHashByTransaction ¶
func (mr *MockChainInterfaceMockRecorder) CallBlockHashByTransaction(ctx, blockNumber, index interface{}) *gomock.Call
CallBlockHashByTransaction indicates an expected call of CallBlockHashByTransaction.
func (*MockChainInterfaceMockRecorder) CallContext ¶
func (mr *MockChainInterfaceMockRecorder) CallContext(ctx, result, method interface{}, args ...interface{}) *gomock.Call
CallContext indicates an expected call of CallContext.
func (*MockChainInterfaceMockRecorder) CallContract ¶
func (mr *MockChainInterfaceMockRecorder) CallContract(ctx, call, blockNumber interface{}) *gomock.Call
CallContract indicates an expected call of CallContract.
func (*MockChainInterfaceMockRecorder) CodeAt ¶
func (mr *MockChainInterfaceMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call
CodeAt indicates an expected call of CodeAt.
func (*MockChainInterfaceMockRecorder) FilterLogs ¶
func (mr *MockChainInterfaceMockRecorder) FilterLogs(ctx, q interface{}) *gomock.Call
FilterLogs indicates an expected call of FilterLogs.
func (*MockChainInterfaceMockRecorder) GetBaseFeeFromBlock ¶
func (mr *MockChainInterfaceMockRecorder) GetBaseFeeFromBlock(ctx, blockNumber interface{}) *gomock.Call
GetBaseFeeFromBlock indicates an expected call of GetBaseFeeFromBlock.
func (*MockChainInterfaceMockRecorder) HeaderByHash ¶
func (mr *MockChainInterfaceMockRecorder) HeaderByHash(ctx, hash interface{}) *gomock.Call
HeaderByHash indicates an expected call of HeaderByHash.
func (*MockChainInterfaceMockRecorder) HeaderByNumber ¶
func (mr *MockChainInterfaceMockRecorder) HeaderByNumber(ctx, number interface{}) *gomock.Call
HeaderByNumber indicates an expected call of HeaderByNumber.
func (*MockChainInterfaceMockRecorder) NetworkID ¶
func (mr *MockChainInterfaceMockRecorder) NetworkID() *gomock.Call
NetworkID indicates an expected call of NetworkID.
func (*MockChainInterfaceMockRecorder) NonceAt ¶
func (mr *MockChainInterfaceMockRecorder) NonceAt(ctx, account, blockNumber interface{}) *gomock.Call
NonceAt indicates an expected call of NonceAt.
func (*MockChainInterfaceMockRecorder) ToBigInt ¶
func (mr *MockChainInterfaceMockRecorder) ToBigInt() *gomock.Call
ToBigInt indicates an expected call of ToBigInt.
func (*MockChainInterfaceMockRecorder) TransactionByHash ¶
func (mr *MockChainInterfaceMockRecorder) TransactionByHash(ctx, hash interface{}) *gomock.Call
TransactionByHash indicates an expected call of TransactionByHash.
func (*MockChainInterfaceMockRecorder) TransactionReceipt ¶
func (mr *MockChainInterfaceMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call
TransactionReceipt indicates an expected call of TransactionReceipt.
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) BalanceAt ¶
func (m *MockClientInterface) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
BalanceAt mocks base method.
func (*MockClientInterface) BatchCallContext ¶
BatchCallContext mocks base method.
func (*MockClientInterface) BlockByHash ¶
func (m *MockClientInterface) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)
BlockByHash mocks base method.
func (*MockClientInterface) BlockByNumber ¶
func (m *MockClientInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
BlockByNumber mocks base method.
func (*MockClientInterface) BlockNumber ¶
func (m *MockClientInterface) BlockNumber(ctx context.Context) (uint64, error)
BlockNumber mocks base method.
func (*MockClientInterface) CallBlockHashByTransaction ¶
func (m *MockClientInterface) CallBlockHashByTransaction(ctx context.Context, blockNumber *big.Int, index uint) (common.Hash, error)
CallBlockHashByTransaction mocks base method.
func (*MockClientInterface) CallContext ¶
func (m *MockClientInterface) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
CallContext mocks base method.
func (*MockClientInterface) CallContract ¶
func (m *MockClientInterface) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockClientInterface) CodeAt ¶
func (m *MockClientInterface) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt mocks base method.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) EstimateGas ¶
func (m *MockClientInterface) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)
EstimateGas mocks base method.
func (*MockClientInterface) FilterLogs ¶
func (m *MockClientInterface) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
FilterLogs mocks base method.
func (*MockClientInterface) GetBaseFeeFromBlock ¶
func (m *MockClientInterface) GetBaseFeeFromBlock(ctx context.Context, blockNumber *big.Int) (string, error)
GetBaseFeeFromBlock mocks base method.
func (*MockClientInterface) GetLimiter ¶
func (m *MockClientInterface) GetLimiter() chain.RequestLimiter
GetLimiter mocks base method.
func (*MockClientInterface) GetWalletNotifier ¶
func (m *MockClientInterface) GetWalletNotifier() func(uint64, string)
GetWalletNotifier mocks base method.
func (*MockClientInterface) HeaderByHash ¶
func (m *MockClientInterface) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error)
HeaderByHash mocks base method.
func (*MockClientInterface) HeaderByNumber ¶
func (m *MockClientInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
HeaderByNumber mocks base method.
func (*MockClientInterface) IsConnected ¶
func (m *MockClientInterface) IsConnected() bool
IsConnected mocks base method.
func (*MockClientInterface) NetworkID ¶
func (m *MockClientInterface) NetworkID() uint64
NetworkID mocks base method.
func (*MockClientInterface) NonceAt ¶
func (m *MockClientInterface) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
NonceAt mocks base method.
func (*MockClientInterface) PendingCodeAt ¶
func (m *MockClientInterface) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)
PendingCodeAt mocks base method.
func (*MockClientInterface) PendingNonceAt ¶
func (m *MockClientInterface) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)
PendingNonceAt mocks base method.
func (*MockClientInterface) SendTransaction ¶
func (m *MockClientInterface) SendTransaction(ctx context.Context, tx *types.Transaction) error
SendTransaction mocks base method.
func (*MockClientInterface) SetIsConnected ¶
func (m *MockClientInterface) SetIsConnected(arg0 bool)
SetIsConnected mocks base method.
func (*MockClientInterface) SetLimiter ¶
func (m *MockClientInterface) SetLimiter(arg0 chain.RequestLimiter)
SetLimiter mocks base method.
func (*MockClientInterface) SetWalletNotifier ¶
func (m *MockClientInterface) SetWalletNotifier(notifier func(uint64, string))
SetWalletNotifier mocks base method.
func (*MockClientInterface) SubscribeFilterLogs ¶
func (m *MockClientInterface) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
SubscribeFilterLogs mocks base method.
func (*MockClientInterface) SuggestGasPrice ¶
SuggestGasPrice mocks base method.
func (*MockClientInterface) SuggestGasTipCap ¶
SuggestGasTipCap mocks base method.
func (*MockClientInterface) ToBigInt ¶
func (m *MockClientInterface) ToBigInt() *big.Int
ToBigInt mocks base method.
func (*MockClientInterface) TransactionByHash ¶
func (m *MockClientInterface) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)
TransactionByHash mocks base method.
func (*MockClientInterface) TransactionReceipt ¶
func (m *MockClientInterface) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
TransactionReceipt mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) BalanceAt ¶
func (mr *MockClientInterfaceMockRecorder) BalanceAt(ctx, account, blockNumber interface{}) *gomock.Call
BalanceAt indicates an expected call of BalanceAt.
func (*MockClientInterfaceMockRecorder) BatchCallContext ¶
func (mr *MockClientInterfaceMockRecorder) BatchCallContext(ctx, b interface{}) *gomock.Call
BatchCallContext indicates an expected call of BatchCallContext.
func (*MockClientInterfaceMockRecorder) BlockByHash ¶
func (mr *MockClientInterfaceMockRecorder) BlockByHash(ctx, hash interface{}) *gomock.Call
BlockByHash indicates an expected call of BlockByHash.
func (*MockClientInterfaceMockRecorder) BlockByNumber ¶
func (mr *MockClientInterfaceMockRecorder) BlockByNumber(ctx, number interface{}) *gomock.Call
BlockByNumber indicates an expected call of BlockByNumber.
func (*MockClientInterfaceMockRecorder) BlockNumber ¶
func (mr *MockClientInterfaceMockRecorder) BlockNumber(ctx interface{}) *gomock.Call
BlockNumber indicates an expected call of BlockNumber.
func (*MockClientInterfaceMockRecorder) CallBlockHashByTransaction ¶
func (mr *MockClientInterfaceMockRecorder) CallBlockHashByTransaction(ctx, blockNumber, index interface{}) *gomock.Call
CallBlockHashByTransaction indicates an expected call of CallBlockHashByTransaction.
func (*MockClientInterfaceMockRecorder) CallContext ¶
func (mr *MockClientInterfaceMockRecorder) CallContext(ctx, result, method interface{}, args ...interface{}) *gomock.Call
CallContext indicates an expected call of CallContext.
func (*MockClientInterfaceMockRecorder) CallContract ¶
func (mr *MockClientInterfaceMockRecorder) CallContract(ctx, call, blockNumber interface{}) *gomock.Call
CallContract indicates an expected call of CallContract.
func (*MockClientInterfaceMockRecorder) CodeAt ¶
func (mr *MockClientInterfaceMockRecorder) CodeAt(ctx, contract, blockNumber interface{}) *gomock.Call
CodeAt indicates an expected call of CodeAt.
func (*MockClientInterfaceMockRecorder) EstimateGas ¶
func (mr *MockClientInterfaceMockRecorder) EstimateGas(ctx, call interface{}) *gomock.Call
EstimateGas indicates an expected call of EstimateGas.
func (*MockClientInterfaceMockRecorder) FilterLogs ¶
func (mr *MockClientInterfaceMockRecorder) FilterLogs(ctx, q interface{}) *gomock.Call
FilterLogs indicates an expected call of FilterLogs.
func (*MockClientInterfaceMockRecorder) GetBaseFeeFromBlock ¶
func (mr *MockClientInterfaceMockRecorder) GetBaseFeeFromBlock(ctx, blockNumber interface{}) *gomock.Call
GetBaseFeeFromBlock indicates an expected call of GetBaseFeeFromBlock.
func (*MockClientInterfaceMockRecorder) GetLimiter ¶
func (mr *MockClientInterfaceMockRecorder) GetLimiter() *gomock.Call
GetLimiter indicates an expected call of GetLimiter.
func (*MockClientInterfaceMockRecorder) GetWalletNotifier ¶
func (mr *MockClientInterfaceMockRecorder) GetWalletNotifier() *gomock.Call
GetWalletNotifier indicates an expected call of GetWalletNotifier.
func (*MockClientInterfaceMockRecorder) HeaderByHash ¶
func (mr *MockClientInterfaceMockRecorder) HeaderByHash(ctx, hash interface{}) *gomock.Call
HeaderByHash indicates an expected call of HeaderByHash.
func (*MockClientInterfaceMockRecorder) HeaderByNumber ¶
func (mr *MockClientInterfaceMockRecorder) HeaderByNumber(ctx, number interface{}) *gomock.Call
HeaderByNumber indicates an expected call of HeaderByNumber.
func (*MockClientInterfaceMockRecorder) IsConnected ¶
func (mr *MockClientInterfaceMockRecorder) IsConnected() *gomock.Call
IsConnected indicates an expected call of IsConnected.
func (*MockClientInterfaceMockRecorder) NetworkID ¶
func (mr *MockClientInterfaceMockRecorder) NetworkID() *gomock.Call
NetworkID indicates an expected call of NetworkID.
func (*MockClientInterfaceMockRecorder) NonceAt ¶
func (mr *MockClientInterfaceMockRecorder) NonceAt(ctx, account, blockNumber interface{}) *gomock.Call
NonceAt indicates an expected call of NonceAt.
func (*MockClientInterfaceMockRecorder) PendingCodeAt ¶
func (mr *MockClientInterfaceMockRecorder) PendingCodeAt(ctx, account interface{}) *gomock.Call
PendingCodeAt indicates an expected call of PendingCodeAt.
func (*MockClientInterfaceMockRecorder) PendingNonceAt ¶
func (mr *MockClientInterfaceMockRecorder) PendingNonceAt(ctx, account interface{}) *gomock.Call
PendingNonceAt indicates an expected call of PendingNonceAt.
func (*MockClientInterfaceMockRecorder) SendTransaction ¶
func (mr *MockClientInterfaceMockRecorder) SendTransaction(ctx, tx interface{}) *gomock.Call
SendTransaction indicates an expected call of SendTransaction.
func (*MockClientInterfaceMockRecorder) SetIsConnected ¶
func (mr *MockClientInterfaceMockRecorder) SetIsConnected(arg0 interface{}) *gomock.Call
SetIsConnected indicates an expected call of SetIsConnected.
func (*MockClientInterfaceMockRecorder) SetLimiter ¶
func (mr *MockClientInterfaceMockRecorder) SetLimiter(arg0 interface{}) *gomock.Call
SetLimiter indicates an expected call of SetLimiter.
func (*MockClientInterfaceMockRecorder) SetWalletNotifier ¶
func (mr *MockClientInterfaceMockRecorder) SetWalletNotifier(notifier interface{}) *gomock.Call
SetWalletNotifier indicates an expected call of SetWalletNotifier.
func (*MockClientInterfaceMockRecorder) SubscribeFilterLogs ¶
func (mr *MockClientInterfaceMockRecorder) SubscribeFilterLogs(ctx, query, ch interface{}) *gomock.Call
SubscribeFilterLogs indicates an expected call of SubscribeFilterLogs.
func (*MockClientInterfaceMockRecorder) SuggestGasPrice ¶
func (mr *MockClientInterfaceMockRecorder) SuggestGasPrice(ctx interface{}) *gomock.Call
SuggestGasPrice indicates an expected call of SuggestGasPrice.
func (*MockClientInterfaceMockRecorder) SuggestGasTipCap ¶
func (mr *MockClientInterfaceMockRecorder) SuggestGasTipCap(ctx interface{}) *gomock.Call
SuggestGasTipCap indicates an expected call of SuggestGasTipCap.
func (*MockClientInterfaceMockRecorder) ToBigInt ¶
func (mr *MockClientInterfaceMockRecorder) ToBigInt() *gomock.Call
ToBigInt indicates an expected call of ToBigInt.
func (*MockClientInterfaceMockRecorder) TransactionByHash ¶
func (mr *MockClientInterfaceMockRecorder) TransactionByHash(ctx, hash interface{}) *gomock.Call
TransactionByHash indicates an expected call of TransactionByHash.
func (*MockClientInterfaceMockRecorder) TransactionReceipt ¶
func (mr *MockClientInterfaceMockRecorder) TransactionReceipt(ctx, txHash interface{}) *gomock.Call
TransactionReceipt indicates an expected call of TransactionReceipt.
type MockTagger ¶
type MockTagger struct {
// contains filtered or unexported fields
}
MockTagger is a mock of Tagger interface.
func NewMockTagger ¶
func NewMockTagger(ctrl *gomock.Controller) *MockTagger
NewMockTagger creates a new mock instance.
func (*MockTagger) DeepCopyTag ¶
func (m *MockTagger) DeepCopyTag() chain.Tagger
DeepCopyTag mocks base method.
func (*MockTagger) EXPECT ¶
func (m *MockTagger) EXPECT() *MockTaggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTagger) SetGroupTag ¶
func (m *MockTagger) SetGroupTag(tag string)
SetGroupTag mocks base method.
type MockTaggerMockRecorder ¶
type MockTaggerMockRecorder struct {
// contains filtered or unexported fields
}
MockTaggerMockRecorder is the mock recorder for MockTagger.
func (*MockTaggerMockRecorder) DeepCopyTag ¶
func (mr *MockTaggerMockRecorder) DeepCopyTag() *gomock.Call
DeepCopyTag indicates an expected call of DeepCopyTag.
func (*MockTaggerMockRecorder) GroupTag ¶
func (mr *MockTaggerMockRecorder) GroupTag() *gomock.Call
GroupTag indicates an expected call of GroupTag.
func (*MockTaggerMockRecorder) SetGroupTag ¶
func (mr *MockTaggerMockRecorder) SetGroupTag(tag interface{}) *gomock.Call
SetGroupTag indicates an expected call of SetGroupTag.
func (*MockTaggerMockRecorder) SetTag ¶
func (mr *MockTaggerMockRecorder) SetTag(tag interface{}) *gomock.Call
SetTag indicates an expected call of SetTag.
func (*MockTaggerMockRecorder) Tag ¶
func (mr *MockTaggerMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.