Documentation ¶
Index ¶
- type IOrigin
- func (_m *IOrigin) Address() common.Address
- func (_m *IOrigin) AgentManager(opts *bind.CallOpts) (common.Address, error)
- func (_m *IOrigin) AgentStatus(opts *bind.CallOpts, agent common.Address) (origin.AgentStatus, error)
- func (_m *IOrigin) FilterInitialized(opts *bind.FilterOpts) (*origin.OriginInitializedIterator, error)
- func (_m *IOrigin) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*origin.OriginOwnershipTransferredIterator, error)
- func (_m *IOrigin) FilterSent(opts *bind.FilterOpts, messageHash [][32]byte, nonce []uint32, ...) (*origin.OriginSentIterator, error)
- func (_m *IOrigin) FilterStateSaved(opts *bind.FilterOpts) (*origin.OriginStateSavedIterator, error)
- func (_m *IOrigin) GasOracle(opts *bind.CallOpts) (common.Address, error)
- func (_m *IOrigin) GetAgent(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_m *IOrigin) GetMinimumTipsValue(opts *bind.CallOpts, destination uint32, paddedRequest *big.Int, ...) (*big.Int, error)
- func (_m *IOrigin) Inbox(opts *bind.CallOpts) (common.Address, error)
- func (_m *IOrigin) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_m *IOrigin) IsValidState(opts *bind.CallOpts, statePayload []byte) (bool, error)
- func (_m *IOrigin) LocalDomain(opts *bind.CallOpts) (uint32, error)
- func (_m *IOrigin) Multicall(opts *bind.TransactOpts, calls []origin.MultiCallableCall) (*types.Transaction, error)
- func (_m *IOrigin) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_m *IOrigin) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_m *IOrigin) ParseInitialized(log types.Log) (*origin.OriginInitialized, error)
- func (_m *IOrigin) ParseOwnershipTransferred(log types.Log) (*origin.OriginOwnershipTransferred, error)
- func (_m *IOrigin) ParseSent(log types.Log) (*origin.OriginSent, error)
- func (_m *IOrigin) ParseStateSaved(log types.Log) (*origin.OriginStateSaved, error)
- func (_m *IOrigin) Parser() origin.Parser
- func (_m *IOrigin) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_m *IOrigin) ResolveDispute(opts *bind.TransactOpts, slashedIndex uint32, honestIndex uint32) (*types.Transaction, error)
- func (_m *IOrigin) SendBaseMessage(opts *bind.TransactOpts, destination uint32, recipient [32]byte, ...) (*types.Transaction, error)
- func (_m *IOrigin) SendManagerMessage(opts *bind.TransactOpts, destination uint32, optimisticPeriod uint32, ...) (*types.Transaction, error)
- func (_m *IOrigin) StatesAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_m *IOrigin) SuggestLatestState(opts *bind.CallOpts) ([]byte, error)
- func (_m *IOrigin) SuggestState(opts *bind.CallOpts, nonce uint32) ([]byte, error)
- func (_m *IOrigin) SynapseDomain(opts *bind.CallOpts) (uint32, error)
- func (_m *IOrigin) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_m *IOrigin) Version(opts *bind.CallOpts) (string, error)
- func (_m *IOrigin) WatchInitialized(opts *bind.WatchOpts, sink chan<- *origin.OriginInitialized) (event.Subscription, error)
- func (_m *IOrigin) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *origin.OriginOwnershipTransferred, ...) (event.Subscription, error)
- func (_m *IOrigin) WatchSent(opts *bind.WatchOpts, sink chan<- *origin.OriginSent, messageHash [][32]byte, ...) (event.Subscription, error)
- func (_m *IOrigin) WatchStateSaved(opts *bind.WatchOpts, sink chan<- *origin.OriginStateSaved) (event.Subscription, error)
- func (_m *IOrigin) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, 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 NewIOrigin ¶ added in v0.0.7
func NewIOrigin(t mockConstructorTestingTNewIOrigin) *IOrigin
NewIOrigin creates a new instance of IOrigin. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IOrigin) AgentManager ¶ added in v0.0.171
AgentManager provides a mock function with given fields: opts
func (*IOrigin) AgentStatus ¶ added in v0.0.171
func (_m *IOrigin) AgentStatus(opts *bind.CallOpts, agent common.Address) (origin.AgentStatus, error)
AgentStatus provides a mock function with given fields: opts, agent
func (*IOrigin) FilterInitialized ¶
func (_m *IOrigin) FilterInitialized(opts *bind.FilterOpts) (*origin.OriginInitializedIterator, error)
FilterInitialized provides a mock function with given fields: opts
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) FilterSent ¶ added in v0.0.171
func (_m *IOrigin) FilterSent(opts *bind.FilterOpts, messageHash [][32]byte, nonce []uint32, destination []uint32) (*origin.OriginSentIterator, error)
FilterSent provides a mock function with given fields: opts, messageHash, nonce, destination
func (*IOrigin) FilterStateSaved ¶ added in v0.0.130
func (_m *IOrigin) FilterStateSaved(opts *bind.FilterOpts) (*origin.OriginStateSavedIterator, error)
FilterStateSaved provides a mock function with given fields: opts
func (*IOrigin) GasOracle ¶ added in v0.0.171
GasOracle provides a mock function with given fields: opts
func (*IOrigin) GetAgent ¶ added in v0.0.43
func (_m *IOrigin) GetAgent(opts *bind.CallOpts, index *big.Int) (struct { Agent common.Address Status origin.AgentStatus }, error)
GetAgent provides a mock function with given fields: opts, index
func (*IOrigin) GetMinimumTipsValue ¶ added in v0.0.171
func (_m *IOrigin) GetMinimumTipsValue(opts *bind.CallOpts, destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)
GetMinimumTipsValue provides a mock function with given fields: opts, destination, paddedRequest, contentLength
func (*IOrigin) Initialize ¶
func (_m *IOrigin) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize provides a mock function with given fields: opts
func (*IOrigin) IsValidState ¶ added in v0.0.130
IsValidState provides a mock function with given fields: opts, statePayload
func (*IOrigin) LocalDomain ¶
LocalDomain provides a mock function with given fields: opts
func (*IOrigin) Multicall ¶ added in v0.0.171
func (_m *IOrigin) Multicall(opts *bind.TransactOpts, calls []origin.MultiCallableCall) (*types.Transaction, error)
Multicall provides a mock function with given fields: opts, calls
func (*IOrigin) OpenDispute ¶ added in v0.0.171
func (_m *IOrigin) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute provides a mock function with given fields: opts, guardIndex, notaryIndex
func (*IOrigin) ParseInitialized ¶
ParseInitialized 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) ParseSent ¶ added in v0.0.171
ParseSent provides a mock function with given fields: log
func (*IOrigin) ParseStateSaved ¶ added in v0.0.130
ParseStateSaved 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) ResolveDispute ¶ added in v0.0.171
func (_m *IOrigin) ResolveDispute(opts *bind.TransactOpts, slashedIndex uint32, honestIndex uint32) (*types.Transaction, error)
ResolveDispute provides a mock function with given fields: opts, slashedIndex, honestIndex
func (*IOrigin) SendBaseMessage ¶ added in v0.0.171
func (_m *IOrigin) SendBaseMessage(opts *bind.TransactOpts, destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)
SendBaseMessage provides a mock function with given fields: opts, destination, recipient, optimisticPeriod, paddedRequest, content
func (*IOrigin) SendManagerMessage ¶ added in v0.0.171
func (_m *IOrigin) SendManagerMessage(opts *bind.TransactOpts, destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)
SendManagerMessage provides a mock function with given fields: opts, destination, optimisticPeriod, payload
func (*IOrigin) StatesAmount ¶ added in v0.0.130
StatesAmount provides a mock function with given fields: opts
func (*IOrigin) SuggestLatestState ¶ added in v0.0.130
SuggestLatestState provides a mock function with given fields: opts
func (*IOrigin) SuggestState ¶ added in v0.0.130
SuggestState provides a mock function with given fields: opts, nonce
func (*IOrigin) SynapseDomain ¶ added in v0.0.237
SynapseDomain 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) 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) 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
func (*IOrigin) WatchSent ¶ added in v0.0.171
func (_m *IOrigin) WatchSent(opts *bind.WatchOpts, sink chan<- *origin.OriginSent, messageHash [][32]byte, nonce []uint32, destination []uint32) (event.Subscription, error)
WatchSent provides a mock function with given fields: opts, sink, messageHash, nonce, destination
func (*IOrigin) WatchStateSaved ¶ added in v0.0.130
func (_m *IOrigin) WatchStateSaved(opts *bind.WatchOpts, sink chan<- *origin.OriginStateSaved) (event.Subscription, error)
WatchStateSaved provides a mock function with given fields: opts, sink
func (*IOrigin) WithdrawTips ¶ added in v0.0.171
func (_m *IOrigin) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawTips provides a mock function with given fields: opts, recipient, amount