Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockETHClient
- func (m *MockETHClient) CallContract(arg0 context.Context, arg1 ethereum.CallMsg, arg2 *big.Int) ([]byte, error)
- func (m *MockETHClient) ChainID(arg0 context.Context) (*big.Int, error)
- func (m *MockETHClient) CodeAt(arg0 context.Context, arg1 common.Address, arg2 *big.Int) ([]byte, error)
- func (m *MockETHClient) EXPECT() *MockETHClientMockRecorder
- func (m *MockETHClient) EstimateGas(arg0 context.Context, arg1 ethereum.CallMsg) (uint64, error)
- func (m *MockETHClient) FilterLogs(arg0 context.Context, arg1 ethereum.FilterQuery) ([]types.Log, error)
- func (m *MockETHClient) HeaderByNumber(arg0 context.Context, arg1 *big.Int) (*types.Header, error)
- func (m *MockETHClient) NetworkID(arg0 context.Context) (*big.Int, error)
- func (m *MockETHClient) PendingCodeAt(arg0 context.Context, arg1 common.Address) ([]byte, error)
- func (m *MockETHClient) PendingNonceAt(arg0 context.Context, arg1 common.Address) (uint64, error)
- func (m *MockETHClient) SendTransaction(arg0 context.Context, arg1 *types.Transaction) error
- func (m *MockETHClient) SubscribeFilterLogs(arg0 context.Context, arg1 ethereum.FilterQuery, arg2 chan<- types.Log) (ethereum.Subscription, error)
- func (m *MockETHClient) SuggestGasPrice(arg0 context.Context) (*big.Int, error)
- func (m *MockETHClient) SuggestGasTipCap(arg0 context.Context) (*big.Int, error)
- type MockETHClientMockRecorder
- func (mr *MockETHClientMockRecorder) CallContract(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) ChainID(arg0 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) CodeAt(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) EstimateGas(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) FilterLogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) HeaderByNumber(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) NetworkID(arg0 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) PendingCodeAt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) PendingNonceAt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) SendTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) SubscribeFilterLogs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) SuggestGasPrice(arg0 interface{}) *gomock.Call
- func (mr *MockETHClientMockRecorder) SuggestGasTipCap(arg0 interface{}) *gomock.Call
- type MockEthereumClientConfirmations
- type MockEthereumClientConfirmationsMockRecorder
- type MockTime
- type MockTimeMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockETHClient ¶
type MockETHClient struct {
// contains filtered or unexported fields
}
MockETHClient is a mock of ETHClient interface.
func NewMockETHClient ¶
func NewMockETHClient(ctrl *gomock.Controller) *MockETHClient
NewMockETHClient creates a new mock instance.
func (*MockETHClient) CallContract ¶
func (m *MockETHClient) CallContract(arg0 context.Context, arg1 ethereum.CallMsg, arg2 *big.Int) ([]byte, error)
CallContract mocks base method.
func (*MockETHClient) CodeAt ¶
func (m *MockETHClient) CodeAt(arg0 context.Context, arg1 common.Address, arg2 *big.Int) ([]byte, error)
CodeAt mocks base method.
func (*MockETHClient) EXPECT ¶
func (m *MockETHClient) EXPECT() *MockETHClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockETHClient) EstimateGas ¶
EstimateGas mocks base method.
func (*MockETHClient) FilterLogs ¶
func (m *MockETHClient) FilterLogs(arg0 context.Context, arg1 ethereum.FilterQuery) ([]types.Log, error)
FilterLogs mocks base method.
func (*MockETHClient) HeaderByNumber ¶
HeaderByNumber mocks base method.
func (*MockETHClient) PendingCodeAt ¶
PendingCodeAt mocks base method.
func (*MockETHClient) PendingNonceAt ¶
PendingNonceAt mocks base method.
func (*MockETHClient) SendTransaction ¶
func (m *MockETHClient) SendTransaction(arg0 context.Context, arg1 *types.Transaction) error
SendTransaction mocks base method.
func (*MockETHClient) SubscribeFilterLogs ¶
func (m *MockETHClient) SubscribeFilterLogs(arg0 context.Context, arg1 ethereum.FilterQuery, arg2 chan<- types.Log) (ethereum.Subscription, error)
SubscribeFilterLogs mocks base method.
func (*MockETHClient) SuggestGasPrice ¶
SuggestGasPrice mocks base method.
func (*MockETHClient) SuggestGasTipCap ¶
SuggestGasTipCap mocks base method.
type MockETHClientMockRecorder ¶
type MockETHClientMockRecorder struct {
// contains filtered or unexported fields
}
MockETHClientMockRecorder is the mock recorder for MockETHClient.
func (*MockETHClientMockRecorder) CallContract ¶
func (mr *MockETHClientMockRecorder) CallContract(arg0, arg1, arg2 interface{}) *gomock.Call
CallContract indicates an expected call of CallContract.
func (*MockETHClientMockRecorder) ChainID ¶
func (mr *MockETHClientMockRecorder) ChainID(arg0 interface{}) *gomock.Call
ChainID indicates an expected call of ChainID.
func (*MockETHClientMockRecorder) CodeAt ¶
func (mr *MockETHClientMockRecorder) CodeAt(arg0, arg1, arg2 interface{}) *gomock.Call
CodeAt indicates an expected call of CodeAt.
func (*MockETHClientMockRecorder) EstimateGas ¶
func (mr *MockETHClientMockRecorder) EstimateGas(arg0, arg1 interface{}) *gomock.Call
EstimateGas indicates an expected call of EstimateGas.
func (*MockETHClientMockRecorder) FilterLogs ¶
func (mr *MockETHClientMockRecorder) FilterLogs(arg0, arg1 interface{}) *gomock.Call
FilterLogs indicates an expected call of FilterLogs.
func (*MockETHClientMockRecorder) HeaderByNumber ¶
func (mr *MockETHClientMockRecorder) HeaderByNumber(arg0, arg1 interface{}) *gomock.Call
HeaderByNumber indicates an expected call of HeaderByNumber.
func (*MockETHClientMockRecorder) NetworkID ¶
func (mr *MockETHClientMockRecorder) NetworkID(arg0 interface{}) *gomock.Call
NetworkID indicates an expected call of NetworkID.
func (*MockETHClientMockRecorder) PendingCodeAt ¶
func (mr *MockETHClientMockRecorder) PendingCodeAt(arg0, arg1 interface{}) *gomock.Call
PendingCodeAt indicates an expected call of PendingCodeAt.
func (*MockETHClientMockRecorder) PendingNonceAt ¶
func (mr *MockETHClientMockRecorder) PendingNonceAt(arg0, arg1 interface{}) *gomock.Call
PendingNonceAt indicates an expected call of PendingNonceAt.
func (*MockETHClientMockRecorder) SendTransaction ¶
func (mr *MockETHClientMockRecorder) SendTransaction(arg0, arg1 interface{}) *gomock.Call
SendTransaction indicates an expected call of SendTransaction.
func (*MockETHClientMockRecorder) SubscribeFilterLogs ¶
func (mr *MockETHClientMockRecorder) SubscribeFilterLogs(arg0, arg1, arg2 interface{}) *gomock.Call
SubscribeFilterLogs indicates an expected call of SubscribeFilterLogs.
func (*MockETHClientMockRecorder) SuggestGasPrice ¶
func (mr *MockETHClientMockRecorder) SuggestGasPrice(arg0 interface{}) *gomock.Call
SuggestGasPrice indicates an expected call of SuggestGasPrice.
func (*MockETHClientMockRecorder) SuggestGasTipCap ¶
func (mr *MockETHClientMockRecorder) SuggestGasTipCap(arg0 interface{}) *gomock.Call
SuggestGasTipCap indicates an expected call of SuggestGasTipCap.
type MockEthereumClientConfirmations ¶
type MockEthereumClientConfirmations struct {
// contains filtered or unexported fields
}
MockEthereumClientConfirmations is a mock of EthereumClientConfirmations interface.
func NewMockEthereumClientConfirmations ¶
func NewMockEthereumClientConfirmations(ctrl *gomock.Controller) *MockEthereumClientConfirmations
NewMockEthereumClientConfirmations creates a new mock instance.
func (*MockEthereumClientConfirmations) EXPECT ¶
func (m *MockEthereumClientConfirmations) EXPECT() *MockEthereumClientConfirmationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEthereumClientConfirmations) HeaderByNumber ¶
func (m *MockEthereumClientConfirmations) HeaderByNumber(arg0 context.Context, arg1 *big.Int) (*types.Header, error)
HeaderByNumber mocks base method.
type MockEthereumClientConfirmationsMockRecorder ¶
type MockEthereumClientConfirmationsMockRecorder struct {
// contains filtered or unexported fields
}
MockEthereumClientConfirmationsMockRecorder is the mock recorder for MockEthereumClientConfirmations.
func (*MockEthereumClientConfirmationsMockRecorder) HeaderByNumber ¶
func (mr *MockEthereumClientConfirmationsMockRecorder) HeaderByNumber(arg0, arg1 interface{}) *gomock.Call
HeaderByNumber indicates an expected call of HeaderByNumber.
type MockTime ¶
type MockTime struct {
// contains filtered or unexported fields
}
MockTime is a mock of Time interface.
func NewMockTime ¶
func NewMockTime(ctrl *gomock.Controller) *MockTime
NewMockTime creates a new mock instance.
func (*MockTime) EXPECT ¶
func (m *MockTime) EXPECT() *MockTimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTimeMockRecorder ¶
type MockTimeMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeMockRecorder is the mock recorder for MockTime.
func (*MockTimeMockRecorder) Now ¶
func (mr *MockTimeMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now.