mocks

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) CreateTx

func (m *MockTxManager) CreateTx(arg0 common.Address, arg1 []byte) (*models.Tx, error)

CreateTx 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

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() (uint64, error)

GetChainID mocks base method

func (*MockTxManager) GetEthBalance

func (m *MockTxManager) GetEthBalance(arg0 common.Address) (*assets.Eth, error)

GetEthBalance mocks base method

func (*MockTxManager) GetLINKBalance

func (m *MockTxManager) GetLINKBalance(arg0 common.Address) (*assets.Link, error)

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

func (m *MockTxManager) GetTxReceipt(arg0 common.Hash) (*models.TxReceipt, error)

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 (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 (mr *MockTxManagerMockRecorder) WithdrawLINK(arg0 interface{}) *gomock.Call

WithdrawLINK indicates an expected call of WithdrawLINK

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL