Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEthClient
- func (m *MockEthClient) EXPECT() *MockEthClientMockRecorder
- func (m *MockEthClient) GetBlockByNumber(arg0 string) (models.BlockHeader, error)
- func (m *MockEthClient) GetChainID() (*big.Int, error)
- func (m *MockEthClient) GetERC20Balance(arg0, arg1 common.Address) (*big.Int, error)
- func (m *MockEthClient) GetEthBalance(arg0 common.Address) (*assets.Eth, error)
- func (m *MockEthClient) GetLogs(arg0 go_ethereum.FilterQuery) ([]models.Log, error)
- func (m *MockEthClient) GetNonce(arg0 common.Address) (uint64, error)
- func (m *MockEthClient) GetTxReceipt(arg0 common.Hash) (*models.TxReceipt, error)
- func (m *MockEthClient) SendRawTx(arg0 string) (common.Hash, error)
- func (m *MockEthClient) SubscribeToLogs(arg0 chan<- models.Log, arg1 go_ethereum.FilterQuery) (models.EthSubscription, error)
- func (m *MockEthClient) SubscribeToNewHeads(arg0 chan<- models.BlockHeader) (models.EthSubscription, error)
- type MockEthClientMockRecorder
- func (mr *MockEthClientMockRecorder) GetBlockByNumber(arg0 interface{}) *gomock.Call
- func (mr *MockEthClientMockRecorder) GetChainID() *gomock.Call
- func (mr *MockEthClientMockRecorder) GetERC20Balance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEthClientMockRecorder) GetEthBalance(arg0 interface{}) *gomock.Call
- func (mr *MockEthClientMockRecorder) GetLogs(arg0 interface{}) *gomock.Call
- func (mr *MockEthClientMockRecorder) GetNonce(arg0 interface{}) *gomock.Call
- func (mr *MockEthClientMockRecorder) GetTxReceipt(arg0 interface{}) *gomock.Call
- func (mr *MockEthClientMockRecorder) SendRawTx(arg0 interface{}) *gomock.Call
- func (mr *MockEthClientMockRecorder) SubscribeToLogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEthClientMockRecorder) SubscribeToNewHeads(arg0 interface{}) *gomock.Call
- type MockTxManager
- func (m *MockTxManager) BumpGasUntilSafe(arg0 common.Hash) (*models.TxReceipt, store.AttemptState, error)
- func (m *MockTxManager) CheckAttempt(arg0 *models.TxAttempt, arg1 uint64) (*models.TxReceipt, store.AttemptState, error)
- func (m *MockTxManager) Connect(arg0 *models.Head) error
- func (m *MockTxManager) Connected() bool
- func (m *MockTxManager) ContractLINKBalance(arg0 models.WithdrawalRequest) (assets.Link, error)
- func (m *MockTxManager) CreateTx(arg0 common.Address, arg1 []byte) (*models.Tx, error)
- func (m *MockTxManager) CreateTxWithEth(arg0, arg1 common.Address, arg2 *assets.Eth) (*models.Tx, error)
- func (m *MockTxManager) CreateTxWithGas(arg0 null_v3.String, arg1 common.Address, arg2 []byte, arg3 *big.Int, ...) (*models.Tx, error)
- func (m *MockTxManager) Disconnect()
- func (m *MockTxManager) EXPECT() *MockTxManagerMockRecorder
- func (m *MockTxManager) GetBlockByNumber(arg0 string) (models.BlockHeader, error)
- func (m *MockTxManager) GetChainID() (*big.Int, error)
- func (m *MockTxManager) GetEthBalance(arg0 common.Address) (*assets.Eth, error)
- func (m *MockTxManager) GetLINKBalance(arg0 common.Address) (*assets.Link, error)
- func (m *MockTxManager) GetLogs(arg0 go_ethereum.FilterQuery) ([]models.Log, error)
- func (m *MockTxManager) GetTxReceipt(arg0 common.Hash) (*models.TxReceipt, error)
- func (m *MockTxManager) NextActiveAccount() *store.ManagedAccount
- func (m *MockTxManager) OnNewHead(arg0 *models.Head)
- func (m *MockTxManager) Register(arg0 []accounts.Account)
- func (m *MockTxManager) SubscribeToLogs(arg0 chan<- models.Log, arg1 go_ethereum.FilterQuery) (models.EthSubscription, error)
- func (m *MockTxManager) SubscribeToNewHeads(arg0 chan<- models.BlockHeader) (models.EthSubscription, error)
- func (m *MockTxManager) WithdrawLINK(arg0 models.WithdrawalRequest) (common.Hash, error)
- type MockTxManagerMockRecorder
- func (mr *MockTxManagerMockRecorder) BumpGasUntilSafe(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) CheckAttempt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) Connect(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) Connected() *gomock.Call
- func (mr *MockTxManagerMockRecorder) ContractLINKBalance(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) CreateTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) CreateTxWithEth(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) CreateTxWithGas(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) Disconnect() *gomock.Call
- func (mr *MockTxManagerMockRecorder) GetBlockByNumber(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) GetChainID() *gomock.Call
- func (mr *MockTxManagerMockRecorder) GetEthBalance(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) GetLINKBalance(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) GetLogs(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) GetTxReceipt(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) NextActiveAccount() *gomock.Call
- func (mr *MockTxManagerMockRecorder) OnNewHead(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) Register(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) SubscribeToLogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) SubscribeToNewHeads(arg0 interface{}) *gomock.Call
- func (mr *MockTxManagerMockRecorder) WithdrawLINK(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEthClient ¶ added in v0.6.6
type MockEthClient struct {
// contains filtered or unexported fields
}
MockEthClient is a mock of EthClient interface
func NewMockEthClient ¶ added in v0.6.6
func NewMockEthClient(ctrl *gomock.Controller) *MockEthClient
NewMockEthClient creates a new mock instance
func (*MockEthClient) EXPECT ¶ added in v0.6.6
func (m *MockEthClient) EXPECT() *MockEthClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEthClient) GetBlockByNumber ¶ added in v0.6.6
func (m *MockEthClient) GetBlockByNumber(arg0 string) (models.BlockHeader, error)
GetBlockByNumber mocks base method
func (*MockEthClient) GetChainID ¶ added in v0.6.6
func (m *MockEthClient) GetChainID() (*big.Int, error)
GetChainID mocks base method
func (*MockEthClient) GetERC20Balance ¶ added in v0.6.6
GetERC20Balance mocks base method
func (*MockEthClient) GetEthBalance ¶ added in v0.6.6
GetEthBalance mocks base method
func (*MockEthClient) GetLogs ¶ added in v0.6.6
func (m *MockEthClient) GetLogs(arg0 go_ethereum.FilterQuery) ([]models.Log, error)
GetLogs mocks base method
func (*MockEthClient) GetNonce ¶ added in v0.6.6
func (m *MockEthClient) GetNonce(arg0 common.Address) (uint64, error)
GetNonce mocks base method
func (*MockEthClient) GetTxReceipt ¶ added in v0.6.6
GetTxReceipt mocks base method
func (*MockEthClient) SendRawTx ¶ added in v0.6.6
func (m *MockEthClient) SendRawTx(arg0 string) (common.Hash, error)
SendRawTx mocks base method
func (*MockEthClient) SubscribeToLogs ¶ added in v0.6.6
func (m *MockEthClient) SubscribeToLogs(arg0 chan<- models.Log, arg1 go_ethereum.FilterQuery) (models.EthSubscription, error)
SubscribeToLogs mocks base method
func (*MockEthClient) SubscribeToNewHeads ¶ added in v0.6.6
func (m *MockEthClient) SubscribeToNewHeads(arg0 chan<- models.BlockHeader) (models.EthSubscription, error)
SubscribeToNewHeads mocks base method
type MockEthClientMockRecorder ¶ added in v0.6.6
type MockEthClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEthClientMockRecorder is the mock recorder for MockEthClient
func (*MockEthClientMockRecorder) GetBlockByNumber ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) GetBlockByNumber(arg0 interface{}) *gomock.Call
GetBlockByNumber indicates an expected call of GetBlockByNumber
func (*MockEthClientMockRecorder) GetChainID ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) GetChainID() *gomock.Call
GetChainID indicates an expected call of GetChainID
func (*MockEthClientMockRecorder) GetERC20Balance ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) GetERC20Balance(arg0, arg1 interface{}) *gomock.Call
GetERC20Balance indicates an expected call of GetERC20Balance
func (*MockEthClientMockRecorder) GetEthBalance ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) GetEthBalance(arg0 interface{}) *gomock.Call
GetEthBalance indicates an expected call of GetEthBalance
func (*MockEthClientMockRecorder) GetLogs ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) GetLogs(arg0 interface{}) *gomock.Call
GetLogs indicates an expected call of GetLogs
func (*MockEthClientMockRecorder) GetNonce ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) GetNonce(arg0 interface{}) *gomock.Call
GetNonce indicates an expected call of GetNonce
func (*MockEthClientMockRecorder) GetTxReceipt ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) GetTxReceipt(arg0 interface{}) *gomock.Call
GetTxReceipt indicates an expected call of GetTxReceipt
func (*MockEthClientMockRecorder) SendRawTx ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) SendRawTx(arg0 interface{}) *gomock.Call
SendRawTx indicates an expected call of SendRawTx
func (*MockEthClientMockRecorder) SubscribeToLogs ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) SubscribeToLogs(arg0, arg1 interface{}) *gomock.Call
SubscribeToLogs indicates an expected call of SubscribeToLogs
func (*MockEthClientMockRecorder) SubscribeToNewHeads ¶ added in v0.6.6
func (mr *MockEthClientMockRecorder) SubscribeToNewHeads(arg0 interface{}) *gomock.Call
SubscribeToNewHeads indicates an expected call of SubscribeToNewHeads
type MockTxManager ¶
type MockTxManager struct {
// contains filtered or unexported fields
}
MockTxManager is a mock of TxManager interface
func NewMockTxManager ¶
func NewMockTxManager(ctrl *gomock.Controller) *MockTxManager
NewMockTxManager creates a new mock instance
func (*MockTxManager) BumpGasUntilSafe ¶
func (m *MockTxManager) BumpGasUntilSafe(arg0 common.Hash) (*models.TxReceipt, store.AttemptState, error)
BumpGasUntilSafe mocks base method
func (*MockTxManager) CheckAttempt ¶
func (m *MockTxManager) CheckAttempt(arg0 *models.TxAttempt, arg1 uint64) (*models.TxReceipt, store.AttemptState, error)
CheckAttempt mocks base method
func (*MockTxManager) Connect ¶
func (m *MockTxManager) Connect(arg0 *models.Head) error
Connect mocks base method
func (*MockTxManager) Connected ¶
func (m *MockTxManager) Connected() bool
Connected mocks base method
func (*MockTxManager) ContractLINKBalance ¶
func (m *MockTxManager) ContractLINKBalance(arg0 models.WithdrawalRequest) (assets.Link, error)
ContractLINKBalance mocks base method
func (*MockTxManager) CreateTxWithEth ¶
func (m *MockTxManager) CreateTxWithEth(arg0, arg1 common.Address, arg2 *assets.Eth) (*models.Tx, error)
CreateTxWithEth mocks base method
func (*MockTxManager) CreateTxWithGas ¶
func (m *MockTxManager) CreateTxWithGas(arg0 null_v3.String, arg1 common.Address, arg2 []byte, arg3 *big.Int, arg4 uint64) (*models.Tx, error)
CreateTxWithGas mocks base method
func (*MockTxManager) Disconnect ¶
func (m *MockTxManager) Disconnect()
Disconnect mocks base method
func (*MockTxManager) EXPECT ¶
func (m *MockTxManager) EXPECT() *MockTxManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTxManager) GetBlockByNumber ¶
func (m *MockTxManager) GetBlockByNumber(arg0 string) (models.BlockHeader, error)
GetBlockByNumber mocks base method
func (*MockTxManager) GetChainID ¶
func (m *MockTxManager) GetChainID() (*big.Int, error)
GetChainID mocks base method
func (*MockTxManager) GetEthBalance ¶
GetEthBalance mocks base method
func (*MockTxManager) GetLINKBalance ¶
GetLINKBalance mocks base method
func (*MockTxManager) GetLogs ¶
func (m *MockTxManager) GetLogs(arg0 go_ethereum.FilterQuery) ([]models.Log, error)
GetLogs mocks base method
func (*MockTxManager) GetTxReceipt ¶
GetTxReceipt mocks base method
func (*MockTxManager) NextActiveAccount ¶
func (m *MockTxManager) NextActiveAccount() *store.ManagedAccount
NextActiveAccount mocks base method
func (*MockTxManager) OnNewHead ¶
func (m *MockTxManager) OnNewHead(arg0 *models.Head)
OnNewHead mocks base method
func (*MockTxManager) Register ¶
func (m *MockTxManager) Register(arg0 []accounts.Account)
Register mocks base method
func (*MockTxManager) SubscribeToLogs ¶
func (m *MockTxManager) SubscribeToLogs(arg0 chan<- models.Log, arg1 go_ethereum.FilterQuery) (models.EthSubscription, error)
SubscribeToLogs mocks base method
func (*MockTxManager) SubscribeToNewHeads ¶
func (m *MockTxManager) SubscribeToNewHeads(arg0 chan<- models.BlockHeader) (models.EthSubscription, error)
SubscribeToNewHeads mocks base method
func (*MockTxManager) WithdrawLINK ¶
func (m *MockTxManager) WithdrawLINK(arg0 models.WithdrawalRequest) (common.Hash, error)
WithdrawLINK mocks base method
type MockTxManagerMockRecorder ¶
type MockTxManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockTxManagerMockRecorder is the mock recorder for MockTxManager
func (*MockTxManagerMockRecorder) BumpGasUntilSafe ¶
func (mr *MockTxManagerMockRecorder) BumpGasUntilSafe(arg0 interface{}) *gomock.Call
BumpGasUntilSafe indicates an expected call of BumpGasUntilSafe
func (*MockTxManagerMockRecorder) CheckAttempt ¶
func (mr *MockTxManagerMockRecorder) CheckAttempt(arg0, arg1 interface{}) *gomock.Call
CheckAttempt indicates an expected call of CheckAttempt
func (*MockTxManagerMockRecorder) Connect ¶
func (mr *MockTxManagerMockRecorder) Connect(arg0 interface{}) *gomock.Call
Connect indicates an expected call of Connect
func (*MockTxManagerMockRecorder) Connected ¶
func (mr *MockTxManagerMockRecorder) Connected() *gomock.Call
Connected indicates an expected call of Connected
func (*MockTxManagerMockRecorder) ContractLINKBalance ¶
func (mr *MockTxManagerMockRecorder) ContractLINKBalance(arg0 interface{}) *gomock.Call
ContractLINKBalance indicates an expected call of ContractLINKBalance
func (*MockTxManagerMockRecorder) CreateTx ¶
func (mr *MockTxManagerMockRecorder) CreateTx(arg0, arg1 interface{}) *gomock.Call
CreateTx indicates an expected call of CreateTx
func (*MockTxManagerMockRecorder) CreateTxWithEth ¶
func (mr *MockTxManagerMockRecorder) CreateTxWithEth(arg0, arg1, arg2 interface{}) *gomock.Call
CreateTxWithEth indicates an expected call of CreateTxWithEth
func (*MockTxManagerMockRecorder) CreateTxWithGas ¶
func (mr *MockTxManagerMockRecorder) CreateTxWithGas(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateTxWithGas indicates an expected call of CreateTxWithGas
func (*MockTxManagerMockRecorder) Disconnect ¶
func (mr *MockTxManagerMockRecorder) Disconnect() *gomock.Call
Disconnect indicates an expected call of Disconnect
func (*MockTxManagerMockRecorder) GetBlockByNumber ¶
func (mr *MockTxManagerMockRecorder) GetBlockByNumber(arg0 interface{}) *gomock.Call
GetBlockByNumber indicates an expected call of GetBlockByNumber
func (*MockTxManagerMockRecorder) GetChainID ¶
func (mr *MockTxManagerMockRecorder) GetChainID() *gomock.Call
GetChainID indicates an expected call of GetChainID
func (*MockTxManagerMockRecorder) GetEthBalance ¶
func (mr *MockTxManagerMockRecorder) GetEthBalance(arg0 interface{}) *gomock.Call
GetEthBalance indicates an expected call of GetEthBalance
func (*MockTxManagerMockRecorder) GetLINKBalance ¶
func (mr *MockTxManagerMockRecorder) GetLINKBalance(arg0 interface{}) *gomock.Call
GetLINKBalance indicates an expected call of GetLINKBalance
func (*MockTxManagerMockRecorder) GetLogs ¶
func (mr *MockTxManagerMockRecorder) GetLogs(arg0 interface{}) *gomock.Call
GetLogs indicates an expected call of GetLogs
func (*MockTxManagerMockRecorder) GetTxReceipt ¶
func (mr *MockTxManagerMockRecorder) GetTxReceipt(arg0 interface{}) *gomock.Call
GetTxReceipt indicates an expected call of GetTxReceipt
func (*MockTxManagerMockRecorder) NextActiveAccount ¶
func (mr *MockTxManagerMockRecorder) NextActiveAccount() *gomock.Call
NextActiveAccount indicates an expected call of NextActiveAccount
func (*MockTxManagerMockRecorder) OnNewHead ¶
func (mr *MockTxManagerMockRecorder) OnNewHead(arg0 interface{}) *gomock.Call
OnNewHead indicates an expected call of OnNewHead
func (*MockTxManagerMockRecorder) Register ¶
func (mr *MockTxManagerMockRecorder) Register(arg0 interface{}) *gomock.Call
Register indicates an expected call of Register
func (*MockTxManagerMockRecorder) SubscribeToLogs ¶
func (mr *MockTxManagerMockRecorder) SubscribeToLogs(arg0, arg1 interface{}) *gomock.Call
SubscribeToLogs indicates an expected call of SubscribeToLogs
func (*MockTxManagerMockRecorder) SubscribeToNewHeads ¶
func (mr *MockTxManagerMockRecorder) SubscribeToNewHeads(arg0 interface{}) *gomock.Call
SubscribeToNewHeads indicates an expected call of SubscribeToNewHeads
func (*MockTxManagerMockRecorder) WithdrawLINK ¶
func (mr *MockTxManagerMockRecorder) WithdrawLINK(arg0 interface{}) *gomock.Call
WithdrawLINK indicates an expected call of WithdrawLINK