mocks

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILightInbox

type ILightInbox struct {
	mock.Mock
}

ILightInbox is an autogenerated mock type for the ILightInbox type

func NewILightInbox

func NewILightInbox(t mockConstructorTestingTNewILightInbox) *ILightInbox

NewILightInbox creates a new instance of ILightInbox. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ILightInbox) AcceptOwnership added in v0.1.0

func (_m *ILightInbox) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership provides a mock function with given fields: opts

func (*ILightInbox) Address

func (_m *ILightInbox) Address() common.Address

Address provides a mock function with given fields:

func (*ILightInbox) AgentManager

func (_m *ILightInbox) AgentManager(opts *bind.CallOpts) (common.Address, error)

AgentManager provides a mock function with given fields: opts

func (*ILightInbox) Destination

func (_m *ILightInbox) Destination(opts *bind.CallOpts) (common.Address, error)

Destination provides a mock function with given fields: opts

func (*ILightInbox) FilterAttestationAccepted

func (_m *ILightInbox) FilterAttestationAccepted(opts *bind.FilterOpts) (*lightinbox.LightInboxAttestationAcceptedIterator, error)

FilterAttestationAccepted provides a mock function with given fields: opts

func (*ILightInbox) FilterInitialized

func (_m *ILightInbox) FilterInitialized(opts *bind.FilterOpts) (*lightinbox.LightInboxInitializedIterator, error)

FilterInitialized provides a mock function with given fields: opts

func (*ILightInbox) FilterInvalidReceipt

func (_m *ILightInbox) FilterInvalidReceipt(opts *bind.FilterOpts) (*lightinbox.LightInboxInvalidReceiptIterator, error)

FilterInvalidReceipt provides a mock function with given fields: opts

func (*ILightInbox) FilterInvalidReceiptReport

func (_m *ILightInbox) FilterInvalidReceiptReport(opts *bind.FilterOpts) (*lightinbox.LightInboxInvalidReceiptReportIterator, error)

FilterInvalidReceiptReport provides a mock function with given fields: opts

func (*ILightInbox) FilterInvalidStateReport

func (_m *ILightInbox) FilterInvalidStateReport(opts *bind.FilterOpts) (*lightinbox.LightInboxInvalidStateReportIterator, error)

FilterInvalidStateReport provides a mock function with given fields: opts

func (*ILightInbox) FilterInvalidStateWithAttestation

func (_m *ILightInbox) FilterInvalidStateWithAttestation(opts *bind.FilterOpts) (*lightinbox.LightInboxInvalidStateWithAttestationIterator, error)

FilterInvalidStateWithAttestation provides a mock function with given fields: opts

func (*ILightInbox) FilterInvalidStateWithSnapshot

func (_m *ILightInbox) FilterInvalidStateWithSnapshot(opts *bind.FilterOpts) (*lightinbox.LightInboxInvalidStateWithSnapshotIterator, error)

FilterInvalidStateWithSnapshot provides a mock function with given fields: opts

func (*ILightInbox) FilterOwnershipTransferStarted added in v0.1.0

func (_m *ILightInbox) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*lightinbox.LightInboxOwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted provides a mock function with given fields: opts, previousOwner, newOwner

func (*ILightInbox) FilterOwnershipTransferred

func (_m *ILightInbox) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*lightinbox.LightInboxOwnershipTransferredIterator, error)

FilterOwnershipTransferred provides a mock function with given fields: opts, previousOwner, newOwner

func (*ILightInbox) GetGuardReport

func (_m *ILightInbox) GetGuardReport(opts *bind.CallOpts, index *big.Int) (struct {
	StatementPayload []byte
	ReportSignature  []byte
}, error)

GetGuardReport provides a mock function with given fields: opts, index

func (*ILightInbox) GetReportsAmount

func (_m *ILightInbox) GetReportsAmount(opts *bind.CallOpts) (*big.Int, error)

GetReportsAmount provides a mock function with given fields: opts

func (*ILightInbox) GetStoredSignature

func (_m *ILightInbox) GetStoredSignature(opts *bind.CallOpts, index *big.Int) ([]byte, error)

GetStoredSignature provides a mock function with given fields: opts, index

func (*ILightInbox) Initialize

func (_m *ILightInbox) Initialize(opts *bind.TransactOpts, agentManager_ common.Address, origin_ common.Address, destination_ common.Address) (*types.Transaction, error)

Initialize provides a mock function with given fields: opts, agentManager_, origin_, destination_

func (*ILightInbox) LocalDomain

func (_m *ILightInbox) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain provides a mock function with given fields: opts

func (*ILightInbox) Multicall

