Documentation ¶
Index ¶
- type CompassBinding
- func (_m *CompassBinding) FilterLogicCallEvent(opts *bind.FilterOpts) (*compass.CompassLogicCallEventIterator, error)
- func (_m *CompassBinding) FilterValsetUpdated(opts *bind.FilterOpts) (*compass.CompassValsetUpdatedIterator, error)
- func (_m *CompassBinding) LastCheckpoint(opts *bind.CallOpts) ([32]byte, error)
- func (_m *CompassBinding) LastValsetId(opts *bind.CallOpts) (*big.Int, error)
- func (_m *CompassBinding) MessageIdUsed(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
- func (_m *CompassBinding) ParseLogicCallEvent(log types.Log) (*compass.CompassLogicCallEvent, error)
- func (_m *CompassBinding) ParseValsetUpdated(log types.Log) (*compass.CompassValsetUpdated, error)
- func (_m *CompassBinding) SubmitLogicCall(opts *bind.TransactOpts, consensus compass.Struct2, args compass.Struct3, ...) (*types.Transaction, error)
- func (_m *CompassBinding) TurnstoneId(opts *bind.CallOpts) ([32]byte, error)
- func (_m *CompassBinding) UpdateValset(opts *bind.TransactOpts, consensus compass.Struct2, newValset compass.Struct0) (*types.Transaction, error)
- func (_m *CompassBinding) WatchLogicCallEvent(opts *bind.WatchOpts, sink chan<- *compass.CompassLogicCallEvent) (event.Subscription, error)
- func (_m *CompassBinding) WatchValsetUpdated(opts *bind.WatchOpts, sink chan<- *compass.CompassValsetUpdated) (event.Subscription, error)
- type PalomaClienter
- func (_m *PalomaClienter) AddMessageEvidence(ctx context.Context, queueTypeName string, messageID uint64, ...) error
- func (_m *PalomaClienter) QueryGetEVMValsetByID(ctx context.Context, id uint64, chainID string) (*types.Valset, error)
- func (_m *PalomaClienter) SetErrorData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
- func (_m *PalomaClienter) SetPublicAccessData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompassBinding ¶ added in v0.11.7
CompassBinding is an autogenerated mock type for the CompassBinding type
func NewCompassBinding ¶ added in v0.11.7
func NewCompassBinding(t interface { mock.TestingT Cleanup(func()) }) *CompassBinding
NewCompassBinding creates a new instance of CompassBinding. 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 (*CompassBinding) FilterLogicCallEvent ¶ added in v0.11.7
func (_m *CompassBinding) FilterLogicCallEvent(opts *bind.FilterOpts) (*compass.CompassLogicCallEventIterator, error)
FilterLogicCallEvent provides a mock function with given fields: opts
func (*CompassBinding) FilterValsetUpdated ¶ added in v0.11.7
func (_m *CompassBinding) FilterValsetUpdated(opts *bind.FilterOpts) (*compass.CompassValsetUpdatedIterator, error)
FilterValsetUpdated provides a mock function with given fields: opts
func (*CompassBinding) LastCheckpoint ¶ added in v0.11.7
func (_m *CompassBinding) LastCheckpoint(opts *bind.CallOpts) ([32]byte, error)
LastCheckpoint provides a mock function with given fields: opts
func (*CompassBinding) LastValsetId ¶ added in v0.11.7
LastValsetId provides a mock function with given fields: opts
func (*CompassBinding) MessageIdUsed ¶ added in v0.11.7
MessageIdUsed provides a mock function with given fields: opts, arg0
func (*CompassBinding) ParseLogicCallEvent ¶ added in v0.11.7
func (_m *CompassBinding) ParseLogicCallEvent(log types.Log) (*compass.CompassLogicCallEvent, error)
ParseLogicCallEvent provides a mock function with given fields: log
func (*CompassBinding) ParseValsetUpdated ¶ added in v0.11.7
func (_m *CompassBinding) ParseValsetUpdated(log types.Log) (*compass.CompassValsetUpdated, error)
ParseValsetUpdated provides a mock function with given fields: log
func (*CompassBinding) SubmitLogicCall ¶ added in v0.11.7
func (_m *CompassBinding) SubmitLogicCall(opts *bind.TransactOpts, consensus compass.Struct2, args compass.Struct3, messageId *big.Int, deadline *big.Int) (*types.Transaction, error)
SubmitLogicCall provides a mock function with given fields: opts, consensus, args, messageId, deadline
func (*CompassBinding) TurnstoneId ¶ added in v0.11.7
func (_m *CompassBinding) TurnstoneId(opts *bind.CallOpts) ([32]byte, error)
TurnstoneId provides a mock function with given fields: opts
func (*CompassBinding) UpdateValset ¶ added in v0.11.7
func (_m *CompassBinding) UpdateValset(opts *bind.TransactOpts, consensus compass.Struct2, newValset compass.Struct0) (*types.Transaction, error)
UpdateValset provides a mock function with given fields: opts, consensus, newValset
func (*CompassBinding) WatchLogicCallEvent ¶ added in v0.11.7
func (_m *CompassBinding) WatchLogicCallEvent(opts *bind.WatchOpts, sink chan<- *compass.CompassLogicCallEvent) (event.Subscription, error)
WatchLogicCallEvent provides a mock function with given fields: opts, sink
func (*CompassBinding) WatchValsetUpdated ¶ added in v0.11.7
func (_m *CompassBinding) WatchValsetUpdated(opts *bind.WatchOpts, sink chan<- *compass.CompassValsetUpdated) (event.Subscription, error)
WatchValsetUpdated provides a mock function with given fields: opts, sink
type PalomaClienter ¶
PalomaClienter is an autogenerated mock type for the PalomaClienter type
func NewPalomaClienter ¶
func NewPalomaClienter(t interface { mock.TestingT Cleanup(func()) }) *PalomaClienter
NewPalomaClienter creates a new instance of PalomaClienter. 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 (*PalomaClienter) AddMessageEvidence ¶
func (_m *PalomaClienter) AddMessageEvidence(ctx context.Context, queueTypeName string, messageID uint64, proof proto.Message) error
AddMessageEvidence provides a mock function with given fields: ctx, queueTypeName, messageID, proof
func (*PalomaClienter) QueryGetEVMValsetByID ¶
func (_m *PalomaClienter) QueryGetEVMValsetByID(ctx context.Context, id uint64, chainID string) (*types.Valset, error)
QueryGetEVMValsetByID provides a mock function with given fields: ctx, id, chainID
func (*PalomaClienter) SetErrorData ¶ added in v1.2.0
func (_m *PalomaClienter) SetErrorData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
SetErrorData provides a mock function with given fields: ctx, queueTypeName, messageID, data
func (*PalomaClienter) SetPublicAccessData ¶
func (_m *PalomaClienter) SetPublicAccessData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
SetPublicAccessData provides a mock function with given fields: ctx, queueTypeName, messageID, data