Documentation ¶
Index ¶
- type Processor
- func (_m *Processor) ExternalAccount() chain.ExternalAccount
- func (_m *Processor) GetBatchSendEvents(_a0 context.Context, _a1 string) ([]chain.BatchSendEvent, error)
- func (_m *Processor) GetChainReferenceID() string
- func (_m *Processor) GetSendToPalomaEvents(_a0 context.Context, _a1 string) ([]chain.SendToPalomaEvent, error)
- func (_m *Processor) GravityRelayBatches(_a0 context.Context, _a1 []chain.GravityBatchWithSignatures) error
- func (_m *Processor) GravitySignBatches(_a0 context.Context, _a1 ...types.OutgoingTxBatch) ([]chain.SignedGravityOutgoingTxBatch, error)
- func (_m *Processor) HealthCheck(ctx context.Context) error
- func (_m *Processor) IsRightChain(ctx context.Context) error
- func (_m *Processor) ProcessMessages(_a0 context.Context, _a1 queue.TypeName, _a2 []chain.MessageWithSignatures) error
- func (_m *Processor) ProvideEvidence(_a0 context.Context, _a1 queue.TypeName, _a2 []chain.MessageWithSignatures) error
- func (_m *Processor) SignMessages(ctx context.Context, messages ...chain.QueuedMessage) ([]chain.SignedQueuedMessage, error)
- func (_m *Processor) SubmitBatchSendToEthClaims(_a0 context.Context, _a1 []chain.BatchSendEvent, _a2 string) error
- func (_m *Processor) SubmitSendToPalomaClaims(_a0 context.Context, _a1 []chain.SendToPalomaEvent, _a2 string) error
- func (_m *Processor) SupportedQueues() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
Processor is an autogenerated mock type for the Processor type
func NewProcessor ¶
NewProcessor creates a new instance of Processor. 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 (*Processor) ExternalAccount ¶
func (_m *Processor) ExternalAccount() chain.ExternalAccount
ExternalAccount provides a mock function with given fields:
func (*Processor) GetBatchSendEvents ¶ added in v1.8.0
func (_m *Processor) GetBatchSendEvents(_a0 context.Context, _a1 string) ([]chain.BatchSendEvent, error)
GetBatchSendEvents provides a mock function with given fields: _a0, _a1
func (*Processor) GetChainReferenceID ¶ added in v1.5.5
GetChainReferenceID provides a mock function with given fields:
func (*Processor) GetSendToPalomaEvents ¶ added in v1.8.0
func (_m *Processor) GetSendToPalomaEvents(_a0 context.Context, _a1 string) ([]chain.SendToPalomaEvent, error)
GetSendToPalomaEvents provides a mock function with given fields: _a0, _a1
func (*Processor) GravityRelayBatches ¶ added in v1.8.0
func (_m *Processor) GravityRelayBatches(_a0 context.Context, _a1 []chain.GravityBatchWithSignatures) error
GravityRelayBatches provides a mock function with given fields: _a0, _a1
func (*Processor) GravitySignBatches ¶ added in v1.8.0
func (_m *Processor) GravitySignBatches(_a0 context.Context, _a1 ...types.OutgoingTxBatch) ([]chain.SignedGravityOutgoingTxBatch, error)
GravitySignBatches provides a mock function with given fields: _a0, _a1
func (*Processor) HealthCheck ¶ added in v0.7.0
HealthCheck provides a mock function with given fields: ctx
func (*Processor) IsRightChain ¶
IsRightChain provides a mock function with given fields: ctx
func (*Processor) ProcessMessages ¶
func (_m *Processor) ProcessMessages(_a0 context.Context, _a1 queue.TypeName, _a2 []chain.MessageWithSignatures) error
ProcessMessages provides a mock function with given fields: _a0, _a1, _a2
func (*Processor) ProvideEvidence ¶ added in v0.4.0
func (_m *Processor) ProvideEvidence(_a0 context.Context, _a1 queue.TypeName, _a2 []chain.MessageWithSignatures) error
ProvideEvidence provides a mock function with given fields: _a0, _a1, _a2
func (*Processor) SignMessages ¶
func (_m *Processor) SignMessages(ctx context.Context, messages ...chain.QueuedMessage) ([]chain.SignedQueuedMessage, error)
SignMessages provides a mock function with given fields: ctx, messages
func (*Processor) SubmitBatchSendToEthClaims ¶ added in v1.8.0
func (_m *Processor) SubmitBatchSendToEthClaims(_a0 context.Context, _a1 []chain.BatchSendEvent, _a2 string) error
SubmitBatchSendToEthClaims provides a mock function with given fields: _a0, _a1, _a2
func (*Processor) SubmitSendToPalomaClaims ¶ added in v1.8.0
func (_m *Processor) SubmitSendToPalomaClaims(_a0 context.Context, _a1 []chain.SendToPalomaEvent, _a2 string) error
SubmitSendToPalomaClaims provides a mock function with given fields: _a0, _a1, _a2
func (*Processor) SupportedQueues ¶
SupportedQueues provides a mock function with given fields: