Documentation ¶
Index ¶
- type ContractSubmitter
- type ContractSubmitter_Expecter
- type ContractSubmitter_Submit_Call
- func (_c *ContractSubmitter_Submit_Call) Return(_a0 error) *ContractSubmitter_Submit_Call
- func (_c *ContractSubmitter_Submit_Call) Run(run func(ctx context.Context, roundID *big.Int, submission *big.Int, ...)) *ContractSubmitter_Submit_Call
- func (_c *ContractSubmitter_Submit_Call) RunAndReturn(run func(context.Context, *big.Int, *big.Int, *string) error) *ContractSubmitter_Submit_Call
- type Flags
- type Flags_Address_Call
- type Flags_ContractExists_Call
- type Flags_Expecter
- type Flags_IsLowered_Call
- type Flags_ParseLog_Call
- type KeyStoreInterface
- func (_m *KeyStoreInterface) EXPECT() *KeyStoreInterface_Expecter
- func (_m *KeyStoreInterface) EnabledKeysForChain(ctx context.Context, chainID *big.Int) ([]ethkey.KeyV2, error)
- func (_m *KeyStoreInterface) GetRoundRobinAddress(ctx context.Context, chainID *big.Int, addrs ...common.Address) (common.Address, error)
- type KeyStoreInterface_EnabledKeysForChain_Call
- func (_c *KeyStoreInterface_EnabledKeysForChain_Call) Return(_a0 []ethkey.KeyV2, _a1 error) *KeyStoreInterface_EnabledKeysForChain_Call
- func (_c *KeyStoreInterface_EnabledKeysForChain_Call) Run(run func(ctx context.Context, chainID *big.Int)) *KeyStoreInterface_EnabledKeysForChain_Call
- func (_c *KeyStoreInterface_EnabledKeysForChain_Call) RunAndReturn(run func(context.Context, *big.Int) ([]ethkey.KeyV2, error)) *KeyStoreInterface_EnabledKeysForChain_Call
- type KeyStoreInterface_Expecter
- func (_e *KeyStoreInterface_Expecter) EnabledKeysForChain(ctx interface{}, chainID interface{}) *KeyStoreInterface_EnabledKeysForChain_Call
- func (_e *KeyStoreInterface_Expecter) GetRoundRobinAddress(ctx interface{}, chainID interface{}, addrs ...interface{}) *KeyStoreInterface_GetRoundRobinAddress_Call
- type KeyStoreInterface_GetRoundRobinAddress_Call
- func (_c *KeyStoreInterface_GetRoundRobinAddress_Call) Return(_a0 common.Address, _a1 error) *KeyStoreInterface_GetRoundRobinAddress_Call
- func (_c *KeyStoreInterface_GetRoundRobinAddress_Call) Run(run func(ctx context.Context, chainID *big.Int, addrs ...common.Address)) *KeyStoreInterface_GetRoundRobinAddress_Call
- func (_c *KeyStoreInterface_GetRoundRobinAddress_Call) RunAndReturn(run func(context.Context, *big.Int, ...common.Address) (common.Address, error)) *KeyStoreInterface_GetRoundRobinAddress_Call
- type ORM
- func (_m *ORM) CountFluxMonitorRoundStats(ctx context.Context) (int, error)
- func (_m *ORM) CreateEthTransaction(ctx context.Context, fromAddress common.Address, toAddress common.Address, ...) error
- func (_m *ORM) DeleteFluxMonitorRoundsBackThrough(ctx context.Context, aggregator common.Address, roundID uint32) error
- func (_m *ORM) EXPECT() *ORM_Expecter
- func (_m *ORM) FindOrCreateFluxMonitorRoundStats(ctx context.Context, aggregator common.Address, roundID uint32, ...) (fluxmonitorv2.FluxMonitorRoundStatsV2, error)
- func (_m *ORM) MostRecentFluxMonitorRoundID(ctx context.Context, aggregator common.Address) (uint32, error)
- func (_m *ORM) UpdateFluxMonitorRoundStats(ctx context.Context, aggregator common.Address, roundID uint32, runID int64, ...) error
- func (_m *ORM) WithDataSource(_a0 sqlutil.DataSource) fluxmonitorv2.ORM
- type ORM_CountFluxMonitorRoundStats_Call
- func (_c *ORM_CountFluxMonitorRoundStats_Call) Return(count int, err error) *ORM_CountFluxMonitorRoundStats_Call
- func (_c *ORM_CountFluxMonitorRoundStats_Call) Run(run func(ctx context.Context)) *ORM_CountFluxMonitorRoundStats_Call
- func (_c *ORM_CountFluxMonitorRoundStats_Call) RunAndReturn(run func(context.Context) (int, error)) *ORM_CountFluxMonitorRoundStats_Call
- type ORM_CreateEthTransaction_Call
- type ORM_DeleteFluxMonitorRoundsBackThrough_Call
- func (_c *ORM_DeleteFluxMonitorRoundsBackThrough_Call) Return(_a0 error) *ORM_DeleteFluxMonitorRoundsBackThrough_Call
- func (_c *ORM_DeleteFluxMonitorRoundsBackThrough_Call) Run(run func(ctx context.Context, aggregator common.Address, roundID uint32)) *ORM_DeleteFluxMonitorRoundsBackThrough_Call
- func (_c *ORM_DeleteFluxMonitorRoundsBackThrough_Call) RunAndReturn(run func(context.Context, common.Address, uint32) error) *ORM_DeleteFluxMonitorRoundsBackThrough_Call
- type ORM_Expecter
- func (_e *ORM_Expecter) CountFluxMonitorRoundStats(ctx interface{}) *ORM_CountFluxMonitorRoundStats_Call
- func (_e *ORM_Expecter) CreateEthTransaction(ctx interface{}, fromAddress interface{}, toAddress interface{}, ...) *ORM_CreateEthTransaction_Call
- func (_e *ORM_Expecter) DeleteFluxMonitorRoundsBackThrough(ctx interface{}, aggregator interface{}, roundID interface{}) *ORM_DeleteFluxMonitorRoundsBackThrough_Call
- func (_e *ORM_Expecter) FindOrCreateFluxMonitorRoundStats(ctx interface{}, aggregator interface{}, roundID interface{}, ...) *ORM_FindOrCreateFluxMonitorRoundStats_Call
- func (_e *ORM_Expecter) MostRecentFluxMonitorRoundID(ctx interface{}, aggregator interface{}) *ORM_MostRecentFluxMonitorRoundID_Call
- func (_e *ORM_Expecter) UpdateFluxMonitorRoundStats(ctx interface{}, aggregator interface{}, roundID interface{}, ...) *ORM_UpdateFluxMonitorRoundStats_Call
- func (_e *ORM_Expecter) WithDataSource(_a0 interface{}) *ORM_WithDataSource_Call
- type ORM_FindOrCreateFluxMonitorRoundStats_Call
- func (_c *ORM_FindOrCreateFluxMonitorRoundStats_Call) Return(_a0 fluxmonitorv2.FluxMonitorRoundStatsV2, _a1 error) *ORM_FindOrCreateFluxMonitorRoundStats_Call
- func (_c *ORM_FindOrCreateFluxMonitorRoundStats_Call) Run(run func(ctx context.Context, aggregator common.Address, roundID uint32, ...)) *ORM_FindOrCreateFluxMonitorRoundStats_Call
- func (_c *ORM_FindOrCreateFluxMonitorRoundStats_Call) RunAndReturn(...) *ORM_FindOrCreateFluxMonitorRoundStats_Call
- type ORM_MostRecentFluxMonitorRoundID_Call
- func (_c *ORM_MostRecentFluxMonitorRoundID_Call) Return(_a0 uint32, _a1 error) *ORM_MostRecentFluxMonitorRoundID_Call
- func (_c *ORM_MostRecentFluxMonitorRoundID_Call) Run(run func(ctx context.Context, aggregator common.Address)) *ORM_MostRecentFluxMonitorRoundID_Call
- func (_c *ORM_MostRecentFluxMonitorRoundID_Call) RunAndReturn(run func(context.Context, common.Address) (uint32, error)) *ORM_MostRecentFluxMonitorRoundID_Call
- type ORM_UpdateFluxMonitorRoundStats_Call
- func (_c *ORM_UpdateFluxMonitorRoundStats_Call) Return(_a0 error) *ORM_UpdateFluxMonitorRoundStats_Call
- func (_c *ORM_UpdateFluxMonitorRoundStats_Call) Run(...) *ORM_UpdateFluxMonitorRoundStats_Call
- func (_c *ORM_UpdateFluxMonitorRoundStats_Call) RunAndReturn(run func(context.Context, common.Address, uint32, int64, uint) error) *ORM_UpdateFluxMonitorRoundStats_Call
- type ORM_WithDataSource_Call
- func (_c *ORM_WithDataSource_Call) Return(_a0 fluxmonitorv2.ORM) *ORM_WithDataSource_Call
- func (_c *ORM_WithDataSource_Call) Run(run func(_a0 sqlutil.DataSource)) *ORM_WithDataSource_Call
- func (_c *ORM_WithDataSource_Call) RunAndReturn(run func(sqlutil.DataSource) fluxmonitorv2.ORM) *ORM_WithDataSource_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractSubmitter ¶
ContractSubmitter is an autogenerated mock type for the ContractSubmitter type
func NewContractSubmitter ¶
func NewContractSubmitter(t interface { mock.TestingT Cleanup(func()) }) *ContractSubmitter
NewContractSubmitter creates a new instance of ContractSubmitter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ContractSubmitter) EXPECT ¶ added in v2.15.0
func (_m *ContractSubmitter) EXPECT() *ContractSubmitter_Expecter
type ContractSubmitter_Expecter ¶ added in v2.15.0
type ContractSubmitter_Expecter struct {
// contains filtered or unexported fields
}
func (*ContractSubmitter_Expecter) Submit ¶ added in v2.15.0
func (_e *ContractSubmitter_Expecter) Submit(ctx interface{}, roundID interface{}, submission interface{}, idempotencyKey interface{}) *ContractSubmitter_Submit_Call
Submit is a helper method to define mock.On call
- ctx context.Context
- roundID *big.Int
- submission *big.Int
- idempotencyKey *string
type ContractSubmitter_Submit_Call ¶ added in v2.15.0
ContractSubmitter_Submit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Submit'
func (*ContractSubmitter_Submit_Call) Return ¶ added in v2.15.0
func (_c *ContractSubmitter_Submit_Call) Return(_a0 error) *ContractSubmitter_Submit_Call
func (*ContractSubmitter_Submit_Call) Run ¶ added in v2.15.0
func (_c *ContractSubmitter_Submit_Call) Run(run func(ctx context.Context, roundID *big.Int, submission *big.Int, idempotencyKey *string)) *ContractSubmitter_Submit_Call
func (*ContractSubmitter_Submit_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ContractSubmitter_Submit_Call) RunAndReturn(run func(context.Context, *big.Int, *big.Int, *string) error) *ContractSubmitter_Submit_Call
type Flags ¶
Flags is an autogenerated mock type for the Flags type
func NewFlags ¶
NewFlags creates a new instance of Flags. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Flags) ContractExists ¶
ContractExists provides a mock function with given fields:
func (*Flags) EXPECT ¶ added in v2.15.0
func (_m *Flags) EXPECT() *Flags_Expecter
type Flags_Address_Call ¶ added in v2.15.0
Flags_Address_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Address'
func (*Flags_Address_Call) Return ¶ added in v2.15.0
func (_c *Flags_Address_Call) Return(_a0 common.Address) *Flags_Address_Call
func (*Flags_Address_Call) Run ¶ added in v2.15.0
func (_c *Flags_Address_Call) Run(run func()) *Flags_Address_Call
func (*Flags_Address_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Flags_Address_Call) RunAndReturn(run func() common.Address) *Flags_Address_Call
type Flags_ContractExists_Call ¶ added in v2.15.0
Flags_ContractExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContractExists'
func (*Flags_ContractExists_Call) Return ¶ added in v2.15.0
func (_c *Flags_ContractExists_Call) Return(_a0 bool) *Flags_ContractExists_Call
func (*Flags_ContractExists_Call) Run ¶ added in v2.15.0
func (_c *Flags_ContractExists_Call) Run(run func()) *Flags_ContractExists_Call
func (*Flags_ContractExists_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Flags_ContractExists_Call) RunAndReturn(run func() bool) *Flags_ContractExists_Call
type Flags_Expecter ¶ added in v2.15.0
type Flags_Expecter struct {
// contains filtered or unexported fields
}
func (*Flags_Expecter) Address ¶ added in v2.15.0
func (_e *Flags_Expecter) Address() *Flags_Address_Call
Address is a helper method to define mock.On call
func (*Flags_Expecter) ContractExists ¶ added in v2.15.0
func (_e *Flags_Expecter) ContractExists() *Flags_ContractExists_Call
ContractExists is a helper method to define mock.On call
func (*Flags_Expecter) IsLowered ¶ added in v2.15.0
func (_e *Flags_Expecter) IsLowered(contractAddr interface{}) *Flags_IsLowered_Call
IsLowered is a helper method to define mock.On call
- contractAddr common.Address
func (*Flags_Expecter) ParseLog ¶ added in v2.15.0
func (_e *Flags_Expecter) ParseLog(log interface{}) *Flags_ParseLog_Call
ParseLog is a helper method to define mock.On call
- log types.Log
type Flags_IsLowered_Call ¶ added in v2.15.0
Flags_IsLowered_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsLowered'
func (*Flags_IsLowered_Call) Return ¶ added in v2.15.0
func (_c *Flags_IsLowered_Call) Return(_a0 bool, _a1 error) *Flags_IsLowered_Call
func (*Flags_IsLowered_Call) Run ¶ added in v2.15.0
func (_c *Flags_IsLowered_Call) Run(run func(contractAddr common.Address)) *Flags_IsLowered_Call
func (*Flags_IsLowered_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Flags_IsLowered_Call) RunAndReturn(run func(common.Address) (bool, error)) *Flags_IsLowered_Call
type Flags_ParseLog_Call ¶ added in v2.15.0
Flags_ParseLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParseLog'
func (*Flags_ParseLog_Call) Return ¶ added in v2.15.0
func (_c *Flags_ParseLog_Call) Return(_a0 generated.AbigenLog, _a1 error) *Flags_ParseLog_Call
func (*Flags_ParseLog_Call) Run ¶ added in v2.15.0
func (_c *Flags_ParseLog_Call) Run(run func(log types.Log)) *Flags_ParseLog_Call
func (*Flags_ParseLog_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Flags_ParseLog_Call) RunAndReturn(run func(types.Log) (generated.AbigenLog, error)) *Flags_ParseLog_Call
type KeyStoreInterface ¶
KeyStoreInterface is an autogenerated mock type for the KeyStoreInterface type
func NewKeyStoreInterface ¶
func NewKeyStoreInterface(t interface { mock.TestingT Cleanup(func()) }) *KeyStoreInterface
NewKeyStoreInterface creates a new instance of KeyStoreInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*KeyStoreInterface) EXPECT ¶ added in v2.15.0
func (_m *KeyStoreInterface) EXPECT() *KeyStoreInterface_Expecter
func (*KeyStoreInterface) EnabledKeysForChain ¶
func (_m *KeyStoreInterface) EnabledKeysForChain(ctx context.Context, chainID *big.Int) ([]ethkey.KeyV2, error)
EnabledKeysForChain provides a mock function with given fields: ctx, chainID
type KeyStoreInterface_EnabledKeysForChain_Call ¶ added in v2.15.0
KeyStoreInterface_EnabledKeysForChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnabledKeysForChain'
func (*KeyStoreInterface_EnabledKeysForChain_Call) Return ¶ added in v2.15.0
func (_c *KeyStoreInterface_EnabledKeysForChain_Call) Return(_a0 []ethkey.KeyV2, _a1 error) *KeyStoreInterface_EnabledKeysForChain_Call
func (*KeyStoreInterface_EnabledKeysForChain_Call) Run ¶ added in v2.15.0
func (_c *KeyStoreInterface_EnabledKeysForChain_Call) Run(run func(ctx context.Context, chainID *big.Int)) *KeyStoreInterface_EnabledKeysForChain_Call
func (*KeyStoreInterface_EnabledKeysForChain_Call) RunAndReturn ¶ added in v2.15.0
func (_c *KeyStoreInterface_EnabledKeysForChain_Call) RunAndReturn(run func(context.Context, *big.Int) ([]ethkey.KeyV2, error)) *KeyStoreInterface_EnabledKeysForChain_Call
type KeyStoreInterface_Expecter ¶ added in v2.15.0
type KeyStoreInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*KeyStoreInterface_Expecter) EnabledKeysForChain ¶ added in v2.15.0
func (_e *KeyStoreInterface_Expecter) EnabledKeysForChain(ctx interface{}, chainID interface{}) *KeyStoreInterface_EnabledKeysForChain_Call
EnabledKeysForChain is a helper method to define mock.On call
- ctx context.Context
- chainID *big.Int
func (*KeyStoreInterface_Expecter) GetRoundRobinAddress ¶ added in v2.15.0
func (_e *KeyStoreInterface_Expecter) GetRoundRobinAddress(ctx interface{}, chainID interface{}, addrs ...interface{}) *KeyStoreInterface_GetRoundRobinAddress_Call
GetRoundRobinAddress is a helper method to define mock.On call
- ctx context.Context
- chainID *big.Int
- addrs ...common.Address
type KeyStoreInterface_GetRoundRobinAddress_Call ¶ added in v2.15.0
KeyStoreInterface_GetRoundRobinAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRoundRobinAddress'
func (*KeyStoreInterface_GetRoundRobinAddress_Call) Return ¶ added in v2.15.0
func (_c *KeyStoreInterface_GetRoundRobinAddress_Call) Return(_a0 common.Address, _a1 error) *KeyStoreInterface_GetRoundRobinAddress_Call
func (*KeyStoreInterface_GetRoundRobinAddress_Call) Run ¶ added in v2.15.0
func (_c *KeyStoreInterface_GetRoundRobinAddress_Call) Run(run func(ctx context.Context, chainID *big.Int, addrs ...common.Address)) *KeyStoreInterface_GetRoundRobinAddress_Call
func (*KeyStoreInterface_GetRoundRobinAddress_Call) RunAndReturn ¶ added in v2.15.0
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func NewORM ¶
NewORM creates a new instance of ORM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ORM) CountFluxMonitorRoundStats ¶
CountFluxMonitorRoundStats provides a mock function with given fields: ctx
func (*ORM) CreateEthTransaction ¶
func (_m *ORM) CreateEthTransaction(ctx context.Context, fromAddress common.Address, toAddress common.Address, payload []byte, gasLimit uint64, idempotencyKey *string) error
CreateEthTransaction provides a mock function with given fields: ctx, fromAddress, toAddress, payload, gasLimit, idempotencyKey
func (*ORM) DeleteFluxMonitorRoundsBackThrough ¶
func (_m *ORM) DeleteFluxMonitorRoundsBackThrough(ctx context.Context, aggregator common.Address, roundID uint32) error
DeleteFluxMonitorRoundsBackThrough provides a mock function with given fields: ctx, aggregator, roundID
func (*ORM) EXPECT ¶ added in v2.15.0
func (_m *ORM) EXPECT() *ORM_Expecter
func (*ORM) FindOrCreateFluxMonitorRoundStats ¶
func (_m *ORM) FindOrCreateFluxMonitorRoundStats(ctx context.Context, aggregator common.Address, roundID uint32, newRoundLogs uint) (fluxmonitorv2.FluxMonitorRoundStatsV2, error)
FindOrCreateFluxMonitorRoundStats provides a mock function with given fields: ctx, aggregator, roundID, newRoundLogs
func (*ORM) MostRecentFluxMonitorRoundID ¶
func (_m *ORM) MostRecentFluxMonitorRoundID(ctx context.Context, aggregator common.Address) (uint32, error)
MostRecentFluxMonitorRoundID provides a mock function with given fields: ctx, aggregator
func (*ORM) UpdateFluxMonitorRoundStats ¶
func (_m *ORM) UpdateFluxMonitorRoundStats(ctx context.Context, aggregator common.Address, roundID uint32, runID int64, newRoundLogsAddition uint) error
UpdateFluxMonitorRoundStats provides a mock function with given fields: ctx, aggregator, roundID, runID, newRoundLogsAddition
func (*ORM) WithDataSource ¶ added in v2.12.0
func (_m *ORM) WithDataSource(_a0 sqlutil.DataSource) fluxmonitorv2.ORM
WithDataSource provides a mock function with given fields: _a0
type ORM_CountFluxMonitorRoundStats_Call ¶ added in v2.15.0
ORM_CountFluxMonitorRoundStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountFluxMonitorRoundStats'
func (*ORM_CountFluxMonitorRoundStats_Call) Return ¶ added in v2.15.0
func (_c *ORM_CountFluxMonitorRoundStats_Call) Return(count int, err error) *ORM_CountFluxMonitorRoundStats_Call
func (*ORM_CountFluxMonitorRoundStats_Call) Run ¶ added in v2.15.0
func (_c *ORM_CountFluxMonitorRoundStats_Call) Run(run func(ctx context.Context)) *ORM_CountFluxMonitorRoundStats_Call
func (*ORM_CountFluxMonitorRoundStats_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_CountFluxMonitorRoundStats_Call) RunAndReturn(run func(context.Context) (int, error)) *ORM_CountFluxMonitorRoundStats_Call
type ORM_CreateEthTransaction_Call ¶ added in v2.15.0
ORM_CreateEthTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEthTransaction'
func (*ORM_CreateEthTransaction_Call) Return ¶ added in v2.15.0
func (_c *ORM_CreateEthTransaction_Call) Return(_a0 error) *ORM_CreateEthTransaction_Call
func (*ORM_CreateEthTransaction_Call) RunAndReturn ¶ added in v2.15.0
type ORM_DeleteFluxMonitorRoundsBackThrough_Call ¶ added in v2.15.0
ORM_DeleteFluxMonitorRoundsBackThrough_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteFluxMonitorRoundsBackThrough'
func (*ORM_DeleteFluxMonitorRoundsBackThrough_Call) Return ¶ added in v2.15.0
func (_c *ORM_DeleteFluxMonitorRoundsBackThrough_Call) Return(_a0 error) *ORM_DeleteFluxMonitorRoundsBackThrough_Call
func (*ORM_DeleteFluxMonitorRoundsBackThrough_Call) Run ¶ added in v2.15.0
func (_c *ORM_DeleteFluxMonitorRoundsBackThrough_Call) Run(run func(ctx context.Context, aggregator common.Address, roundID uint32)) *ORM_DeleteFluxMonitorRoundsBackThrough_Call
func (*ORM_DeleteFluxMonitorRoundsBackThrough_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_DeleteFluxMonitorRoundsBackThrough_Call) RunAndReturn(run func(context.Context, common.Address, uint32) error) *ORM_DeleteFluxMonitorRoundsBackThrough_Call
type ORM_Expecter ¶ added in v2.15.0
type ORM_Expecter struct {
// contains filtered or unexported fields
}
func (*ORM_Expecter) CountFluxMonitorRoundStats ¶ added in v2.15.0
func (_e *ORM_Expecter) CountFluxMonitorRoundStats(ctx interface{}) *ORM_CountFluxMonitorRoundStats_Call
CountFluxMonitorRoundStats is a helper method to define mock.On call
- ctx context.Context
func (*ORM_Expecter) CreateEthTransaction ¶ added in v2.15.0
func (_e *ORM_Expecter) CreateEthTransaction(ctx interface{}, fromAddress interface{}, toAddress interface{}, payload interface{}, gasLimit interface{}, idempotencyKey interface{}) *ORM_CreateEthTransaction_Call
CreateEthTransaction is a helper method to define mock.On call
- ctx context.Context
- fromAddress common.Address
- toAddress common.Address
- payload []byte
- gasLimit uint64
- idempotencyKey *string
func (*ORM_Expecter) DeleteFluxMonitorRoundsBackThrough ¶ added in v2.15.0
func (_e *ORM_Expecter) DeleteFluxMonitorRoundsBackThrough(ctx interface{}, aggregator interface{}, roundID interface{}) *ORM_DeleteFluxMonitorRoundsBackThrough_Call
DeleteFluxMonitorRoundsBackThrough is a helper method to define mock.On call
- ctx context.Context
- aggregator common.Address
- roundID uint32
func (*ORM_Expecter) FindOrCreateFluxMonitorRoundStats ¶ added in v2.15.0
func (_e *ORM_Expecter) FindOrCreateFluxMonitorRoundStats(ctx interface{}, aggregator interface{}, roundID interface{}, newRoundLogs interface{}) *ORM_FindOrCreateFluxMonitorRoundStats_Call
FindOrCreateFluxMonitorRoundStats is a helper method to define mock.On call
- ctx context.Context
- aggregator common.Address
- roundID uint32
- newRoundLogs uint
func (*ORM_Expecter) MostRecentFluxMonitorRoundID ¶ added in v2.15.0
func (_e *ORM_Expecter) MostRecentFluxMonitorRoundID(ctx interface{}, aggregator interface{}) *ORM_MostRecentFluxMonitorRoundID_Call
MostRecentFluxMonitorRoundID is a helper method to define mock.On call
- ctx context.Context
- aggregator common.Address
func (*ORM_Expecter) UpdateFluxMonitorRoundStats ¶ added in v2.15.0
func (_e *ORM_Expecter) UpdateFluxMonitorRoundStats(ctx interface{}, aggregator interface{}, roundID interface{}, runID interface{}, newRoundLogsAddition interface{}) *ORM_UpdateFluxMonitorRoundStats_Call
UpdateFluxMonitorRoundStats is a helper method to define mock.On call
- ctx context.Context
- aggregator common.Address
- roundID uint32
- runID int64
- newRoundLogsAddition uint
func (*ORM_Expecter) WithDataSource ¶ added in v2.15.0
func (_e *ORM_Expecter) WithDataSource(_a0 interface{}) *ORM_WithDataSource_Call
WithDataSource is a helper method to define mock.On call
- _a0 sqlutil.DataSource
type ORM_FindOrCreateFluxMonitorRoundStats_Call ¶ added in v2.15.0
ORM_FindOrCreateFluxMonitorRoundStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOrCreateFluxMonitorRoundStats'
func (*ORM_FindOrCreateFluxMonitorRoundStats_Call) Return ¶ added in v2.15.0
func (_c *ORM_FindOrCreateFluxMonitorRoundStats_Call) Return(_a0 fluxmonitorv2.FluxMonitorRoundStatsV2, _a1 error) *ORM_FindOrCreateFluxMonitorRoundStats_Call
func (*ORM_FindOrCreateFluxMonitorRoundStats_Call) Run ¶ added in v2.15.0
func (_c *ORM_FindOrCreateFluxMonitorRoundStats_Call) Run(run func(ctx context.Context, aggregator common.Address, roundID uint32, newRoundLogs uint)) *ORM_FindOrCreateFluxMonitorRoundStats_Call
func (*ORM_FindOrCreateFluxMonitorRoundStats_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_FindOrCreateFluxMonitorRoundStats_Call) RunAndReturn(run func(context.Context, common.Address, uint32, uint) (fluxmonitorv2.FluxMonitorRoundStatsV2, error)) *ORM_FindOrCreateFluxMonitorRoundStats_Call
type ORM_MostRecentFluxMonitorRoundID_Call ¶ added in v2.15.0
ORM_MostRecentFluxMonitorRoundID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MostRecentFluxMonitorRoundID'
func (*ORM_MostRecentFluxMonitorRoundID_Call) Return ¶ added in v2.15.0
func (_c *ORM_MostRecentFluxMonitorRoundID_Call) Return(_a0 uint32, _a1 error) *ORM_MostRecentFluxMonitorRoundID_Call
func (*ORM_MostRecentFluxMonitorRoundID_Call) Run ¶ added in v2.15.0
func (_c *ORM_MostRecentFluxMonitorRoundID_Call) Run(run func(ctx context.Context, aggregator common.Address)) *ORM_MostRecentFluxMonitorRoundID_Call
func (*ORM_MostRecentFluxMonitorRoundID_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_MostRecentFluxMonitorRoundID_Call) RunAndReturn(run func(context.Context, common.Address) (uint32, error)) *ORM_MostRecentFluxMonitorRoundID_Call
type ORM_UpdateFluxMonitorRoundStats_Call ¶ added in v2.15.0
ORM_UpdateFluxMonitorRoundStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateFluxMonitorRoundStats'
func (*ORM_UpdateFluxMonitorRoundStats_Call) Return ¶ added in v2.15.0
func (_c *ORM_UpdateFluxMonitorRoundStats_Call) Return(_a0 error) *ORM_UpdateFluxMonitorRoundStats_Call
func (*ORM_UpdateFluxMonitorRoundStats_Call) Run ¶ added in v2.15.0
func (_c *ORM_UpdateFluxMonitorRoundStats_Call) Run(run func(ctx context.Context, aggregator common.Address, roundID uint32, runID int64, newRoundLogsAddition uint)) *ORM_UpdateFluxMonitorRoundStats_Call
func (*ORM_UpdateFluxMonitorRoundStats_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_UpdateFluxMonitorRoundStats_Call) RunAndReturn(run func(context.Context, common.Address, uint32, int64, uint) error) *ORM_UpdateFluxMonitorRoundStats_Call
type ORM_WithDataSource_Call ¶ added in v2.15.0
ORM_WithDataSource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithDataSource'
func (*ORM_WithDataSource_Call) Return ¶ added in v2.15.0
func (_c *ORM_WithDataSource_Call) Return(_a0 fluxmonitorv2.ORM) *ORM_WithDataSource_Call
func (*ORM_WithDataSource_Call) Run ¶ added in v2.15.0
func (_c *ORM_WithDataSource_Call) Run(run func(_a0 sqlutil.DataSource)) *ORM_WithDataSource_Call
func (*ORM_WithDataSource_Call) RunAndReturn ¶ added in v2.15.0
func (_c *ORM_WithDataSource_Call) RunAndReturn(run func(sqlutil.DataSource) fluxmonitorv2.ORM) *ORM_WithDataSource_Call