func (_m *ILightInbox) Multicall(opts *bind.TransactOpts, calls []lightinbox.MultiCallableCall) (*types.Transaction, error)

Multicall provides a mock function with given fields: opts, calls

func (*ILightInbox) Origin

func (_m *ILightInbox) Origin(opts *bind.CallOpts) (common.Address, error)

Origin provides a mock function with given fields: opts

func (*ILightInbox) Owner

func (_m *ILightInbox) Owner(opts *bind.CallOpts) (common.Address, error)

Owner provides a mock function with given fields: opts

func (*ILightInbox) ParseAttestationAccepted

func (_m *ILightInbox) ParseAttestationAccepted(log types.Log) (*lightinbox.LightInboxAttestationAccepted, error)

ParseAttestationAccepted provides a mock function with given fields: log

func (*ILightInbox) ParseInitialized

func (_m *ILightInbox) ParseInitialized(log types.Log) (*lightinbox.LightInboxInitialized, error)

ParseInitialized provides a mock function with given fields: log

func (*ILightInbox) ParseInvalidReceipt

func (_m *ILightInbox) ParseInvalidReceipt(log types.Log) (*lightinbox.LightInboxInvalidReceipt, error)

ParseInvalidReceipt provides a mock function with given fields: log

func (*ILightInbox) ParseInvalidReceiptReport

func (_m *ILightInbox) ParseInvalidReceiptReport(log types.Log) (*lightinbox.LightInboxInvalidReceiptReport, error)

ParseInvalidReceiptReport provides a mock function with given fields: log

func (*ILightInbox) ParseInvalidStateReport

func (_m *ILightInbox) ParseInvalidStateReport(log types.Log) (*lightinbox.LightInboxInvalidStateReport, error)

ParseInvalidStateReport provides a mock function with given fields: log

func (*ILightInbox) ParseInvalidStateWithAttestation

func (_m *ILightInbox) ParseInvalidStateWithAttestation(log types.Log) (*lightinbox.LightInboxInvalidStateWithAttestation, error)

ParseInvalidStateWithAttestation provides a mock function with given fields: log

func (*ILightInbox) ParseInvalidStateWithSnapshot

func (_m *ILightInbox) ParseInvalidStateWithSnapshot(log types.Log) (*lightinbox.LightInboxInvalidStateWithSnapshot, error)

ParseInvalidStateWithSnapshot provides a mock function with given fields: log

func (*ILightInbox) ParseOwnershipTransferStarted added in v0.1.0

func (_m *ILightInbox) ParseOwnershipTransferStarted(log types.Log) (*lightinbox.LightInboxOwnershipTransferStarted, error)

ParseOwnershipTransferStarted provides a mock function with given fields: log

func (*ILightInbox) ParseOwnershipTransferred

func (_m *ILightInbox) ParseOwnershipTransferred(log types.Log) (*lightinbox.LightInboxOwnershipTransferred, error)

ParseOwnershipTransferred provides a mock function with given fields: log

func (*ILightInbox) PendingOwner added in v0.1.0

func (_m *ILightInbox) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner provides a mock function with given fields: opts

func (*ILightInbox) RenounceOwnership

func (_m *ILightInbox) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership provides a mock function with given fields: opts

func (*ILightInbox) SubmitAttestation

func (_m *ILightInbox) SubmitAttestation(opts *bind.TransactOpts, attPayload []byte, attSignature []byte, agentRoot_ [32]byte, snapGas_ []*big.Int) (*types.Transaction, error)

SubmitAttestation provides a mock function with given fields: opts, attPayload, attSignature, agentRoot_, snapGas_

func (*ILightInbox) SubmitAttestationReport

func (_m *ILightInbox) SubmitAttestationReport(opts *bind.TransactOpts, attPayload []byte, arSignature []byte, attSignature []byte) (*types.Transaction, error)

SubmitAttestationReport provides a mock function with given fields: opts, attPayload, arSignature, attSignature

func (*ILightInbox) SubmitStateReportWithAttestation

