chainlink: github.com/smartcontractkit/chainlink/core/internal/mocks Index | Files

package mocks

import "github.com/smartcontractkit/chainlink/core/internal/mocks"

Index

Package Files

after_nower.go application.go caller_subscriber.go client.go deviation_checker.go deviation_checker_factory.go fetcher.go flux_aggregator.go flux_monitor.go head_trackable.go job_subscriber.go key_store_interface.go log_broadcast.go log_broadcaster.go log_listener.go run_executor.go run_manager.go run_queue.go service.go stats_pusher.go subscription.go tx_manager.go

type AfterNower Uses

type AfterNower struct {
    mock.Mock
}

AfterNower is an autogenerated mock type for the AfterNower type

func (*AfterNower) After Uses

func (_m *AfterNower) After(d time.Duration) <-chan time.Time

After provides a mock function with given fields: d

func (*AfterNower) Now Uses

func (_m *AfterNower) Now() time.Time

Now provides a mock function with given fields:

type Application Uses

type Application struct {
    mock.Mock
}

Application is an autogenerated mock type for the Application type

func (*Application) AddJob Uses

func (_m *Application) AddJob(job models.JobSpec) error

AddJob provides a mock function with given fields: job

func (*Application) AddServiceAgreement Uses

func (_m *Application) AddServiceAgreement(_a0 *models.ServiceAgreement) error

AddServiceAgreement provides a mock function with given fields: _a0

func (*Application) ArchiveJob Uses

func (_m *Application) ArchiveJob(_a0 *models.ID) error

ArchiveJob provides a mock function with given fields: _a0

func (*Application) Cancel Uses

func (_m *Application) Cancel(runID *models.ID) (*models.JobRun, error)

Cancel provides a mock function with given fields: runID

func (*Application) Create Uses

func (_m *Application) Create(jobSpecID *models.ID, initiator *models.Initiator, creationHeight *big.Int, runRequest *models.RunRequest) (*models.JobRun, error)

Create provides a mock function with given fields: jobSpecID, initiator, creationHeight, runRequest

func (*Application) CreateErrored Uses

func (_m *Application) CreateErrored(jobSpecID *models.ID, initiator models.Initiator, err error) (*models.JobRun, error)

CreateErrored provides a mock function with given fields: jobSpecID, initiator, err

func (*Application) GetStatsPusher Uses

func (_m *Application) GetStatsPusher() synchronization.StatsPusher

GetStatsPusher provides a mock function with given fields:

func (*Application) GetStore Uses

func (_m *Application) GetStore() *store.Store

GetStore provides a mock function with given fields:

func (*Application) NewBox Uses

func (_m *Application) NewBox() packr.Box

NewBox provides a mock function with given fields:

func (*Application) ResumeAllInProgress Uses

func (_m *Application) ResumeAllInProgress() error

ResumeAllInProgress provides a mock function with given fields:

func (*Application) ResumeAllPendingConnection Uses

func (_m *Application) ResumeAllPendingConnection() error

ResumeAllPendingConnection provides a mock function with given fields:

func (*Application) ResumeAllPendingNextBlock Uses

func (_m *Application) ResumeAllPendingNextBlock(currentBlockHeight *big.Int) error

ResumeAllPendingNextBlock provides a mock function with given fields: currentBlockHeight

func (*Application) ResumePendingBridge Uses

func (_m *Application) ResumePendingBridge(runID *models.ID, input models.BridgeRunResult) error

ResumePendingBridge provides a mock function with given fields: runID, input

func (*Application) Start Uses

func (_m *Application) Start() error

Start provides a mock function with given fields:

func (*Application) Stop Uses

func (_m *Application) Stop() error

Stop provides a mock function with given fields:

func (*Application) WakeSessionReaper Uses

func (_m *Application) WakeSessionReaper()

WakeSessionReaper provides a mock function with given fields:

type CallerSubscriber Uses

type CallerSubscriber struct {
    mock.Mock
}

CallerSubscriber is an autogenerated mock type for the CallerSubscriber type

func (*CallerSubscriber) Call Uses

func (_m *CallerSubscriber) Call(result interface{}, method string, args ...interface{}) error

