mocks

package
v0.13.5 Latest Latest
Warning

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

Go to latest
Published: May 31, 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 IInbox

type IInbox struct {
	mock.Mock
}

IInbox is an autogenerated mock type for the IInbox type

func NewIInbox

func NewIInbox(t mockConstructorTestingTNewIInbox) *IInbox

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

func (*IInbox) AcceptOwnership added in v0.1.0

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

AcceptOwnership provides a mock function with given fields: opts

func (*IInbox) Address

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

Address provides a mock function with given fields:

func (*IInbox) AgentManager

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

AgentManager provides a mock function with given fields: opts

func (*IInbox) Destination

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

Destination provides a mock function with given fields: opts

func (*IInbox) FilterAttestationAccepted

func (_m *IInbox) FilterAttestationAccepted(opts *bind.FilterOpts) (*inbox.InboxAttestationAcceptedIterator, error)

FilterAttestationAccepted provides a mock function with given fields: opts

func (*IInbox) FilterInitialized

func (_m *IInbox) FilterInitialized(opts *bind.FilterOpts) (*inbox.InboxInitializedIterator, error)

FilterInitialized provides a mock function with given fields: opts

func (*IInbox) FilterInvalidAttestation

func (_m *IInbox) FilterInvalidAttestation(opts *bind.FilterOpts) (*inbox.InboxInvalidAttestationIterator, error)

FilterInvalidAttestation provides a mock function with given fields: opts

func (*IInbox) FilterInvalidAttestationReport

func (_m *IInbox) FilterInvalidAttestationReport(opts *bind.FilterOpts) (*inbox.InboxInvalidAttestationReportIterator, error)

FilterInvalidAttestationReport provides a mock function with given fields: opts

func (*IInbox) FilterInvalidReceipt

func (_m *IInbox) FilterInvalidReceipt(opts *bind.FilterOpts) (*inbox.InboxInvalidReceiptIterator, error)

FilterInvalidReceipt provides a mock function with given fields: opts

func (*IInbox) FilterInvalidReceiptReport

func (_m *IInbox) FilterInvalidReceiptReport(opts *bind.FilterOpts) (*inbox.InboxInvalidReceiptReportIterator, error)

FilterInvalidReceiptReport provides a mock function with given fields: opts

func (*IInbox) FilterInvalidStateReport

func (_m *IInbox) FilterInvalidStateReport(opts *bind.FilterOpts) (*inbox.InboxInvalidStateReportIterator, error)

FilterInvalidStateReport provides a mock function with given fields: opts

func (*IInbox) FilterInvalidStateWithAttestation

func (_m *IInbox) FilterInvalidStateWithAttestation(opts *bind.FilterOpts) (*inbox.InboxInvalidStateWithAttestationIterator, error)

FilterInvalidStateWithAttestation provides a mock function with given fields: opts

func (*IInbox) FilterInvalidStateWithSnapshot

func (_m *IInbox) FilterInvalidStateWithSnapshot(opts *bind.FilterOpts) (*inbox.InboxInvalidStateWithSnapshotIterator, error)

FilterInvalidStateWithSnapshot provides a mock function with given fields: opts

func (*IInbox) FilterOwnershipTransferStarted added in v0.1.0

func (_m *IInbox) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*inbox.InboxOwnershipTransferStartedIterator, error)

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

func (*IInbox) FilterOwnershipTransferred

func (_m *IInbox) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*inbox.InboxOwnershipTransferredIterator, error)

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

func (*IInbox) FilterReceiptAccepted

func (_m *IInbox) FilterReceiptAccepted(opts *bind.FilterOpts) (*inbox.InboxReceiptAcceptedIterator, error)

FilterReceiptAccepted provides a mock function with given fields: opts

func (*IInbox) FilterSnapshotAccepted

func (_m *IInbox) FilterSnapshotAccepted(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*inbox.InboxSnapshotAcceptedIterator, error)

FilterSnapshotAccepted provides a mock function with given fields: opts, domain, agent

func (*IInbox) GetGuardReport

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

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

func (*IInbox) GetReportsAmount

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

GetReportsAmount provides a mock function with given fields: opts

func (*IInbox) GetStoredSignature

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

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

func (*IInbox) Initialize

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

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

func (*IInbox) LocalDomain

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

LocalDomain provides a mock function with given fields: opts

func (*IInbox) Multicall

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

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

func (*IInbox) Origin

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

Origin provides a mock function with given fields: opts

func (*IInbox) Owner

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

Owner provides a mock function with given fields: opts

