Documentation ¶
Index ¶
- type OffRampReader
- func (_m *OffRampReader) Address(ctx context.Context) (ccip.Address, error)
- func (_m *OffRampReader) ChangeConfig(ctx context.Context, onchainConfig []byte, offchainConfig []byte) (ccip.Address, ccip.Address, error)
- func (_m *OffRampReader) Close() error
- func (_m *OffRampReader) CurrentRateLimiterState(ctx context.Context) (ccip.TokenBucketRateLimit, error)
- func (_m *OffRampReader) DecodeExecutionReport(ctx context.Context, report []byte) (ccip.ExecReport, error)
- func (_m *OffRampReader) EXPECT() *OffRampReader_Expecter
- func (_m *OffRampReader) EncodeExecutionReport(ctx context.Context, report ccip.ExecReport) ([]byte, error)
- func (_m *OffRampReader) GasPriceEstimator(ctx context.Context) (ccip.GasPriceEstimatorExec, error)
- func (_m *OffRampReader) GetExecutionState(ctx context.Context, sequenceNumber uint64) (uint8, error)
- func (_m *OffRampReader) GetExecutionStateChangesBetweenSeqNums(ctx context.Context, seqNumMin uint64, seqNumMax uint64, confirmations int) ([]ccip.ExecutionStateChangedWithTxMeta, error)
- func (_m *OffRampReader) GetRouter(ctx context.Context) (ccip.Address, error)
- func (_m *OffRampReader) GetSourceToDestTokensMapping(ctx context.Context) (map[ccip.Address]ccip.Address, error)
- func (_m *OffRampReader) GetStaticConfig(ctx context.Context) (ccip.OffRampStaticConfig, error)
- func (_m *OffRampReader) GetTokens(ctx context.Context) (ccip.OffRampTokens, error)
- func (_m *OffRampReader) ListSenderNonces(ctx context.Context, senders []ccip.Address) (map[ccip.Address]uint64, error)
- func (_m *OffRampReader) OffchainConfig(ctx context.Context) (ccip.ExecOffchainConfig, error)
- func (_m *OffRampReader) OnchainConfig(ctx context.Context) (ccip.ExecOnchainConfig, error)
- type OffRampReader_Address_Call
- func (_c *OffRampReader_Address_Call) Return(_a0 ccip.Address, _a1 error) *OffRampReader_Address_Call
- func (_c *OffRampReader_Address_Call) Run(run func(ctx context.Context)) *OffRampReader_Address_Call
- func (_c *OffRampReader_Address_Call) RunAndReturn(run func(context.Context) (ccip.Address, error)) *OffRampReader_Address_Call
- type OffRampReader_ChangeConfig_Call
- func (_c *OffRampReader_ChangeConfig_Call) Return(_a0 ccip.Address, _a1 ccip.Address, _a2 error) *OffRampReader_ChangeConfig_Call
- func (_c *OffRampReader_ChangeConfig_Call) Run(run func(ctx context.Context, onchainConfig []byte, offchainConfig []byte)) *OffRampReader_ChangeConfig_Call
- func (_c *OffRampReader_ChangeConfig_Call) RunAndReturn(run func(context.Context, []byte, []byte) (ccip.Address, ccip.Address, error)) *OffRampReader_ChangeConfig_Call
- type OffRampReader_Close_Call
- type OffRampReader_CurrentRateLimiterState_Call
- func (_c *OffRampReader_CurrentRateLimiterState_Call) Return(_a0 ccip.TokenBucketRateLimit, _a1 error) *OffRampReader_CurrentRateLimiterState_Call
- func (_c *OffRampReader_CurrentRateLimiterState_Call) Run(run func(ctx context.Context)) *OffRampReader_CurrentRateLimiterState_Call
- func (_c *OffRampReader_CurrentRateLimiterState_Call) RunAndReturn(run func(context.Context) (ccip.TokenBucketRateLimit, error)) *OffRampReader_CurrentRateLimiterState_Call
- type OffRampReader_DecodeExecutionReport_Call
- func (_c *OffRampReader_DecodeExecutionReport_Call) Return(_a0 ccip.ExecReport, _a1 error) *OffRampReader_DecodeExecutionReport_Call
- func (_c *OffRampReader_DecodeExecutionReport_Call) Run(run func(ctx context.Context, report []byte)) *OffRampReader_DecodeExecutionReport_Call
- func (_c *OffRampReader_DecodeExecutionReport_Call) RunAndReturn(run func(context.Context, []byte) (ccip.ExecReport, error)) *OffRampReader_DecodeExecutionReport_Call
- type OffRampReader_EncodeExecutionReport_Call
- func (_c *OffRampReader_EncodeExecutionReport_Call) Return(_a0 []byte, _a1 error) *OffRampReader_EncodeExecutionReport_Call
- func (_c *OffRampReader_EncodeExecutionReport_Call) Run(run func(ctx context.Context, report ccip.ExecReport)) *OffRampReader_EncodeExecutionReport_Call
- func (_c *OffRampReader_EncodeExecutionReport_Call) RunAndReturn(run func(context.Context, ccip.ExecReport) ([]byte, error)) *OffRampReader_EncodeExecutionReport_Call
- type OffRampReader_Expecter
- func (_e *OffRampReader_Expecter) Address(ctx interface{}) *OffRampReader_Address_Call
- func (_e *OffRampReader_Expecter) ChangeConfig(ctx interface{}, onchainConfig interface{}, offchainConfig interface{}) *OffRampReader_ChangeConfig_Call
- func (_e *OffRampReader_Expecter) Close() *OffRampReader_Close_Call
- func (_e *OffRampReader_Expecter) CurrentRateLimiterState(ctx interface{}) *OffRampReader_CurrentRateLimiterState_Call
- func (_e *OffRampReader_Expecter) DecodeExecutionReport(ctx interface{}, report interface{}) *OffRampReader_DecodeExecutionReport_Call
- func (_e *OffRampReader_Expecter) EncodeExecutionReport(ctx interface{}, report interface{}) *OffRampReader_EncodeExecutionReport_Call
- func (_e *OffRampReader_Expecter) GasPriceEstimator(ctx interface{}) *OffRampReader_GasPriceEstimator_Call
- func (_e *OffRampReader_Expecter) GetExecutionState(ctx interface{}, sequenceNumber interface{}) *OffRampReader_GetExecutionState_Call
- func (_e *OffRampReader_Expecter) GetExecutionStateChangesBetweenSeqNums(ctx interface{}, seqNumMin interface{}, seqNumMax interface{}, ...) *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call
- func (_e *OffRampReader_Expecter) GetRouter(ctx interface{}) *OffRampReader_GetRouter_Call
- func (_e *OffRampReader_Expecter) GetSourceToDestTokensMapping(ctx interface{}) *OffRampReader_GetSourceToDestTokensMapping_Call
- func (_e *OffRampReader_Expecter) GetStaticConfig(ctx interface{}) *OffRampReader_GetStaticConfig_Call
- func (_e *OffRampReader_Expecter) GetTokens(ctx interface{}) *OffRampReader_GetTokens_Call
- func (_e *OffRampReader_Expecter) ListSenderNonces(ctx interface{}, senders interface{}) *OffRampReader_ListSenderNonces_Call
- func (_e *OffRampReader_Expecter) OffchainConfig(ctx interface{}) *OffRampReader_OffchainConfig_Call
- func (_e *OffRampReader_Expecter) OnchainConfig(ctx interface{}) *OffRampReader_OnchainConfig_Call
- type OffRampReader_GasPriceEstimator_Call
- func (_c *OffRampReader_GasPriceEstimator_Call) Return(_a0 ccip.GasPriceEstimatorExec, _a1 error) *OffRampReader_GasPriceEstimator_Call
- func (_c *OffRampReader_GasPriceEstimator_Call) Run(run func(ctx context.Context)) *OffRampReader_GasPriceEstimator_Call
- func (_c *OffRampReader_GasPriceEstimator_Call) RunAndReturn(run func(context.Context) (ccip.GasPriceEstimatorExec, error)) *OffRampReader_GasPriceEstimator_Call
- type OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call
- func (_c *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call) Return(_a0 []ccip.ExecutionStateChangedWithTxMeta, _a1 error) *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call
- func (_c *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call) Run(...) *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call
- func (_c *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call) RunAndReturn(...) *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call
- type OffRampReader_GetExecutionState_Call
- func (_c *OffRampReader_GetExecutionState_Call) Return(_a0 uint8, _a1 error) *OffRampReader_GetExecutionState_Call
- func (_c *OffRampReader_GetExecutionState_Call) Run(run func(ctx context.Context, sequenceNumber uint64)) *OffRampReader_GetExecutionState_Call
- func (_c *OffRampReader_GetExecutionState_Call) RunAndReturn(run func(context.Context, uint64) (uint8, error)) *OffRampReader_GetExecutionState_Call
- type OffRampReader_GetRouter_Call
- func (_c *OffRampReader_GetRouter_Call) Return(_a0 ccip.Address, _a1 error) *OffRampReader_GetRouter_Call
- func (_c *OffRampReader_GetRouter_Call) Run(run func(ctx context.Context)) *OffRampReader_GetRouter_Call
- func (_c *OffRampReader_GetRouter_Call) RunAndReturn(run func(context.Context) (ccip.Address, error)) *OffRampReader_GetRouter_Call
- type OffRampReader_GetSourceToDestTokensMapping_Call
- func (_c *OffRampReader_GetSourceToDestTokensMapping_Call) Return(_a0 map[ccip.Address]ccip.Address, _a1 error) *OffRampReader_GetSourceToDestTokensMapping_Call
- func (_c *OffRampReader_GetSourceToDestTokensMapping_Call) Run(run func(ctx context.Context)) *OffRampReader_GetSourceToDestTokensMapping_Call
- func (_c *OffRampReader_GetSourceToDestTokensMapping_Call) RunAndReturn(run func(context.Context) (map[ccip.Address]ccip.Address, error)) *OffRampReader_GetSourceToDestTokensMapping_Call
- type OffRampReader_GetStaticConfig_Call
- func (_c *OffRampReader_GetStaticConfig_Call) Return(_a0 ccip.OffRampStaticConfig, _a1 error) *OffRampReader_GetStaticConfig_Call
- func (_c *OffRampReader_GetStaticConfig_Call) Run(run func(ctx context.Context)) *OffRampReader_GetStaticConfig_Call
- func (_c *OffRampReader_GetStaticConfig_Call) RunAndReturn(run func(context.Context) (ccip.OffRampStaticConfig, error)) *OffRampReader_GetStaticConfig_Call
- type OffRampReader_GetTokens_Call
- func (_c *OffRampReader_GetTokens_Call) Return(_a0 ccip.OffRampTokens, _a1 error) *OffRampReader_GetTokens_Call
- func (_c *OffRampReader_GetTokens_Call) Run(run func(ctx context.Context)) *OffRampReader_GetTokens_Call
- func (_c *OffRampReader_GetTokens_Call) RunAndReturn(run func(context.Context) (ccip.OffRampTokens, error)) *OffRampReader_GetTokens_Call
- type OffRampReader_ListSenderNonces_Call
- func (_c *OffRampReader_ListSenderNonces_Call) Return(_a0 map[ccip.Address]uint64, _a1 error) *OffRampReader_ListSenderNonces_Call
- func (_c *OffRampReader_ListSenderNonces_Call) Run(run func(ctx context.Context, senders []ccip.Address)) *OffRampReader_ListSenderNonces_Call
- func (_c *OffRampReader_ListSenderNonces_Call) RunAndReturn(run func(context.Context, []ccip.Address) (map[ccip.Address]uint64, error)) *OffRampReader_ListSenderNonces_Call
- type OffRampReader_OffchainConfig_Call
- func (_c *OffRampReader_OffchainConfig_Call) Return(_a0 ccip.ExecOffchainConfig, _a1 error) *OffRampReader_OffchainConfig_Call
- func (_c *OffRampReader_OffchainConfig_Call) Run(run func(ctx context.Context)) *OffRampReader_OffchainConfig_Call
- func (_c *OffRampReader_OffchainConfig_Call) RunAndReturn(run func(context.Context) (ccip.ExecOffchainConfig, error)) *OffRampReader_OffchainConfig_Call
- type OffRampReader_OnchainConfig_Call
- func (_c *OffRampReader_OnchainConfig_Call) Return(_a0 ccip.ExecOnchainConfig, _a1 error) *OffRampReader_OnchainConfig_Call
- func (_c *OffRampReader_OnchainConfig_Call) Run(run func(ctx context.Context)) *OffRampReader_OnchainConfig_Call
- func (_c *OffRampReader_OnchainConfig_Call) RunAndReturn(run func(context.Context) (ccip.ExecOnchainConfig, error)) *OffRampReader_OnchainConfig_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OffRampReader ¶
OffRampReader is an autogenerated mock type for the OffRampReader type
func NewOffRampReader ¶
func NewOffRampReader(t interface { mock.TestingT Cleanup(func()) }) *OffRampReader
NewOffRampReader creates a new instance of OffRampReader. 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 (*OffRampReader) ChangeConfig ¶
func (_m *OffRampReader) ChangeConfig(ctx context.Context, onchainConfig []byte, offchainConfig []byte) (ccip.Address, ccip.Address, error)
ChangeConfig provides a mock function with given fields: ctx, onchainConfig, offchainConfig
func (*OffRampReader) Close ¶
func (_m *OffRampReader) Close() error
Close provides a mock function with given fields:
func (*OffRampReader) CurrentRateLimiterState ¶
func (_m *OffRampReader) CurrentRateLimiterState(ctx context.Context) (ccip.TokenBucketRateLimit, error)
CurrentRateLimiterState provides a mock function with given fields: ctx
func (*OffRampReader) DecodeExecutionReport ¶
func (_m *OffRampReader) DecodeExecutionReport(ctx context.Context, report []byte) (ccip.ExecReport, error)
DecodeExecutionReport provides a mock function with given fields: ctx, report
func (*OffRampReader) EXPECT ¶
func (_m *OffRampReader) EXPECT() *OffRampReader_Expecter
func (*OffRampReader) EncodeExecutionReport ¶
func (_m *OffRampReader) EncodeExecutionReport(ctx context.Context, report ccip.ExecReport) ([]byte, error)
EncodeExecutionReport provides a mock function with given fields: ctx, report
func (*OffRampReader) GasPriceEstimator ¶
func (_m *OffRampReader) GasPriceEstimator(ctx context.Context) (ccip.GasPriceEstimatorExec, error)
GasPriceEstimator provides a mock function with given fields: ctx
func (*OffRampReader) GetExecutionState ¶
func (_m *OffRampReader) GetExecutionState(ctx context.Context, sequenceNumber uint64) (uint8, error)
GetExecutionState provides a mock function with given fields: ctx, sequenceNumber
func (*OffRampReader) GetExecutionStateChangesBetweenSeqNums ¶
func (_m *OffRampReader) GetExecutionStateChangesBetweenSeqNums(ctx context.Context, seqNumMin uint64, seqNumMax uint64, confirmations int) ([]ccip.ExecutionStateChangedWithTxMeta, error)
GetExecutionStateChangesBetweenSeqNums provides a mock function with given fields: ctx, seqNumMin, seqNumMax, confirmations
func (*OffRampReader) GetSourceToDestTokensMapping ¶
func (_m *OffRampReader) GetSourceToDestTokensMapping(ctx context.Context) (map[ccip.Address]ccip.Address, error)
GetSourceToDestTokensMapping provides a mock function with given fields: ctx
func (*OffRampReader) GetStaticConfig ¶
func (_m *OffRampReader) GetStaticConfig(ctx context.Context) (ccip.OffRampStaticConfig, error)
GetStaticConfig provides a mock function with given fields: ctx
func (*OffRampReader) GetTokens ¶
func (_m *OffRampReader) GetTokens(ctx context.Context) (ccip.OffRampTokens, error)
GetTokens provides a mock function with given fields: ctx
func (*OffRampReader) ListSenderNonces ¶
func (_m *OffRampReader) ListSenderNonces(ctx context.Context, senders []ccip.Address) (map[ccip.Address]uint64, error)
ListSenderNonces provides a mock function with given fields: ctx, senders
func (*OffRampReader) OffchainConfig ¶
func (_m *OffRampReader) OffchainConfig(ctx context.Context) (ccip.ExecOffchainConfig, error)
OffchainConfig provides a mock function with given fields: ctx
func (*OffRampReader) OnchainConfig ¶
func (_m *OffRampReader) OnchainConfig(ctx context.Context) (ccip.ExecOnchainConfig, error)
OnchainConfig provides a mock function with given fields: ctx
type OffRampReader_Address_Call ¶
OffRampReader_Address_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Address'
func (*OffRampReader_Address_Call) Return ¶
func (_c *OffRampReader_Address_Call) Return(_a0 ccip.Address, _a1 error) *OffRampReader_Address_Call
func (*OffRampReader_Address_Call) Run ¶
func (_c *OffRampReader_Address_Call) Run(run func(ctx context.Context)) *OffRampReader_Address_Call
func (*OffRampReader_Address_Call) RunAndReturn ¶
func (_c *OffRampReader_Address_Call) RunAndReturn(run func(context.Context) (ccip.Address, error)) *OffRampReader_Address_Call
type OffRampReader_ChangeConfig_Call ¶
OffRampReader_ChangeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChangeConfig'
func (*OffRampReader_ChangeConfig_Call) Return ¶
func (_c *OffRampReader_ChangeConfig_Call) Return(_a0 ccip.Address, _a1 ccip.Address, _a2 error) *OffRampReader_ChangeConfig_Call
func (*OffRampReader_ChangeConfig_Call) Run ¶
func (_c *OffRampReader_ChangeConfig_Call) Run(run func(ctx context.Context, onchainConfig []byte, offchainConfig []byte)) *OffRampReader_ChangeConfig_Call
func (*OffRampReader_ChangeConfig_Call) RunAndReturn ¶
type OffRampReader_Close_Call ¶
OffRampReader_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*OffRampReader_Close_Call) Return ¶
func (_c *OffRampReader_Close_Call) Return(_a0 error) *OffRampReader_Close_Call
func (*OffRampReader_Close_Call) Run ¶
func (_c *OffRampReader_Close_Call) Run(run func()) *OffRampReader_Close_Call
func (*OffRampReader_Close_Call) RunAndReturn ¶
func (_c *OffRampReader_Close_Call) RunAndReturn(run func() error) *OffRampReader_Close_Call
type OffRampReader_CurrentRateLimiterState_Call ¶
OffRampReader_CurrentRateLimiterState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentRateLimiterState'
func (*OffRampReader_CurrentRateLimiterState_Call) Return ¶
func (_c *OffRampReader_CurrentRateLimiterState_Call) Return(_a0 ccip.TokenBucketRateLimit, _a1 error) *OffRampReader_CurrentRateLimiterState_Call
func (*OffRampReader_CurrentRateLimiterState_Call) Run ¶
func (_c *OffRampReader_CurrentRateLimiterState_Call) Run(run func(ctx context.Context)) *OffRampReader_CurrentRateLimiterState_Call
func (*OffRampReader_CurrentRateLimiterState_Call) RunAndReturn ¶
func (_c *OffRampReader_CurrentRateLimiterState_Call) RunAndReturn(run func(context.Context) (ccip.TokenBucketRateLimit, error)) *OffRampReader_CurrentRateLimiterState_Call
type OffRampReader_DecodeExecutionReport_Call ¶
OffRampReader_DecodeExecutionReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecodeExecutionReport'
func (*OffRampReader_DecodeExecutionReport_Call) Return ¶
func (_c *OffRampReader_DecodeExecutionReport_Call) Return(_a0 ccip.ExecReport, _a1 error) *OffRampReader_DecodeExecutionReport_Call
func (*OffRampReader_DecodeExecutionReport_Call) Run ¶
func (_c *OffRampReader_DecodeExecutionReport_Call) Run(run func(ctx context.Context, report []byte)) *OffRampReader_DecodeExecutionReport_Call
func (*OffRampReader_DecodeExecutionReport_Call) RunAndReturn ¶
func (_c *OffRampReader_DecodeExecutionReport_Call) RunAndReturn(run func(context.Context, []byte) (ccip.ExecReport, error)) *OffRampReader_DecodeExecutionReport_Call
type OffRampReader_EncodeExecutionReport_Call ¶
OffRampReader_EncodeExecutionReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EncodeExecutionReport'
func (*OffRampReader_EncodeExecutionReport_Call) Return ¶
func (_c *OffRampReader_EncodeExecutionReport_Call) Return(_a0 []byte, _a1 error) *OffRampReader_EncodeExecutionReport_Call
func (*OffRampReader_EncodeExecutionReport_Call) Run ¶
func (_c *OffRampReader_EncodeExecutionReport_Call) Run(run func(ctx context.Context, report ccip.ExecReport)) *OffRampReader_EncodeExecutionReport_Call
func (*OffRampReader_EncodeExecutionReport_Call) RunAndReturn ¶
func (_c *OffRampReader_EncodeExecutionReport_Call) RunAndReturn(run func(context.Context, ccip.ExecReport) ([]byte, error)) *OffRampReader_EncodeExecutionReport_Call
type OffRampReader_Expecter ¶
type OffRampReader_Expecter struct {
// contains filtered or unexported fields
}
func (*OffRampReader_Expecter) Address ¶
func (_e *OffRampReader_Expecter) Address(ctx interface{}) *OffRampReader_Address_Call
Address is a helper method to define mock.On call
- ctx context.Context
func (*OffRampReader_Expecter) ChangeConfig ¶
func (_e *OffRampReader_Expecter) ChangeConfig(ctx interface{}, onchainConfig interface{}, offchainConfig interface{}) *OffRampReader_ChangeConfig_Call
ChangeConfig is a helper method to define mock.On call
- ctx context.Context
- onchainConfig []byte
- offchainConfig []byte
func (*OffRampReader_Expecter) Close ¶
func (_e *OffRampReader_Expecter) Close() *OffRampReader_Close_Call
Close is a helper method to define mock.On call
func (*OffRampReader_Expecter) CurrentRateLimiterState ¶
func (_e *OffRampReader_Expecter) CurrentRateLimiterState(ctx interface{}) *OffRampReader_CurrentRateLimiterState_Call
CurrentRateLimiterState is a helper method to define mock.On call
- ctx context.Context
func (*OffRampReader_Expecter) DecodeExecutionReport ¶
func (_e *OffRampReader_Expecter) DecodeExecutionReport(ctx interface{}, report interface{}) *OffRampReader_DecodeExecutionReport_Call
DecodeExecutionReport is a helper method to define mock.On call
- ctx context.Context
- report []byte
func (*OffRampReader_Expecter) EncodeExecutionReport ¶
func (_e *OffRampReader_Expecter) EncodeExecutionReport(ctx interface{}, report interface{}) *OffRampReader_EncodeExecutionReport_Call
EncodeExecutionReport is a helper method to define mock.On call
- ctx context.Context
- report ccip.ExecReport
func (*OffRampReader_Expecter) GasPriceEstimator ¶
func (_e *OffRampReader_Expecter) GasPriceEstimator(ctx interface{}) *OffRampReader_GasPriceEstimator_Call
GasPriceEstimator is a helper method to define mock.On call
- ctx context.Context
func (*OffRampReader_Expecter) GetExecutionState ¶
func (_e *OffRampReader_Expecter) GetExecutionState(ctx interface{}, sequenceNumber interface{}) *OffRampReader_GetExecutionState_Call
GetExecutionState is a helper method to define mock.On call
- ctx context.Context
- sequenceNumber uint64
func (*OffRampReader_Expecter) GetExecutionStateChangesBetweenSeqNums ¶
func (_e *OffRampReader_Expecter) GetExecutionStateChangesBetweenSeqNums(ctx interface{}, seqNumMin interface{}, seqNumMax interface{}, confirmations interface{}) *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call
GetExecutionStateChangesBetweenSeqNums is a helper method to define mock.On call
- ctx context.Context
- seqNumMin uint64
- seqNumMax uint64
- confirmations int
func (*OffRampReader_Expecter) GetRouter ¶
func (_e *OffRampReader_Expecter) GetRouter(ctx interface{}) *OffRampReader_GetRouter_Call
GetRouter is a helper method to define mock.On call
- ctx context.Context
func (*OffRampReader_Expecter) GetSourceToDestTokensMapping ¶
func (_e *OffRampReader_Expecter) GetSourceToDestTokensMapping(ctx interface{}) *OffRampReader_GetSourceToDestTokensMapping_Call
GetSourceToDestTokensMapping is a helper method to define mock.On call
- ctx context.Context
func (*OffRampReader_Expecter) GetStaticConfig ¶
func (_e *OffRampReader_Expecter) GetStaticConfig(ctx interface{}) *OffRampReader_GetStaticConfig_Call
GetStaticConfig is a helper method to define mock.On call
- ctx context.Context
func (*OffRampReader_Expecter) GetTokens ¶
func (_e *OffRampReader_Expecter) GetTokens(ctx interface{}) *OffRampReader_GetTokens_Call
GetTokens is a helper method to define mock.On call
- ctx context.Context
func (*OffRampReader_Expecter) ListSenderNonces ¶
func (_e *OffRampReader_Expecter) ListSenderNonces(ctx interface{}, senders interface{}) *OffRampReader_ListSenderNonces_Call
ListSenderNonces is a helper method to define mock.On call
- ctx context.Context
- senders []ccip.Address
func (*OffRampReader_Expecter) OffchainConfig ¶
func (_e *OffRampReader_Expecter) OffchainConfig(ctx interface{}) *OffRampReader_OffchainConfig_Call
OffchainConfig is a helper method to define mock.On call
- ctx context.Context
func (*OffRampReader_Expecter) OnchainConfig ¶
func (_e *OffRampReader_Expecter) OnchainConfig(ctx interface{}) *OffRampReader_OnchainConfig_Call
OnchainConfig is a helper method to define mock.On call
- ctx context.Context
type OffRampReader_GasPriceEstimator_Call ¶
OffRampReader_GasPriceEstimator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GasPriceEstimator'
func (*OffRampReader_GasPriceEstimator_Call) Return ¶
func (_c *OffRampReader_GasPriceEstimator_Call) Return(_a0 ccip.GasPriceEstimatorExec, _a1 error) *OffRampReader_GasPriceEstimator_Call
func (*OffRampReader_GasPriceEstimator_Call) Run ¶
func (_c *OffRampReader_GasPriceEstimator_Call) Run(run func(ctx context.Context)) *OffRampReader_GasPriceEstimator_Call
func (*OffRampReader_GasPriceEstimator_Call) RunAndReturn ¶
func (_c *OffRampReader_GasPriceEstimator_Call) RunAndReturn(run func(context.Context) (ccip.GasPriceEstimatorExec, error)) *OffRampReader_GasPriceEstimator_Call
type OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call ¶
OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecutionStateChangesBetweenSeqNums'
func (*OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call) Run ¶
func (_c *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call) Run(run func(ctx context.Context, seqNumMin uint64, seqNumMax uint64, confirmations int)) *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call
func (*OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call) RunAndReturn ¶
func (_c *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call) RunAndReturn(run func(context.Context, uint64, uint64, int) ([]ccip.ExecutionStateChangedWithTxMeta, error)) *OffRampReader_GetExecutionStateChangesBetweenSeqNums_Call
type OffRampReader_GetExecutionState_Call ¶
OffRampReader_GetExecutionState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecutionState'
func (*OffRampReader_GetExecutionState_Call) Return ¶
func (_c *OffRampReader_GetExecutionState_Call) Return(_a0 uint8, _a1 error) *OffRampReader_GetExecutionState_Call
func (*OffRampReader_GetExecutionState_Call) Run ¶
func (_c *OffRampReader_GetExecutionState_Call) Run(run func(ctx context.Context, sequenceNumber uint64)) *OffRampReader_GetExecutionState_Call
func (*OffRampReader_GetExecutionState_Call) RunAndReturn ¶
func (_c *OffRampReader_GetExecutionState_Call) RunAndReturn(run func(context.Context, uint64) (uint8, error)) *OffRampReader_GetExecutionState_Call
type OffRampReader_GetRouter_Call ¶
OffRampReader_GetRouter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRouter'
func (*OffRampReader_GetRouter_Call) Return ¶
func (_c *OffRampReader_GetRouter_Call) Return(_a0 ccip.Address, _a1 error) *OffRampReader_GetRouter_Call
func (*OffRampReader_GetRouter_Call) Run ¶
func (_c *OffRampReader_GetRouter_Call) Run(run func(ctx context.Context)) *OffRampReader_GetRouter_Call
func (*OffRampReader_GetRouter_Call) RunAndReturn ¶
func (_c *OffRampReader_GetRouter_Call) RunAndReturn(run func(context.Context) (ccip.Address, error)) *OffRampReader_GetRouter_Call
type OffRampReader_GetSourceToDestTokensMapping_Call ¶
OffRampReader_GetSourceToDestTokensMapping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSourceToDestTokensMapping'
func (*OffRampReader_GetSourceToDestTokensMapping_Call) Return ¶
func (_c *OffRampReader_GetSourceToDestTokensMapping_Call) Return(_a0 map[ccip.Address]ccip.Address, _a1 error) *OffRampReader_GetSourceToDestTokensMapping_Call
func (*OffRampReader_GetSourceToDestTokensMapping_Call) Run ¶
func (_c *OffRampReader_GetSourceToDestTokensMapping_Call) Run(run func(ctx context.Context)) *OffRampReader_GetSourceToDestTokensMapping_Call
func (*OffRampReader_GetSourceToDestTokensMapping_Call) RunAndReturn ¶
func (_c *OffRampReader_GetSourceToDestTokensMapping_Call) RunAndReturn(run func(context.Context) (map[ccip.Address]ccip.Address, error)) *OffRampReader_GetSourceToDestTokensMapping_Call
type OffRampReader_GetStaticConfig_Call ¶
OffRampReader_GetStaticConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStaticConfig'
func (*OffRampReader_GetStaticConfig_Call) Return ¶
func (_c *OffRampReader_GetStaticConfig_Call) Return(_a0 ccip.OffRampStaticConfig, _a1 error) *OffRampReader_GetStaticConfig_Call
func (*OffRampReader_GetStaticConfig_Call) Run ¶
func (_c *OffRampReader_GetStaticConfig_Call) Run(run func(ctx context.Context)) *OffRampReader_GetStaticConfig_Call
func (*OffRampReader_GetStaticConfig_Call) RunAndReturn ¶
func (_c *OffRampReader_GetStaticConfig_Call) RunAndReturn(run func(context.Context) (ccip.OffRampStaticConfig, error)) *OffRampReader_GetStaticConfig_Call
type OffRampReader_GetTokens_Call ¶
OffRampReader_GetTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokens'
func (*OffRampReader_GetTokens_Call) Return ¶
func (_c *OffRampReader_GetTokens_Call) Return(_a0 ccip.OffRampTokens, _a1 error) *OffRampReader_GetTokens_Call
func (*OffRampReader_GetTokens_Call) Run ¶
func (_c *OffRampReader_GetTokens_Call) Run(run func(ctx context.Context)) *OffRampReader_GetTokens_Call
func (*OffRampReader_GetTokens_Call) RunAndReturn ¶
func (_c *OffRampReader_GetTokens_Call) RunAndReturn(run func(context.Context) (ccip.OffRampTokens, error)) *OffRampReader_GetTokens_Call
type OffRampReader_ListSenderNonces_Call ¶
OffRampReader_ListSenderNonces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSenderNonces'
func (*OffRampReader_ListSenderNonces_Call) Return ¶
func (_c *OffRampReader_ListSenderNonces_Call) Return(_a0 map[ccip.Address]uint64, _a1 error) *OffRampReader_ListSenderNonces_Call
func (*OffRampReader_ListSenderNonces_Call) Run ¶
func (_c *OffRampReader_ListSenderNonces_Call) Run(run func(ctx context.Context, senders []ccip.Address)) *OffRampReader_ListSenderNonces_Call
func (*OffRampReader_ListSenderNonces_Call) RunAndReturn ¶
func (_c *OffRampReader_ListSenderNonces_Call) RunAndReturn(run func(context.Context, []ccip.Address) (map[ccip.Address]uint64, error)) *OffRampReader_ListSenderNonces_Call
type OffRampReader_OffchainConfig_Call ¶
OffRampReader_OffchainConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OffchainConfig'
func (*OffRampReader_OffchainConfig_Call) Return ¶
func (_c *OffRampReader_OffchainConfig_Call) Return(_a0 ccip.ExecOffchainConfig, _a1 error) *OffRampReader_OffchainConfig_Call
func (*OffRampReader_OffchainConfig_Call) Run ¶
func (_c *OffRampReader_OffchainConfig_Call) Run(run func(ctx context.Context)) *OffRampReader_OffchainConfig_Call
func (*OffRampReader_OffchainConfig_Call) RunAndReturn ¶
func (_c *OffRampReader_OffchainConfig_Call) RunAndReturn(run func(context.Context) (ccip.ExecOffchainConfig, error)) *OffRampReader_OffchainConfig_Call
type OffRampReader_OnchainConfig_Call ¶
OffRampReader_OnchainConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnchainConfig'
func (*OffRampReader_OnchainConfig_Call) Return ¶
func (_c *OffRampReader_OnchainConfig_Call) Return(_a0 ccip.ExecOnchainConfig, _a1 error) *OffRampReader_OnchainConfig_Call
func (*OffRampReader_OnchainConfig_Call) Run ¶
func (_c *OffRampReader_OnchainConfig_Call) Run(run func(ctx context.Context)) *OffRampReader_OnchainConfig_Call
func (*OffRampReader_OnchainConfig_Call) RunAndReturn ¶
func (_c *OffRampReader_OnchainConfig_Call) RunAndReturn(run func(context.Context) (ccip.ExecOnchainConfig, error)) *OffRampReader_OnchainConfig_Call