Call provides a mock function with given fields: result, method, args

func (*CallerSubscriber) Subscribe Uses

func (_m *CallerSubscriber) Subscribe(_a0 context.Context, _a1 interface{}, _a2 ...interface{}) (eth.Subscription, error)

Subscribe provides a mock function with given fields: _a0, _a1, _a2

type Client Uses

type Client struct {
    mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Call Uses

func (_m *Client) Call(result interface{}, method string, args ...interface{}) error

Call provides a mock function with given fields: result, method, args

func (*Client) GetBlockByNumber Uses

func (_m *Client) GetBlockByNumber(hex string) (eth.Block, error)

GetBlockByNumber provides a mock function with given fields: hex

func (*Client) GetBlockHeight Uses

func (_m *Client) GetBlockHeight() (uint64, error)

GetBlockHeight provides a mock function with given fields:

func (*Client) GetChainID Uses

func (_m *Client) GetChainID() (*big.Int, error)

GetChainID provides a mock function with given fields:

func (*Client) GetERC20Balance Uses

func (_m *Client) GetERC20Balance(address common.Address, contractAddress common.Address) (*big.Int, error)

GetERC20Balance provides a mock function with given fields: address, contractAddress

func (*Client) GetEthBalance Uses

func (_m *Client) GetEthBalance(address common.Address) (*assets.Eth, error)

GetEthBalance provides a mock function with given fields: address

func (*Client) GetLatestBlock Uses

func (_m *Client) GetLatestBlock() (eth.Block, error)

GetLatestBlock provides a mock function with given fields:

func (*Client) GetLogs Uses

func (_m *Client) GetLogs(q ethereum.FilterQuery) ([]eth.Log, error)

GetLogs provides a mock function with given fields: q

func (*Client) GetNonce Uses

func (_m *Client) GetNonce(address common.Address) (uint64, error)

GetNonce provides a mock function with given fields: address

func (*Client) GetTxReceipt Uses

func (_m *Client) GetTxReceipt(hash common.Hash) (*eth.TxReceipt, error)

GetTxReceipt provides a mock function with given fields: hash

func (*Client) SendRawTx Uses

func (_m *Client) SendRawTx(bytes []byte) (common.Hash, error)

SendRawTx provides a mock function with given fields: bytes

func (*Client) Subscribe Uses

func (_m *Client) Subscribe(_a0 context.Context, _a1 interface{}, _a2 ...interface{}) (eth.Subscription, error)

Subscribe provides a mock function with given fields: _a0, _a1, _a2

func (*Client) SubscribeToLogs Uses

func (_m *Client) SubscribeToLogs(ctx context.Context, channel chan<- eth.Log, q ethereum.FilterQuery) (eth.Subscription, error)

SubscribeToLogs provides a mock function with given fields: ctx, channel, q

func (*Client) SubscribeToNewHeads Uses

func (_m *Client) SubscribeToNewHeads(ctx context.Context, channel chan<- eth.BlockHeader) (eth.Subscription, error)

SubscribeToNewHeads provides a mock function with given fields: ctx, channel

type DeviationChecker Uses

type DeviationChecker struct {
    mock.Mock
}

DeviationChecker is an autogenerated mock type for the DeviationChecker type

func (*DeviationChecker) Start Uses

func (_m *DeviationChecker) Start()

Start provides a mock function with given fields:

func (*DeviationChecker) Stop Uses

func (_m *DeviationChecker) Stop()

Stop provides a mock function with given fields:

type DeviationCheckerFactory Uses

type DeviationCheckerFactory struct {
    mock.Mock
}

DeviationCheckerFactory is an autogenerated mock type for the DeviationCheckerFactory type

func (*DeviationCheckerFactory) New Uses

func (_m *DeviationCheckerFactory) New(_a0 models.Initiator, _a1 *assets.Link, _a2 fluxmonitor.RunManager, _a3 *orm.ORM, _a4 models.Duration) (fluxmonitor.DeviationChecker, error)

New provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

type Fetcher Uses

type Fetcher struct {
    mock.Mock
}

Fetcher is an autogenerated mock type for the Fetcher type

func (*Fetcher) Fetch Uses

func (_m *Fetcher) Fetch() (decimal.Decimal, error)

Fetch provides a mock function with given fields:

type FluxAggregator Uses

type FluxAggregator struct {
    mock.Mock
}

FluxAggregator is an autogenerated mock type for the FluxAggregator type

func (*FluxAggregator) ABI Uses

func (_m *FluxAggregator) ABI() *abi.ABI

ABI provides a mock function with given fields:

func (*FluxAggregator) Call Uses

func (_m *FluxAggregator) Call(result interface{}, methodName string, args ...interface{}) error

Call provides a mock function with given fields: result, methodName, args

func (*FluxAggregator) EncodeMessageCall Uses

func (_m *FluxAggregator) EncodeMessageCall(method string, args ...interface{}) ([]byte, error)

EncodeMessageCall provides a mock function with given fields: method, args

func (*FluxAggregator) GetMethodID Uses

func (_m *FluxAggregator) GetMethodID(method string) ([]byte, error)

GetMethodID provides a mock function with given fields: method

func (*FluxAggregator) RoundState Uses

func (_m *FluxAggregator) RoundState(oracle common.Address) (contracts.FluxAggregatorRoundState, error)

RoundState provides a mock function with given fields: oracle

func (*FluxAggregator) SubscribeToLogs Uses

func (_m *FluxAggregator) SubscribeToLogs(listener eth.LogListener) (bool, eth.UnsubscribeFunc)

SubscribeToLogs provides a mock function with given fields: listener

func (*FluxAggregator) UnpackLog Uses

func (_m *FluxAggregator) UnpackLog(out interface{}, event string, log coreeth.Log) error

UnpackLog provides a mock function with given fields: out, event, log

type FluxMonitor Uses

type FluxMonitor struct {
    mock.Mock
}

FluxMonitor is an autogenerated mock type for the FluxMonitor type

func (*FluxMonitor) AddJob Uses

func (_m *FluxMonitor) AddJob(_a0 models.JobSpec) error

AddJob provides a mock function with given fields: _a0

func (*FluxMonitor) Connect Uses

func (_m *FluxMonitor) Connect(_a0 *models.Head) error

Connect provides a mock function with given fields: _a0

func (*FluxMonitor) Disconnect Uses

func (_m *FluxMonitor) Disconnect()

Disconnect provides a mock function with given fields:

func (*FluxMonitor) OnNewLongestChain Uses

func (_m *FluxMonitor) OnNewLongestChain(_a0 *models.Head)

OnNewLongestChain provides a mock function with given fields: _a0

func (*FluxMonitor) RemoveJob Uses

func (_m *FluxMonitor) RemoveJob(_a0 *models.ID)

RemoveJob provides a mock function with given fields: _a0

func (*FluxMonitor) Start Uses

func (_m *FluxMonitor) Start() error

Start provides a mock function with given fields:

func (*FluxMonitor) Stop Uses

func (_m *FluxMonitor) Stop()

Stop provides a mock function with given fields:

type HeadTrackable Uses

type HeadTrackable struct {
    mock.Mock
}

HeadTrackable is an autogenerated mock type for the HeadTrackable type

func (*HeadTrackable) Connect Uses

func (_m *HeadTrackable) Connect(_a0 *models.Head) error

Connect provides a mock function with given fields: _a0

func (*HeadTrackable) Disconnect Uses

func (_m *HeadTrackable) Disconnect()

Disconnect provides a mock function with given fields:

func (*HeadTrackable) OnNewLongestChain Uses

func (_m *HeadTrackable) OnNewLongestChain(head models.Head)

OnNewLongestChain provides a mock function with given fields: head

type JobSubscriber Uses

type JobSubscriber struct {
    mock.Mock
}

JobSubscriber is an autogenerated mock type for the JobSubscriber type

func (*JobSubscriber) AddJob Uses

func (_m *JobSubscriber) AddJob(job models.JobSpec, bn *models.Head) error

AddJob provides a mock function with given fields: job, bn

func (*JobSubscriber) Connect Uses

func (_m *JobSubscriber) Connect(_a0 *models.Head) error

Connect provides a mock function with given fields: _a0

func (*JobSubscriber) Disconnect Uses

func (_m *JobSubscriber) Disconnect()

Disconnect provides a mock function with given fields:

func (*JobSubscriber) Jobs Uses

func (_m *JobSubscriber) Jobs() []models.JobSpec

Jobs provides a mock function with given fields:

func (*JobSubscriber) OnNewLongestChain Uses

func (_m *JobSubscriber) OnNewLongestChain(head models.Head)

OnNewLongestChain provides a mock function with given fields: head

func (*JobSubscriber) RemoveJob Uses

func (_m *JobSubscriber) RemoveJob(ID *models.ID) error

RemoveJob provides a mock function with given fields: ID

func (*JobSubscriber) Stop Uses

func (_m *JobSubscriber) Stop() error

Stop provides a mock function with given fields:

type KeyStoreInterface Uses

type KeyStoreInterface struct {
    mock.Mock
}

KeyStoreInterface is an autogenerated mock type for the KeyStoreInterface type

func (*KeyStoreInterface) Accounts Uses

func (_m *KeyStoreInterface) Accounts() []accounts.Account

Accounts provides a mock function with given fields:

func (*KeyStoreInterface) GetAccounts Uses

func (_m *KeyStoreInterface) GetAccounts() []accounts.Account

GetAccounts provides a mock function with given fields:

func (*KeyStoreInterface) GetFirstAccount Uses

func (_m *KeyStoreInterface) GetFirstAccount() (accounts.Account, error)

GetFirstAccount provides a mock function with given fields:

func (*KeyStoreInterface) HasAccounts Uses

func (_m *KeyStoreInterface) HasAccounts() bool

HasAccounts provides a mock function with given fields:

func (*KeyStoreInterface) Import Uses

func (_m *KeyStoreInterface) Import(keyJSON []byte, passphrase string, newPassphrase string) (accounts.Account, error)

Import provides a mock function with given fields: keyJSON, passphrase, newPassphrase

func (*KeyStoreInterface) NewAccount Uses

func (_m *KeyStoreInterface) NewAccount(passphrase string) (accounts.Account, error)

NewAccount provides a mock function with given fields: passphrase

func (*KeyStoreInterface) SignHash Uses

func (_m *KeyStoreInterface) SignHash(hash common.Hash) (models.Signature, error)

SignHash provides a mock function with given fields: hash

func (*KeyStoreInterface) SignTx Uses

func (_m *KeyStoreInterface) SignTx(account accounts.Account, tx *types.Transaction, chainID *big.Int) (*types.Transaction, error)

SignTx provides a mock function with given fields: account, tx, chainID

func (*KeyStoreInterface) Unlock Uses

func (_m *KeyStoreInterface) Unlock(phrase string) error

Unlock provides a mock function with given fields: phrase

func (*KeyStoreInterface) Wallets Uses

func (_m *KeyStoreInterface) Wallets() []accounts.Wallet

Wallets provides a mock function with given fields:

type LogBroadcast Uses

type LogBroadcast struct {
    mock.Mock
}

LogBroadcast is an autogenerated mock type for the LogBroadcast type

func (*LogBroadcast) Log Uses

func (_m *LogBroadcast) Log() interface{}

Log provides a mock function with given fields:

func (*LogBroadcast) MarkConsumed Uses

func (_m *LogBroadcast) MarkConsumed() error

MarkConsumed provides a mock function with given fields:

func (*LogBroadcast) UpdateLog Uses

func (_m *LogBroadcast) UpdateLog(_a0 coreeth.RawLog)

UpdateLog provides a mock function with given fields: _a0

func (*LogBroadcast) WasAlreadyConsumed Uses

func (_m *LogBroadcast) WasAlreadyConsumed() (bool, error)

WasAlreadyConsumed provides a mock function with given fields:

type LogBroadcaster Uses

type LogBroadcaster struct {
    mock.Mock
}

LogBroadcaster is an autogenerated mock type for the LogBroadcaster type

func (*LogBroadcaster) AddDependents Uses

func (_m *LogBroadcaster) AddDependents(n int)

AddDependents provides a mock function with given fields: n

func (*LogBroadcaster) AwaitDependents Uses

func (_m *LogBroadcaster) AwaitDependents() <-chan struct{}

AwaitDependents provides a mock function with given fields:

func (*LogBroadcaster) DependentReady Uses

func (_m *LogBroadcaster) DependentReady()

DependentReady provides a mock function with given fields:

func (*LogBroadcaster) Register Uses

func (_m *LogBroadcaster) Register(address common.Address, listener eth.LogListener) bool

Register provides a mock function with given fields: address, listener

func (*LogBroadcaster) Start Uses

func (_m *LogBroadcaster) Start()

Start provides a mock function with given fields:

func (*LogBroadcaster) Stop Uses

func (_m *LogBroadcaster) Stop()

Stop provides a mock function with given fields:

func (*LogBroadcaster) Unregister Uses

func (_m *LogBroadcaster) Unregister(address common.Address, listener eth.LogListener)

Unregister provides a mock function with given fields: address, listener

type LogListener Uses

type LogListener struct {
    mock.Mock
}

LogListener is an autogenerated mock type for the LogListener type

func (*LogListener) HandleLog Uses

func (_m *LogListener) HandleLog(lb eth.LogBroadcast, err error)

HandleLog provides a mock function with given fields: lb, err

func (*LogListener) JobID Uses

func (_m *LogListener) JobID() *models.ID

JobID provides a mock function with given fields:

func (*LogListener) OnConnect Uses

func (_m *LogListener) OnConnect()

OnConnect provides a mock function with given fields:

func (*LogListener) OnDisconnect Uses

func (_m *LogListener) OnDisconnect()

OnDisconnect provides a mock function with given fields:

type RunExecutor Uses

type RunExecutor struct {
    mock.Mock
}

RunExecutor is an autogenerated mock type for the RunExecutor type

func (*RunExecutor) Execute Uses

func (_m *RunExecutor) Execute(_a0 *models.ID) error

Execute provides a mock function with given fields: _a0

type RunManager Uses

type RunManager struct {
    mock.Mock
}

RunManager is an autogenerated mock type for the RunManager type

func (*RunManager) Cancel Uses

func (_m *RunManager) Cancel(runID *models.ID) (*models.JobRun, error)

Cancel provides a mock function with given fields: runID

func (*RunManager) Create Uses

func (_m *RunManager) Create(jobSpecID *models.ID, initiator *models.Initiator, creationHeight *big.Int, runRequest *models.RunRequest) (*models.JobRun, error)

Create provides a mock function with given fields: jobSpecID, initiator, creationHeight, runRequest

func (*RunManager) CreateErrored Uses

func (_m *RunManager) CreateErrored(jobSpecID *models.ID, initiator models.Initiator, err error) (*models.JobRun, error)

CreateErrored provides a mock function with given fields: jobSpecID, initiator, err

func (*RunManager) ResumeAllInProgress Uses

func (_m *RunManager) ResumeAllInProgress() error

ResumeAllInProgress provides a mock function with given fields:

func (*RunManager) ResumeAllPendingConnection Uses

func (_m *RunManager) ResumeAllPendingConnection() error

ResumeAllPendingConnection provides a mock function with given fields:

func (*RunManager) ResumeAllPendingNextBlock Uses

func (_m *RunManager) ResumeAllPendingNextBlock(currentBlockHeight *big.Int) error

ResumeAllPendingNextBlock provides a mock function with given fields: currentBlockHeight

func (*RunManager) ResumePendingBridge Uses

func (_m *RunManager) ResumePendingBridge(runID *models.ID, input models.BridgeRunResult) error

ResumePendingBridge provides a mock function with given fields: runID, input

type RunQueue Uses

type RunQueue struct {
    mock.Mock
}

RunQueue is an autogenerated mock type for the RunQueue type

func (*RunQueue) Run Uses

func (_m *RunQueue) Run(_a0 *models.JobRun)

Run provides a mock function with given fields: _a0

func (*RunQueue) Start Uses

func (_m *RunQueue) Start() error

Start provides a mock function with given fields:

func (*RunQueue) Stop Uses

func (_m *RunQueue) Stop()

Stop provides a mock function with given fields:

func (*RunQueue) WorkerCount Uses

func (_m *RunQueue) WorkerCount() int

WorkerCount provides a mock function with given fields:

type Service Uses

type Service struct {
    mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) AddJob Uses

func (_m *Service) AddJob(_a0 models.JobSpec) error

AddJob provides a mock function with given fields: _a0

func (*Service) RemoveJob Uses

func (_m *Service) RemoveJob(_a0 *models.ID)

RemoveJob provides a mock function with given fields: _a0

func (*Service) Start Uses

func (_m *Service) Start() error

Start provides a mock function with given fields:

func (*Service) Stop Uses

func (_m *Service) Stop()

Stop provides a mock function with given fields:

type StatsPusher Uses

type StatsPusher struct {
    mock.Mock
}

StatsPusher is an autogenerated mock type for the StatsPusher type

func (*StatsPusher) Close Uses

func (_m *StatsPusher) Close() error

Close provides a mock function with given fields:

func (*StatsPusher) GetStatus Uses

func (_m *StatsPusher) GetStatus() synchronization.ConnectionStatus

GetStatus provides a mock function with given fields:

func (*StatsPusher) GetURL Uses

func (_m *StatsPusher) GetURL() url.URL

GetURL provides a mock function with given fields:

func (*StatsPusher) PushNow Uses

func (_m *StatsPusher) PushNow()

PushNow provides a mock function with given fields:

func (*StatsPusher) Start Uses

func (_m *StatsPusher) Start() error

Start provides a mock function with given fields:

type Subscription Uses

type Subscription struct {
    mock.Mock
}

Subscription is an autogenerated mock type for the Subscription type

func (*Subscription) Err Uses

func (_m *Subscription) Err() <-chan error

Err provides a mock function with given fields:

func (*Subscription) Unsubscribe Uses

func (_m *Subscription) Unsubscribe()

Unsubscribe provides a mock function with given fields:

type TxManager Uses

type TxManager struct {
    mock.Mock
}

TxManager is an autogenerated mock type for the TxManager type

func (*TxManager) BumpGasUntilSafe Uses

func (_m *TxManager) BumpGasUntilSafe(hash common.Hash) (*eth.TxReceipt, store.AttemptState, error)

BumpGasUntilSafe provides a mock function with given fields: hash

func (*TxManager) Call Uses

func (_m *TxManager) Call(result interface{}, method string, args ...interface{}) error

Call provides a mock function with given fields: result, method, args

func (*TxManager) CheckAttempt Uses

func (_m *TxManager) CheckAttempt(txAttempt *models.TxAttempt, blockHeight uint64) (*eth.TxReceipt, store.AttemptState, error)

CheckAttempt provides a mock function with given fields: txAttempt, blockHeight

func (*TxManager) Connect Uses

func (_m *TxManager) Connect(_a0 *models.Head) error

Connect provides a mock function with given fields: _a0

func (*TxManager) Connected Uses

func (_m *TxManager) Connected() bool

Connected provides a mock function with given fields:

func (*TxManager) ContractLINKBalance Uses

func (_m *TxManager) ContractLINKBalance(wr models.WithdrawalRequest) (assets.Link, error)

ContractLINKBalance provides a mock function with given fields: wr

func (*TxManager) CreateTx Uses

func (_m *TxManager) CreateTx(to common.Address, data []byte) (*models.Tx, error)

CreateTx provides a mock function with given fields: to, data

func (*TxManager) CreateTxWithEth Uses

func (_m *TxManager) CreateTxWithEth(from common.Address, to common.Address, value *assets.Eth) (*models.Tx, error)

CreateTxWithEth provides a mock function with given fields: from, to, value

func (*TxManager) CreateTxWithGas Uses

func (_m *TxManager) CreateTxWithGas(surrogateID null.String, to common.Address, data []byte, gasPriceWei *big.Int, gasLimit uint64) (*models.Tx, error)

CreateTxWithGas provides a mock function with given fields: surrogateID, to, data, gasPriceWei, gasLimit

func (*TxManager) Disconnect Uses

func (_m *TxManager) Disconnect()

Disconnect provides a mock function with given fields:

func (*TxManager) GetBlockByNumber Uses

func (_m *TxManager) GetBlockByNumber(hex string) (eth.Block, error)

GetBlockByNumber provides a mock function with given fields: hex

func (*TxManager) GetBlockHeight Uses

func (_m *TxManager) GetBlockHeight() (uint64, error)

GetBlockHeight provides a mock function with given fields:

func (*TxManager) GetChainID Uses

func (_m *TxManager) GetChainID() (*big.Int, error)

GetChainID provides a mock function with given fields:

func (*TxManager) GetERC20Balance Uses

func (_m *TxManager) GetERC20Balance(address common.Address, contractAddress common.Address) (*big.Int, error)

GetERC20Balance provides a mock function with given fields: address, contractAddress

func (*TxManager) GetEthBalance Uses

func (_m *TxManager) GetEthBalance(address common.Address) (*assets.Eth, error)

GetEthBalance provides a mock function with given fields: address

func (*TxManager) GetLINKBalance Uses

func (_m *TxManager) GetLINKBalance(address common.Address) (*assets.Link, error)

GetLINKBalance provides a mock function with given fields: address

func (*TxManager) GetLatestBlock Uses

func (_m *TxManager) GetLatestBlock() (eth.Block, error)

GetLatestBlock provides a mock function with given fields:

func (*TxManager) GetLogs Uses

func (_m *TxManager) GetLogs(q ethereum.FilterQuery) ([]eth.Log, error)

GetLogs provides a mock function with given fields: q

func (*TxManager) GetNonce Uses

func (_m *TxManager) GetNonce(address common.Address) (uint64, error)

GetNonce provides a mock function with given fields: address

func (*TxManager) GetTxReceipt Uses

func (_m *TxManager) GetTxReceipt(hash common.Hash) (*eth.TxReceipt, error)

GetTxReceipt provides a mock function with given fields: hash

func (*TxManager) NextActiveAccount Uses

func (_m *TxManager) NextActiveAccount() *store.ManagedAccount

NextActiveAccount provides a mock function with given fields:

func (*TxManager) OnNewLongestChain Uses

func (_m *TxManager) OnNewLongestChain(head models.Head)

OnNewLongestChain provides a mock function with given fields: head

func (*TxManager) Register Uses

func (_m *TxManager) Register(_a0 []accounts.Account)

Register provides a mock function with given fields: _a0

func (*TxManager) SendRawTx Uses

func (_m *TxManager) SendRawTx(bytes []byte) (common.Hash, error)

SendRawTx provides a mock function with given fields: bytes

func (*TxManager) SignedRawTxWithBumpedGas Uses

func (_m *TxManager) SignedRawTxWithBumpedGas(originalTx models.Tx, gasLimit uint64, gasPrice big.Int) ([]byte, error)

SignedRawTxWithBumpedGas provides a mock function with given fields: originalTx, gasLimit, gasPrice

func (*TxManager) Subscribe Uses

func (_m *TxManager) Subscribe(_a0 context.Context, _a1 interface{}, _a2 ...interface{}) (eth.Subscription, error)

Subscribe provides a mock function with given fields: _a0, _a1, _a2

func (*TxManager) SubscribeToLogs Uses

func (_m *TxManager) SubscribeToLogs(ctx context.Context, channel chan<- eth.Log, q ethereum.FilterQuery) (eth.Subscription, error)

SubscribeToLogs provides a mock function with given fields: ctx, channel, q

func (*TxManager) SubscribeToNewHeads Uses

func (_m *TxManager) SubscribeToNewHeads(ctx context.Context, channel chan<- eth.BlockHeader) (eth.Subscription, error)

SubscribeToNewHeads provides a mock function with given fields: ctx, channel

func (_m *TxManager) WithdrawLINK(wr models.WithdrawalRequest) (common.Hash, error)

WithdrawLINK provides a mock function with given fields: wr

Package mocks imports 22 packages (graph) and is imported by 1 packages. Updated 2020-05-29. Refresh now. Tools for package owners.