func (*IInbox) ParseAttestationAccepted

func (_m *IInbox) ParseAttestationAccepted(log types.Log) (*inbox.InboxAttestationAccepted, error)

ParseAttestationAccepted provides a mock function with given fields: log

func (*IInbox) ParseInitialized

func (_m *IInbox) ParseInitialized(log types.Log) (*inbox.InboxInitialized, error)

ParseInitialized provides a mock function with given fields: log

func (*IInbox) ParseInvalidAttestation

func (_m *IInbox) ParseInvalidAttestation(log types.Log) (*inbox.InboxInvalidAttestation, error)

ParseInvalidAttestation provides a mock function with given fields: log

func (*IInbox) ParseInvalidAttestationReport

func (_m *IInbox) ParseInvalidAttestationReport(log types.Log) (*inbox.InboxInvalidAttestationReport, error)

ParseInvalidAttestationReport provides a mock function with given fields: log

func (*IInbox) ParseInvalidReceipt

func (_m *IInbox) ParseInvalidReceipt(log types.Log) (*inbox.InboxInvalidReceipt, error)

ParseInvalidReceipt provides a mock function with given fields: log

func (*IInbox) ParseInvalidReceiptReport

func (_m *IInbox) ParseInvalidReceiptReport(log types.Log) (*inbox.InboxInvalidReceiptReport, error)

ParseInvalidReceiptReport provides a mock function with given fields: log

func (*IInbox) ParseInvalidStateReport

func (_m *IInbox) ParseInvalidStateReport(log types.Log) (*inbox.InboxInvalidStateReport, error)

ParseInvalidStateReport provides a mock function with given fields: log

func (*IInbox) ParseInvalidStateWithAttestation

func (_m *IInbox) ParseInvalidStateWithAttestation(log types.Log) (*inbox.InboxInvalidStateWithAttestation, error)

ParseInvalidStateWithAttestation provides a mock function with given fields: log

func (*IInbox) ParseInvalidStateWithSnapshot

func (_m *IInbox) ParseInvalidStateWithSnapshot(log types.Log) (*inbox.InboxInvalidStateWithSnapshot, error)

ParseInvalidStateWithSnapshot provides a mock function with given fields: log

func (*IInbox) ParseOwnershipTransferStarted added in v0.1.0

func (_m *IInbox) ParseOwnershipTransferStarted(log types.Log) (*inbox.InboxOwnershipTransferStarted, error)

ParseOwnershipTransferStarted provides a mock function with given fields: log

func (*IInbox) ParseOwnershipTransferred

func (_m *IInbox) ParseOwnershipTransferred(log types.Log) (*inbox.InboxOwnershipTransferred, error)

ParseOwnershipTransferred provides a mock function with given fields: log

func (*IInbox) ParseReceiptAccepted

func (_m *IInbox) ParseReceiptAccepted(log types.Log) (*inbox.InboxReceiptAccepted, error)

ParseReceiptAccepted provides a mock function with given fields: log

func (*IInbox) ParseSnapshotAccepted

func (_m *IInbox) ParseSnapshotAccepted(log types.Log) (*inbox.InboxSnapshotAccepted, error)

ParseSnapshotAccepted provides a mock function with given fields: log

func (*IInbox) PassReceipt

func (_m *IInbox) PassReceipt(opts *bind.TransactOpts, attNotaryIndex uint32, attNonce uint32, paddedTips *big.Int, rcptPayload []byte) (*types.Transaction, error)

PassReceipt provides a mock function with given fields: opts, attNotaryIndex, attNonce, paddedTips, rcptPayload

func (*IInbox) PendingOwner added in v0.1.0

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

PendingOwner provides a mock function with given fields: opts

func (*IInbox) RenounceOwnership

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

RenounceOwnership provides a mock function with given fields: opts

func (*IInbox) SubmitReceipt

func (_m *IInbox) SubmitReceipt(opts *bind.TransactOpts, rcptPayload []byte, rcptSignature []byte, paddedTips *big.Int, headerHash [32]byte, bodyHash [32]byte) (*types.Transaction, error)

SubmitReceipt provides a mock function with given fields: opts, rcptPayload, rcptSignature, paddedTips, headerHash, bodyHash

func (*IInbox) SubmitReceiptReport

func (_m *IInbox) SubmitReceiptReport(opts *bind.TransactOpts, rcptPayload []byte, rcptSignature []byte, rrSignature []byte) (*types.Transaction, error)

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

func (*IInbox) SubmitSnapshot

func (_m *IInbox) SubmitSnapshot(opts *bind.TransactOpts, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

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

func (*IInbox) SubmitStateReportWithAttestation

func (_m *IInbox) 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 (*IInbox) SubmitStateReportWithSnapshot

func (_m *IInbox) 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 (*IInbox) SubmitStateReportWithSnapshotProof

func (_m *IInbox) 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 (*IInbox) Summit

func (_m *IInbox) Summit(opts *bind.CallOpts) (common.Address, error)

Summit provides a mock function with given fields: opts

func (*IInbox) SynapseDomain added in v0.0.237

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

SynapseDomain provides a mock function with given fields: opts

func (*IInbox) TransferOwnership

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

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

func (*IInbox) VerifyAttestation

func (_m *IInbox) VerifyAttestation(opts *bind.TransactOpts, attPayload []byte, attSignature []byte) (*types.Transaction, error)

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

func (*IInbox) VerifyAttestationReport

func (_m *IInbox) VerifyAttestationReport(opts *bind.TransactOpts, attPayload []byte, arSignature []byte) (*types.Transaction, error)

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

func (*IInbox) VerifyReceipt

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

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

func (*IInbox) VerifyReceiptReport

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

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

func (*IInbox) VerifyStateReport

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

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

func (*IInbox) VerifyStateWithAttestation

func (_m *IInbox) 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 (*IInbox) VerifyStateWithSnapshot

func (_m *IInbox) 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 (*IInbox) VerifyStateWithSnapshotProof

func (_m *IInbox) 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 (*IInbox) Version

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

Version provides a mock function with given fields: opts

func (*IInbox) WatchAttestationAccepted

func (_m *IInbox) WatchAttestationAccepted(opts *bind.WatchOpts, sink chan<- *inbox.InboxAttestationAccepted) (event.Subscription, error)

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

func (*IInbox) WatchInitialized

func (_m *IInbox) WatchInitialized(opts *bind.WatchOpts, sink chan<- *inbox.InboxInitialized) (event.Subscription, error)

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

func (*IInbox) WatchInvalidAttestation

func (_m *IInbox) WatchInvalidAttestation(opts *bind.WatchOpts, sink chan<- *inbox.InboxInvalidAttestation) (event.Subscription, error)

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

func (*IInbox) WatchInvalidAttestationReport

func (_m *IInbox) WatchInvalidAttestationReport(opts *bind.WatchOpts, sink chan<- *inbox.InboxInvalidAttestationReport) (event.Subscription, error)

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

func (*IInbox) WatchInvalidReceipt

func (_m *IInbox) WatchInvalidReceipt(opts *bind.WatchOpts, sink chan<- *inbox.InboxInvalidReceipt) (event.Subscription, error)

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

func (*IInbox) WatchInvalidReceiptReport

func (_m *IInbox) WatchInvalidReceiptReport(opts *bind.WatchOpts, sink chan<- *inbox.InboxInvalidReceiptReport) (event.Subscription, error)

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

func (*IInbox) WatchInvalidStateReport

func (_m *IInbox) WatchInvalidStateReport(opts *bind.WatchOpts, sink chan<- *inbox.InboxInvalidStateReport) (event.Subscription, error)

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

func (*IInbox) WatchInvalidStateWithAttestation

func (_m *IInbox) WatchInvalidStateWithAttestation(opts *bind.WatchOpts, sink chan<- *inbox.InboxInvalidStateWithAttestation) (event.Subscription, error)

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

func (*IInbox) WatchInvalidStateWithSnapshot

func (_m *IInbox) WatchInvalidStateWithSnapshot(opts *bind.WatchOpts, sink chan<- *inbox.InboxInvalidStateWithSnapshot) (event.Subscription, error)

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

func (*IInbox) WatchOwnershipTransferStarted added in v0.1.0

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

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

func (*IInbox) WatchOwnershipTransferred

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

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

func (*IInbox) WatchReceiptAccepted

func (_m *IInbox) WatchReceiptAccepted(opts *bind.WatchOpts, sink chan<- *inbox.InboxReceiptAccepted) (event.Subscription, error)

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

func (*IInbox) WatchSnapshotAccepted

func (_m *IInbox) WatchSnapshotAccepted(opts *bind.WatchOpts, sink chan<- *inbox.InboxSnapshotAccepted, domain []uint32, agent []common.Address) (event.Subscription, error)

WatchSnapshotAccepted provides a mock function with given fields: opts, sink, domain, agent

Jump to

Keyboard shortcuts

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