Documentation ¶
Index ¶
- type IOrigin
- func (_m *IOrigin) Address() common.Address
- func (_m *IOrigin) AllGuards(opts *bind.CallOpts) ([]common.Address, error)
- func (_m *IOrigin) AllNotaries(opts *bind.CallOpts) ([]common.Address, error)
- func (_m *IOrigin) Count(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IOrigin) Dispatch(opts *bind.TransactOpts, _destination uint32, _recipientAddress [32]byte, ...) (*types.Transaction, error)
- func (_m *IOrigin) FilterDispatch(opts *bind.FilterOpts, messageHash [][32]byte, leafIndex []*big.Int, ...) (*origin.OriginDispatchIterator, error)
- func (_m *IOrigin) FilterDomainNotaryAdded(opts *bind.FilterOpts) (*origin.OriginDomainNotaryAddedIterator, error)
- func (_m *IOrigin) FilterDomainNotaryRemoved(opts *bind.FilterOpts) (*origin.OriginDomainNotaryRemovedIterator, error)
- func (_m *IOrigin) FilterGuardAdded(opts *bind.FilterOpts) (*origin.OriginGuardAddedIterator, error)
- func (_m *IOrigin) FilterGuardRemoved(opts *bind.FilterOpts) (*origin.OriginGuardRemovedIterator, error)
- func (_m *IOrigin) FilterImproperAttestation(opts *bind.FilterOpts) (*origin.OriginImproperAttestationIterator, error)
- func (_m *IOrigin) FilterInitialized(opts *bind.FilterOpts) (*origin.OriginInitializedIterator, error)
- func (_m *IOrigin) FilterNewNotaryManager(opts *bind.FilterOpts) (*origin.OriginNewNotaryManagerIterator, error)
- func (_m *IOrigin) FilterNotarySlashed(opts *bind.FilterOpts, notary []common.Address, reporter []common.Address) (*origin.OriginNotarySlashedIterator, error)
- func (_m *IOrigin) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*origin.OriginOwnershipTransferredIterator, error)
- func (_m *IOrigin) GetGuard(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_m *IOrigin) GetNotary(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_m *IOrigin) GuardsAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IOrigin) HistoricalRoots(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- func (_m *IOrigin) ImproperAttestation(opts *bind.TransactOpts, _attestation []byte) (*types.Transaction, error)
- func (_m *IOrigin) Initialize(opts *bind.TransactOpts, _notaryManager common.Address) (*types.Transaction, error)
- func (_m *IOrigin) LocalDomain(opts *bind.CallOpts) (uint32, error)
- func (_m *IOrigin) MAXMESSAGEBODYBYTES(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IOrigin) Nonce(opts *bind.CallOpts) (uint32, error)
- func (_m *IOrigin) NotariesAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IOrigin) NotaryManager(opts *bind.CallOpts) (common.Address, error)
- func (_m *IOrigin) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_m *IOrigin) ParseDispatch(log types.Log) (*origin.OriginDispatch, error)
- func (_m *IOrigin) ParseDomainNotaryAdded(log types.Log) (*origin.OriginDomainNotaryAdded, error)
- func (_m *IOrigin) ParseDomainNotaryRemoved(log types.Log) (*origin.OriginDomainNotaryRemoved, error)
- func (_m *IOrigin) ParseGuardAdded(log types.Log) (*origin.OriginGuardAdded, error)
- func (_m *IOrigin) ParseGuardRemoved(log types.Log) (*origin.OriginGuardRemoved, error)
- func (_m *IOrigin) ParseImproperAttestation(log types.Log) (*origin.OriginImproperAttestation, error)
- func (_m *IOrigin) ParseInitialized(log types.Log) (*origin.OriginInitialized, error)
- func (_m *IOrigin) ParseNewNotaryManager(log types.Log) (*origin.OriginNewNotaryManager, error)
- func (_m *IOrigin) ParseNotarySlashed(log types.Log) (*origin.OriginNotarySlashed, error)
- func (_m *IOrigin) ParseOwnershipTransferred(log types.Log) (*origin.OriginOwnershipTransferred, error)
- func (_m *IOrigin) Parser() origin.Parser
- func (_m *IOrigin) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_m *IOrigin) Root(opts *bind.CallOpts) ([32]byte, error)
- func (_m *IOrigin) SetNotary(opts *bind.TransactOpts, _notary common.Address) (*types.Transaction, error)
- func (_m *IOrigin) SetNotaryManager(opts *bind.TransactOpts, _notaryManager common.Address) (*types.Transaction, error)
- func (_m *IOrigin) SetSystemRouter(opts *bind.TransactOpts, _systemRouter common.Address) (*types.Transaction, error)
- func (_m *IOrigin) State(opts *bind.CallOpts) (uint8, error)
- func (_m *IOrigin) SuggestAttestation(opts *bind.CallOpts) (struct{ ... }, error)
- func (_m *IOrigin) SystemRouter(opts *bind.CallOpts) (common.Address, error)
- func (_m *IOrigin) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_m *IOrigin) Tree(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IOrigin) VERSION(opts *bind.CallOpts) (uint8, error)
- func (_m *IOrigin) WatchDispatch(opts *bind.WatchOpts, sink chan<- *origin.OriginDispatch, ...) (event.Subscription, error)
- func (_m *IOrigin) WatchDomainNotaryAdded(opts *bind.WatchOpts, sink chan<- *origin.OriginDomainNotaryAdded) (event.Subscription, error)
- func (_m *IOrigin) WatchDomainNotaryRemoved(opts *bind.WatchOpts, sink chan<- *origin.OriginDomainNotaryRemoved) (event.Subscription, error)
- func (_m *IOrigin) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *origin.OriginGuardAdded) (event.Subscription, error)
- func (_m *IOrigin) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *origin.OriginGuardRemoved) (event.Subscription, error)
- func (_m *IOrigin) WatchImproperAttestation(opts *bind.WatchOpts, sink chan<- *origin.OriginImproperAttestation) (event.Subscription, error)
- func (_m *IOrigin) WatchInitialized(opts *bind.WatchOpts, sink chan<- *origin.OriginInitialized) (event.Subscription, error)
- func (_m *IOrigin) WatchNewNotaryManager(opts *bind.WatchOpts, sink chan<- *origin.OriginNewNotaryManager) (event.Subscription, error)
- func (_m *IOrigin) WatchNotarySlashed(opts *bind.WatchOpts, sink chan<- *origin.OriginNotarySlashed, ...) (event.Subscription, error)
- func (_m *IOrigin) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *origin.OriginOwnershipTransferred, ...) (event.Subscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOrigin ¶
IOrigin is an autogenerated mock type for the IOrigin type
func (*IOrigin) AllNotaries ¶
AllNotaries provides a mock function with given fields: opts
func (*IOrigin) Dispatch ¶
func (_m *IOrigin) Dispatch(opts *bind.TransactOpts, _destination uint32, _recipientAddress [32]byte, _optimisticSeconds uint32, _tips []byte, _messageBody []byte) (*types.Transaction, error)
Dispatch provides a mock function with given fields: opts, _destination, _recipientAddress, _optimisticSeconds, _tips, _messageBody
func (*IOrigin) FilterDispatch ¶
func (_m *IOrigin) FilterDispatch(opts *bind.FilterOpts, messageHash [][32]byte, leafIndex []*big.Int, destinationAndNonce []uint64) (*origin.OriginDispatchIterator, error)
FilterDispatch provides a mock function with given fields: opts, messageHash, leafIndex, destinationAndNonce
func (*IOrigin) FilterDomainNotaryAdded ¶
func (_m *IOrigin) FilterDomainNotaryAdded(opts *bind.FilterOpts) (*origin.OriginDomainNotaryAddedIterator, error)
FilterDomainNotaryAdded provides a mock function with given fields: opts
func (*IOrigin) FilterDomainNotaryRemoved ¶
func (_m *IOrigin) FilterDomainNotaryRemoved(opts *bind.FilterOpts) (*origin.OriginDomainNotaryRemovedIterator, error)
FilterDomainNotaryRemoved provides a mock function with given fields: opts
func (*IOrigin) FilterGuardAdded ¶
func (_m *IOrigin) FilterGuardAdded(opts *bind.FilterOpts) (*origin.OriginGuardAddedIterator, error)
FilterGuardAdded provides a mock function with given fields: opts
func (*IOrigin) FilterGuardRemoved ¶
func (_m *IOrigin) FilterGuardRemoved(opts *bind.FilterOpts) (*origin.OriginGuardRemovedIterator, error)
FilterGuardRemoved provides a mock function with given fields: opts
func (*IOrigin) FilterImproperAttestation ¶
func (_m *IOrigin) FilterImproperAttestation(opts *bind.FilterOpts) (*origin.OriginImproperAttestationIterator, error)
FilterImproperAttestation provides a mock function with given fields: opts
func (*IOrigin) FilterInitialized ¶
func (_m *IOrigin) FilterInitialized(opts *bind.FilterOpts) (*origin.OriginInitializedIterator, error)
FilterInitialized provides a mock function with given fields: opts
func (*IOrigin) FilterNewNotaryManager ¶
func (_m *IOrigin) FilterNewNotaryManager(opts *bind.FilterOpts) (*origin.OriginNewNotaryManagerIterator, error)
FilterNewNotaryManager provides a mock function with given fields: opts
func (*IOrigin) FilterNotarySlashed ¶
func (_m *IOrigin) FilterNotarySlashed(opts *bind.FilterOpts, notary []common.Address, reporter []common.Address) (*origin.OriginNotarySlashedIterator, error)
FilterNotarySlashed provides a mock function with given fields: opts, notary, reporter
func (*IOrigin) FilterOwnershipTransferred ¶
func (_m *IOrigin) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*origin.OriginOwnershipTransferredIterator, error)
FilterOwnershipTransferred provides a mock function with given fields: opts, previousOwner, newOwner
func (*IOrigin) GuardsAmount ¶
GuardsAmount provides a mock function with given fields: opts
func (*IOrigin) HistoricalRoots ¶
HistoricalRoots provides a mock function with given fields: opts, arg0
func (*IOrigin) ImproperAttestation ¶
func (_m *IOrigin) ImproperAttestation(opts *bind.TransactOpts, _attestation []byte) (*types.Transaction, error)
ImproperAttestation provides a mock function with given fields: opts, _attestation
func (*IOrigin) Initialize ¶
func (_m *IOrigin) Initialize(opts *bind.TransactOpts, _notaryManager common.Address) (*types.Transaction, error)
Initialize provides a mock function with given fields: opts, _notaryManager
func (*IOrigin) LocalDomain ¶
LocalDomain provides a mock function with given fields: opts
func (*IOrigin) MAXMESSAGEBODYBYTES ¶
MAXMESSAGEBODYBYTES provides a mock function with given fields: opts
func (*IOrigin) NotariesAmount ¶
NotariesAmount provides a mock function with given fields: opts
func (*IOrigin) NotaryManager ¶
NotaryManager provides a mock function with given fields: opts
func (*IOrigin) ParseDispatch ¶
ParseDispatch provides a mock function with given fields: log
func (*IOrigin) ParseDomainNotaryAdded ¶
ParseDomainNotaryAdded provides a mock function with given fields: log
func (*IOrigin) ParseDomainNotaryRemoved ¶
func (_m *IOrigin) ParseDomainNotaryRemoved(log types.Log) (*origin.OriginDomainNotaryRemoved, error)
ParseDomainNotaryRemoved provides a mock function with given fields: log
func (*IOrigin) ParseGuardAdded ¶
ParseGuardAdded provides a mock function with given fields: log
func (*IOrigin) ParseGuardRemoved ¶
ParseGuardRemoved provides a mock function with given fields: log
func (*IOrigin) ParseImproperAttestation ¶
func (_m *IOrigin) ParseImproperAttestation(log types.Log) (*origin.OriginImproperAttestation, error)
ParseImproperAttestation provides a mock function with given fields: log
func (*IOrigin) ParseInitialized ¶
ParseInitialized provides a mock function with given fields: log
func (*IOrigin) ParseNewNotaryManager ¶
ParseNewNotaryManager provides a mock function with given fields: log
func (*IOrigin) ParseNotarySlashed ¶
ParseNotarySlashed provides a mock function with given fields: log
func (*IOrigin) ParseOwnershipTransferred ¶
func (_m *IOrigin) ParseOwnershipTransferred(log types.Log) (*origin.OriginOwnershipTransferred, error)
ParseOwnershipTransferred provides a mock function with given fields: log
func (*IOrigin) RenounceOwnership ¶
func (_m *IOrigin) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership provides a mock function with given fields: opts
func (*IOrigin) SetNotary ¶
func (_m *IOrigin) SetNotary(opts *bind.TransactOpts, _notary common.Address) (*types.Transaction, error)
SetNotary provides a mock function with given fields: opts, _notary
func (*IOrigin) SetNotaryManager ¶
func (_m *IOrigin) SetNotaryManager(opts *bind.TransactOpts, _notaryManager common.Address) (*types.Transaction, error)
SetNotaryManager provides a mock function with given fields: opts, _notaryManager
func (*IOrigin) SetSystemRouter ¶ added in v0.0.4
func (_m *IOrigin) SetSystemRouter(opts *bind.TransactOpts, _systemRouter common.Address) (*types.Transaction, error)
SetSystemRouter provides a mock function with given fields: opts, _systemRouter
func (*IOrigin) SuggestAttestation ¶
func (_m *IOrigin) SuggestAttestation(opts *bind.CallOpts) (struct { Nonce uint32 Root [32]byte }, error)
SuggestAttestation provides a mock function with given fields: opts
func (*IOrigin) SystemRouter ¶ added in v0.0.4
SystemRouter provides a mock function with given fields: opts
func (*IOrigin) TransferOwnership ¶
func (_m *IOrigin) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership provides a mock function with given fields: opts, newOwner
func (*IOrigin) WatchDispatch ¶
func (_m *IOrigin) WatchDispatch(opts *bind.WatchOpts, sink chan<- *origin.OriginDispatch, messageHash [][32]byte, leafIndex []*big.Int, destinationAndNonce []uint64) (event.Subscription, error)
WatchDispatch provides a mock function with given fields: opts, sink, messageHash, leafIndex, destinationAndNonce
func (*IOrigin) WatchDomainNotaryAdded ¶
func (_m *IOrigin) WatchDomainNotaryAdded(opts *bind.WatchOpts, sink chan<- *origin.OriginDomainNotaryAdded) (event.Subscription, error)
WatchDomainNotaryAdded provides a mock function with given fields: opts, sink
func (*IOrigin) WatchDomainNotaryRemoved ¶
func (_m *IOrigin) WatchDomainNotaryRemoved(opts *bind.WatchOpts, sink chan<- *origin.OriginDomainNotaryRemoved) (event.Subscription, error)
WatchDomainNotaryRemoved provides a mock function with given fields: opts, sink
func (*IOrigin) WatchGuardAdded ¶
func (_m *IOrigin) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *origin.OriginGuardAdded) (event.Subscription, error)
WatchGuardAdded provides a mock function with given fields: opts, sink
func (*IOrigin) WatchGuardRemoved ¶
func (_m *IOrigin) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *origin.OriginGuardRemoved) (event.Subscription, error)
WatchGuardRemoved provides a mock function with given fields: opts, sink
func (*IOrigin) WatchImproperAttestation ¶
func (_m *IOrigin) WatchImproperAttestation(opts *bind.WatchOpts, sink chan<- *origin.OriginImproperAttestation) (event.Subscription, error)
WatchImproperAttestation provides a mock function with given fields: opts, sink
func (*IOrigin) WatchInitialized ¶
func (_m *IOrigin) WatchInitialized(opts *bind.WatchOpts, sink chan<- *origin.OriginInitialized) (event.Subscription, error)
WatchInitialized provides a mock function with given fields: opts, sink
func (*IOrigin) WatchNewNotaryManager ¶
func (_m *IOrigin) WatchNewNotaryManager(opts *bind.WatchOpts, sink chan<- *origin.OriginNewNotaryManager) (event.Subscription, error)
WatchNewNotaryManager provides a mock function with given fields: opts, sink
func (*IOrigin) WatchNotarySlashed ¶
func (_m *IOrigin) WatchNotarySlashed(opts *bind.WatchOpts, sink chan<- *origin.OriginNotarySlashed, notary []common.Address, reporter []common.Address) (event.Subscription, error)
WatchNotarySlashed provides a mock function with given fields: opts, sink, notary, reporter
func (*IOrigin) WatchOwnershipTransferred ¶
func (_m *IOrigin) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *origin.OriginOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred provides a mock function with given fields: opts, sink, previousOwner, newOwner