func (_m *ILightInbox) SubmitStateReportWithAttestation(opts *bind.TransactOpts, stateIndex uint8, srSignature []byte, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

SubmitStateReportWithAttestation provides a mock function with given fields: opts, stateIndex, srSignature, snapPayload, attPayload, attSignature

func (*ILightInbox) SubmitStateReportWithSnapshot

func (_m *ILightInbox) SubmitStateReportWithSnapshot(opts *bind.TransactOpts, stateIndex uint8, srSignature []byte, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

SubmitStateReportWithSnapshot provides a mock function with given fields: opts, stateIndex, srSignature, snapPayload, snapSignature

func (*ILightInbox) SubmitStateReportWithSnapshotProof

func (_m *ILightInbox) SubmitStateReportWithSnapshotProof(opts *bind.TransactOpts, stateIndex uint8, statePayload []byte, srSignature []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

SubmitStateReportWithSnapshotProof provides a mock function with given fields: opts, stateIndex, statePayload, srSignature, snapProof, attPayload, attSignature

func (*ILightInbox) SynapseDomain added in v0.0.237

func (_m *ILightInbox) SynapseDomain(opts *bind.CallOpts) (uint32, error)

SynapseDomain provides a mock function with given fields: opts

func (*ILightInbox) TransferOwnership

func (_m *ILightInbox) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership provides a mock function with given fields: opts, newOwner

func (*ILightInbox) VerifyReceipt

func (_m *ILightInbox) VerifyReceipt(opts *bind.TransactOpts, rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)

VerifyReceipt provides a mock function with given fields: opts, rcptPayload, rcptSignature

func (*ILightInbox) VerifyReceiptReport

func (_m *ILightInbox) VerifyReceiptReport(opts *bind.TransactOpts, rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)

VerifyReceiptReport provides a mock function with given fields: opts, rcptPayload, rrSignature

func (*ILightInbox) VerifyStateReport

func (_m *ILightInbox) VerifyStateReport(opts *bind.TransactOpts, statePayload []byte, srSignature []byte) (*types.Transaction, error)

VerifyStateReport provides a mock function with given fields: opts, statePayload, srSignature

func (*ILightInbox) VerifyStateWithAttestation

func (_m *ILightInbox) VerifyStateWithAttestation(opts *bind.TransactOpts, stateIndex uint8, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

VerifyStateWithAttestation provides a mock function with given fields: opts, stateIndex, snapPayload, attPayload, attSignature

func (*ILightInbox) VerifyStateWithSnapshot

func (_m *ILightInbox) VerifyStateWithSnapshot(opts *bind.TransactOpts, stateIndex uint8, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

VerifyStateWithSnapshot provides a mock function with given fields: opts, stateIndex, snapPayload, snapSignature

func (*ILightInbox) VerifyStateWithSnapshotProof

func (_m *ILightInbox) VerifyStateWithSnapshotProof(opts *bind.TransactOpts, stateIndex uint8, statePayload []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

VerifyStateWithSnapshotProof provides a mock function with given fields: opts, stateIndex, statePayload, snapProof, attPayload, attSignature

func (*ILightInbox) Version

func (_m *ILightInbox) Version(opts *bind.CallOpts) (string, error)

Version provides a mock function with given fields: opts

func (*ILightInbox) WatchAttestationAccepted

func (_m *ILightInbox) WatchAttestationAccepted(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxAttestationAccepted) (event.Subscription, error)

WatchAttestationAccepted provides a mock function with given fields: opts, sink

func (*ILightInbox) WatchInitialized

func (_m *ILightInbox) WatchInitialized(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxInitialized) (event.Subscription, error)

WatchInitialized provides a mock function with given fields: opts, sink

func (*ILightInbox) WatchInvalidReceipt

func (_m *ILightInbox) WatchInvalidReceipt(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxInvalidReceipt) (event.Subscription, error)

WatchInvalidReceipt provides a mock function with given fields: opts, sink

func (*ILightInbox) WatchInvalidReceiptReport

func (_m *ILightInbox) WatchInvalidReceiptReport(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxInvalidReceiptReport) (event.Subscription, error)

WatchInvalidReceiptReport provides a mock function with given fields: opts, sink

func (*ILightInbox) WatchInvalidStateReport

func (_m *ILightInbox) WatchInvalidStateReport(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxInvalidStateReport) (event.Subscription, error)

WatchInvalidStateReport provides a mock function with given fields: opts, sink

func (*ILightInbox) WatchInvalidStateWithAttestation

func (_m *ILightInbox) WatchInvalidStateWithAttestation(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxInvalidStateWithAttestation) (event.Subscription, error)

WatchInvalidStateWithAttestation provides a mock function with given fields: opts, sink

func (*ILightInbox) WatchInvalidStateWithSnapshot

func (_m *ILightInbox) WatchInvalidStateWithSnapshot(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxInvalidStateWithSnapshot) (event.Subscription, error)

WatchInvalidStateWithSnapshot provides a mock function with given fields: opts, sink

func (*ILightInbox) WatchOwnershipTransferStarted added in v0.1.0

func (_m *ILightInbox) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted provides a mock function with given fields: opts, sink, previousOwner, newOwner

func (*ILightInbox) WatchOwnershipTransferred

func (_m *ILightInbox) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *lightinbox.LightInboxOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred provides a mock function with given fields: opts, sink, previousOwner, newOwner

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL