Documentation ¶
Overview ¶
Package lightmanagerharness generates abi data for contract LightManagerHarness.t.sol
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type AddressUpgradeable
- type AddressUpgradeableCaller
- type AddressUpgradeableCallerRaw
- type AddressUpgradeableCallerSession
- type AddressUpgradeableFilterer
- type AddressUpgradeableRaw
- func (_AddressUpgradeable *AddressUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AddressUpgradeable *AddressUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AddressUpgradeable *AddressUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AddressUpgradeableSession
- type AddressUpgradeableTransactor
- type AddressUpgradeableTransactorRaw
- type AddressUpgradeableTransactorSession
- type AgentManager
- type AgentManagerCaller
- func (_AgentManager *AgentManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_AgentManager *AgentManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
- func (_AgentManager *AgentManagerCaller) Destination(opts *bind.CallOpts) (common.Address, error)
- func (_AgentManager *AgentManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct{ ... }, error)
- func (_AgentManager *AgentManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_AgentManager *AgentManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_AgentManager *AgentManagerCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_AgentManager *AgentManagerCaller) Inbox(opts *bind.CallOpts) (common.Address, error)
- func (_AgentManager *AgentManagerCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
- func (_AgentManager *AgentManagerCaller) Origin(opts *bind.CallOpts) (common.Address, error)
- func (_AgentManager *AgentManagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_AgentManager *AgentManagerCaller) Version(opts *bind.CallOpts) (string, error)
- type AgentManagerCallerRaw
- type AgentManagerCallerSession
- func (_AgentManager *AgentManagerCallerSession) AgentRoot() ([32]byte, error)
- func (_AgentManager *AgentManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_AgentManager *AgentManagerCallerSession) Destination() (common.Address, error)
- func (_AgentManager *AgentManagerCallerSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_AgentManager *AgentManagerCallerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_AgentManager *AgentManagerCallerSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_AgentManager *AgentManagerCallerSession) GetDisputesAmount() (*big.Int, error)
- func (_AgentManager *AgentManagerCallerSession) Inbox() (common.Address, error)
- func (_AgentManager *AgentManagerCallerSession) LocalDomain() (uint32, error)
- func (_AgentManager *AgentManagerCallerSession) Origin() (common.Address, error)
- func (_AgentManager *AgentManagerCallerSession) Owner() (common.Address, error)
- func (_AgentManager *AgentManagerCallerSession) Version() (string, error)
- type AgentManagerDisputeOpened
- type AgentManagerDisputeOpenedIterator
- type AgentManagerDisputeResolved
- type AgentManagerDisputeResolvedIterator
- type AgentManagerEvents
- type AgentManagerEventsCaller
- type AgentManagerEventsCallerRaw
- type AgentManagerEventsCallerSession
- type AgentManagerEventsDisputeOpened
- type AgentManagerEventsDisputeOpenedIterator
- type AgentManagerEventsDisputeResolved
- type AgentManagerEventsDisputeResolvedIterator
- type AgentManagerEventsFilterer
- func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerEventsDisputeOpenedIterator, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerEventsDisputeResolvedIterator, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerEventsRootUpdatedIterator, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerEventsStatusUpdatedIterator, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerEventsDisputeOpened, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerEventsDisputeResolved, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseRootUpdated(log types.Log) (*AgentManagerEventsRootUpdated, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerEventsStatusUpdated, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsDisputeOpened) (event.Subscription, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsDisputeResolved) (event.Subscription, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsRootUpdated) (event.Subscription, error)
- func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsStatusUpdated, ...) (event.Subscription, error)
- type AgentManagerEventsRaw
- func (_AgentManagerEvents *AgentManagerEventsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AgentManagerEvents *AgentManagerEventsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AgentManagerEvents *AgentManagerEventsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentManagerEventsRootUpdated
- type AgentManagerEventsRootUpdatedIterator
- type AgentManagerEventsSession
- type AgentManagerEventsStatusUpdated
- type AgentManagerEventsStatusUpdatedIterator
- type AgentManagerEventsTransactor
- type AgentManagerEventsTransactorRaw
- type AgentManagerEventsTransactorSession
- type AgentManagerFilterer
- func (_AgentManager *AgentManagerFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerDisputeOpenedIterator, error)
- func (_AgentManager *AgentManagerFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerDisputeResolvedIterator, error)
- func (_AgentManager *AgentManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*AgentManagerInitializedIterator, error)
- func (_AgentManager *AgentManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*AgentManagerOwnershipTransferredIterator, error)
- func (_AgentManager *AgentManagerFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerRootUpdatedIterator, error)
- func (_AgentManager *AgentManagerFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerStatusUpdatedIterator, error)
- func (_AgentManager *AgentManagerFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerDisputeOpened, error)
- func (_AgentManager *AgentManagerFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerDisputeResolved, error)
- func (_AgentManager *AgentManagerFilterer) ParseInitialized(log types.Log) (*AgentManagerInitialized, error)
- func (_AgentManager *AgentManagerFilterer) ParseOwnershipTransferred(log types.Log) (*AgentManagerOwnershipTransferred, error)
- func (_AgentManager *AgentManagerFilterer) ParseRootUpdated(log types.Log) (*AgentManagerRootUpdated, error)
- func (_AgentManager *AgentManagerFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerStatusUpdated, error)
- func (_AgentManager *AgentManagerFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerDisputeOpened) (event.Subscription, error)
- func (_AgentManager *AgentManagerFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerDisputeResolved) (event.Subscription, error)
- func (_AgentManager *AgentManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AgentManagerInitialized) (event.Subscription, error)
- func (_AgentManager *AgentManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AgentManagerOwnershipTransferred, ...) (event.Subscription, error)
- func (_AgentManager *AgentManagerFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerRootUpdated) (event.Subscription, error)
- func (_AgentManager *AgentManagerFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerStatusUpdated, domain []uint32, ...) (event.Subscription, error)
- type AgentManagerHarness
- type AgentManagerHarnessCaller
- func (_AgentManagerHarness *AgentManagerHarnessCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) Destination(opts *bind.CallOpts) (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) Inbox(opts *bind.CallOpts) (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) Origin(opts *bind.CallOpts) (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) RemoteMockFunc(opts *bind.CallOpts, arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFunc(opts *bind.CallOpts, arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFuncOver32Bytes(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFuncVoid(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
- func (_AgentManagerHarness *AgentManagerHarnessCaller) Version(opts *bind.CallOpts) (string, error)
- type AgentManagerHarnessCallerRaw
- type AgentManagerHarnessCallerSession
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) AgentRoot() ([32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Destination() (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetDisputesAmount() (*big.Int, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Inbox() (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) LocalDomain() (uint32, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Origin() (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Owner() (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
- func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Version() (string, error)
- type AgentManagerHarnessDisputeOpened
- type AgentManagerHarnessDisputeOpenedIterator
- type AgentManagerHarnessDisputeResolved
- type AgentManagerHarnessDisputeResolvedIterator
- type AgentManagerHarnessFilterer
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerHarnessDisputeOpenedIterator, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerHarnessDisputeResolvedIterator, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterInitialized(opts *bind.FilterOpts) (*AgentManagerHarnessInitializedIterator, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*AgentManagerHarnessOwnershipTransferredIterator, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerHarnessRootUpdatedIterator, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerHarnessStatusUpdatedIterator, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerHarnessDisputeOpened, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerHarnessDisputeResolved, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseInitialized(log types.Log) (*AgentManagerHarnessInitialized, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseOwnershipTransferred(log types.Log) (*AgentManagerHarnessOwnershipTransferred, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseRootUpdated(log types.Log) (*AgentManagerHarnessRootUpdated, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerHarnessStatusUpdated, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessDisputeOpened) (event.Subscription, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessDisputeResolved) (event.Subscription, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessInitialized) (event.Subscription, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessOwnershipTransferred, ...) (event.Subscription, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessRootUpdated) (event.Subscription, error)
- func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessStatusUpdated, ...) (event.Subscription, error)
- type AgentManagerHarnessInitialized
- type AgentManagerHarnessInitializedIterator
- type AgentManagerHarnessOwnershipTransferred
- type AgentManagerHarnessOwnershipTransferredIterator
- type AgentManagerHarnessRaw
- func (_AgentManagerHarness *AgentManagerHarnessRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AgentManagerHarness *AgentManagerHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentManagerHarnessRootUpdated
- type AgentManagerHarnessRootUpdatedIterator
- type AgentManagerHarnessSession
- func (_AgentManagerHarness *AgentManagerHarnessSession) AgentRoot() ([32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) Destination() (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) GetDisputesAmount() (*big.Int, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) Inbox() (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) LocalDomain() (uint32, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) Origin() (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) Owner() (common.Address, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) RenounceOwnership() (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
- func (_AgentManagerHarness *AgentManagerHarnessSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessSession) Version() (string, error)
- type AgentManagerHarnessStatusUpdated
- type AgentManagerHarnessStatusUpdatedIterator
- type AgentManagerHarnessTransactor
- func (_AgentManagerHarness *AgentManagerHarnessTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactor) SlashAgentExposed(opts *bind.TransactOpts, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type AgentManagerHarnessTransactorRaw
- type AgentManagerHarnessTransactorSession
- func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type AgentManagerInitialized
- type AgentManagerInitializedIterator
- type AgentManagerOwnershipTransferred
- type AgentManagerOwnershipTransferredIterator
- type AgentManagerRaw
- func (_AgentManager *AgentManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AgentManager *AgentManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AgentManager *AgentManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AgentManagerRootUpdated
- type AgentManagerRootUpdatedIterator
- type AgentManagerSession
- func (_AgentManager *AgentManagerSession) AgentRoot() ([32]byte, error)
- func (_AgentManager *AgentManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_AgentManager *AgentManagerSession) Destination() (common.Address, error)
- func (_AgentManager *AgentManagerSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_AgentManager *AgentManagerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_AgentManager *AgentManagerSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_AgentManager *AgentManagerSession) GetDisputesAmount() (*big.Int, error)
- func (_AgentManager *AgentManagerSession) Inbox() (common.Address, error)
- func (_AgentManager *AgentManagerSession) LocalDomain() (uint32, error)
- func (_AgentManager *AgentManagerSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_AgentManager *AgentManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_AgentManager *AgentManagerSession) Origin() (common.Address, error)
- func (_AgentManager *AgentManagerSession) Owner() (common.Address, error)
- func (_AgentManager *AgentManagerSession) RenounceOwnership() (*types.Transaction, error)
- func (_AgentManager *AgentManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_AgentManager *AgentManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_AgentManager *AgentManagerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_AgentManager *AgentManagerSession) Version() (string, error)
- type AgentManagerStatusUpdated
- type AgentManagerStatusUpdatedIterator
- type AgentManagerTransactor
- func (_AgentManager *AgentManagerTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type AgentManagerTransactorRaw
- type AgentManagerTransactorSession
- func (_AgentManager *AgentManagerTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_AgentManager *AgentManagerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type AgentStatus
- type ContextUpgradeable
- type ContextUpgradeableCaller
- type ContextUpgradeableCallerRaw
- type ContextUpgradeableCallerSession
- type ContextUpgradeableFilterer
- func (_ContextUpgradeable *ContextUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContextUpgradeableInitializedIterator, error)
- func (_ContextUpgradeable *ContextUpgradeableFilterer) ParseInitialized(log types.Log) (*ContextUpgradeableInitialized, error)
- func (_ContextUpgradeable *ContextUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContextUpgradeableInitialized) (event.Subscription, error)
- type ContextUpgradeableInitialized
- type ContextUpgradeableInitializedIterator
- type ContextUpgradeableRaw
- func (_ContextUpgradeable *ContextUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ContextUpgradeable *ContextUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ContextUpgradeable *ContextUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContextUpgradeableSession
- type ContextUpgradeableTransactor
- type ContextUpgradeableTransactorRaw
- type ContextUpgradeableTransactorSession
- type GasDataLib
- type GasDataLibCaller
- type GasDataLibCallerRaw
- type GasDataLibCallerSession
- type GasDataLibFilterer
- type GasDataLibRaw
- func (_GasDataLib *GasDataLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GasDataLib *GasDataLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GasDataLib *GasDataLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GasDataLibSession
- type GasDataLibTransactor
- type GasDataLibTransactorRaw
- type GasDataLibTransactorSession
- type IAgentManager
- type IAgentManagerCaller
- func (_IAgentManager *IAgentManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_IAgentManager *IAgentManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
- func (_IAgentManager *IAgentManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)
- type IAgentManagerCallerRaw
- type IAgentManagerCallerSession
- func (_IAgentManager *IAgentManagerCallerSession) AgentRoot() ([32]byte, error)
- func (_IAgentManager *IAgentManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_IAgentManager *IAgentManagerCallerSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerCallerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerCallerSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerCallerSession) GetDisputesAmount() (*big.Int, error)
- type IAgentManagerFilterer
- type IAgentManagerRaw
- func (_IAgentManager *IAgentManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IAgentManager *IAgentManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IAgentManager *IAgentManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IAgentManagerSession
- func (_IAgentManager *IAgentManagerSession) AgentRoot() ([32]byte, error)
- func (_IAgentManager *IAgentManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_IAgentManager *IAgentManagerSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_IAgentManager *IAgentManagerSession) GetDisputesAmount() (*big.Int, error)
- func (_IAgentManager *IAgentManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_IAgentManager *IAgentManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_IAgentManager *IAgentManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- type IAgentManagerTransactor
- func (_IAgentManager *IAgentManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_IAgentManager *IAgentManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_IAgentManager *IAgentManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- type IAgentManagerTransactorRaw
- type IAgentManagerTransactorSession
- func (_IAgentManager *IAgentManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_IAgentManager *IAgentManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_IAgentManager *IAgentManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- type IAgentSecured
- type IAgentSecuredCaller
- func (_IAgentSecured *IAgentSecuredCaller) AgentManager(opts *bind.CallOpts) (common.Address, error)
- func (_IAgentSecured *IAgentSecuredCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
- func (_IAgentSecured *IAgentSecuredCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_IAgentSecured *IAgentSecuredCaller) Inbox(opts *bind.CallOpts) (common.Address, error)
- type IAgentSecuredCallerRaw
- type IAgentSecuredCallerSession
- func (_IAgentSecured *IAgentSecuredCallerSession) AgentManager() (common.Address, error)
- func (_IAgentSecured *IAgentSecuredCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_IAgentSecured *IAgentSecuredCallerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_IAgentSecured *IAgentSecuredCallerSession) Inbox() (common.Address, error)
- type IAgentSecuredFilterer
- type IAgentSecuredRaw
- func (_IAgentSecured *IAgentSecuredRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IAgentSecured *IAgentSecuredRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IAgentSecured *IAgentSecuredRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IAgentSecuredSession
- func (_IAgentSecured *IAgentSecuredSession) AgentManager() (common.Address, error)
- func (_IAgentSecured *IAgentSecuredSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_IAgentSecured *IAgentSecuredSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_IAgentSecured *IAgentSecuredSession) Inbox() (common.Address, error)
- func (_IAgentSecured *IAgentSecuredSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_IAgentSecured *IAgentSecuredSession) ResolveDispute(slashedIndex uint32, rivalIndex uint32) (*types.Transaction, error)
- type IAgentSecuredTransactor
- func (_IAgentSecured *IAgentSecuredTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_IAgentSecured *IAgentSecuredTransactor) ResolveDispute(opts *bind.TransactOpts, slashedIndex uint32, rivalIndex uint32) (*types.Transaction, error)
- type IAgentSecuredTransactorRaw
- type IAgentSecuredTransactorSession
- type IStatementInbox
- type IStatementInboxCaller
- func (_IStatementInbox *IStatementInboxCaller) GetGuardReport(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_IStatementInbox *IStatementInboxCaller) GetReportsAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_IStatementInbox *IStatementInboxCaller) GetStoredSignature(opts *bind.CallOpts, index *big.Int) ([]byte, error)
- type IStatementInboxCallerRaw
- type IStatementInboxCallerSession
- func (_IStatementInbox *IStatementInboxCallerSession) GetGuardReport(index *big.Int) (struct{ ... }, error)
- func (_IStatementInbox *IStatementInboxCallerSession) GetReportsAmount() (*big.Int, error)
- func (_IStatementInbox *IStatementInboxCallerSession) GetStoredSignature(index *big.Int) ([]byte, error)
- type IStatementInboxFilterer
- type IStatementInboxRaw
- func (_IStatementInbox *IStatementInboxRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IStatementInbox *IStatementInboxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IStatementInboxSession
- func (_IStatementInbox *IStatementInboxSession) GetGuardReport(index *big.Int) (struct{ ... }, error)
- func (_IStatementInbox *IStatementInboxSession) GetReportsAmount() (*big.Int, error)
- func (_IStatementInbox *IStatementInboxSession) GetStoredSignature(index *big.Int) ([]byte, error)
- func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithAttestation(stateIndex *big.Int, srSignature []byte, snapPayload []byte, attPayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithSnapshot(stateIndex *big.Int, srSignature []byte, snapPayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithSnapshotProof(stateIndex *big.Int, statePayload []byte, srSignature []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxSession) VerifyReceipt(rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxSession) VerifyReceiptReport(rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxSession) VerifyStateReport(statePayload []byte, srSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxSession) VerifyStateWithAttestation(stateIndex *big.Int, snapPayload []byte, attPayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxSession) VerifyStateWithSnapshot(stateIndex *big.Int, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxSession) VerifyStateWithSnapshotProof(stateIndex *big.Int, statePayload []byte, snapProof [][32]byte, ...) (*types.Transaction, error)
- type IStatementInboxTransactor
- func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithAttestation(opts *bind.TransactOpts, stateIndex *big.Int, srSignature []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithSnapshot(opts *bind.TransactOpts, stateIndex *big.Int, srSignature []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithSnapshotProof(opts *bind.TransactOpts, stateIndex *big.Int, statePayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactor) VerifyReceipt(opts *bind.TransactOpts, rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactor) VerifyReceiptReport(opts *bind.TransactOpts, rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactor) VerifyStateReport(opts *bind.TransactOpts, statePayload []byte, srSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithAttestation(opts *bind.TransactOpts, stateIndex *big.Int, snapPayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithSnapshot(opts *bind.TransactOpts, stateIndex *big.Int, snapPayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithSnapshotProof(opts *bind.TransactOpts, stateIndex *big.Int, statePayload []byte, ...) (*types.Transaction, error)
- type IStatementInboxTransactorRaw
- type IStatementInboxTransactorSession
- func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithAttestation(stateIndex *big.Int, srSignature []byte, snapPayload []byte, attPayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithSnapshot(stateIndex *big.Int, srSignature []byte, snapPayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithSnapshotProof(stateIndex *big.Int, statePayload []byte, srSignature []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactorSession) VerifyReceipt(rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactorSession) VerifyReceiptReport(rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateReport(statePayload []byte, srSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithAttestation(stateIndex *big.Int, snapPayload []byte, attPayload []byte, ...) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithSnapshot(stateIndex *big.Int, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)
- func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithSnapshotProof(stateIndex *big.Int, statePayload []byte, snapProof [][32]byte, ...) (*types.Transaction, error)
- type Initializable
- type InitializableCaller
- type InitializableCallerRaw
- type InitializableCallerSession
- type InitializableFilterer
- func (_Initializable *InitializableFilterer) FilterInitialized(opts *bind.FilterOpts) (*InitializableInitializedIterator, error)
- func (_Initializable *InitializableFilterer) ParseInitialized(log types.Log) (*InitializableInitialized, error)
- func (_Initializable *InitializableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *InitializableInitialized) (event.Subscription, error)
- type InitializableInitialized
- type InitializableInitializedIterator
- type InitializableRaw
- func (_Initializable *InitializableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Initializable *InitializableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Initializable *InitializableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InitializableSession
- type InitializableTransactor
- type InitializableTransactorRaw
- type InitializableTransactorSession
- type InterfaceBondingManager
- type InterfaceBondingManagerCaller
- func (_InterfaceBondingManager *InterfaceBondingManagerCaller) AgentLeaf(opts *bind.CallOpts, agent common.Address) ([32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCaller) AllLeafs(opts *bind.CallOpts) ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetActiveAgents(opts *bind.CallOpts, domain uint32) ([]common.Address, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetLeafs(opts *bind.CallOpts, indexFrom *big.Int, amount *big.Int) ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetProof(opts *bind.CallOpts, agent common.Address) ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCaller) LeafsAmount(opts *bind.CallOpts) (*big.Int, error)
- type InterfaceBondingManagerCallerRaw
- type InterfaceBondingManagerCallerSession
- func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) AgentLeaf(agent common.Address) ([32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) AllLeafs() ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetActiveAgents(domain uint32) ([]common.Address, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetProof(agent common.Address) ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) LeafsAmount() (*big.Int, error)
- type InterfaceBondingManagerFilterer
- type InterfaceBondingManagerRaw
- func (_InterfaceBondingManager *InterfaceBondingManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterfaceBondingManager *InterfaceBondingManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterfaceBondingManagerSession
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) AgentLeaf(agent common.Address) ([32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) AllLeafs() ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetActiveAgents(domain uint32) ([]common.Address, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetProof(agent common.Address) ([][32]byte, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) LeafsAmount() (*big.Int, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerSession) WithdrawTips(recipient common.Address, origin uint32, amount *big.Int) (*types.Transaction, error)
- type InterfaceBondingManagerTransactor
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) AddAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) CompleteSlashing(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) CompleteUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) InitiateUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) RemoteSlashAgent(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, ...) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, origin uint32, ...) (*types.Transaction, error)
- type InterfaceBondingManagerTransactorRaw
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterfaceBondingManagerTransactorSession
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) WithdrawTips(recipient common.Address, origin uint32, amount *big.Int) (*types.Transaction, error)
- type InterfaceDestination
- type InterfaceDestinationCaller
- func (_InterfaceDestination *InterfaceDestinationCaller) AttestationsAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_InterfaceDestination *InterfaceDestinationCaller) DestStatus(opts *bind.CallOpts) (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationCaller) GetAttestation(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationCaller) GetGasData(opts *bind.CallOpts, domain uint32) (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationCaller) NextAgentRoot(opts *bind.CallOpts) ([32]byte, error)
- type InterfaceDestinationCallerRaw
- type InterfaceDestinationCallerSession
- func (_InterfaceDestination *InterfaceDestinationCallerSession) AttestationsAmount() (*big.Int, error)
- func (_InterfaceDestination *InterfaceDestinationCallerSession) DestStatus() (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationCallerSession) GetAttestation(index *big.Int) (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationCallerSession) GetGasData(domain uint32) (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationCallerSession) NextAgentRoot() ([32]byte, error)
- type InterfaceDestinationFilterer
- type InterfaceDestinationRaw
- func (_InterfaceDestination *InterfaceDestinationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterfaceDestination *InterfaceDestinationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterfaceDestination *InterfaceDestinationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterfaceDestinationSession
- func (_InterfaceDestination *InterfaceDestinationSession) AcceptAttestation(notaryIndex uint32, sigIndex *big.Int, attPayload []byte, agentRoot [32]byte, ...) (*types.Transaction, error)
- func (_InterfaceDestination *InterfaceDestinationSession) AttestationsAmount() (*big.Int, error)
- func (_InterfaceDestination *InterfaceDestinationSession) DestStatus() (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationSession) GetAttestation(index *big.Int) (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationSession) GetGasData(domain uint32) (struct{ ... }, error)
- func (_InterfaceDestination *InterfaceDestinationSession) NextAgentRoot() ([32]byte, error)
- func (_InterfaceDestination *InterfaceDestinationSession) PassAgentRoot() (*types.Transaction, error)
- type InterfaceDestinationTransactor
- func (_InterfaceDestination *InterfaceDestinationTransactor) AcceptAttestation(opts *bind.TransactOpts, notaryIndex uint32, sigIndex *big.Int, ...) (*types.Transaction, error)
- func (_InterfaceDestination *InterfaceDestinationTransactor) PassAgentRoot(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterfaceDestinationTransactorRaw
- type InterfaceDestinationTransactorSession
- func (_InterfaceDestination *InterfaceDestinationTransactorSession) AcceptAttestation(notaryIndex uint32, sigIndex *big.Int, attPayload []byte, agentRoot [32]byte, ...) (*types.Transaction, error)
- func (_InterfaceDestination *InterfaceDestinationTransactorSession) PassAgentRoot() (*types.Transaction, error)
- type InterfaceLightManager
- type InterfaceLightManagerCaller
- type InterfaceLightManagerCallerRaw
- type InterfaceLightManagerCallerSession
- type InterfaceLightManagerFilterer
- type InterfaceLightManagerRaw
- func (_InterfaceLightManager *InterfaceLightManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterfaceLightManager *InterfaceLightManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterfaceLightManager *InterfaceLightManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterfaceLightManagerSession
- func (_InterfaceLightManager *InterfaceLightManagerSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_InterfaceLightManager *InterfaceLightManagerSession) SetAgentRoot(agentRoot [32]byte) (*types.Transaction, error)
- func (_InterfaceLightManager *InterfaceLightManagerSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
- type InterfaceLightManagerTransactor
- func (_InterfaceLightManager *InterfaceLightManagerTransactor) RemoteWithdrawTips(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, ...) (*types.Transaction, error)
- func (_InterfaceLightManager *InterfaceLightManagerTransactor) SetAgentRoot(opts *bind.TransactOpts, agentRoot [32]byte) (*types.Transaction, error)
- func (_InterfaceLightManager *InterfaceLightManagerTransactor) UpdateAgentStatus(opts *bind.TransactOpts, agent common.Address, status AgentStatus, ...) (*types.Transaction, error)
- type InterfaceLightManagerTransactorRaw
- type InterfaceLightManagerTransactorSession
- func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) SetAgentRoot(agentRoot [32]byte) (*types.Transaction, error)
- func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
- type InterfaceOrigin
- type InterfaceOriginCaller
- type InterfaceOriginCallerRaw
- type InterfaceOriginCallerSession
- type InterfaceOriginFilterer
- type InterfaceOriginRaw
- func (_InterfaceOrigin *InterfaceOriginRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InterfaceOrigin *InterfaceOriginRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InterfaceOriginSession
- func (_InterfaceOrigin *InterfaceOriginSession) GetMinimumTipsValue(destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)
- func (_InterfaceOrigin *InterfaceOriginSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, ...) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type InterfaceOriginTransactor
- func (_InterfaceOrigin *InterfaceOriginTransactor) SendBaseMessage(opts *bind.TransactOpts, destination uint32, recipient [32]byte, ...) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginTransactor) SendManagerMessage(opts *bind.TransactOpts, destination uint32, optimisticPeriod uint32, ...) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type InterfaceOriginTransactorRaw
- type InterfaceOriginTransactorSession
- func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, ...) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)
- func (_InterfaceOrigin *InterfaceOriginTransactorSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type LightManager
- type LightManagerCaller
- func (_LightManager *LightManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_LightManager *LightManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
- func (_LightManager *LightManagerCaller) Destination(opts *bind.CallOpts) (common.Address, error)
- func (_LightManager *LightManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct{ ... }, error)
- func (_LightManager *LightManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_LightManager *LightManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_LightManager *LightManagerCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_LightManager *LightManagerCaller) Inbox(opts *bind.CallOpts) (common.Address, error)
- func (_LightManager *LightManagerCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
- func (_LightManager *LightManagerCaller) Origin(opts *bind.CallOpts) (common.Address, error)
- func (_LightManager *LightManagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LightManager *LightManagerCaller) Version(opts *bind.CallOpts) (string, error)
- type LightManagerCallerRaw
- type LightManagerCallerSession
- func (_LightManager *LightManagerCallerSession) AgentRoot() ([32]byte, error)
- func (_LightManager *LightManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_LightManager *LightManagerCallerSession) Destination() (common.Address, error)
- func (_LightManager *LightManagerCallerSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_LightManager *LightManagerCallerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_LightManager *LightManagerCallerSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_LightManager *LightManagerCallerSession) GetDisputesAmount() (*big.Int, error)
- func (_LightManager *LightManagerCallerSession) Inbox() (common.Address, error)
- func (_LightManager *LightManagerCallerSession) LocalDomain() (uint32, error)
- func (_LightManager *LightManagerCallerSession) Origin() (common.Address, error)
- func (_LightManager *LightManagerCallerSession) Owner() (common.Address, error)
- func (_LightManager *LightManagerCallerSession) Version() (string, error)
- type LightManagerDisputeOpened
- type LightManagerDisputeOpenedIterator
- type LightManagerDisputeResolved
- type LightManagerDisputeResolvedIterator
- type LightManagerFilterer
- func (_LightManager *LightManagerFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*LightManagerDisputeOpenedIterator, error)
- func (_LightManager *LightManagerFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*LightManagerDisputeResolvedIterator, error)
- func (_LightManager *LightManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*LightManagerInitializedIterator, error)
- func (_LightManager *LightManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LightManagerOwnershipTransferredIterator, error)
- func (_LightManager *LightManagerFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*LightManagerRootUpdatedIterator, error)
- func (_LightManager *LightManagerFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*LightManagerStatusUpdatedIterator, error)
- func (_LightManager *LightManagerFilterer) ParseDisputeOpened(log types.Log) (*LightManagerDisputeOpened, error)
- func (_LightManager *LightManagerFilterer) ParseDisputeResolved(log types.Log) (*LightManagerDisputeResolved, error)
- func (_LightManager *LightManagerFilterer) ParseInitialized(log types.Log) (*LightManagerInitialized, error)
- func (_LightManager *LightManagerFilterer) ParseOwnershipTransferred(log types.Log) (*LightManagerOwnershipTransferred, error)
- func (_LightManager *LightManagerFilterer) ParseRootUpdated(log types.Log) (*LightManagerRootUpdated, error)
- func (_LightManager *LightManagerFilterer) ParseStatusUpdated(log types.Log) (*LightManagerStatusUpdated, error)
- func (_LightManager *LightManagerFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *LightManagerDisputeOpened) (event.Subscription, error)
- func (_LightManager *LightManagerFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *LightManagerDisputeResolved) (event.Subscription, error)
- func (_LightManager *LightManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightManagerInitialized) (event.Subscription, error)
- func (_LightManager *LightManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LightManagerOwnershipTransferred, ...) (event.Subscription, error)
- func (_LightManager *LightManagerFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *LightManagerRootUpdated) (event.Subscription, error)
- func (_LightManager *LightManagerFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *LightManagerStatusUpdated, domain []uint32, ...) (event.Subscription, error)
- type LightManagerHarness
- type LightManagerHarnessCaller
- func (_LightManagerHarness *LightManagerHarnessCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) Destination(opts *bind.CallOpts) (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) Inbox(opts *bind.CallOpts) (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) Origin(opts *bind.CallOpts) (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) RemoteMockFunc(opts *bind.CallOpts, arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) SensitiveMockFunc(opts *bind.CallOpts, arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) SensitiveMockFuncOver32Bytes(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessCaller) SensitiveMockFuncVoid(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
- func (_LightManagerHarness *LightManagerHarnessCaller) Version(opts *bind.CallOpts) (string, error)
- type LightManagerHarnessCallerRaw
- type LightManagerHarnessCallerSession
- func (_LightManagerHarness *LightManagerHarnessCallerSession) AgentRoot() ([32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) Destination() (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) GetDisputesAmount() (*big.Int, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) Inbox() (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) LocalDomain() (uint32, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) Origin() (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) Owner() (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessCallerSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
- func (_LightManagerHarness *LightManagerHarnessCallerSession) Version() (string, error)
- type LightManagerHarnessDisputeOpened
- type LightManagerHarnessDisputeOpenedIterator
- type LightManagerHarnessDisputeResolved
- type LightManagerHarnessDisputeResolvedIterator
- type LightManagerHarnessFilterer
- func (_LightManagerHarness *LightManagerHarnessFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*LightManagerHarnessDisputeOpenedIterator, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*LightManagerHarnessDisputeResolvedIterator, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) FilterInitialized(opts *bind.FilterOpts) (*LightManagerHarnessInitializedIterator, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LightManagerHarnessOwnershipTransferredIterator, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*LightManagerHarnessRootUpdatedIterator, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*LightManagerHarnessStatusUpdatedIterator, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) ParseDisputeOpened(log types.Log) (*LightManagerHarnessDisputeOpened, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) ParseDisputeResolved(log types.Log) (*LightManagerHarnessDisputeResolved, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) ParseInitialized(log types.Log) (*LightManagerHarnessInitialized, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) ParseOwnershipTransferred(log types.Log) (*LightManagerHarnessOwnershipTransferred, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) ParseRootUpdated(log types.Log) (*LightManagerHarnessRootUpdated, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) ParseStatusUpdated(log types.Log) (*LightManagerHarnessStatusUpdated, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessDisputeOpened) (event.Subscription, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessDisputeResolved) (event.Subscription, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessInitialized) (event.Subscription, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessOwnershipTransferred, ...) (event.Subscription, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessRootUpdated) (event.Subscription, error)
- func (_LightManagerHarness *LightManagerHarnessFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessStatusUpdated, ...) (event.Subscription, error)
- type LightManagerHarnessInitialized
- type LightManagerHarnessInitializedIterator
- type LightManagerHarnessOwnershipTransferred
- type LightManagerHarnessOwnershipTransferredIterator
- type LightManagerHarnessRaw
- func (_LightManagerHarness *LightManagerHarnessRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LightManagerHarness *LightManagerHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LightManagerHarnessRef
- type LightManagerHarnessRootUpdated
- type LightManagerHarnessRootUpdatedIterator
- type LightManagerHarnessSession
- func (_LightManagerHarness *LightManagerHarnessSession) AgentRoot() ([32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_LightManagerHarness *LightManagerHarnessSession) Destination() (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_LightManagerHarness *LightManagerHarnessSession) GetDisputesAmount() (*big.Int, error)
- func (_LightManagerHarness *LightManagerHarnessSession) Inbox() (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) LocalDomain() (uint32, error)
- func (_LightManagerHarness *LightManagerHarnessSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) Origin() (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessSession) Owner() (common.Address, error)
- func (_LightManagerHarness *LightManagerHarnessSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
- func (_LightManagerHarness *LightManagerHarnessSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) RenounceOwnership() (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
- func (_LightManagerHarness *LightManagerHarnessSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
- func (_LightManagerHarness *LightManagerHarnessSession) SetAgentRoot(agentRoot_ [32]byte) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessSession) Version() (string, error)
- type LightManagerHarnessStatusUpdated
- type LightManagerHarnessStatusUpdatedIterator
- type LightManagerHarnessTransactor
- func (_LightManagerHarness *LightManagerHarnessTransactor) Initialize(opts *bind.TransactOpts, origin_ common.Address, destination_ common.Address, ...) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) RemoteWithdrawTips(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, ...) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) SetAgentRoot(opts *bind.TransactOpts, agentRoot_ [32]byte) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) SlashAgentExposed(opts *bind.TransactOpts, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactor) UpdateAgentStatus(opts *bind.TransactOpts, agent common.Address, status AgentStatus, ...) (*types.Transaction, error)
- type LightManagerHarnessTransactorRaw
- type LightManagerHarnessTransactorSession
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) SetAgentRoot(agentRoot_ [32]byte) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LightManagerHarness *LightManagerHarnessTransactorSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
- type LightManagerInitialized
- type LightManagerInitializedIterator
- type LightManagerOwnershipTransferred
- type LightManagerOwnershipTransferredIterator
- type LightManagerRaw
- func (_LightManager *LightManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LightManager *LightManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LightManager *LightManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LightManagerRootUpdated
- type LightManagerRootUpdatedIterator
- type LightManagerSession
- func (_LightManager *LightManagerSession) AgentRoot() ([32]byte, error)
- func (_LightManager *LightManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)
- func (_LightManager *LightManagerSession) Destination() (common.Address, error)
- func (_LightManager *LightManagerSession) DisputeStatus(agent common.Address) (struct{ ... }, error)
- func (_LightManager *LightManagerSession) GetAgent(index *big.Int) (struct{ ... }, error)
- func (_LightManager *LightManagerSession) GetDispute(index *big.Int) (struct{ ... }, error)
- func (_LightManager *LightManagerSession) GetDisputesAmount() (*big.Int, error)
- func (_LightManager *LightManagerSession) Inbox() (common.Address, error)
- func (_LightManager *LightManagerSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) LocalDomain() (uint32, error)
- func (_LightManager *LightManagerSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) Origin() (common.Address, error)
- func (_LightManager *LightManagerSession) Owner() (common.Address, error)
- func (_LightManager *LightManagerSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) RenounceOwnership() (*types.Transaction, error)
- func (_LightManager *LightManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) SetAgentRoot(agentRoot_ [32]byte) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
- func (_LightManager *LightManagerSession) Version() (string, error)
- type LightManagerStatusUpdated
- type LightManagerStatusUpdatedIterator
- type LightManagerTransactor
- func (_LightManager *LightManagerTransactor) Initialize(opts *bind.TransactOpts, origin_ common.Address, destination_ common.Address, ...) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) RemoteWithdrawTips(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, ...) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) SetAgentRoot(opts *bind.TransactOpts, agentRoot_ [32]byte) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, ...) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactor) UpdateAgentStatus(opts *bind.TransactOpts, agent common.Address, status AgentStatus, ...) (*types.Transaction, error)
- type LightManagerTransactorRaw
- type LightManagerTransactorSession
- func (_LightManager *LightManagerTransactorSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) SetAgentRoot(agentRoot_ [32]byte) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LightManager *LightManagerTransactorSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
- type MerkleMath
- type MerkleMathCaller
- type MerkleMathCallerRaw
- type MerkleMathCallerSession
- type MerkleMathFilterer
- type MerkleMathRaw
- func (_MerkleMath *MerkleMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MerkleMath *MerkleMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MerkleMath *MerkleMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MerkleMathSession
- type MerkleMathTransactor
- type MerkleMathTransactorRaw
- type MerkleMathTransactorSession
- type MessagingBase
- type MessagingBaseCaller
- type MessagingBaseCallerRaw
- type MessagingBaseCallerSession
- type MessagingBaseFilterer
- func (_MessagingBase *MessagingBaseFilterer) FilterInitialized(opts *bind.FilterOpts) (*MessagingBaseInitializedIterator, error)
- func (_MessagingBase *MessagingBaseFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MessagingBaseOwnershipTransferredIterator, error)
- func (_MessagingBase *MessagingBaseFilterer) ParseInitialized(log types.Log) (*MessagingBaseInitialized, error)
- func (_MessagingBase *MessagingBaseFilterer) ParseOwnershipTransferred(log types.Log) (*MessagingBaseOwnershipTransferred, error)
- func (_MessagingBase *MessagingBaseFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MessagingBaseInitialized) (event.Subscription, error)
- func (_MessagingBase *MessagingBaseFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MessagingBaseOwnershipTransferred, ...) (event.Subscription, error)
- type MessagingBaseInitialized
- type MessagingBaseInitializedIterator
- type MessagingBaseOwnershipTransferred
- type MessagingBaseOwnershipTransferredIterator
- type MessagingBaseRaw
- func (_MessagingBase *MessagingBaseRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MessagingBase *MessagingBaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MessagingBase *MessagingBaseRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MessagingBaseSession
- func (_MessagingBase *MessagingBaseSession) LocalDomain() (uint32, error)
- func (_MessagingBase *MessagingBaseSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_MessagingBase *MessagingBaseSession) Owner() (common.Address, error)
- func (_MessagingBase *MessagingBaseSession) RenounceOwnership() (*types.Transaction, error)
- func (_MessagingBase *MessagingBaseSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_MessagingBase *MessagingBaseSession) Version() (string, error)
- type MessagingBaseTransactor
- func (_MessagingBase *MessagingBaseTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
- func (_MessagingBase *MessagingBaseTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_MessagingBase *MessagingBaseTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type MessagingBaseTransactorRaw
- type MessagingBaseTransactorSession
- func (_MessagingBase *MessagingBaseTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
- func (_MessagingBase *MessagingBaseTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_MessagingBase *MessagingBaseTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type MultiCallable
- type MultiCallableCall
- type MultiCallableCaller
- type MultiCallableCallerRaw
- type MultiCallableCallerSession
- type MultiCallableFilterer
- type MultiCallableRaw
- func (_MultiCallable *MultiCallableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MultiCallable *MultiCallableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MultiCallable *MultiCallableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MultiCallableResult
- type MultiCallableSession
- type MultiCallableTransactor
- type MultiCallableTransactorRaw
- type MultiCallableTransactorSession
- type NumberLib
- type NumberLibCaller
- type NumberLibCallerRaw
- type NumberLibCallerSession
- type NumberLibFilterer
- type NumberLibRaw
- func (_NumberLib *NumberLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NumberLib *NumberLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NumberLib *NumberLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NumberLibSession
- type NumberLibTransactor
- type NumberLibTransactorRaw
- type NumberLibTransactorSession
- type OwnableUpgradeable
- type OwnableUpgradeableCaller
- type OwnableUpgradeableCallerRaw
- type OwnableUpgradeableCallerSession
- type OwnableUpgradeableFilterer
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*OwnableUpgradeableInitializedIterator, error)
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableUpgradeableOwnershipTransferredIterator, error)
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseInitialized(log types.Log) (*OwnableUpgradeableInitialized, error)
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableUpgradeableOwnershipTransferred, error)
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableInitialized) (event.Subscription, error)
- func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableUpgradeableInitialized
- type OwnableUpgradeableInitializedIterator
- type OwnableUpgradeableOwnershipTransferred
- type OwnableUpgradeableOwnershipTransferredIterator
- type OwnableUpgradeableRaw
- func (_OwnableUpgradeable *OwnableUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OwnableUpgradeable *OwnableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OwnableUpgradeable *OwnableUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableUpgradeableSession
- func (_OwnableUpgradeable *OwnableUpgradeableSession) Owner() (common.Address, error)
- func (_OwnableUpgradeable *OwnableUpgradeableSession) RenounceOwnership() (*types.Transaction, error)
- func (_OwnableUpgradeable *OwnableUpgradeableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OwnableUpgradeableTransactor
- type OwnableUpgradeableTransactorRaw
- type OwnableUpgradeableTransactorSession
- type StructureUtils
- type StructureUtilsCaller
- type StructureUtilsCallerRaw
- type StructureUtilsCallerSession
- type StructureUtilsFilterer
- type StructureUtilsRaw
- func (_StructureUtils *StructureUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StructureUtils *StructureUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StructureUtils *StructureUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StructureUtilsSession
- type StructureUtilsTransactor
- type StructureUtilsTransactorRaw
- type StructureUtilsTransactorSession
- type Versioned
- type VersionedCaller
- type VersionedCallerRaw
- type VersionedCallerSession
- type VersionedFilterer
- type VersionedRaw
- func (_Versioned *VersionedRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Versioned *VersionedRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Versioned *VersionedRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VersionedSession
- type VersionedTransactor
- type VersionedTransactorRaw
- type VersionedTransactorSession
Constants ¶
This section is empty.
Variables ¶
var AddressUpgradeableABI = AddressUpgradeableMetaData.ABI
AddressUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use AddressUpgradeableMetaData.ABI instead.
var AddressUpgradeableBin = AddressUpgradeableMetaData.Bin
AddressUpgradeableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressUpgradeableMetaData.Bin instead.
var AddressUpgradeableMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cb561a2e8e586954cb30221077fb8e075de70332a5ecb9ec719113668f8647cb64736f6c63430008110033",
}
AddressUpgradeableMetaData contains all meta data concerning the AddressUpgradeable contract.
var AgentManagerABI = AgentManagerMetaData.ABI
AgentManagerABI is the input ABI used to generate the binding from. Deprecated: Use AgentManagerMetaData.ABI instead.
var AgentManagerEventsABI = AgentManagerEventsMetaData.ABI
AgentManagerEventsABI is the input ABI used to generate the binding from. Deprecated: Use AgentManagerEventsMetaData.ABI instead.
var AgentManagerEventsMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"}]",
}
AgentManagerEventsMetaData contains all meta data concerning the AgentManagerEvents contract.
var AgentManagerFuncSigs = AgentManagerMetaData.Sigs
Deprecated: Use AgentManagerMetaData.Sigs instead. AgentManagerFuncSigs maps the 4-byte function signature to its string representation.
var AgentManagerHarnessABI = AgentManagerHarnessMetaData.ABI
AgentManagerHarnessABI is the input ABI used to generate the binding from. Deprecated: Use AgentManagerHarnessMetaData.ABI instead.
var AgentManagerHarnessFuncSigs = AgentManagerHarnessMetaData.Sigs
Deprecated: Use AgentManagerHarnessMetaData.Sigs instead. AgentManagerHarnessFuncSigs maps the 4-byte function signature to its string representation.
var AgentManagerHarnessMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"AgentNotActiveNorUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotDestination\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotInbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotOpened\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotStuck\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotaryInDispute\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"remoteMockFunc\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFunc\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFuncOver32Bytes\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFuncVoid\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgentExposed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "36cba43c": "agentRoot()", "28f3fac9": "agentStatus(address)", "b269681d": "destination()", "3463d1b1": "disputeStatus(address)", "2de5aaf7": "getAgent(uint256)", "e3a96cbd": "getDispute(uint256)", "3aaeccc6": "getDisputesAmount()", "fb0e722b": "inbox()", "8d3638f4": "localDomain()", "60fc8466": "multicall((bool,bytes)[])", "a2155c34": "openDispute(uint32,uint32)", "938b5f32": "origin()", "8da5cb5b": "owner()", "a149352c": "remoteMockFunc(uint32,uint256,bytes32)", "715018a6": "renounceOwnership()", "89791e17": "resolveStuckDispute(uint32,address)", "127a2c9d": "sensitiveMockFunc(address,uint8,bytes32)", "0e6bfcd5": "sensitiveMockFuncOver32Bytes(uint16,bytes4,bytes32)", "c9f1a03f": "sensitiveMockFuncVoid(uint16,bytes4,bytes32)", "2853a0e6": "slashAgent(uint32,address,address)", "69978b0d": "slashAgentExposed(uint32,address,address)", "f2fde38b": "transferOwnership(address)", "54fd4d50": "version()", }, }
AgentManagerHarnessMetaData contains all meta data concerning the AgentManagerHarness contract.
var AgentManagerMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"AgentNotActiveNorUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotInbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotOpened\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotStuck\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotaryInDispute\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "36cba43c": "agentRoot()", "28f3fac9": "agentStatus(address)", "b269681d": "destination()", "3463d1b1": "disputeStatus(address)", "2de5aaf7": "getAgent(uint256)", "e3a96cbd": "getDispute(uint256)", "3aaeccc6": "getDisputesAmount()", "fb0e722b": "inbox()", "8d3638f4": "localDomain()", "60fc8466": "multicall((bool,bytes)[])", "a2155c34": "openDispute(uint32,uint32)", "938b5f32": "origin()", "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "89791e17": "resolveStuckDispute(uint32,address)", "2853a0e6": "slashAgent(uint32,address,address)", "f2fde38b": "transferOwnership(address)", "54fd4d50": "version()", }, }
AgentManagerMetaData contains all meta data concerning the AgentManager contract.
var ContextUpgradeableABI = ContextUpgradeableMetaData.ABI
ContextUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use ContextUpgradeableMetaData.ABI instead.
var ContextUpgradeableMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}]",
}
ContextUpgradeableMetaData contains all meta data concerning the ContextUpgradeable contract.
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var GasDataLibABI = GasDataLibMetaData.ABI
GasDataLibABI is the input ABI used to generate the binding from. Deprecated: Use GasDataLibMetaData.ABI instead.
var GasDataLibBin = GasDataLibMetaData.Bin
GasDataLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GasDataLibMetaData.Bin instead.
var GasDataLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122050473c2965552227833ca62ae409511b638f06bc7ff812e82b25e606a9e4c7dc64736f6c63430008110033",
}
GasDataLibMetaData contains all meta data concerning the GasDataLib contract.
var IAgentManagerABI = IAgentManagerMetaData.ABI
IAgentManagerABI is the input ABI used to generate the binding from. Deprecated: Use IAgentManagerMetaData.ABI instead.
var IAgentManagerFuncSigs = IAgentManagerMetaData.Sigs
Deprecated: Use IAgentManagerMetaData.Sigs instead. IAgentManagerFuncSigs maps the 4-byte function signature to its string representation.
var IAgentManagerMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "36cba43c": "agentRoot()", "28f3fac9": "agentStatus(address)", "3463d1b1": "disputeStatus(address)", "2de5aaf7": "getAgent(uint256)", "e3a96cbd": "getDispute(uint256)", "3aaeccc6": "getDisputesAmount()", "a2155c34": "openDispute(uint32,uint32)", "89791e17": "resolveStuckDispute(uint32,address)", "2853a0e6": "slashAgent(uint32,address,address)", }, }
IAgentManagerMetaData contains all meta data concerning the IAgentManager contract.
var IAgentSecuredABI = IAgentSecuredMetaData.ABI
IAgentSecuredABI is the input ABI used to generate the binding from. Deprecated: Use IAgentSecuredMetaData.ABI instead.
var IAgentSecuredFuncSigs = IAgentSecuredMetaData.Sigs
Deprecated: Use IAgentSecuredMetaData.Sigs instead. IAgentSecuredFuncSigs maps the 4-byte function signature to its string representation.
var IAgentSecuredMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"agentManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"}],\"name\":\"resolveDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "7622f78d": "agentManager()", "28f3fac9": "agentStatus(address)", "2de5aaf7": "getAgent(uint256)", "fb0e722b": "inbox()", "a2155c34": "openDispute(uint32,uint32)", "61169218": "resolveDispute(uint32,uint32)", }, }
IAgentSecuredMetaData contains all meta data concerning the IAgentSecured contract.
var IStatementInboxABI = IStatementInboxMetaData.ABI
IStatementInboxABI is the input ABI used to generate the binding from. Deprecated: Use IStatementInboxMetaData.ABI instead.
var IStatementInboxFuncSigs = IStatementInboxMetaData.Sigs
Deprecated: Use IStatementInboxMetaData.Sigs instead. IStatementInboxFuncSigs maps the 4-byte function signature to its string representation.
var IStatementInboxMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getGuardReport\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"statementPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReportsAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getStoredSignature\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"srSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"snapPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"name\":\"submitStateReportWithAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"wasAccepted\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"srSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"snapPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"snapSignature\",\"type\":\"bytes\"}],\"name\":\"submitStateReportWithSnapshot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"wasAccepted\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"statePayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"srSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"snapProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"name\":\"submitStateReportWithSnapshotProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"wasAccepted\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"rcptPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rcptSignature\",\"type\":\"bytes\"}],\"name\":\"verifyReceipt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidReceipt\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"rcptPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rrSignature\",\"type\":\"bytes\"}],\"name\":\"verifyReceiptReport\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidReport\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"statePayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"srSignature\",\"type\":\"bytes\"}],\"name\":\"verifyStateReport\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidReport\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"snapPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"name\":\"verifyStateWithAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidState\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"snapPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"snapSignature\",\"type\":\"bytes\"}],\"name\":\"verifyStateWithSnapshot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidState\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"statePayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"snapProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"name\":\"verifyStateWithSnapshotProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidState\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "c495912b": "getGuardReport(uint256)", "756ed01d": "getReportsAmount()", "ddeffa66": "getStoredSignature(uint256)", "0b6b985c": "submitStateReportWithAttestation(uint256,bytes,bytes,bytes,bytes)", "62389709": "submitStateReportWithSnapshot(uint256,bytes,bytes,bytes)", "0db27e77": "submitStateReportWithSnapshotProof(uint256,bytes,bytes,bytes32[],bytes,bytes)", "c25aa585": "verifyReceipt(bytes,bytes)", "91af2e5d": "verifyReceiptReport(bytes,bytes)", "dfe39675": "verifyStateReport(bytes,bytes)", "200f6b66": "verifyStateWithAttestation(uint256,bytes,bytes,bytes)", "213a6ddb": "verifyStateWithSnapshot(uint256,bytes,bytes)", "7be8e738": "verifyStateWithSnapshotProof(uint256,bytes,bytes32[],bytes,bytes)", }, }
IStatementInboxMetaData contains all meta data concerning the IStatementInbox contract.
var InitializableABI = InitializableMetaData.ABI
InitializableABI is the input ABI used to generate the binding from. Deprecated: Use InitializableMetaData.ABI instead.
var InitializableMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}]",
}
InitializableMetaData contains all meta data concerning the Initializable contract.
var InterfaceBondingManagerABI = InterfaceBondingManagerMetaData.ABI
InterfaceBondingManagerABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceBondingManagerMetaData.ABI instead.
var InterfaceBondingManagerFuncSigs = InterfaceBondingManagerMetaData.Sigs
Deprecated: Use InterfaceBondingManagerMetaData.Sigs instead. InterfaceBondingManagerFuncSigs maps the 4-byte function signature to its string representation.
var InterfaceBondingManagerMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"addAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"leaf\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"completeSlashing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"completeUnstaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"name\":\"getActiveAgents\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"agents\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"indexFrom\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"getProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"initiateUnstaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"leafsAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"msgOrigin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"remoteSlashAgent\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"origin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTips\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "237a85a5": "addAgent(uint32,address,bytes32[])", "c99dcb9e": "agentLeaf(address)", "12db2ef6": "allLeafs()", "fbc5265e": "completeSlashing(uint32,address,bytes32[])", "4c3e1c1f": "completeUnstaking(uint32,address,bytes32[])", "c1c0f4f6": "getActiveAgents(uint32)", "33d1b2e8": "getLeafs(uint256,uint256)", "3eea79d1": "getProof(address)", "130c5673": "initiateUnstaking(uint32,address,bytes32[])", "33c3a8f3": "leafsAmount()", "9d228a51": "remoteSlashAgent(uint32,uint256,uint32,address,address)", "cc875501": "withdrawTips(address,uint32,uint256)", }, }
InterfaceBondingManagerMetaData contains all meta data concerning the InterfaceBondingManager contract.
var InterfaceDestinationABI = InterfaceDestinationMetaData.ABI
InterfaceDestinationABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceDestinationMetaData.ABI instead.
var InterfaceDestinationFuncSigs = InterfaceDestinationMetaData.Sigs
Deprecated: Use InterfaceDestinationMetaData.Sigs instead. InterfaceDestinationFuncSigs maps the 4-byte function signature to its string representation.
var InterfaceDestinationMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"sigIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"agentRoot\",\"type\":\"bytes32\"},{\"internalType\":\"ChainGas[]\",\"name\":\"snapGas\",\"type\":\"uint128[]\"}],\"name\":\"acceptAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"wasAccepted\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"attestationsAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destStatus\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"snapRootTime\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"agentRootTime\",\"type\":\"uint40\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAttestation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"name\":\"getGasData\",\"outputs\":[{\"internalType\":\"GasData\",\"name\":\"gasData\",\"type\":\"uint96\"},{\"internalType\":\"uint256\",\"name\":\"dataMaturity\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextAgentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"passAgentRoot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"rootPassed\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"rootPending\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "39fe2736": "acceptAttestation(uint32,uint256,bytes,bytes32,uint128[])", "3cf7b120": "attestationsAmount()", "40989152": "destStatus()", "29be4db2": "getAttestation(uint256)", "d0dd0675": "getGasData(uint32)", "55252dd1": "nextAgentRoot()", "a554d1e3": "passAgentRoot()", }, }
InterfaceDestinationMetaData contains all meta data concerning the InterfaceDestination contract.
var InterfaceLightManagerABI = InterfaceLightManagerMetaData.ABI
InterfaceLightManagerABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceLightManagerMetaData.ABI instead.
var InterfaceLightManagerFuncSigs = InterfaceLightManagerMetaData.Sigs
Deprecated: Use InterfaceLightManagerMetaData.Sigs instead. InterfaceLightManagerFuncSigs maps the 4-byte function signature to its string representation.
var InterfaceLightManagerMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"msgOrigin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"remoteWithdrawTips\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"agentRoot\",\"type\":\"bytes32\"}],\"name\":\"setAgentRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"updateAgentStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "1fa07138": "remoteWithdrawTips(uint32,uint256,address,uint256)", "58668176": "setAgentRoot(bytes32)", "cbd05965": "updateAgentStatus(address,(uint8,uint32,uint32),bytes32[])", }, }
InterfaceLightManagerMetaData contains all meta data concerning the InterfaceLightManager contract.
var InterfaceOriginABI = InterfaceOriginMetaData.ABI
InterfaceOriginABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceOriginMetaData.ABI instead.
var InterfaceOriginFuncSigs = InterfaceOriginMetaData.Sigs
Deprecated: Use InterfaceOriginMetaData.Sigs instead. InterfaceOriginFuncSigs maps the 4-byte function signature to its string representation.
var InterfaceOriginMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contentLength\",\"type\":\"uint256\"}],\"name\":\"getMinimumTipsValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tipsValue\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"recipient\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"optimisticPeriod\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"sendBaseMessage\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"messageNonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"messageHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"optimisticPeriod\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"sendManagerMessage\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"messageNonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"messageHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTips\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "4fc6ad85": "getMinimumTipsValue(uint32,uint256,uint256)", "873661bd": "sendBaseMessage(uint32,bytes32,uint32,uint256,bytes)", "a1c702a7": "sendManagerMessage(uint32,uint32,bytes)", "4e04e7a7": "withdrawTips(address,uint256)", }, }
InterfaceOriginMetaData contains all meta data concerning the InterfaceOrigin contract.
var LightManagerABI = LightManagerMetaData.ABI
LightManagerABI is the input ABI used to generate the binding from. Deprecated: Use LightManagerMetaData.ABI instead.
var LightManagerBin = LightManagerMetaData.Bin
LightManagerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use LightManagerMetaData.Bin instead.
var LightManagerFuncSigs = LightManagerMetaData.Sigs
Deprecated: Use LightManagerMetaData.Sigs instead. LightManagerFuncSigs maps the 4-byte function signature to its string representation.
var LightManagerHarnessABI = LightManagerHarnessMetaData.ABI
LightManagerHarnessABI is the input ABI used to generate the binding from. Deprecated: Use LightManagerHarnessMetaData.ABI instead.
var LightManagerHarnessBin = LightManagerHarnessMetaData.Bin
LightManagerHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use LightManagerHarnessMetaData.Bin instead.
var LightManagerHarnessFuncSigs = LightManagerHarnessMetaData.Sigs
Deprecated: Use LightManagerHarnessMetaData.Sigs instead. LightManagerHarnessFuncSigs maps the 4-byte function signature to its string representation.
var LightManagerHarnessMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AgentNotActiveNorUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotDestination\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotInbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotOpened\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotStuck\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentIndex\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustBeSynapseDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotaryInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SynapseDomainForbidden\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TreeHeightTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawTipsOptimisticPeriod\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"origin_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destination_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"inbox_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"remoteMockFunc\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"msgOrigin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"remoteWithdrawTips\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFunc\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFuncOver32Bytes\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFuncVoid\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"agentRoot_\",\"type\":\"bytes32\"}],\"name\":\"setAgentRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgentExposed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"updateAgentStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "36cba43c": "agentRoot()", "28f3fac9": "agentStatus(address)", "b269681d": "destination()", "3463d1b1": "disputeStatus(address)", "2de5aaf7": "getAgent(uint256)", "e3a96cbd": "getDispute(uint256)", "3aaeccc6": "getDisputesAmount()", "fb0e722b": "inbox()", "c0c53b8b": "initialize(address,address,address)", "8d3638f4": "localDomain()", "60fc8466": "multicall((bool,bytes)[])", "a2155c34": "openDispute(uint32,uint32)", "938b5f32": "origin()", "8da5cb5b": "owner()", "a149352c": "remoteMockFunc(uint32,uint256,bytes32)", "1fa07138": "remoteWithdrawTips(uint32,uint256,address,uint256)", "715018a6": "renounceOwnership()", "89791e17": "resolveStuckDispute(uint32,address)", "127a2c9d": "sensitiveMockFunc(address,uint8,bytes32)", "0e6bfcd5": "sensitiveMockFuncOver32Bytes(uint16,bytes4,bytes32)", "c9f1a03f": "sensitiveMockFuncVoid(uint16,bytes4,bytes32)", "58668176": "setAgentRoot(bytes32)", "2853a0e6": "slashAgent(uint32,address,address)", "69978b0d": "slashAgentExposed(uint32,address,address)", "f2fde38b": "transferOwnership(address)", "cbd05965": "updateAgentStatus(address,(uint8,uint32,uint32),bytes32[])", "54fd4d50": "version()", }, Bin: "0x60e06040523480156200001157600080fd5b5060405162003257380380620032578339810160408190526200003491620000a0565b60408051808201909152600580825264302e302e3360d81b6020830152608052819081816200006381620000cf565b60a0525063ffffffff90811660c0528216600919019050620000985760405163079597d560e51b815260040160405180910390fd5b5050620000f7565b600060208284031215620000b357600080fd5b815163ffffffff81168114620000c857600080fd5b9392505050565b80516020808301519190811015620000f1576000198160200360031b1b821691505b50919050565b60805160a05160c0516131306200012760003960006103c10152600061032b0152600061030801526131306000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c8063715018a6116100f9578063b269681d11610097578063cbd0596511610071578063cbd059651461048f578063e3a96cbd146104a2578063f2fde38b146104c7578063fb0e722b146104da57600080fd5b8063b269681d14610456578063c0c53b8b14610469578063c9f1a03f1461047c57600080fd5b80638da5cb5b116100d35780638da5cb5b146103f8578063938b5f321461041d578063a149352c14610430578063a2155c341461044357600080fd5b8063715018a6146103a157806389791e17146103a95780638d3638f4146103bc57600080fd5b80633463d1b11161016657806354fd4d501161014057806354fd4d50146102fd578063586681761461035b57806360fc84661461036e57806369978b0d1461038e57600080fd5b80633463d1b1146102c957806336cba43c146102ec5780633aaeccc6146102f557600080fd5b80632853a0e6116101975780632853a0e61461027357806328f3fac9146102885780632de5aaf7146102a857600080fd5b80630e6bfcd5146101be578063127a2c9d1461020e5780631fa071381461022f575b600080fd5b6101d16101cc36600461267c565b6104ed565b604080517fffffffff0000000000000000000000000000000000000000000000000000000090931683526020830191909152015b60405180910390f35b61022161021c366004612700565b610562565b604051908152602001610205565b61024261023d366004612746565b6105fe565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610205565b61028661028136600461278c565b61076d565b005b61029b6102963660046127d1565b6107c1565b604051610205919061285b565b6102bb6102b6366004612869565b610862565b604051610205929190612882565b6102dc6102d73660046127d1565b6108af565b604051610205949392919061289f565b61022160c95481565b609b54610221565b6040805180820182527f000000000000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000602082015290516102059190612944565b610286610369366004612869565b610a29565b61038161037c366004612957565b610a79565b60405161020591906129cc565b61028661039c36600461278c565b6107b1565b610286610be4565b6102866103b7366004612a60565b610c5f565b6103e37f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610205565b6033546001600160a01b03165b6040516001600160a01b039091168152602001610205565b609754610405906001600160a01b031681565b61024261043e366004612a95565b610efb565b610286610451366004612aca565b610f6b565b609854610405906001600160a01b031681565b610286610477366004612b03565b611347565b61028661048a36600461267c565b611403565b61028661049d366004612c48565b611447565b6104b56104b0366004612869565b6116f3565b60405161020596959493929190612d0e565b6102866104d53660046127d1565b6118df565b609954610405906001600160a01b031681565b60985460009081906001600160a01b03163314610536576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507f0e6bfcd5000000000000000000000000000000000000000000000000000000009491935090915050565b6098546000906001600160a01b031633146105a9576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816105d2577f474d00000000000000000000000000000000000000000000000000000000000091505b507f127a2c9d0000000000000000000000000000000000000000000000000000000081185b9392505050565b6098546000906001600160a01b03163314610645576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff8516600a14610685576040517f2b3a807f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620151808410156106c2576040517fdf5728f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6097546040517f4e04e7a70000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820185905290911690634e04e7a790604401600060405180830381600087803b15801561072957600080fd5b505af115801561073d573d6000803e3d6000fd5b507f1fa071380000000000000000000000000000000000000000000000000000000093505050505b949350505050565b6099546001600160a01b031633146107b1576040517fdbc2fa8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107bc8383836119f2565b505050565b60408051606081018252600080825260208201819052918101919091526107e782611ab3565b90506002609a600061080e856001600160a01b0316600090815260cc602052604090205490565b815260208101919091526040016000205460ff166002811115610833576108336127ec565b1480156108535750600581516005811115610850576108506127ec565b14155b1561085d57600481525b919050565b60408051606081018252600080825260208201819052918101829052600083815260cb60205260409020546001600160a01b0316915081156108aa576108a7826107c1565b90505b915091565b60008060008060006108d6866001600160a01b0316600090815260cc602052604090205490565b6000818152609a602052604080822081516060810190925280549394509192909190829060ff16600281111561090e5761090e6127ec565b600281111561091f5761091f6127ec565b8152905461010081046affffffffffffffffffffff9081166020808501919091526c010000000000000000000000009092046001600160a01b03166040938401528351928401519184015192995090965016935090508215610a20576000609b61098a600186612d98565b8154811061099a5761099a612dab565b600091825260209182902060408051606081018252929091015463ffffffff80821680855264010000000083048216958501959095526801000000000000000090910416908201529150610a1c9084146109f55781516109fb565b81602001515b63ffffffff16600090815260cb60205260409020546001600160a01b031690565b9550505b50509193509193565b6098546001600160a01b03163314610a6d576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a7681611b4f565b50565b6060818067ffffffffffffffff811115610a9557610a95612b21565b604051908082528060200260200182016040528015610adb57816020015b604080518082019091526000815260606020820152815260200190600190039081610ab35790505b5091503660005b82811015610bdb57858582818110610afc57610afc612dab565b9050602002810190610b0e9190612dda565b91506000848281518110610b2457610b24612dab565b60200260200101519050306001600160a01b0316838060200190610b489190612e18565b604051610b56929190612e84565b600060405180830381855af49150503d8060008114610b91576040519150601f19603f3d011682016040523d82523d6000602084013e610b96565b606091505b5060208301521515808252833517610bd2577f4d6a23280000000000000000000000000000000000000000000000000000000060005260046000fd5b50600101610ae2565b50505092915050565b6033546001600160a01b03163314610c5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6033546001600160a01b03163314610cd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c54565b6000609a6000610cf8846001600160a01b0316600090815260cc602052604090205490565b8152602081019190915260409081016000208151606081019092528054829060ff166002811115610d2b57610d2b6127ec565b6002811115610d3c57610d3c6127ec565b8152905461010081046affffffffffffffffffffff1660208301526c0100000000000000000000000090046001600160a01b03166040909101529050600081516002811115610d8d57610d8d6127ec565b03610dc4576040517fb3a71fa200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600281516002811115610dd957610dd96127ec565b03610e10576040517ff10068b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b609854604080517f4098915200000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163409891529160048083019260609291908290030181865afa158015610e73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e979190612ea9565b505090508064ffffffffff16613840610eb09190612ef0565b421015610ee9576040517f6fdc56c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef5848460006119f2565b50505050565b6098546000906001600160a01b03163314610f42576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fa149352c000000000000000000000000000000000000000000000000000000009392505050565b6099546001600160a01b03163314610faf576040517fdbc2fa8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff82166000908152609a602052604081205460ff166002811115610fd957610fd96127ec565b14611010576040517fd9d49b4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff81166000908152609a602052604081205460ff16600281111561103a5761103a6127ec565b14611071576040517f6893014300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516060808201835263ffffffff8086168352848116602084019081526000848601818152609b8054600181810183559382905296517fbba9db4cdbea0a37c207bbb83e20f828cd4441c49891101dc94fd20dc8efc349909701805494519251861668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff938716640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090961698909616979097179390931716929092179093559154835191820190935290819081526affffffffffffffffffffff83166020808301919091526000604092830181905263ffffffff87168152609a909152208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660018360028111156111be576111be6127ec565b0217905550602082015181546040938401516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff909316610100029290921660ff9091161717905580516060810190915280600181526affffffffffffffffffffff83166020808301919091526000604092830181905263ffffffff86168152609a909152208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600183600281111561128f5761128f6127ec565b0217905550602082015181546040909301516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff909216610100029190911660ff909316929092179190911790557fd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530611318600183612d98565b6040805191825263ffffffff808716602084015285169082015260600160405180910390a16107bc8383611b93565b60006113536001611c14565b9050801561138857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b611393848484611d9a565b61139b611e88565b8015610ef557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b6098546001600160a01b031633146107bc576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408083015163ffffffff16600090815260cb60205220546001600160a01b031680158015906114895750836001600160a01b0316816001600160a01b031614155b156114c0576040517f4ae22ee400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006114d58460000151856020015187611f27565b9050600060c9549050806114f6866040015163ffffffff1684876020611f5d565b1461152d576040517f4cc472e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831661159f576040858101805163ffffffff908116600090815260cb602090815284822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038d16908117909155935193825260cc905292909220911690555b600081815260ca602090815260408083206001600160a01b038a1684529091529020855181548792919082907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836005811115611601576116016127ec565b021790555060208281015182546040948501517fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000ff90911661010063ffffffff938416027fffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffffff1617650100000000009183169190910217909255870151875192516001600160a01b038a169391909216917f8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e916116bb91612f03565b60405180910390a36005855160058111156116d8576116d86127ec565b036116eb576116eb856040015133612005565b505050505050565b600080600080606080609b80549050871061173a576040517f1390f2a100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000609b888154811061174f5761174f612dab565b6000918252602080832060408051606081018252939091015463ffffffff8082168086526401000000008304821686860190815268010000000000000000909304821686850152865260cb9093528185205490519092168452909220546001600160a01b03928316995090925016604082015190965063ffffffff16156118285760408082015163ffffffff16600090815260cb60205220546001600160a01b031660408281015163ffffffff166000908152609a60205220549095506c0100000000000000000000000090046001600160a01b031693505b6099546040517fc495912b000000000000000000000000000000000000000000000000000000008152600481018a90526001600160a01b039091169063c495912b90602401600060405180830381865afa15801561188a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526118d09190810190612f93565b97999698509496939592505050565b6033546001600160a01b03163314611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c54565b6001600160a01b0381166119e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c54565b610a7681612316565b60006119fd83611ab3565b9050611a0881612380565b8363ffffffff16816020015163ffffffff1614611a51576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826001600160a01b03168463ffffffff167f8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e6004604051611a929190612f03565b60405180910390a3611aa8816040015183612005565b610ef58484846123ed565b60408051606080820183526000808352602080840182905283850182905260c954825260ca81528482206001600160a01b038716835290528390208351918201909352825491929091829060ff166005811115611b1257611b126127ec565b6005811115611b2357611b236127ec565b8152905463ffffffff610100820481166020840152650100000000009091041660409091015292915050565b8060c95414610a765760c98190556040518181527f2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa49060200160405180910390a150565b6098546040517fa2155c3400000000000000000000000000000000000000000000000000000000815263ffffffff8085166004830152831660248201526001600160a01b039091169063a2155c34906044015b600060405180830381600087803b158015611c0057600080fd5b505af11580156116eb573d6000803e3d6000fd5b60008054610100900460ff1615611ccb578160ff166001148015611c375750303b155b611cc3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610c54565b506000919050565b60005460ff808416911610611d62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610c54565b50600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055600190565b600054610100900460ff16611e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610c54565b609780546001600160a01b039485167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155609880549385169382169390931790925560998054919093169116179055565b600054610100900460ff16611f1f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610c54565b610c5d6123f8565b6000838383604051602001611f3e93929190612ff7565b6040516020818303038152906040528051906020012090509392505050565b815160009082811115611f9c576040517fc5360feb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84915060005b81811015611fd957611fcf83868381518110611fc057611fc0612dab565b60200260200101518984612498565b9250600101611fa2565b50805b83811015611ffb57611ff18360008984612498565b9250600101611fdc565b5050949350505050565b63ffffffff82166000908152609a60205260408082208151606081019092528054829060ff16600281111561203c5761203c6127ec565b600281111561204d5761204d6127ec565b8152905461010081046affffffffffffffffffffff1660208301526c0100000000000000000000000090046001600160a01b0316604090910152905060028151600281111561209e5761209e6127ec565b036120d5576040517ff10068b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028082526001600160a01b03831660408084019190915263ffffffff85166000908152609a6020522082518154849383917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690600190849081111561213e5761213e6127ec565b021790555060208281015182546040909401516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff928316610100021660ff9095169490941793909317909155820151600091161561230c576000600183602001516121b9919061306f565b6affffffffffffffffffffff1690506000609b82815481106121dd576121dd612dab565b600091825260209182902060408051606081018252919092015463ffffffff8082168352640100000000820481169483019490945268010000000000000000900490921690820152609b805491925087918490811061223e5761223e612dab565b60009182526020918290200180547fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff166801000000000000000063ffffffff9485160217905582015187821691161461229b57806020015161229e565b80515b63ffffffff8181166000818152609a60209081526040808320929092558151878152938b16908401528201526001600160a01b03871660608201529093507fb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf9060800160405180910390a150505b610ef584826124c1565b603380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600181516005811115612395576123956127ec565b141580156123b657506002815160058111156123b3576123b36127ec565b14155b15610a76576040517fec3d0d8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107bc838383612518565b600054610100900460ff1661248f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610c54565b610c5d33612316565b6000600183831c1681036124b7576124b0858561262e565b9050610765565b6124b0848661262e565b6098546040517f6116921800000000000000000000000000000000000000000000000000000000815263ffffffff8085166004830152831660248201526001600160a01b0390911690636116921890604401611be6565b6097546040805163ffffffff861660248201526001600160a01b03858116604483015284811660648084019190915283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f9d228a510000000000000000000000000000000000000000000000000000000017905291517fa1c702a7000000000000000000000000000000000000000000000000000000008152919092169163a1c702a7916125e591600a9162015180919060040161309a565b60408051808303816000875af1158015612603573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262791906130cc565b5050505050565b60008215801561263c575081155b1561264957506000612676565b60408051602081018590529081018390526060016040516020818303038152906040528051906020012090505b92915050565b60008060006060848603121561269157600080fd5b833561ffff811681146126a357600080fd5b925060208401357fffffffff00000000000000000000000000000000000000000000000000000000811681146126d857600080fd5b929592945050506040919091013590565b80356001600160a01b038116811461085d57600080fd5b60008060006060848603121561271557600080fd5b61271e846126e9565b9250602084013560ff811681146126d857600080fd5b63ffffffff81168114610a7657600080fd5b6000806000806080858703121561275c57600080fd5b843561276781612734565b93506020850135925061277c604086016126e9565b9396929550929360600135925050565b6000806000606084860312156127a157600080fd5b83356127ac81612734565b92506127ba602085016126e9565b91506127c8604085016126e9565b90509250925092565b6000602082840312156127e357600080fd5b6105f7826126e9565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6006811061282b5761282b6127ec565b9052565b61283a82825161281b565b60208181015163ffffffff9081169184019190915260409182015116910152565b60608101612676828461282f565b60006020828403121561287b57600080fd5b5035919050565b6001600160a01b0383168152608081016105f7602083018461282f565b60808101600386106128b3576128b36127ec565b9481526001600160a01b0393841660208201529190921660408201526060015290565b60005b838110156128f15781810151838201526020016128d9565b50506000910152565b600081518084526129128160208601602086016128d6565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006105f760208301846128fa565b6000806020838503121561296a57600080fd5b823567ffffffffffffffff8082111561298257600080fd5b818501915085601f83011261299657600080fd5b8135818111156129a557600080fd5b8660208260051b85010111156129ba57600080fd5b60209290920196919550909350505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015612a52578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805115158452870151878401879052612a3f878501826128fa565b95880195935050908601906001016129f3565b509098975050505050505050565b60008060408385031215612a7357600080fd5b8235612a7e81612734565b9150612a8c602084016126e9565b90509250929050565b600080600060608486031215612aaa57600080fd5b8335612ab581612734565b95602085013595506040909401359392505050565b60008060408385031215612add57600080fd5b8235612ae881612734565b91506020830135612af881612734565b809150509250929050565b600080600060608486031215612b1857600080fd5b6127ac846126e9565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff81118282101715612b7357612b73612b21565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612bc057612bc0612b21565b604052919050565b600082601f830112612bd957600080fd5b8135602067ffffffffffffffff821115612bf557612bf5612b21565b8160051b612c04828201612b79565b9283528481018201928281019087851115612c1e57600080fd5b83870192505b84831015612c3d57823582529183019190830190612c24565b979650505050505050565b600080600083850360a0811215612c5e57600080fd5b612c67856126e9565b935060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082011215612c9957600080fd5b50612ca2612b50565b602085013560068110612cb457600080fd5b81526040850135612cc481612734565b60208201526060850135612cd781612734565b60408201529150608084013567ffffffffffffffff811115612cf857600080fd5b612d0486828701612bc8565b9150509250925092565b60006001600160a01b0380891683528088166020840152808716604084015280861660608401525060c06080830152612d4a60c08301856128fa565b82810360a0840152612d5c81856128fa565b9998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561267657612676612d69565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112612e0e57600080fd5b9190910192915050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612e4d57600080fd5b83018035915067ffffffffffffffff821115612e6857600080fd5b602001915036819003821315612e7d57600080fd5b9250929050565b8183823760009101908152919050565b805164ffffffffff8116811461085d57600080fd5b600080600060608486031215612ebe57600080fd5b612ec784612e94565b9250612ed560208501612e94565b91506040840151612ee581612734565b809150509250925092565b8082018082111561267657612676612d69565b60208101612676828461281b565b600082601f830112612f2257600080fd5b815167ffffffffffffffff811115612f3c57612f3c612b21565b612f6d60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612b79565b818152846020838601011115612f8257600080fd5b6107658260208301602087016128d6565b60008060408385031215612fa657600080fd5b825167ffffffffffffffff80821115612fbe57600080fd5b612fca86838701612f11565b93506020850151915080821115612fe057600080fd5b50612fed85828601612f11565b9150509250929050565b600060068510613009576130096127ec565b5060f89390931b835260e09190911b7fffffffff0000000000000000000000000000000000000000000000000000000016600183015260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600582015260190190565b6affffffffffffffffffffff82811682821603908082111561309357613093612d69565b5092915050565b600063ffffffff8086168352808516602084015250606060408301526130c360608301846128fa565b95945050505050565b600080604083850312156130df57600080fd5b82516130ea81612734565b602093909301519294929350505056fea2646970667358221220f5f2193017f42b079f846506170904843f722340522b43005bc03aba3ab60c8f64736f6c63430008110033", }
LightManagerHarnessMetaData contains all meta data concerning the LightManagerHarness contract.
var LightManagerMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AgentNotActiveNorUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotDestination\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotInbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotOpened\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotStuck\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentIndex\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustBeSynapseDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotaryInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SynapseDomainForbidden\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TreeHeightTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawTipsOptimisticPeriod\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"origin_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destination_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"inbox_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"msgOrigin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"remoteWithdrawTips\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"agentRoot_\",\"type\":\"bytes32\"}],\"name\":\"setAgentRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"updateAgentStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "36cba43c": "agentRoot()", "28f3fac9": "agentStatus(address)", "b269681d": "destination()", "3463d1b1": "disputeStatus(address)", "2de5aaf7": "getAgent(uint256)", "e3a96cbd": "getDispute(uint256)", "3aaeccc6": "getDisputesAmount()", "fb0e722b": "inbox()", "c0c53b8b": "initialize(address,address,address)", "8d3638f4": "localDomain()", "60fc8466": "multicall((bool,bytes)[])", "a2155c34": "openDispute(uint32,uint32)", "938b5f32": "origin()", "8da5cb5b": "owner()", "1fa07138": "remoteWithdrawTips(uint32,uint256,address,uint256)", "715018a6": "renounceOwnership()", "89791e17": "resolveStuckDispute(uint32,address)", "58668176": "setAgentRoot(bytes32)", "2853a0e6": "slashAgent(uint32,address,address)", "f2fde38b": "transferOwnership(address)", "cbd05965": "updateAgentStatus(address,(uint8,uint32,uint32),bytes32[])", "54fd4d50": "version()", }, Bin: "0x60e06040523480156200001157600080fd5b5060405162002ee138038062002ee183398101604081905262000034916200009d565b60408051808201909152600580825264302e302e3360d81b602083015260805281816200006181620000cc565b60a0525063ffffffff90811660c0528216600919019050620000965760405163079597d560e51b815260040160405180910390fd5b50620000f4565b600060208284031215620000b057600080fd5b815163ffffffff81168114620000c557600080fd5b9392505050565b80516020808301519190811015620000ee576000198160200360031b1b821691505b50919050565b60805160a05160c051612dbd62000124600039600061031901526000610296015260006102730152612dbd6000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c806389791e17116100d8578063b269681d1161008c578063e3a96cbd11610066578063e3a96cbd146103d4578063f2fde38b146103f9578063fb0e722b1461040c57600080fd5b8063b269681d1461039b578063c0c53b8b146103ae578063cbd05965146103c157600080fd5b80638da5cb5b116100bd5780638da5cb5b14610350578063938b5f3214610375578063a2155c341461038857600080fd5b806389791e17146103015780638d3638f41461031457600080fd5b806336cba43c1161013a578063586681761161011457806358668176146102c657806360fc8466146102d9578063715018a6146102f957600080fd5b806336cba43c146102495780633aaeccc61461026057806354fd4d501461026857600080fd5b806328f3fac91161016b57806328f3fac9146101e55780632de5aaf7146102055780633463d1b11461022657600080fd5b80631fa07138146101875780632853a0e6146101d0575b600080fd5b61019a610195366004612408565b61041f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6101e36101de36600461244e565b61058e565b005b6101f86101f3366004612493565b6105e2565b6040516101c7919061251d565b61021861021336600461252b565b610683565b6040516101c7929190612544565b610239610234366004612493565b6106d0565b6040516101c79493929190612561565b61025260c95481565b6040519081526020016101c7565b609b54610252565b6040805180820182527f000000000000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000602082015290516101c79190612606565b6101e36102d436600461252b565b61084a565b6102ec6102e7366004612619565b61089a565b6040516101c7919061268e565b6101e3610a05565b6101e361030f366004612722565b610a80565b61033b7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016101c7565b6033546001600160a01b03165b6040516001600160a01b0390911681526020016101c7565b60975461035d906001600160a01b031681565b6101e3610396366004612757565b610d1c565b60985461035d906001600160a01b031681565b6101e36103bc366004612790565b6110f8565b6101e36103cf3660046128d5565b6111b4565b6103e76103e236600461252b565b611460565b6040516101c79695949392919061299b565b6101e3610407366004612493565b61164c565b60995461035d906001600160a01b031681565b6098546000906001600160a01b03163314610466576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff8516600a146104a6576040517f2b3a807f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620151808410156104e3576040517fdf5728f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6097546040517f4e04e7a70000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820185905290911690634e04e7a790604401600060405180830381600087803b15801561054a57600080fd5b505af115801561055e573d6000803e3d6000fd5b507f1fa071380000000000000000000000000000000000000000000000000000000093505050505b949350505050565b6099546001600160a01b031633146105d2576040517fdbc2fa8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105dd83838361175f565b505050565b604080516060810182526000808252602082018190529181019190915261060882611820565b90506002609a600061062f856001600160a01b0316600090815260cc602052604090205490565b815260208101919091526040016000205460ff166002811115610654576106546124ae565b1480156106745750600581516005811115610671576106716124ae565b14155b1561067e57600481525b919050565b60408051606081018252600080825260208201819052918101829052600083815260cb60205260409020546001600160a01b0316915081156106cb576106c8826105e2565b90505b915091565b60008060008060006106f7866001600160a01b0316600090815260cc602052604090205490565b6000818152609a602052604080822081516060810190925280549394509192909190829060ff16600281111561072f5761072f6124ae565b6002811115610740576107406124ae565b8152905461010081046affffffffffffffffffffff9081166020808501919091526c010000000000000000000000009092046001600160a01b03166040938401528351928401519184015192995090965016935090508215610841576000609b6107ab600186612a25565b815481106107bb576107bb612a38565b600091825260209182902060408051606081018252929091015463ffffffff8082168085526401000000008304821695850195909552680100000000000000009091041690820152915061083d90841461081657815161081c565b81602001515b63ffffffff16600090815260cb60205260409020546001600160a01b031690565b9550505b50509193509193565b6098546001600160a01b0316331461088e576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610897816118bc565b50565b6060818067ffffffffffffffff8111156108b6576108b66127ae565b6040519080825280602002602001820160405280156108fc57816020015b6040805180820190915260008152606060208201528152602001906001900390816108d45790505b5091503660005b828110156109fc5785858281811061091d5761091d612a38565b905060200281019061092f9190612a67565b9150600084828151811061094557610945612a38565b60200260200101519050306001600160a01b03168380602001906109699190612aa5565b604051610977929190612b11565b600060405180830381855af49150503d80600081146109b2576040519150601f19603f3d011682016040523d82523d6000602084013e6109b7565b606091505b50602083015215158082528335176109f3577f4d6a23280000000000000000000000000000000000000000000000000000000060005260046000fd5b50600101610903565b50505092915050565b6033546001600160a01b03163314610a7e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6033546001600160a01b03163314610af4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a75565b6000609a6000610b19846001600160a01b0316600090815260cc602052604090205490565b8152602081019190915260409081016000208151606081019092528054829060ff166002811115610b4c57610b4c6124ae565b6002811115610b5d57610b5d6124ae565b8152905461010081046affffffffffffffffffffff1660208301526c0100000000000000000000000090046001600160a01b03166040909101529050600081516002811115610bae57610bae6124ae565b03610be5576040517fb3a71fa200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600281516002811115610bfa57610bfa6124ae565b03610c31576040517ff10068b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b609854604080517f4098915200000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163409891529160048083019260609291908290030181865afa158015610c94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb89190612b36565b505090508064ffffffffff16613840610cd19190612b7d565b421015610d0a576040517f6fdc56c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d168484600061175f565b50505050565b6099546001600160a01b03163314610d60576040517fdbc2fa8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff82166000908152609a602052604081205460ff166002811115610d8a57610d8a6124ae565b14610dc1576040517fd9d49b4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff81166000908152609a602052604081205460ff166002811115610deb57610deb6124ae565b14610e22576040517f6893014300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516060808201835263ffffffff8086168352848116602084019081526000848601818152609b8054600181810183559382905296517fbba9db4cdbea0a37c207bbb83e20f828cd4441c49891101dc94fd20dc8efc349909701805494519251861668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff938716640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090961698909616979097179390931716929092179093559154835191820190935290819081526affffffffffffffffffffff83166020808301919091526000604092830181905263ffffffff87168152609a909152208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115610f6f57610f6f6124ae565b0217905550602082015181546040938401516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff909316610100029290921660ff9091161717905580516060810190915280600181526affffffffffffffffffffff83166020808301919091526000604092830181905263ffffffff86168152609a909152208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115611040576110406124ae565b0217905550602082015181546040909301516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff909216610100029190911660ff909316929092179190911790557fd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe05306110c9600183612a25565b6040805191825263ffffffff808716602084015285169082015260600160405180910390a16105dd8383611900565b60006111046001611981565b9050801561113957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b611144848484611b07565b61114c611bf5565b8015610d1657600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b60408083015163ffffffff16600090815260cb60205220546001600160a01b031680158015906111f65750836001600160a01b0316816001600160a01b031614155b1561122d576040517f4ae22ee400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006112428460000151856020015187611c94565b9050600060c954905080611263866040015163ffffffff1684876020611ccb565b1461129a576040517f4cc472e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831661130c576040858101805163ffffffff908116600090815260cb602090815284822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038d16908117909155935193825260cc905292909220911690555b600081815260ca602090815260408083206001600160a01b038a1684529091529020855181548792919082907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600183600581111561136e5761136e6124ae565b021790555060208281015182546040948501517fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000ff90911661010063ffffffff938416027fffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffffff1617650100000000009183169190910217909255870151875192516001600160a01b038a169391909216917f8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e9161142891612b90565b60405180910390a3600585516005811115611445576114456124ae565b0361145857611458856040015133611d73565b505050505050565b600080600080606080609b8054905087106114a7576040517f1390f2a100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000609b88815481106114bc576114bc612a38565b6000918252602080832060408051606081018252939091015463ffffffff8082168086526401000000008304821686860190815268010000000000000000909304821686850152865260cb9093528185205490519092168452909220546001600160a01b03928316995090925016604082015190965063ffffffff16156115955760408082015163ffffffff16600090815260cb60205220546001600160a01b031660408281015163ffffffff166000908152609a60205220549095506c0100000000000000000000000090046001600160a01b031693505b6099546040517fc495912b000000000000000000000000000000000000000000000000000000008152600481018a90526001600160a01b039091169063c495912b90602401600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261163d9190810190612c20565b97999698509496939592505050565b6033546001600160a01b031633146116c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a75565b6001600160a01b038116611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a75565b61089781612084565b600061176a83611820565b9050611775816120ee565b8363ffffffff16816020015163ffffffff16146117be576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826001600160a01b03168463ffffffff167f8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e60046040516117ff9190612b90565b60405180910390a3611815816040015183611d73565b610d1684848461215b565b60408051606080820183526000808352602080840182905283850182905260c954825260ca81528482206001600160a01b038716835290528390208351918201909352825491929091829060ff16600581111561187f5761187f6124ae565b6005811115611890576118906124ae565b8152905463ffffffff610100820481166020840152650100000000009091041660409091015292915050565b8060c954146108975760c98190556040518181527f2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa49060200160405180910390a150565b6098546040517fa2155c3400000000000000000000000000000000000000000000000000000000815263ffffffff8085166004830152831660248201526001600160a01b039091169063a2155c34906044015b600060405180830381600087803b15801561196d57600080fd5b505af1158015611458573d6000803e3d6000fd5b60008054610100900460ff1615611a38578160ff1660011480156119a45750303b155b611a30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610a75565b506000919050565b60005460ff808416911610611acf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610a75565b50600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055600190565b600054610100900460ff16611b9e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a75565b609780546001600160a01b039485167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155609880549385169382169390931790925560998054919093169116179055565b600054610100900460ff16611c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a75565b610a7e612271565b6000838383604051602001611cab93929190612c84565b6040516020818303038152906040528051906020012090505b9392505050565b815160009082811115611d0a576040517fc5360feb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84915060005b81811015611d4757611d3d83868381518110611d2e57611d2e612a38565b60200260200101518984612311565b9250600101611d10565b50805b83811015611d6957611d5f8360008984612311565b9250600101611d4a565b5050949350505050565b63ffffffff82166000908152609a60205260408082208151606081019092528054829060ff166002811115611daa57611daa6124ae565b6002811115611dbb57611dbb6124ae565b8152905461010081046affffffffffffffffffffff1660208301526c0100000000000000000000000090046001600160a01b03166040909101529050600281516002811115611e0c57611e0c6124ae565b03611e43576040517ff10068b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028082526001600160a01b03831660408084019190915263ffffffff85166000908152609a6020522082518154849383917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016906001908490811115611eac57611eac6124ae565b021790555060208281015182546040909401516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff928316610100021660ff9095169490941793909317909155820151600091161561207a57600060018360200151611f279190612cfc565b6affffffffffffffffffffff1690506000609b8281548110611f4b57611f4b612a38565b600091825260209182902060408051606081018252919092015463ffffffff8082168352640100000000820481169483019490945268010000000000000000900490921690820152609b8054919250879184908110611fac57611fac612a38565b60009182526020918290200180547fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff166801000000000000000063ffffffff9485160217905582015187821691161461200957806020015161200c565b80515b63ffffffff8181166000818152609a60209081526040808320929092558151878152938b16908401528201526001600160a01b03871660608201529093507fb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf9060800160405180910390a150505b610d16848261233a565b603380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600181516005811115612103576121036124ae565b141580156121245750600281516005811115612121576121216124ae565b14155b15610897576040517fec3d0d8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6097546040805163ffffffff861660248201526001600160a01b03858116604483015284811660648084019190915283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f9d228a510000000000000000000000000000000000000000000000000000000017905291517fa1c702a7000000000000000000000000000000000000000000000000000000008152919092169163a1c702a79161222891600a91620151809190600401612d27565b60408051808303816000875af1158015612246573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226a9190612d59565b5050505050565b600054610100900460ff16612308576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a75565b610a7e33612084565b6000600183831c168103612330576123298585612391565b9050610586565b6123298486612391565b6098546040517f6116921800000000000000000000000000000000000000000000000000000000815263ffffffff8085166004830152831660248201526001600160a01b0390911690636116921890604401611953565b60008215801561239f575081155b156123ac575060006123d9565b60408051602081018590529081018390526060016040516020818303038152906040528051906020012090505b92915050565b63ffffffff8116811461089757600080fd5b80356001600160a01b038116811461067e57600080fd5b6000806000806080858703121561241e57600080fd5b8435612429816123df565b93506020850135925061243e604086016123f1565b9396929550929360600135925050565b60008060006060848603121561246357600080fd5b833561246e816123df565b925061247c602085016123f1565b915061248a604085016123f1565b90509250925092565b6000602082840312156124a557600080fd5b611cc4826123f1565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600681106124ed576124ed6124ae565b9052565b6124fc8282516124dd565b60208181015163ffffffff9081169184019190915260409182015116910152565b606081016123d982846124f1565b60006020828403121561253d57600080fd5b5035919050565b6001600160a01b038316815260808101611cc460208301846124f1565b6080810160038610612575576125756124ae565b9481526001600160a01b0393841660208201529190921660408201526060015290565b60005b838110156125b357818101518382015260200161259b565b50506000910152565b600081518084526125d4816020860160208601612598565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611cc460208301846125bc565b6000806020838503121561262c57600080fd5b823567ffffffffffffffff8082111561264457600080fd5b818501915085601f83011261265857600080fd5b81358181111561266757600080fd5b8660208260051b850101111561267c57600080fd5b60209290920196919550909350505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015612714578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805115158452870151878401879052612701878501826125bc565b95880195935050908601906001016126b5565b509098975050505050505050565b6000806040838503121561273557600080fd5b8235612740816123df565b915061274e602084016123f1565b90509250929050565b6000806040838503121561276a57600080fd5b8235612775816123df565b91506020830135612785816123df565b809150509250929050565b6000806000606084860312156127a557600080fd5b61246e846123f1565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff81118282101715612800576128006127ae565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561284d5761284d6127ae565b604052919050565b600082601f83011261286657600080fd5b8135602067ffffffffffffffff821115612882576128826127ae565b8160051b612891828201612806565b92835284810182019282810190878511156128ab57600080fd5b83870192505b848310156128ca578235825291830191908301906128b1565b979650505050505050565b600080600083850360a08112156128eb57600080fd5b6128f4856123f1565b935060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08201121561292657600080fd5b5061292f6127dd565b60208501356006811061294157600080fd5b81526040850135612951816123df565b60208201526060850135612964816123df565b60408201529150608084013567ffffffffffffffff81111561298557600080fd5b61299186828701612855565b9150509250925092565b60006001600160a01b0380891683528088166020840152808716604084015280861660608401525060c060808301526129d760c08301856125bc565b82810360a08401526129e981856125bc565b9998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156123d9576123d96129f6565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112612a9b57600080fd5b9190910192915050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612ada57600080fd5b83018035915067ffffffffffffffff821115612af557600080fd5b602001915036819003821315612b0a57600080fd5b9250929050565b8183823760009101908152919050565b805164ffffffffff8116811461067e57600080fd5b600080600060608486031215612b4b57600080fd5b612b5484612b21565b9250612b6260208501612b21565b91506040840151612b72816123df565b809150509250925092565b808201808211156123d9576123d96129f6565b602081016123d982846124dd565b600082601f830112612baf57600080fd5b815167ffffffffffffffff811115612bc957612bc96127ae565b612bfa60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612806565b818152846020838601011115612c0f57600080fd5b610586826020830160208701612598565b60008060408385031215612c3357600080fd5b825167ffffffffffffffff80821115612c4b57600080fd5b612c5786838701612b9e565b93506020850151915080821115612c6d57600080fd5b50612c7a85828601612b9e565b9150509250929050565b600060068510612c9657612c966124ae565b5060f89390931b835260e09190911b7fffffffff0000000000000000000000000000000000000000000000000000000016600183015260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600582015260190190565b6affffffffffffffffffffff828116828216039080821115612d2057612d206129f6565b5092915050565b600063ffffffff808616835280851660208401525060606040830152612d5060608301846125bc565b95945050505050565b60008060408385031215612d6c57600080fd5b8251612d77816123df565b602093909301519294929350505056fea2646970667358221220b14fe6ee2c1f07ca1a734693a81e6b61031c9d224ffa496c44603a9227ffb9a064736f6c63430008110033", }
LightManagerMetaData contains all meta data concerning the LightManager contract.
var MerkleMathABI = MerkleMathMetaData.ABI
MerkleMathABI is the input ABI used to generate the binding from. Deprecated: Use MerkleMathMetaData.ABI instead.
var MerkleMathBin = MerkleMathMetaData.Bin
MerkleMathBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MerkleMathMetaData.Bin instead.
var MerkleMathMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e7584032e4e2bfc39a3147c591d71ea7ddf7b179c4978072496ab11db8da422164736f6c63430008110033",
}
MerkleMathMetaData contains all meta data concerning the MerkleMath contract.
var MessagingBaseABI = MessagingBaseMetaData.ABI
MessagingBaseABI is the input ABI used to generate the binding from. Deprecated: Use MessagingBaseMetaData.ABI instead.
var MessagingBaseFuncSigs = MessagingBaseMetaData.Sigs
Deprecated: Use MessagingBaseMetaData.Sigs instead. MessagingBaseFuncSigs maps the 4-byte function signature to its string representation.
var MessagingBaseMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "8d3638f4": "localDomain()", "60fc8466": "multicall((bool,bytes)[])", "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "f2fde38b": "transferOwnership(address)", "54fd4d50": "version()", }, }
MessagingBaseMetaData contains all meta data concerning the MessagingBase contract.
var MultiCallableABI = MultiCallableMetaData.ABI
MultiCallableABI is the input ABI used to generate the binding from. Deprecated: Use MultiCallableMetaData.ABI instead.
var MultiCallableFuncSigs = MultiCallableMetaData.Sigs
Deprecated: Use MultiCallableMetaData.Sigs instead. MultiCallableFuncSigs maps the 4-byte function signature to its string representation.
var MultiCallableMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "60fc8466": "multicall((bool,bytes)[])", }, }
MultiCallableMetaData contains all meta data concerning the MultiCallable contract.
var NumberLibABI = NumberLibMetaData.ABI
NumberLibABI is the input ABI used to generate the binding from. Deprecated: Use NumberLibMetaData.ABI instead.
var NumberLibBin = NumberLibMetaData.Bin
NumberLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use NumberLibMetaData.Bin instead.
var NumberLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122008bbed760c9a40745a756a8f807369850cfafe681d8f82c371a9bc831d4c28aa64736f6c63430008110033",
}
NumberLibMetaData contains all meta data concerning the NumberLib contract.
var OwnableUpgradeableABI = OwnableUpgradeableMetaData.ABI
OwnableUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableUpgradeableMetaData.ABI instead.
var OwnableUpgradeableFuncSigs = OwnableUpgradeableMetaData.Sigs
Deprecated: Use OwnableUpgradeableMetaData.Sigs instead. OwnableUpgradeableFuncSigs maps the 4-byte function signature to its string representation.
var OwnableUpgradeableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "f2fde38b": "transferOwnership(address)", }, }
OwnableUpgradeableMetaData contains all meta data concerning the OwnableUpgradeable contract.
var StructureUtilsABI = StructureUtilsMetaData.ABI
StructureUtilsABI is the input ABI used to generate the binding from. Deprecated: Use StructureUtilsMetaData.ABI instead.
var StructureUtilsBin = StructureUtilsMetaData.Bin
StructureUtilsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StructureUtilsMetaData.Bin instead.
var StructureUtilsMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ead0ebb748849435a3e1ef69d5e9ae5c4cb171ba4a0b8b1bc549247aa79f4bd364736f6c63430008110033",
}
StructureUtilsMetaData contains all meta data concerning the StructureUtils contract.
var VersionedABI = VersionedMetaData.ABI
VersionedABI is the input ABI used to generate the binding from. Deprecated: Use VersionedMetaData.ABI instead.
var VersionedFuncSigs = VersionedMetaData.Sigs
Deprecated: Use VersionedMetaData.Sigs instead. VersionedFuncSigs maps the 4-byte function signature to its string representation.
var VersionedMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "54fd4d50": "version()", }, }
VersionedMetaData contains all meta data concerning the Versioned contract.
Functions ¶
This section is empty.
Types ¶
type AddressUpgradeable ¶
type AddressUpgradeable struct { AddressUpgradeableCaller // Read-only binding to the contract AddressUpgradeableTransactor // Write-only binding to the contract AddressUpgradeableFilterer // Log filterer for contract events }
AddressUpgradeable is an auto generated Go binding around an Ethereum contract.
func DeployAddressUpgradeable ¶
func DeployAddressUpgradeable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AddressUpgradeable, error)
DeployAddressUpgradeable deploys a new Ethereum contract, binding an instance of AddressUpgradeable to it.
func NewAddressUpgradeable ¶
func NewAddressUpgradeable(address common.Address, backend bind.ContractBackend) (*AddressUpgradeable, error)
NewAddressUpgradeable creates a new instance of AddressUpgradeable, bound to a specific deployed contract.
type AddressUpgradeableCaller ¶
type AddressUpgradeableCaller struct {
// contains filtered or unexported fields
}
AddressUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAddressUpgradeableCaller ¶
func NewAddressUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*AddressUpgradeableCaller, error)
NewAddressUpgradeableCaller creates a new read-only instance of AddressUpgradeable, bound to a specific deployed contract.
type AddressUpgradeableCallerRaw ¶
type AddressUpgradeableCallerRaw struct {
Contract *AddressUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
AddressUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AddressUpgradeableCallerRaw) Call ¶
func (_AddressUpgradeable *AddressUpgradeableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type AddressUpgradeableCallerSession ¶
type AddressUpgradeableCallerSession struct { Contract *AddressUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AddressUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AddressUpgradeableFilterer ¶
type AddressUpgradeableFilterer struct {
// contains filtered or unexported fields
}
AddressUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAddressUpgradeableFilterer ¶
func NewAddressUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressUpgradeableFilterer, error)
NewAddressUpgradeableFilterer creates a new log filterer instance of AddressUpgradeable, bound to a specific deployed contract.
type AddressUpgradeableRaw ¶
type AddressUpgradeableRaw struct {
Contract *AddressUpgradeable // Generic contract binding to access the raw methods on
}
AddressUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AddressUpgradeableRaw) Call ¶
func (_AddressUpgradeable *AddressUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*AddressUpgradeableRaw) Transact ¶
func (_AddressUpgradeable *AddressUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressUpgradeableRaw) Transfer ¶
func (_AddressUpgradeable *AddressUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AddressUpgradeableSession ¶
type AddressUpgradeableSession struct { Contract *AddressUpgradeable // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AddressUpgradeableTransactor ¶
type AddressUpgradeableTransactor struct {
// contains filtered or unexported fields
}
AddressUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAddressUpgradeableTransactor ¶
func NewAddressUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressUpgradeableTransactor, error)
NewAddressUpgradeableTransactor creates a new write-only instance of AddressUpgradeable, bound to a specific deployed contract.
type AddressUpgradeableTransactorRaw ¶
type AddressUpgradeableTransactorRaw struct {
Contract *AddressUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
AddressUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AddressUpgradeableTransactorRaw) Transact ¶
func (_AddressUpgradeable *AddressUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressUpgradeableTransactorRaw) Transfer ¶
func (_AddressUpgradeable *AddressUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AddressUpgradeableTransactorSession ¶
type AddressUpgradeableTransactorSession struct { Contract *AddressUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type AgentManager ¶
type AgentManager struct { AgentManagerCaller // Read-only binding to the contract AgentManagerTransactor // Write-only binding to the contract AgentManagerFilterer // Log filterer for contract events }
AgentManager is an auto generated Go binding around an Ethereum contract.
func NewAgentManager ¶
func NewAgentManager(address common.Address, backend bind.ContractBackend) (*AgentManager, error)
NewAgentManager creates a new instance of AgentManager, bound to a specific deployed contract.
type AgentManagerCaller ¶
type AgentManagerCaller struct {
// contains filtered or unexported fields
}
AgentManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAgentManagerCaller ¶
func NewAgentManagerCaller(address common.Address, caller bind.ContractCaller) (*AgentManagerCaller, error)
NewAgentManagerCaller creates a new read-only instance of AgentManager, bound to a specific deployed contract.
func (*AgentManagerCaller) AgentRoot ¶
func (_AgentManager *AgentManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*AgentManagerCaller) AgentStatus ¶
func (_AgentManager *AgentManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*AgentManagerCaller) Destination ¶
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*AgentManagerCaller) DisputeStatus ¶
func (_AgentManager *AgentManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*AgentManagerCaller) GetAgent ¶
func (_AgentManager *AgentManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*AgentManagerCaller) GetDispute ¶
func (_AgentManager *AgentManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*AgentManagerCaller) GetDisputesAmount ¶
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*AgentManagerCaller) Inbox ¶
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*AgentManagerCaller) LocalDomain ¶
func (_AgentManager *AgentManagerCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*AgentManagerCaller) Origin ¶
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
type AgentManagerCallerRaw ¶
type AgentManagerCallerRaw struct {
Contract *AgentManagerCaller // Generic read-only contract binding to access the raw methods on
}
AgentManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AgentManagerCallerRaw) Call ¶
func (_AgentManager *AgentManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type AgentManagerCallerSession ¶
type AgentManagerCallerSession struct { Contract *AgentManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AgentManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AgentManagerCallerSession) AgentRoot ¶
func (_AgentManager *AgentManagerCallerSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*AgentManagerCallerSession) AgentStatus ¶
func (_AgentManager *AgentManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*AgentManagerCallerSession) Destination ¶
func (_AgentManager *AgentManagerCallerSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*AgentManagerCallerSession) DisputeStatus ¶
func (_AgentManager *AgentManagerCallerSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*AgentManagerCallerSession) GetAgent ¶
func (_AgentManager *AgentManagerCallerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*AgentManagerCallerSession) GetDispute ¶
func (_AgentManager *AgentManagerCallerSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*AgentManagerCallerSession) GetDisputesAmount ¶
func (_AgentManager *AgentManagerCallerSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*AgentManagerCallerSession) Inbox ¶
func (_AgentManager *AgentManagerCallerSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*AgentManagerCallerSession) LocalDomain ¶
func (_AgentManager *AgentManagerCallerSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*AgentManagerCallerSession) Origin ¶
func (_AgentManager *AgentManagerCallerSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*AgentManagerCallerSession) Owner ¶
func (_AgentManager *AgentManagerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentManagerCallerSession) Version ¶
func (_AgentManager *AgentManagerCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type AgentManagerDisputeOpened ¶
type AgentManagerDisputeOpened struct { DisputeIndex *big.Int GuardIndex uint32 NotaryIndex uint32 Raw types.Log // Blockchain specific contextual infos }
AgentManagerDisputeOpened represents a DisputeOpened event raised by the AgentManager contract.
type AgentManagerDisputeOpenedIterator ¶
type AgentManagerDisputeOpenedIterator struct { Event *AgentManagerDisputeOpened // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the AgentManager contract.
func (*AgentManagerDisputeOpenedIterator) Close ¶
func (it *AgentManagerDisputeOpenedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerDisputeOpenedIterator) Error ¶
func (it *AgentManagerDisputeOpenedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerDisputeOpenedIterator) Next ¶
func (it *AgentManagerDisputeOpenedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerDisputeResolved ¶
type AgentManagerDisputeResolved struct { DisputeIndex *big.Int SlashedIndex uint32 RivalIndex uint32 FraudProver common.Address Raw types.Log // Blockchain specific contextual infos }
AgentManagerDisputeResolved represents a DisputeResolved event raised by the AgentManager contract.
type AgentManagerDisputeResolvedIterator ¶
type AgentManagerDisputeResolvedIterator struct { Event *AgentManagerDisputeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the AgentManager contract.
func (*AgentManagerDisputeResolvedIterator) Close ¶
func (it *AgentManagerDisputeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerDisputeResolvedIterator) Error ¶
func (it *AgentManagerDisputeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerDisputeResolvedIterator) Next ¶
func (it *AgentManagerDisputeResolvedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerEvents ¶
type AgentManagerEvents struct { AgentManagerEventsCaller // Read-only binding to the contract AgentManagerEventsTransactor // Write-only binding to the contract AgentManagerEventsFilterer // Log filterer for contract events }
AgentManagerEvents is an auto generated Go binding around an Ethereum contract.
func NewAgentManagerEvents ¶
func NewAgentManagerEvents(address common.Address, backend bind.ContractBackend) (*AgentManagerEvents, error)
NewAgentManagerEvents creates a new instance of AgentManagerEvents, bound to a specific deployed contract.
type AgentManagerEventsCaller ¶
type AgentManagerEventsCaller struct {
// contains filtered or unexported fields
}
AgentManagerEventsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAgentManagerEventsCaller ¶
func NewAgentManagerEventsCaller(address common.Address, caller bind.ContractCaller) (*AgentManagerEventsCaller, error)
NewAgentManagerEventsCaller creates a new read-only instance of AgentManagerEvents, bound to a specific deployed contract.
type AgentManagerEventsCallerRaw ¶
type AgentManagerEventsCallerRaw struct {
Contract *AgentManagerEventsCaller // Generic read-only contract binding to access the raw methods on
}
AgentManagerEventsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AgentManagerEventsCallerRaw) Call ¶
func (_AgentManagerEvents *AgentManagerEventsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type AgentManagerEventsCallerSession ¶
type AgentManagerEventsCallerSession struct { Contract *AgentManagerEventsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AgentManagerEventsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AgentManagerEventsDisputeOpened ¶
type AgentManagerEventsDisputeOpened struct { DisputeIndex *big.Int GuardIndex uint32 NotaryIndex uint32 Raw types.Log // Blockchain specific contextual infos }
AgentManagerEventsDisputeOpened represents a DisputeOpened event raised by the AgentManagerEvents contract.
type AgentManagerEventsDisputeOpenedIterator ¶
type AgentManagerEventsDisputeOpenedIterator struct { Event *AgentManagerEventsDisputeOpened // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerEventsDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the AgentManagerEvents contract.
func (*AgentManagerEventsDisputeOpenedIterator) Close ¶
func (it *AgentManagerEventsDisputeOpenedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerEventsDisputeOpenedIterator) Error ¶
func (it *AgentManagerEventsDisputeOpenedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerEventsDisputeOpenedIterator) Next ¶
func (it *AgentManagerEventsDisputeOpenedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerEventsDisputeResolved ¶
type AgentManagerEventsDisputeResolved struct { DisputeIndex *big.Int SlashedIndex uint32 RivalIndex uint32 FraudProver common.Address Raw types.Log // Blockchain specific contextual infos }
AgentManagerEventsDisputeResolved represents a DisputeResolved event raised by the AgentManagerEvents contract.
type AgentManagerEventsDisputeResolvedIterator ¶
type AgentManagerEventsDisputeResolvedIterator struct { Event *AgentManagerEventsDisputeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerEventsDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the AgentManagerEvents contract.
func (*AgentManagerEventsDisputeResolvedIterator) Close ¶
func (it *AgentManagerEventsDisputeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerEventsDisputeResolvedIterator) Error ¶
func (it *AgentManagerEventsDisputeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerEventsDisputeResolvedIterator) Next ¶
func (it *AgentManagerEventsDisputeResolvedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerEventsFilterer ¶
type AgentManagerEventsFilterer struct {
// contains filtered or unexported fields
}
AgentManagerEventsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAgentManagerEventsFilterer ¶
func NewAgentManagerEventsFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentManagerEventsFilterer, error)
NewAgentManagerEventsFilterer creates a new log filterer instance of AgentManagerEvents, bound to a specific deployed contract.
func (*AgentManagerEventsFilterer) FilterDisputeOpened ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerEventsDisputeOpenedIterator, error)
FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerEventsFilterer) FilterDisputeResolved ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerEventsDisputeResolvedIterator, error)
FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerEventsFilterer) FilterRootUpdated ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerEventsRootUpdatedIterator, error)
FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerEventsFilterer) FilterStatusUpdated ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerEventsStatusUpdatedIterator, error)
FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*AgentManagerEventsFilterer) ParseDisputeOpened ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerEventsDisputeOpened, error)
ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerEventsFilterer) ParseDisputeResolved ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerEventsDisputeResolved, error)
ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerEventsFilterer) ParseRootUpdated ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseRootUpdated(log types.Log) (*AgentManagerEventsRootUpdated, error)
ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerEventsFilterer) ParseStatusUpdated ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerEventsStatusUpdated, error)
ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*AgentManagerEventsFilterer) WatchDisputeOpened ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsDisputeOpened) (event.Subscription, error)
WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerEventsFilterer) WatchDisputeResolved ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsDisputeResolved) (event.Subscription, error)
WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerEventsFilterer) WatchRootUpdated ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsRootUpdated) (event.Subscription, error)
WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerEventsFilterer) WatchStatusUpdated ¶
func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)
WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
type AgentManagerEventsRaw ¶
type AgentManagerEventsRaw struct {
Contract *AgentManagerEvents // Generic contract binding to access the raw methods on
}
AgentManagerEventsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AgentManagerEventsRaw) Call ¶
func (_AgentManagerEvents *AgentManagerEventsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*AgentManagerEventsRaw) Transact ¶
func (_AgentManagerEvents *AgentManagerEventsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentManagerEventsRaw) Transfer ¶
func (_AgentManagerEvents *AgentManagerEventsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AgentManagerEventsRootUpdated ¶
type AgentManagerEventsRootUpdated struct { NewRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
AgentManagerEventsRootUpdated represents a RootUpdated event raised by the AgentManagerEvents contract.
type AgentManagerEventsRootUpdatedIterator ¶
type AgentManagerEventsRootUpdatedIterator struct { Event *AgentManagerEventsRootUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerEventsRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the AgentManagerEvents contract.
func (*AgentManagerEventsRootUpdatedIterator) Close ¶
func (it *AgentManagerEventsRootUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerEventsRootUpdatedIterator) Error ¶
func (it *AgentManagerEventsRootUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerEventsRootUpdatedIterator) Next ¶
func (it *AgentManagerEventsRootUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerEventsSession ¶
type AgentManagerEventsSession struct { Contract *AgentManagerEvents // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentManagerEventsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AgentManagerEventsStatusUpdated ¶
type AgentManagerEventsStatusUpdated struct { Flag uint8 Domain uint32 Agent common.Address Raw types.Log // Blockchain specific contextual infos }
AgentManagerEventsStatusUpdated represents a StatusUpdated event raised by the AgentManagerEvents contract.
type AgentManagerEventsStatusUpdatedIterator ¶
type AgentManagerEventsStatusUpdatedIterator struct { Event *AgentManagerEventsStatusUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerEventsStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the AgentManagerEvents contract.
func (*AgentManagerEventsStatusUpdatedIterator) Close ¶
func (it *AgentManagerEventsStatusUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerEventsStatusUpdatedIterator) Error ¶
func (it *AgentManagerEventsStatusUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerEventsStatusUpdatedIterator) Next ¶
func (it *AgentManagerEventsStatusUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerEventsTransactor ¶
type AgentManagerEventsTransactor struct {
// contains filtered or unexported fields
}
AgentManagerEventsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAgentManagerEventsTransactor ¶
func NewAgentManagerEventsTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentManagerEventsTransactor, error)
NewAgentManagerEventsTransactor creates a new write-only instance of AgentManagerEvents, bound to a specific deployed contract.
type AgentManagerEventsTransactorRaw ¶
type AgentManagerEventsTransactorRaw struct {
Contract *AgentManagerEventsTransactor // Generic write-only contract binding to access the raw methods on
}
AgentManagerEventsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AgentManagerEventsTransactorRaw) Transact ¶
func (_AgentManagerEvents *AgentManagerEventsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentManagerEventsTransactorRaw) Transfer ¶
func (_AgentManagerEvents *AgentManagerEventsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AgentManagerEventsTransactorSession ¶
type AgentManagerEventsTransactorSession struct { Contract *AgentManagerEventsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentManagerEventsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type AgentManagerFilterer ¶
type AgentManagerFilterer struct {
// contains filtered or unexported fields
}
AgentManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAgentManagerFilterer ¶
func NewAgentManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentManagerFilterer, error)
NewAgentManagerFilterer creates a new log filterer instance of AgentManager, bound to a specific deployed contract.
func (*AgentManagerFilterer) FilterDisputeOpened ¶
func (_AgentManager *AgentManagerFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerDisputeOpenedIterator, error)
FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerFilterer) FilterDisputeResolved ¶
func (_AgentManager *AgentManagerFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerDisputeResolvedIterator, error)
FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerFilterer) FilterInitialized ¶
func (_AgentManager *AgentManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*AgentManagerInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AgentManagerFilterer) FilterOwnershipTransferred ¶
func (_AgentManager *AgentManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AgentManagerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AgentManagerFilterer) FilterRootUpdated ¶
func (_AgentManager *AgentManagerFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerRootUpdatedIterator, error)
FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerFilterer) FilterStatusUpdated ¶
func (_AgentManager *AgentManagerFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerStatusUpdatedIterator, error)
FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*AgentManagerFilterer) ParseDisputeOpened ¶
func (_AgentManager *AgentManagerFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerDisputeOpened, error)
ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerFilterer) ParseDisputeResolved ¶
func (_AgentManager *AgentManagerFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerDisputeResolved, error)
ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerFilterer) ParseInitialized ¶
func (_AgentManager *AgentManagerFilterer) ParseInitialized(log types.Log) (*AgentManagerInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AgentManagerFilterer) ParseOwnershipTransferred ¶
func (_AgentManager *AgentManagerFilterer) ParseOwnershipTransferred(log types.Log) (*AgentManagerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AgentManagerFilterer) ParseRootUpdated ¶
func (_AgentManager *AgentManagerFilterer) ParseRootUpdated(log types.Log) (*AgentManagerRootUpdated, error)
ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerFilterer) ParseStatusUpdated ¶
func (_AgentManager *AgentManagerFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerStatusUpdated, error)
ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*AgentManagerFilterer) WatchDisputeOpened ¶
func (_AgentManager *AgentManagerFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerDisputeOpened) (event.Subscription, error)
WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerFilterer) WatchDisputeResolved ¶
func (_AgentManager *AgentManagerFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerDisputeResolved) (event.Subscription, error)
WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerFilterer) WatchInitialized ¶
func (_AgentManager *AgentManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AgentManagerInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AgentManagerFilterer) WatchOwnershipTransferred ¶
func (_AgentManager *AgentManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AgentManagerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AgentManagerFilterer) WatchRootUpdated ¶
func (_AgentManager *AgentManagerFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerRootUpdated) (event.Subscription, error)
WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerFilterer) WatchStatusUpdated ¶
func (_AgentManager *AgentManagerFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)
WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
type AgentManagerHarness ¶
type AgentManagerHarness struct { AgentManagerHarnessCaller // Read-only binding to the contract AgentManagerHarnessTransactor // Write-only binding to the contract AgentManagerHarnessFilterer // Log filterer for contract events }
AgentManagerHarness is an auto generated Go binding around an Ethereum contract.
func NewAgentManagerHarness ¶
func NewAgentManagerHarness(address common.Address, backend bind.ContractBackend) (*AgentManagerHarness, error)
NewAgentManagerHarness creates a new instance of AgentManagerHarness, bound to a specific deployed contract.
type AgentManagerHarnessCaller ¶
type AgentManagerHarnessCaller struct {
// contains filtered or unexported fields
}
AgentManagerHarnessCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAgentManagerHarnessCaller ¶
func NewAgentManagerHarnessCaller(address common.Address, caller bind.ContractCaller) (*AgentManagerHarnessCaller, error)
NewAgentManagerHarnessCaller creates a new read-only instance of AgentManagerHarness, bound to a specific deployed contract.
func (*AgentManagerHarnessCaller) AgentRoot ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*AgentManagerHarnessCaller) AgentStatus ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*AgentManagerHarnessCaller) Destination ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) Destination(opts *bind.CallOpts) (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*AgentManagerHarnessCaller) DisputeStatus ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*AgentManagerHarnessCaller) GetAgent ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*AgentManagerHarnessCaller) GetDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*AgentManagerHarnessCaller) GetDisputesAmount ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*AgentManagerHarnessCaller) Inbox ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) Inbox(opts *bind.CallOpts) (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*AgentManagerHarnessCaller) LocalDomain ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*AgentManagerHarnessCaller) Origin ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) Origin(opts *bind.CallOpts) (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*AgentManagerHarnessCaller) Owner ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentManagerHarnessCaller) RemoteMockFunc ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) RemoteMockFunc(opts *bind.CallOpts, arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.
Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)
func (*AgentManagerHarnessCaller) SensitiveMockFunc ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFunc(opts *bind.CallOpts, arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.
Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)
func (*AgentManagerHarnessCaller) SensitiveMockFuncOver32Bytes ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFuncOver32Bytes(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.
Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)
func (*AgentManagerHarnessCaller) SensitiveMockFuncVoid ¶
func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFuncVoid(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.
Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()
type AgentManagerHarnessCallerRaw ¶
type AgentManagerHarnessCallerRaw struct {
Contract *AgentManagerHarnessCaller // Generic read-only contract binding to access the raw methods on
}
AgentManagerHarnessCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AgentManagerHarnessCallerRaw) Call ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type AgentManagerHarnessCallerSession ¶
type AgentManagerHarnessCallerSession struct { Contract *AgentManagerHarnessCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AgentManagerHarnessCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AgentManagerHarnessCallerSession) AgentRoot ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*AgentManagerHarnessCallerSession) AgentStatus ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*AgentManagerHarnessCallerSession) Destination ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*AgentManagerHarnessCallerSession) DisputeStatus ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*AgentManagerHarnessCallerSession) GetAgent ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*AgentManagerHarnessCallerSession) GetDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*AgentManagerHarnessCallerSession) GetDisputesAmount ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*AgentManagerHarnessCallerSession) Inbox ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*AgentManagerHarnessCallerSession) LocalDomain ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*AgentManagerHarnessCallerSession) Origin ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*AgentManagerHarnessCallerSession) Owner ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentManagerHarnessCallerSession) RemoteMockFunc ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.
Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)
func (*AgentManagerHarnessCallerSession) SensitiveMockFunc ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.
Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)
func (*AgentManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.
Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)
func (*AgentManagerHarnessCallerSession) SensitiveMockFuncVoid ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.
Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()
func (*AgentManagerHarnessCallerSession) Version ¶
func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type AgentManagerHarnessDisputeOpened ¶
type AgentManagerHarnessDisputeOpened struct { DisputeIndex *big.Int GuardIndex uint32 NotaryIndex uint32 Raw types.Log // Blockchain specific contextual infos }
AgentManagerHarnessDisputeOpened represents a DisputeOpened event raised by the AgentManagerHarness contract.
type AgentManagerHarnessDisputeOpenedIterator ¶
type AgentManagerHarnessDisputeOpenedIterator struct { Event *AgentManagerHarnessDisputeOpened // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerHarnessDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the AgentManagerHarness contract.
func (*AgentManagerHarnessDisputeOpenedIterator) Close ¶
func (it *AgentManagerHarnessDisputeOpenedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerHarnessDisputeOpenedIterator) Error ¶
func (it *AgentManagerHarnessDisputeOpenedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerHarnessDisputeOpenedIterator) Next ¶
func (it *AgentManagerHarnessDisputeOpenedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerHarnessDisputeResolved ¶
type AgentManagerHarnessDisputeResolved struct { DisputeIndex *big.Int SlashedIndex uint32 RivalIndex uint32 FraudProver common.Address Raw types.Log // Blockchain specific contextual infos }
AgentManagerHarnessDisputeResolved represents a DisputeResolved event raised by the AgentManagerHarness contract.
type AgentManagerHarnessDisputeResolvedIterator ¶
type AgentManagerHarnessDisputeResolvedIterator struct { Event *AgentManagerHarnessDisputeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerHarnessDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the AgentManagerHarness contract.
func (*AgentManagerHarnessDisputeResolvedIterator) Close ¶
func (it *AgentManagerHarnessDisputeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerHarnessDisputeResolvedIterator) Error ¶
func (it *AgentManagerHarnessDisputeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerHarnessDisputeResolvedIterator) Next ¶
func (it *AgentManagerHarnessDisputeResolvedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerHarnessFilterer ¶
type AgentManagerHarnessFilterer struct {
// contains filtered or unexported fields
}
AgentManagerHarnessFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAgentManagerHarnessFilterer ¶
func NewAgentManagerHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentManagerHarnessFilterer, error)
NewAgentManagerHarnessFilterer creates a new log filterer instance of AgentManagerHarness, bound to a specific deployed contract.
func (*AgentManagerHarnessFilterer) FilterDisputeOpened ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerHarnessDisputeOpenedIterator, error)
FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerHarnessFilterer) FilterDisputeResolved ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerHarnessDisputeResolvedIterator, error)
FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerHarnessFilterer) FilterInitialized ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterInitialized(opts *bind.FilterOpts) (*AgentManagerHarnessInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AgentManagerHarnessFilterer) FilterOwnershipTransferred ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AgentManagerHarnessOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AgentManagerHarnessFilterer) FilterRootUpdated ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerHarnessRootUpdatedIterator, error)
FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerHarnessFilterer) FilterStatusUpdated ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerHarnessStatusUpdatedIterator, error)
FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*AgentManagerHarnessFilterer) ParseDisputeOpened ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerHarnessDisputeOpened, error)
ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerHarnessFilterer) ParseDisputeResolved ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerHarnessDisputeResolved, error)
ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerHarnessFilterer) ParseInitialized ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseInitialized(log types.Log) (*AgentManagerHarnessInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AgentManagerHarnessFilterer) ParseOwnershipTransferred ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseOwnershipTransferred(log types.Log) (*AgentManagerHarnessOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AgentManagerHarnessFilterer) ParseRootUpdated ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseRootUpdated(log types.Log) (*AgentManagerHarnessRootUpdated, error)
ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerHarnessFilterer) ParseStatusUpdated ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerHarnessStatusUpdated, error)
ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*AgentManagerHarnessFilterer) WatchDisputeOpened ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessDisputeOpened) (event.Subscription, error)
WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*AgentManagerHarnessFilterer) WatchDisputeResolved ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessDisputeResolved) (event.Subscription, error)
WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*AgentManagerHarnessFilterer) WatchInitialized ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AgentManagerHarnessFilterer) WatchOwnershipTransferred ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AgentManagerHarnessFilterer) WatchRootUpdated ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessRootUpdated) (event.Subscription, error)
WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*AgentManagerHarnessFilterer) WatchStatusUpdated ¶
func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)
WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
type AgentManagerHarnessInitialized ¶
type AgentManagerHarnessInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
AgentManagerHarnessInitialized represents a Initialized event raised by the AgentManagerHarness contract.
type AgentManagerHarnessInitializedIterator ¶
type AgentManagerHarnessInitializedIterator struct { Event *AgentManagerHarnessInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerHarnessInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the AgentManagerHarness contract.
func (*AgentManagerHarnessInitializedIterator) Close ¶
func (it *AgentManagerHarnessInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerHarnessInitializedIterator) Error ¶
func (it *AgentManagerHarnessInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerHarnessInitializedIterator) Next ¶
func (it *AgentManagerHarnessInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerHarnessOwnershipTransferred ¶
type AgentManagerHarnessOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
AgentManagerHarnessOwnershipTransferred represents a OwnershipTransferred event raised by the AgentManagerHarness contract.
type AgentManagerHarnessOwnershipTransferredIterator ¶
type AgentManagerHarnessOwnershipTransferredIterator struct { Event *AgentManagerHarnessOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerHarnessOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AgentManagerHarness contract.
func (*AgentManagerHarnessOwnershipTransferredIterator) Close ¶
func (it *AgentManagerHarnessOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerHarnessOwnershipTransferredIterator) Error ¶
func (it *AgentManagerHarnessOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerHarnessOwnershipTransferredIterator) Next ¶
func (it *AgentManagerHarnessOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerHarnessRaw ¶
type AgentManagerHarnessRaw struct {
Contract *AgentManagerHarness // Generic contract binding to access the raw methods on
}
AgentManagerHarnessRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AgentManagerHarnessRaw) Call ¶
func (_AgentManagerHarness *AgentManagerHarnessRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*AgentManagerHarnessRaw) Transact ¶
func (_AgentManagerHarness *AgentManagerHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentManagerHarnessRaw) Transfer ¶
func (_AgentManagerHarness *AgentManagerHarnessRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AgentManagerHarnessRootUpdated ¶
type AgentManagerHarnessRootUpdated struct { NewRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
AgentManagerHarnessRootUpdated represents a RootUpdated event raised by the AgentManagerHarness contract.
type AgentManagerHarnessRootUpdatedIterator ¶
type AgentManagerHarnessRootUpdatedIterator struct { Event *AgentManagerHarnessRootUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerHarnessRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the AgentManagerHarness contract.
func (*AgentManagerHarnessRootUpdatedIterator) Close ¶
func (it *AgentManagerHarnessRootUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerHarnessRootUpdatedIterator) Error ¶
func (it *AgentManagerHarnessRootUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerHarnessRootUpdatedIterator) Next ¶
func (it *AgentManagerHarnessRootUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerHarnessSession ¶
type AgentManagerHarnessSession struct { Contract *AgentManagerHarness // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentManagerHarnessSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AgentManagerHarnessSession) AgentRoot ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*AgentManagerHarnessSession) AgentStatus ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*AgentManagerHarnessSession) Destination ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*AgentManagerHarnessSession) DisputeStatus ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*AgentManagerHarnessSession) GetAgent ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*AgentManagerHarnessSession) GetDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*AgentManagerHarnessSession) GetDisputesAmount ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*AgentManagerHarnessSession) Inbox ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*AgentManagerHarnessSession) LocalDomain ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*AgentManagerHarnessSession) Multicall ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*AgentManagerHarnessSession) OpenDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*AgentManagerHarnessSession) Origin ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*AgentManagerHarnessSession) Owner ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentManagerHarnessSession) RemoteMockFunc ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.
Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)
func (*AgentManagerHarnessSession) RenounceOwnership ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AgentManagerHarnessSession) ResolveStuckDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*AgentManagerHarnessSession) SensitiveMockFunc ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.
Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)
func (*AgentManagerHarnessSession) SensitiveMockFuncOver32Bytes ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.
Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)
func (*AgentManagerHarnessSession) SensitiveMockFuncVoid ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.
Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()
func (*AgentManagerHarnessSession) SlashAgent ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*AgentManagerHarnessSession) SlashAgentExposed ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.
Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()
func (*AgentManagerHarnessSession) TransferOwnership ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*AgentManagerHarnessSession) Version ¶
func (_AgentManagerHarness *AgentManagerHarnessSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type AgentManagerHarnessStatusUpdated ¶
type AgentManagerHarnessStatusUpdated struct { Flag uint8 Domain uint32 Agent common.Address Raw types.Log // Blockchain specific contextual infos }
AgentManagerHarnessStatusUpdated represents a StatusUpdated event raised by the AgentManagerHarness contract.
type AgentManagerHarnessStatusUpdatedIterator ¶
type AgentManagerHarnessStatusUpdatedIterator struct { Event *AgentManagerHarnessStatusUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerHarnessStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the AgentManagerHarness contract.
func (*AgentManagerHarnessStatusUpdatedIterator) Close ¶
func (it *AgentManagerHarnessStatusUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerHarnessStatusUpdatedIterator) Error ¶
func (it *AgentManagerHarnessStatusUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerHarnessStatusUpdatedIterator) Next ¶
func (it *AgentManagerHarnessStatusUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerHarnessTransactor ¶
type AgentManagerHarnessTransactor struct {
// contains filtered or unexported fields
}
AgentManagerHarnessTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAgentManagerHarnessTransactor ¶
func NewAgentManagerHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentManagerHarnessTransactor, error)
NewAgentManagerHarnessTransactor creates a new write-only instance of AgentManagerHarness, bound to a specific deployed contract.
func (*AgentManagerHarnessTransactor) Multicall ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*AgentManagerHarnessTransactor) OpenDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*AgentManagerHarnessTransactor) RenounceOwnership ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AgentManagerHarnessTransactor) ResolveStuckDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*AgentManagerHarnessTransactor) SlashAgent ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*AgentManagerHarnessTransactor) SlashAgentExposed ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactor) SlashAgentExposed(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.
Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()
func (*AgentManagerHarnessTransactor) TransferOwnership ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AgentManagerHarnessTransactorRaw ¶
type AgentManagerHarnessTransactorRaw struct {
Contract *AgentManagerHarnessTransactor // Generic write-only contract binding to access the raw methods on
}
AgentManagerHarnessTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AgentManagerHarnessTransactorRaw) Transact ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentManagerHarnessTransactorRaw) Transfer ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AgentManagerHarnessTransactorSession ¶
type AgentManagerHarnessTransactorSession struct { Contract *AgentManagerHarnessTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentManagerHarnessTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AgentManagerHarnessTransactorSession) Multicall ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*AgentManagerHarnessTransactorSession) OpenDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*AgentManagerHarnessTransactorSession) RenounceOwnership ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AgentManagerHarnessTransactorSession) ResolveStuckDispute ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*AgentManagerHarnessTransactorSession) SlashAgent ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*AgentManagerHarnessTransactorSession) SlashAgentExposed ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.
Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()
func (*AgentManagerHarnessTransactorSession) TransferOwnership ¶
func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AgentManagerInitialized ¶
type AgentManagerInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
AgentManagerInitialized represents a Initialized event raised by the AgentManager contract.
type AgentManagerInitializedIterator ¶
type AgentManagerInitializedIterator struct { Event *AgentManagerInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the AgentManager contract.
func (*AgentManagerInitializedIterator) Close ¶
func (it *AgentManagerInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerInitializedIterator) Error ¶
func (it *AgentManagerInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerInitializedIterator) Next ¶
func (it *AgentManagerInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerOwnershipTransferred ¶
type AgentManagerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
AgentManagerOwnershipTransferred represents a OwnershipTransferred event raised by the AgentManager contract.
type AgentManagerOwnershipTransferredIterator ¶
type AgentManagerOwnershipTransferredIterator struct { Event *AgentManagerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AgentManager contract.
func (*AgentManagerOwnershipTransferredIterator) Close ¶
func (it *AgentManagerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerOwnershipTransferredIterator) Error ¶
func (it *AgentManagerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerOwnershipTransferredIterator) Next ¶
func (it *AgentManagerOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerRaw ¶
type AgentManagerRaw struct {
Contract *AgentManager // Generic contract binding to access the raw methods on
}
AgentManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AgentManagerRaw) Call ¶
func (_AgentManager *AgentManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*AgentManagerRaw) Transact ¶
func (_AgentManager *AgentManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentManagerRaw) Transfer ¶
func (_AgentManager *AgentManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AgentManagerRootUpdated ¶
type AgentManagerRootUpdated struct { NewRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
AgentManagerRootUpdated represents a RootUpdated event raised by the AgentManager contract.
type AgentManagerRootUpdatedIterator ¶
type AgentManagerRootUpdatedIterator struct { Event *AgentManagerRootUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the AgentManager contract.
func (*AgentManagerRootUpdatedIterator) Close ¶
func (it *AgentManagerRootUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerRootUpdatedIterator) Error ¶
func (it *AgentManagerRootUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerRootUpdatedIterator) Next ¶
func (it *AgentManagerRootUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerSession ¶
type AgentManagerSession struct { Contract *AgentManager // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AgentManagerSession) AgentRoot ¶
func (_AgentManager *AgentManagerSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*AgentManagerSession) AgentStatus ¶
func (_AgentManager *AgentManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*AgentManagerSession) Destination ¶
func (_AgentManager *AgentManagerSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*AgentManagerSession) DisputeStatus ¶
func (_AgentManager *AgentManagerSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*AgentManagerSession) GetAgent ¶
func (_AgentManager *AgentManagerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*AgentManagerSession) GetDispute ¶
func (_AgentManager *AgentManagerSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*AgentManagerSession) GetDisputesAmount ¶
func (_AgentManager *AgentManagerSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*AgentManagerSession) Inbox ¶
func (_AgentManager *AgentManagerSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*AgentManagerSession) LocalDomain ¶
func (_AgentManager *AgentManagerSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*AgentManagerSession) Multicall ¶
func (_AgentManager *AgentManagerSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*AgentManagerSession) OpenDispute ¶
func (_AgentManager *AgentManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*AgentManagerSession) Origin ¶
func (_AgentManager *AgentManagerSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*AgentManagerSession) Owner ¶
func (_AgentManager *AgentManagerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AgentManagerSession) RenounceOwnership ¶
func (_AgentManager *AgentManagerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AgentManagerSession) ResolveStuckDispute ¶
func (_AgentManager *AgentManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*AgentManagerSession) SlashAgent ¶
func (_AgentManager *AgentManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*AgentManagerSession) TransferOwnership ¶
func (_AgentManager *AgentManagerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*AgentManagerSession) Version ¶
func (_AgentManager *AgentManagerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type AgentManagerStatusUpdated ¶
type AgentManagerStatusUpdated struct { Flag uint8 Domain uint32 Agent common.Address Raw types.Log // Blockchain specific contextual infos }
AgentManagerStatusUpdated represents a StatusUpdated event raised by the AgentManager contract.
type AgentManagerStatusUpdatedIterator ¶
type AgentManagerStatusUpdatedIterator struct { Event *AgentManagerStatusUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AgentManagerStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the AgentManager contract.
func (*AgentManagerStatusUpdatedIterator) Close ¶
func (it *AgentManagerStatusUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AgentManagerStatusUpdatedIterator) Error ¶
func (it *AgentManagerStatusUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AgentManagerStatusUpdatedIterator) Next ¶
func (it *AgentManagerStatusUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type AgentManagerTransactor ¶
type AgentManagerTransactor struct {
// contains filtered or unexported fields
}
AgentManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAgentManagerTransactor ¶
func NewAgentManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentManagerTransactor, error)
NewAgentManagerTransactor creates a new write-only instance of AgentManager, bound to a specific deployed contract.
func (*AgentManagerTransactor) Multicall ¶
func (_AgentManager *AgentManagerTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*AgentManagerTransactor) OpenDispute ¶
func (_AgentManager *AgentManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*AgentManagerTransactor) RenounceOwnership ¶
func (_AgentManager *AgentManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AgentManagerTransactor) ResolveStuckDispute ¶
func (_AgentManager *AgentManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*AgentManagerTransactor) SlashAgent ¶
func (_AgentManager *AgentManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*AgentManagerTransactor) TransferOwnership ¶
func (_AgentManager *AgentManagerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AgentManagerTransactorRaw ¶
type AgentManagerTransactorRaw struct {
Contract *AgentManagerTransactor // Generic write-only contract binding to access the raw methods on
}
AgentManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AgentManagerTransactorRaw) Transact ¶
func (_AgentManager *AgentManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AgentManagerTransactorRaw) Transfer ¶
func (_AgentManager *AgentManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AgentManagerTransactorSession ¶
type AgentManagerTransactorSession struct { Contract *AgentManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AgentManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AgentManagerTransactorSession) Multicall ¶
func (_AgentManager *AgentManagerTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*AgentManagerTransactorSession) OpenDispute ¶
func (_AgentManager *AgentManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*AgentManagerTransactorSession) RenounceOwnership ¶
func (_AgentManager *AgentManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AgentManagerTransactorSession) ResolveStuckDispute ¶
func (_AgentManager *AgentManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*AgentManagerTransactorSession) SlashAgent ¶
func (_AgentManager *AgentManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*AgentManagerTransactorSession) TransferOwnership ¶
func (_AgentManager *AgentManagerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AgentStatus ¶
AgentStatus is an auto generated low-level Go binding around an user-defined struct.
type ContextUpgradeable ¶
type ContextUpgradeable struct { ContextUpgradeableCaller // Read-only binding to the contract ContextUpgradeableTransactor // Write-only binding to the contract ContextUpgradeableFilterer // Log filterer for contract events }
ContextUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewContextUpgradeable ¶
func NewContextUpgradeable(address common.Address, backend bind.ContractBackend) (*ContextUpgradeable, error)
NewContextUpgradeable creates a new instance of ContextUpgradeable, bound to a specific deployed contract.
type ContextUpgradeableCaller ¶
type ContextUpgradeableCaller struct {
// contains filtered or unexported fields
}
ContextUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContextUpgradeableCaller ¶
func NewContextUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ContextUpgradeableCaller, error)
NewContextUpgradeableCaller creates a new read-only instance of ContextUpgradeable, bound to a specific deployed contract.
type ContextUpgradeableCallerRaw ¶
type ContextUpgradeableCallerRaw struct {
Contract *ContextUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
ContextUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContextUpgradeableCallerRaw) Call ¶
func (_ContextUpgradeable *ContextUpgradeableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ContextUpgradeableCallerSession ¶
type ContextUpgradeableCallerSession struct { Contract *ContextUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContextUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContextUpgradeableFilterer ¶
type ContextUpgradeableFilterer struct {
// contains filtered or unexported fields
}
ContextUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContextUpgradeableFilterer ¶
func NewContextUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextUpgradeableFilterer, error)
NewContextUpgradeableFilterer creates a new log filterer instance of ContextUpgradeable, bound to a specific deployed contract.
func (*ContextUpgradeableFilterer) FilterInitialized ¶
func (_ContextUpgradeable *ContextUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContextUpgradeableInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ContextUpgradeableFilterer) ParseInitialized ¶
func (_ContextUpgradeable *ContextUpgradeableFilterer) ParseInitialized(log types.Log) (*ContextUpgradeableInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ContextUpgradeableFilterer) WatchInitialized ¶
func (_ContextUpgradeable *ContextUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContextUpgradeableInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
type ContextUpgradeableInitialized ¶
type ContextUpgradeableInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ContextUpgradeableInitialized represents a Initialized event raised by the ContextUpgradeable contract.
type ContextUpgradeableInitializedIterator ¶
type ContextUpgradeableInitializedIterator struct { Event *ContextUpgradeableInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContextUpgradeableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ContextUpgradeable contract.
func (*ContextUpgradeableInitializedIterator) Close ¶
func (it *ContextUpgradeableInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContextUpgradeableInitializedIterator) Error ¶
func (it *ContextUpgradeableInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContextUpgradeableInitializedIterator) Next ¶
func (it *ContextUpgradeableInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ContextUpgradeableRaw ¶
type ContextUpgradeableRaw struct {
Contract *ContextUpgradeable // Generic contract binding to access the raw methods on
}
ContextUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContextUpgradeableRaw) Call ¶
func (_ContextUpgradeable *ContextUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ContextUpgradeableRaw) Transact ¶
func (_ContextUpgradeable *ContextUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextUpgradeableRaw) Transfer ¶
func (_ContextUpgradeable *ContextUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContextUpgradeableSession ¶
type ContextUpgradeableSession struct { Contract *ContextUpgradeable // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ContextUpgradeableTransactor ¶
type ContextUpgradeableTransactor struct {
// contains filtered or unexported fields
}
ContextUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContextUpgradeableTransactor ¶
func NewContextUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextUpgradeableTransactor, error)
NewContextUpgradeableTransactor creates a new write-only instance of ContextUpgradeable, bound to a specific deployed contract.
type ContextUpgradeableTransactorRaw ¶
type ContextUpgradeableTransactorRaw struct {
Contract *ContextUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
ContextUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContextUpgradeableTransactorRaw) Transact ¶
func (_ContextUpgradeable *ContextUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextUpgradeableTransactorRaw) Transfer ¶
func (_ContextUpgradeable *ContextUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContextUpgradeableTransactorSession ¶
type ContextUpgradeableTransactorSession struct { Contract *ContextUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type GasDataLib ¶
type GasDataLib struct { GasDataLibCaller // Read-only binding to the contract GasDataLibTransactor // Write-only binding to the contract GasDataLibFilterer // Log filterer for contract events }
GasDataLib is an auto generated Go binding around an Ethereum contract.
func DeployGasDataLib ¶
func DeployGasDataLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GasDataLib, error)
DeployGasDataLib deploys a new Ethereum contract, binding an instance of GasDataLib to it.
func NewGasDataLib ¶
func NewGasDataLib(address common.Address, backend bind.ContractBackend) (*GasDataLib, error)
NewGasDataLib creates a new instance of GasDataLib, bound to a specific deployed contract.
type GasDataLibCaller ¶
type GasDataLibCaller struct {
// contains filtered or unexported fields
}
GasDataLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGasDataLibCaller ¶
func NewGasDataLibCaller(address common.Address, caller bind.ContractCaller) (*GasDataLibCaller, error)
NewGasDataLibCaller creates a new read-only instance of GasDataLib, bound to a specific deployed contract.
type GasDataLibCallerRaw ¶
type GasDataLibCallerRaw struct {
Contract *GasDataLibCaller // Generic read-only contract binding to access the raw methods on
}
GasDataLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GasDataLibCallerRaw) Call ¶
func (_GasDataLib *GasDataLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type GasDataLibCallerSession ¶
type GasDataLibCallerSession struct { Contract *GasDataLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GasDataLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type GasDataLibFilterer ¶
type GasDataLibFilterer struct {
// contains filtered or unexported fields
}
GasDataLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGasDataLibFilterer ¶
func NewGasDataLibFilterer(address common.Address, filterer bind.ContractFilterer) (*GasDataLibFilterer, error)
NewGasDataLibFilterer creates a new log filterer instance of GasDataLib, bound to a specific deployed contract.
type GasDataLibRaw ¶
type GasDataLibRaw struct {
Contract *GasDataLib // Generic contract binding to access the raw methods on
}
GasDataLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GasDataLibRaw) Call ¶
func (_GasDataLib *GasDataLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*GasDataLibRaw) Transact ¶
func (_GasDataLib *GasDataLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GasDataLibRaw) Transfer ¶
func (_GasDataLib *GasDataLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type GasDataLibSession ¶
type GasDataLibSession struct { Contract *GasDataLib // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GasDataLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type GasDataLibTransactor ¶
type GasDataLibTransactor struct {
// contains filtered or unexported fields
}
GasDataLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGasDataLibTransactor ¶
func NewGasDataLibTransactor(address common.Address, transactor bind.ContractTransactor) (*GasDataLibTransactor, error)
NewGasDataLibTransactor creates a new write-only instance of GasDataLib, bound to a specific deployed contract.
type GasDataLibTransactorRaw ¶
type GasDataLibTransactorRaw struct {
Contract *GasDataLibTransactor // Generic write-only contract binding to access the raw methods on
}
GasDataLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GasDataLibTransactorRaw) Transact ¶
func (_GasDataLib *GasDataLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GasDataLibTransactorRaw) Transfer ¶
func (_GasDataLib *GasDataLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type GasDataLibTransactorSession ¶
type GasDataLibTransactorSession struct { Contract *GasDataLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GasDataLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IAgentManager ¶
type IAgentManager struct { IAgentManagerCaller // Read-only binding to the contract IAgentManagerTransactor // Write-only binding to the contract IAgentManagerFilterer // Log filterer for contract events }
IAgentManager is an auto generated Go binding around an Ethereum contract.
func NewIAgentManager ¶
func NewIAgentManager(address common.Address, backend bind.ContractBackend) (*IAgentManager, error)
NewIAgentManager creates a new instance of IAgentManager, bound to a specific deployed contract.
type IAgentManagerCaller ¶
type IAgentManagerCaller struct {
// contains filtered or unexported fields
}
IAgentManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIAgentManagerCaller ¶
func NewIAgentManagerCaller(address common.Address, caller bind.ContractCaller) (*IAgentManagerCaller, error)
NewIAgentManagerCaller creates a new read-only instance of IAgentManager, bound to a specific deployed contract.
func (*IAgentManagerCaller) AgentRoot ¶
func (_IAgentManager *IAgentManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*IAgentManagerCaller) AgentStatus ¶
func (_IAgentManager *IAgentManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))
func (*IAgentManagerCaller) DisputeStatus ¶
func (_IAgentManager *IAgentManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*IAgentManagerCaller) GetAgent ¶
func (_IAgentManager *IAgentManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*IAgentManagerCaller) GetDispute ¶
func (_IAgentManager *IAgentManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*IAgentManagerCaller) GetDisputesAmount ¶
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
type IAgentManagerCallerRaw ¶
type IAgentManagerCallerRaw struct {
Contract *IAgentManagerCaller // Generic read-only contract binding to access the raw methods on
}
IAgentManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IAgentManagerCallerRaw) Call ¶
func (_IAgentManager *IAgentManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IAgentManagerCallerSession ¶
type IAgentManagerCallerSession struct { Contract *IAgentManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IAgentManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IAgentManagerCallerSession) AgentRoot ¶
func (_IAgentManager *IAgentManagerCallerSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*IAgentManagerCallerSession) AgentStatus ¶
func (_IAgentManager *IAgentManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))
func (*IAgentManagerCallerSession) DisputeStatus ¶
func (_IAgentManager *IAgentManagerCallerSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*IAgentManagerCallerSession) GetAgent ¶
func (_IAgentManager *IAgentManagerCallerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*IAgentManagerCallerSession) GetDispute ¶
func (_IAgentManager *IAgentManagerCallerSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*IAgentManagerCallerSession) GetDisputesAmount ¶
func (_IAgentManager *IAgentManagerCallerSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
type IAgentManagerFilterer ¶
type IAgentManagerFilterer struct {
// contains filtered or unexported fields
}
IAgentManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIAgentManagerFilterer ¶
func NewIAgentManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*IAgentManagerFilterer, error)
NewIAgentManagerFilterer creates a new log filterer instance of IAgentManager, bound to a specific deployed contract.
type IAgentManagerRaw ¶
type IAgentManagerRaw struct {
Contract *IAgentManager // Generic contract binding to access the raw methods on
}
IAgentManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IAgentManagerRaw) Call ¶
func (_IAgentManager *IAgentManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IAgentManagerRaw) Transact ¶
func (_IAgentManager *IAgentManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAgentManagerRaw) Transfer ¶
func (_IAgentManager *IAgentManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IAgentManagerSession ¶
type IAgentManagerSession struct { Contract *IAgentManager // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IAgentManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IAgentManagerSession) AgentRoot ¶
func (_IAgentManager *IAgentManagerSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*IAgentManagerSession) AgentStatus ¶
func (_IAgentManager *IAgentManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))
func (*IAgentManagerSession) DisputeStatus ¶
func (_IAgentManager *IAgentManagerSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*IAgentManagerSession) GetAgent ¶
func (_IAgentManager *IAgentManagerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*IAgentManagerSession) GetDispute ¶
func (_IAgentManager *IAgentManagerSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*IAgentManagerSession) GetDisputesAmount ¶
func (_IAgentManager *IAgentManagerSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*IAgentManagerSession) OpenDispute ¶
func (_IAgentManager *IAgentManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*IAgentManagerSession) ResolveStuckDispute ¶
func (_IAgentManager *IAgentManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*IAgentManagerSession) SlashAgent ¶
func (_IAgentManager *IAgentManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
type IAgentManagerTransactor ¶
type IAgentManagerTransactor struct {
// contains filtered or unexported fields
}
IAgentManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIAgentManagerTransactor ¶
func NewIAgentManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*IAgentManagerTransactor, error)
NewIAgentManagerTransactor creates a new write-only instance of IAgentManager, bound to a specific deployed contract.
func (*IAgentManagerTransactor) OpenDispute ¶
func (_IAgentManager *IAgentManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*IAgentManagerTransactor) ResolveStuckDispute ¶
func (_IAgentManager *IAgentManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*IAgentManagerTransactor) SlashAgent ¶
func (_IAgentManager *IAgentManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
type IAgentManagerTransactorRaw ¶
type IAgentManagerTransactorRaw struct {
Contract *IAgentManagerTransactor // Generic write-only contract binding to access the raw methods on
}
IAgentManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IAgentManagerTransactorRaw) Transact ¶
func (_IAgentManager *IAgentManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAgentManagerTransactorRaw) Transfer ¶
func (_IAgentManager *IAgentManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IAgentManagerTransactorSession ¶
type IAgentManagerTransactorSession struct { Contract *IAgentManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IAgentManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IAgentManagerTransactorSession) OpenDispute ¶
func (_IAgentManager *IAgentManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*IAgentManagerTransactorSession) ResolveStuckDispute ¶
func (_IAgentManager *IAgentManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*IAgentManagerTransactorSession) SlashAgent ¶
func (_IAgentManager *IAgentManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
type IAgentSecured ¶
type IAgentSecured struct { IAgentSecuredCaller // Read-only binding to the contract IAgentSecuredTransactor // Write-only binding to the contract IAgentSecuredFilterer // Log filterer for contract events }
IAgentSecured is an auto generated Go binding around an Ethereum contract.
func NewIAgentSecured ¶
func NewIAgentSecured(address common.Address, backend bind.ContractBackend) (*IAgentSecured, error)
NewIAgentSecured creates a new instance of IAgentSecured, bound to a specific deployed contract.
type IAgentSecuredCaller ¶
type IAgentSecuredCaller struct {
// contains filtered or unexported fields
}
IAgentSecuredCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIAgentSecuredCaller ¶
func NewIAgentSecuredCaller(address common.Address, caller bind.ContractCaller) (*IAgentSecuredCaller, error)
NewIAgentSecuredCaller creates a new read-only instance of IAgentSecured, bound to a specific deployed contract.
func (*IAgentSecuredCaller) AgentManager ¶
func (_IAgentSecured *IAgentSecuredCaller) AgentManager(opts *bind.CallOpts) (common.Address, error)
AgentManager is a free data retrieval call binding the contract method 0x7622f78d.
Solidity: function agentManager() view returns(address)
func (*IAgentSecuredCaller) AgentStatus ¶
func (_IAgentSecured *IAgentSecuredCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))
func (*IAgentSecuredCaller) GetAgent ¶
func (_IAgentSecured *IAgentSecuredCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
type IAgentSecuredCallerRaw ¶
type IAgentSecuredCallerRaw struct {
Contract *IAgentSecuredCaller // Generic read-only contract binding to access the raw methods on
}
IAgentSecuredCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IAgentSecuredCallerRaw) Call ¶
func (_IAgentSecured *IAgentSecuredCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IAgentSecuredCallerSession ¶
type IAgentSecuredCallerSession struct { Contract *IAgentSecuredCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IAgentSecuredCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IAgentSecuredCallerSession) AgentManager ¶
func (_IAgentSecured *IAgentSecuredCallerSession) AgentManager() (common.Address, error)
AgentManager is a free data retrieval call binding the contract method 0x7622f78d.
Solidity: function agentManager() view returns(address)
func (*IAgentSecuredCallerSession) AgentStatus ¶
func (_IAgentSecured *IAgentSecuredCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))
func (*IAgentSecuredCallerSession) GetAgent ¶
func (_IAgentSecured *IAgentSecuredCallerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
type IAgentSecuredFilterer ¶
type IAgentSecuredFilterer struct {
// contains filtered or unexported fields
}
IAgentSecuredFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIAgentSecuredFilterer ¶
func NewIAgentSecuredFilterer(address common.Address, filterer bind.ContractFilterer) (*IAgentSecuredFilterer, error)
NewIAgentSecuredFilterer creates a new log filterer instance of IAgentSecured, bound to a specific deployed contract.
type IAgentSecuredRaw ¶
type IAgentSecuredRaw struct {
Contract *IAgentSecured // Generic contract binding to access the raw methods on
}
IAgentSecuredRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IAgentSecuredRaw) Call ¶
func (_IAgentSecured *IAgentSecuredRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IAgentSecuredRaw) Transact ¶
func (_IAgentSecured *IAgentSecuredRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAgentSecuredRaw) Transfer ¶
func (_IAgentSecured *IAgentSecuredRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IAgentSecuredSession ¶
type IAgentSecuredSession struct { Contract *IAgentSecured // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IAgentSecuredSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IAgentSecuredSession) AgentManager ¶
func (_IAgentSecured *IAgentSecuredSession) AgentManager() (common.Address, error)
AgentManager is a free data retrieval call binding the contract method 0x7622f78d.
Solidity: function agentManager() view returns(address)
func (*IAgentSecuredSession) AgentStatus ¶
func (_IAgentSecured *IAgentSecuredSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))
func (*IAgentSecuredSession) GetAgent ¶
func (_IAgentSecured *IAgentSecuredSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*IAgentSecuredSession) Inbox ¶
func (_IAgentSecured *IAgentSecuredSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*IAgentSecuredSession) OpenDispute ¶
func (_IAgentSecured *IAgentSecuredSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*IAgentSecuredSession) ResolveDispute ¶
func (_IAgentSecured *IAgentSecuredSession) ResolveDispute(slashedIndex uint32, rivalIndex uint32) (*types.Transaction, error)
ResolveDispute is a paid mutator transaction binding the contract method 0x61169218.
Solidity: function resolveDispute(uint32 slashedIndex, uint32 rivalIndex) returns()
type IAgentSecuredTransactor ¶
type IAgentSecuredTransactor struct {
// contains filtered or unexported fields
}
IAgentSecuredTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIAgentSecuredTransactor ¶
func NewIAgentSecuredTransactor(address common.Address, transactor bind.ContractTransactor) (*IAgentSecuredTransactor, error)
NewIAgentSecuredTransactor creates a new write-only instance of IAgentSecured, bound to a specific deployed contract.
func (*IAgentSecuredTransactor) OpenDispute ¶
func (_IAgentSecured *IAgentSecuredTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*IAgentSecuredTransactor) ResolveDispute ¶
func (_IAgentSecured *IAgentSecuredTransactor) ResolveDispute(opts *bind.TransactOpts, slashedIndex uint32, rivalIndex uint32) (*types.Transaction, error)
ResolveDispute is a paid mutator transaction binding the contract method 0x61169218.
Solidity: function resolveDispute(uint32 slashedIndex, uint32 rivalIndex) returns()
type IAgentSecuredTransactorRaw ¶
type IAgentSecuredTransactorRaw struct {
Contract *IAgentSecuredTransactor // Generic write-only contract binding to access the raw methods on
}
IAgentSecuredTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IAgentSecuredTransactorRaw) Transact ¶
func (_IAgentSecured *IAgentSecuredTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAgentSecuredTransactorRaw) Transfer ¶
func (_IAgentSecured *IAgentSecuredTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IAgentSecuredTransactorSession ¶
type IAgentSecuredTransactorSession struct { Contract *IAgentSecuredTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IAgentSecuredTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IAgentSecuredTransactorSession) OpenDispute ¶
func (_IAgentSecured *IAgentSecuredTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*IAgentSecuredTransactorSession) ResolveDispute ¶
func (_IAgentSecured *IAgentSecuredTransactorSession) ResolveDispute(slashedIndex uint32, rivalIndex uint32) (*types.Transaction, error)
ResolveDispute is a paid mutator transaction binding the contract method 0x61169218.
Solidity: function resolveDispute(uint32 slashedIndex, uint32 rivalIndex) returns()
type IStatementInbox ¶
type IStatementInbox struct { IStatementInboxCaller // Read-only binding to the contract IStatementInboxTransactor // Write-only binding to the contract IStatementInboxFilterer // Log filterer for contract events }
IStatementInbox is an auto generated Go binding around an Ethereum contract.
func NewIStatementInbox ¶
func NewIStatementInbox(address common.Address, backend bind.ContractBackend) (*IStatementInbox, error)
NewIStatementInbox creates a new instance of IStatementInbox, bound to a specific deployed contract.
type IStatementInboxCaller ¶
type IStatementInboxCaller struct {
// contains filtered or unexported fields
}
IStatementInboxCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIStatementInboxCaller ¶
func NewIStatementInboxCaller(address common.Address, caller bind.ContractCaller) (*IStatementInboxCaller, error)
NewIStatementInboxCaller creates a new read-only instance of IStatementInbox, bound to a specific deployed contract.
func (*IStatementInboxCaller) GetGuardReport ¶
func (_IStatementInbox *IStatementInboxCaller) GetGuardReport(opts *bind.CallOpts, index *big.Int) (struct { StatementPayload []byte ReportSignature []byte }, error)
GetGuardReport is a free data retrieval call binding the contract method 0xc495912b.
Solidity: function getGuardReport(uint256 index) view returns(bytes statementPayload, bytes reportSignature)
func (*IStatementInboxCaller) GetReportsAmount ¶
func (_IStatementInbox *IStatementInboxCaller) GetReportsAmount(opts *bind.CallOpts) (*big.Int, error)
GetReportsAmount is a free data retrieval call binding the contract method 0x756ed01d.
Solidity: function getReportsAmount() view returns(uint256)
func (*IStatementInboxCaller) GetStoredSignature ¶
func (_IStatementInbox *IStatementInboxCaller) GetStoredSignature(opts *bind.CallOpts, index *big.Int) ([]byte, error)
GetStoredSignature is a free data retrieval call binding the contract method 0xddeffa66.
Solidity: function getStoredSignature(uint256 index) view returns(bytes)
type IStatementInboxCallerRaw ¶
type IStatementInboxCallerRaw struct {
Contract *IStatementInboxCaller // Generic read-only contract binding to access the raw methods on
}
IStatementInboxCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IStatementInboxCallerRaw) Call ¶
func (_IStatementInbox *IStatementInboxCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IStatementInboxCallerSession ¶
type IStatementInboxCallerSession struct { Contract *IStatementInboxCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IStatementInboxCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IStatementInboxCallerSession) GetGuardReport ¶
func (_IStatementInbox *IStatementInboxCallerSession) GetGuardReport(index *big.Int) (struct { StatementPayload []byte ReportSignature []byte }, error)
GetGuardReport is a free data retrieval call binding the contract method 0xc495912b.
Solidity: function getGuardReport(uint256 index) view returns(bytes statementPayload, bytes reportSignature)
func (*IStatementInboxCallerSession) GetReportsAmount ¶
func (_IStatementInbox *IStatementInboxCallerSession) GetReportsAmount() (*big.Int, error)
GetReportsAmount is a free data retrieval call binding the contract method 0x756ed01d.
Solidity: function getReportsAmount() view returns(uint256)
func (*IStatementInboxCallerSession) GetStoredSignature ¶
func (_IStatementInbox *IStatementInboxCallerSession) GetStoredSignature(index *big.Int) ([]byte, error)
GetStoredSignature is a free data retrieval call binding the contract method 0xddeffa66.
Solidity: function getStoredSignature(uint256 index) view returns(bytes)
type IStatementInboxFilterer ¶
type IStatementInboxFilterer struct {
// contains filtered or unexported fields
}
IStatementInboxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIStatementInboxFilterer ¶
func NewIStatementInboxFilterer(address common.Address, filterer bind.ContractFilterer) (*IStatementInboxFilterer, error)
NewIStatementInboxFilterer creates a new log filterer instance of IStatementInbox, bound to a specific deployed contract.
type IStatementInboxRaw ¶
type IStatementInboxRaw struct {
Contract *IStatementInbox // Generic contract binding to access the raw methods on
}
IStatementInboxRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IStatementInboxRaw) Call ¶
func (_IStatementInbox *IStatementInboxRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IStatementInboxRaw) Transact ¶
func (_IStatementInbox *IStatementInboxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IStatementInboxRaw) Transfer ¶
func (_IStatementInbox *IStatementInboxRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IStatementInboxSession ¶
type IStatementInboxSession struct { Contract *IStatementInbox // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IStatementInboxSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IStatementInboxSession) GetGuardReport ¶
func (_IStatementInbox *IStatementInboxSession) GetGuardReport(index *big.Int) (struct { StatementPayload []byte ReportSignature []byte }, error)
GetGuardReport is a free data retrieval call binding the contract method 0xc495912b.
Solidity: function getGuardReport(uint256 index) view returns(bytes statementPayload, bytes reportSignature)
func (*IStatementInboxSession) GetReportsAmount ¶
func (_IStatementInbox *IStatementInboxSession) GetReportsAmount() (*big.Int, error)
GetReportsAmount is a free data retrieval call binding the contract method 0x756ed01d.
Solidity: function getReportsAmount() view returns(uint256)
func (*IStatementInboxSession) GetStoredSignature ¶
func (_IStatementInbox *IStatementInboxSession) GetStoredSignature(index *big.Int) ([]byte, error)
GetStoredSignature is a free data retrieval call binding the contract method 0xddeffa66.
Solidity: function getStoredSignature(uint256 index) view returns(bytes)
func (*IStatementInboxSession) SubmitStateReportWithAttestation ¶
func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithAttestation(stateIndex *big.Int, srSignature []byte, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
SubmitStateReportWithAttestation is a paid mutator transaction binding the contract method 0x0b6b985c.
Solidity: function submitStateReportWithAttestation(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool wasAccepted)
func (*IStatementInboxSession) SubmitStateReportWithSnapshot ¶
func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithSnapshot(stateIndex *big.Int, srSignature []byte, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)
SubmitStateReportWithSnapshot is a paid mutator transaction binding the contract method 0x62389709.
Solidity: function submitStateReportWithSnapshot(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes snapSignature) returns(bool wasAccepted)
func (*IStatementInboxSession) SubmitStateReportWithSnapshotProof ¶
func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithSnapshotProof(stateIndex *big.Int, statePayload []byte, srSignature []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
SubmitStateReportWithSnapshotProof is a paid mutator transaction binding the contract method 0x0db27e77.
Solidity: function submitStateReportWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes srSignature, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool wasAccepted)
func (*IStatementInboxSession) VerifyReceipt ¶
func (_IStatementInbox *IStatementInboxSession) VerifyReceipt(rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)
VerifyReceipt is a paid mutator transaction binding the contract method 0xc25aa585.
Solidity: function verifyReceipt(bytes rcptPayload, bytes rcptSignature) returns(bool isValidReceipt)
func (*IStatementInboxSession) VerifyReceiptReport ¶
func (_IStatementInbox *IStatementInboxSession) VerifyReceiptReport(rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)
VerifyReceiptReport is a paid mutator transaction binding the contract method 0x91af2e5d.
Solidity: function verifyReceiptReport(bytes rcptPayload, bytes rrSignature) returns(bool isValidReport)
func (*IStatementInboxSession) VerifyStateReport ¶
func (_IStatementInbox *IStatementInboxSession) VerifyStateReport(statePayload []byte, srSignature []byte) (*types.Transaction, error)
VerifyStateReport is a paid mutator transaction binding the contract method 0xdfe39675.
Solidity: function verifyStateReport(bytes statePayload, bytes srSignature) returns(bool isValidReport)
func (*IStatementInboxSession) VerifyStateWithAttestation ¶
func (_IStatementInbox *IStatementInboxSession) VerifyStateWithAttestation(stateIndex *big.Int, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
VerifyStateWithAttestation is a paid mutator transaction binding the contract method 0x200f6b66.
Solidity: function verifyStateWithAttestation(uint256 stateIndex, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool isValidState)
func (*IStatementInboxSession) VerifyStateWithSnapshot ¶
func (_IStatementInbox *IStatementInboxSession) VerifyStateWithSnapshot(stateIndex *big.Int, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)
VerifyStateWithSnapshot is a paid mutator transaction binding the contract method 0x213a6ddb.
Solidity: function verifyStateWithSnapshot(uint256 stateIndex, bytes snapPayload, bytes snapSignature) returns(bool isValidState)
func (*IStatementInboxSession) VerifyStateWithSnapshotProof ¶
func (_IStatementInbox *IStatementInboxSession) VerifyStateWithSnapshotProof(stateIndex *big.Int, statePayload []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
VerifyStateWithSnapshotProof is a paid mutator transaction binding the contract method 0x7be8e738.
Solidity: function verifyStateWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool isValidState)
type IStatementInboxTransactor ¶
type IStatementInboxTransactor struct {
// contains filtered or unexported fields
}
IStatementInboxTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIStatementInboxTransactor ¶
func NewIStatementInboxTransactor(address common.Address, transactor bind.ContractTransactor) (*IStatementInboxTransactor, error)
NewIStatementInboxTransactor creates a new write-only instance of IStatementInbox, bound to a specific deployed contract.
func (*IStatementInboxTransactor) SubmitStateReportWithAttestation ¶
func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithAttestation(opts *bind.TransactOpts, stateIndex *big.Int, srSignature []byte, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
SubmitStateReportWithAttestation is a paid mutator transaction binding the contract method 0x0b6b985c.
Solidity: function submitStateReportWithAttestation(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool wasAccepted)
func (*IStatementInboxTransactor) SubmitStateReportWithSnapshot ¶
func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithSnapshot(opts *bind.TransactOpts, stateIndex *big.Int, srSignature []byte, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)
SubmitStateReportWithSnapshot is a paid mutator transaction binding the contract method 0x62389709.
Solidity: function submitStateReportWithSnapshot(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes snapSignature) returns(bool wasAccepted)
func (*IStatementInboxTransactor) SubmitStateReportWithSnapshotProof ¶
func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithSnapshotProof(opts *bind.TransactOpts, stateIndex *big.Int, statePayload []byte, srSignature []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
SubmitStateReportWithSnapshotProof is a paid mutator transaction binding the contract method 0x0db27e77.
Solidity: function submitStateReportWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes srSignature, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool wasAccepted)
func (*IStatementInboxTransactor) VerifyReceipt ¶
func (_IStatementInbox *IStatementInboxTransactor) VerifyReceipt(opts *bind.TransactOpts, rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)
VerifyReceipt is a paid mutator transaction binding the contract method 0xc25aa585.
Solidity: function verifyReceipt(bytes rcptPayload, bytes rcptSignature) returns(bool isValidReceipt)
func (*IStatementInboxTransactor) VerifyReceiptReport ¶
func (_IStatementInbox *IStatementInboxTransactor) VerifyReceiptReport(opts *bind.TransactOpts, rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)
VerifyReceiptReport is a paid mutator transaction binding the contract method 0x91af2e5d.
Solidity: function verifyReceiptReport(bytes rcptPayload, bytes rrSignature) returns(bool isValidReport)
func (*IStatementInboxTransactor) VerifyStateReport ¶
func (_IStatementInbox *IStatementInboxTransactor) VerifyStateReport(opts *bind.TransactOpts, statePayload []byte, srSignature []byte) (*types.Transaction, error)
VerifyStateReport is a paid mutator transaction binding the contract method 0xdfe39675.
Solidity: function verifyStateReport(bytes statePayload, bytes srSignature) returns(bool isValidReport)
func (*IStatementInboxTransactor) VerifyStateWithAttestation ¶
func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithAttestation(opts *bind.TransactOpts, stateIndex *big.Int, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
VerifyStateWithAttestation is a paid mutator transaction binding the contract method 0x200f6b66.
Solidity: function verifyStateWithAttestation(uint256 stateIndex, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool isValidState)
func (*IStatementInboxTransactor) VerifyStateWithSnapshot ¶
func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithSnapshot(opts *bind.TransactOpts, stateIndex *big.Int, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)
VerifyStateWithSnapshot is a paid mutator transaction binding the contract method 0x213a6ddb.
Solidity: function verifyStateWithSnapshot(uint256 stateIndex, bytes snapPayload, bytes snapSignature) returns(bool isValidState)
func (*IStatementInboxTransactor) VerifyStateWithSnapshotProof ¶
func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithSnapshotProof(opts *bind.TransactOpts, stateIndex *big.Int, statePayload []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
VerifyStateWithSnapshotProof is a paid mutator transaction binding the contract method 0x7be8e738.
Solidity: function verifyStateWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool isValidState)
type IStatementInboxTransactorRaw ¶
type IStatementInboxTransactorRaw struct {
Contract *IStatementInboxTransactor // Generic write-only contract binding to access the raw methods on
}
IStatementInboxTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IStatementInboxTransactorRaw) Transact ¶
func (_IStatementInbox *IStatementInboxTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IStatementInboxTransactorRaw) Transfer ¶
func (_IStatementInbox *IStatementInboxTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IStatementInboxTransactorSession ¶
type IStatementInboxTransactorSession struct { Contract *IStatementInboxTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IStatementInboxTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IStatementInboxTransactorSession) SubmitStateReportWithAttestation ¶
func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithAttestation(stateIndex *big.Int, srSignature []byte, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
SubmitStateReportWithAttestation is a paid mutator transaction binding the contract method 0x0b6b985c.
Solidity: function submitStateReportWithAttestation(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool wasAccepted)
func (*IStatementInboxTransactorSession) SubmitStateReportWithSnapshot ¶
func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithSnapshot(stateIndex *big.Int, srSignature []byte, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)
SubmitStateReportWithSnapshot is a paid mutator transaction binding the contract method 0x62389709.
Solidity: function submitStateReportWithSnapshot(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes snapSignature) returns(bool wasAccepted)
func (*IStatementInboxTransactorSession) SubmitStateReportWithSnapshotProof ¶
func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithSnapshotProof(stateIndex *big.Int, statePayload []byte, srSignature []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
SubmitStateReportWithSnapshotProof is a paid mutator transaction binding the contract method 0x0db27e77.
Solidity: function submitStateReportWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes srSignature, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool wasAccepted)
func (*IStatementInboxTransactorSession) VerifyReceipt ¶
func (_IStatementInbox *IStatementInboxTransactorSession) VerifyReceipt(rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)
VerifyReceipt is a paid mutator transaction binding the contract method 0xc25aa585.
Solidity: function verifyReceipt(bytes rcptPayload, bytes rcptSignature) returns(bool isValidReceipt)
func (*IStatementInboxTransactorSession) VerifyReceiptReport ¶
func (_IStatementInbox *IStatementInboxTransactorSession) VerifyReceiptReport(rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)
VerifyReceiptReport is a paid mutator transaction binding the contract method 0x91af2e5d.
Solidity: function verifyReceiptReport(bytes rcptPayload, bytes rrSignature) returns(bool isValidReport)
func (*IStatementInboxTransactorSession) VerifyStateReport ¶
func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateReport(statePayload []byte, srSignature []byte) (*types.Transaction, error)
VerifyStateReport is a paid mutator transaction binding the contract method 0xdfe39675.
Solidity: function verifyStateReport(bytes statePayload, bytes srSignature) returns(bool isValidReport)
func (*IStatementInboxTransactorSession) VerifyStateWithAttestation ¶
func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithAttestation(stateIndex *big.Int, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
VerifyStateWithAttestation is a paid mutator transaction binding the contract method 0x200f6b66.
Solidity: function verifyStateWithAttestation(uint256 stateIndex, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool isValidState)
func (*IStatementInboxTransactorSession) VerifyStateWithSnapshot ¶
func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithSnapshot(stateIndex *big.Int, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)
VerifyStateWithSnapshot is a paid mutator transaction binding the contract method 0x213a6ddb.
Solidity: function verifyStateWithSnapshot(uint256 stateIndex, bytes snapPayload, bytes snapSignature) returns(bool isValidState)
func (*IStatementInboxTransactorSession) VerifyStateWithSnapshotProof ¶
func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithSnapshotProof(stateIndex *big.Int, statePayload []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)
VerifyStateWithSnapshotProof is a paid mutator transaction binding the contract method 0x7be8e738.
Solidity: function verifyStateWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool isValidState)
type Initializable ¶
type Initializable struct { InitializableCaller // Read-only binding to the contract InitializableTransactor // Write-only binding to the contract InitializableFilterer // Log filterer for contract events }
Initializable is an auto generated Go binding around an Ethereum contract.
func NewInitializable ¶
func NewInitializable(address common.Address, backend bind.ContractBackend) (*Initializable, error)
NewInitializable creates a new instance of Initializable, bound to a specific deployed contract.
type InitializableCaller ¶
type InitializableCaller struct {
// contains filtered or unexported fields
}
InitializableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInitializableCaller ¶
func NewInitializableCaller(address common.Address, caller bind.ContractCaller) (*InitializableCaller, error)
NewInitializableCaller creates a new read-only instance of Initializable, bound to a specific deployed contract.
type InitializableCallerRaw ¶
type InitializableCallerRaw struct {
Contract *InitializableCaller // Generic read-only contract binding to access the raw methods on
}
InitializableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InitializableCallerRaw) Call ¶
func (_Initializable *InitializableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InitializableCallerSession ¶
type InitializableCallerSession struct { Contract *InitializableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InitializableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InitializableFilterer ¶
type InitializableFilterer struct {
// contains filtered or unexported fields
}
InitializableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInitializableFilterer ¶
func NewInitializableFilterer(address common.Address, filterer bind.ContractFilterer) (*InitializableFilterer, error)
NewInitializableFilterer creates a new log filterer instance of Initializable, bound to a specific deployed contract.
func (*InitializableFilterer) FilterInitialized ¶
func (_Initializable *InitializableFilterer) FilterInitialized(opts *bind.FilterOpts) (*InitializableInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*InitializableFilterer) ParseInitialized ¶
func (_Initializable *InitializableFilterer) ParseInitialized(log types.Log) (*InitializableInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*InitializableFilterer) WatchInitialized ¶
func (_Initializable *InitializableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *InitializableInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
type InitializableInitialized ¶
type InitializableInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
InitializableInitialized represents a Initialized event raised by the Initializable contract.
type InitializableInitializedIterator ¶
type InitializableInitializedIterator struct { Event *InitializableInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InitializableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Initializable contract.
func (*InitializableInitializedIterator) Close ¶
func (it *InitializableInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InitializableInitializedIterator) Error ¶
func (it *InitializableInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InitializableInitializedIterator) Next ¶
func (it *InitializableInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type InitializableRaw ¶
type InitializableRaw struct {
Contract *Initializable // Generic contract binding to access the raw methods on
}
InitializableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InitializableRaw) Call ¶
func (_Initializable *InitializableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InitializableRaw) Transact ¶
func (_Initializable *InitializableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InitializableRaw) Transfer ¶
func (_Initializable *InitializableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InitializableSession ¶
type InitializableSession struct { Contract *Initializable // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InitializableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type InitializableTransactor ¶
type InitializableTransactor struct {
// contains filtered or unexported fields
}
InitializableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInitializableTransactor ¶
func NewInitializableTransactor(address common.Address, transactor bind.ContractTransactor) (*InitializableTransactor, error)
NewInitializableTransactor creates a new write-only instance of Initializable, bound to a specific deployed contract.
type InitializableTransactorRaw ¶
type InitializableTransactorRaw struct {
Contract *InitializableTransactor // Generic write-only contract binding to access the raw methods on
}
InitializableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InitializableTransactorRaw) Transact ¶
func (_Initializable *InitializableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InitializableTransactorRaw) Transfer ¶
func (_Initializable *InitializableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InitializableTransactorSession ¶
type InitializableTransactorSession struct { Contract *InitializableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InitializableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type InterfaceBondingManager ¶
type InterfaceBondingManager struct { InterfaceBondingManagerCaller // Read-only binding to the contract InterfaceBondingManagerTransactor // Write-only binding to the contract InterfaceBondingManagerFilterer // Log filterer for contract events }
InterfaceBondingManager is an auto generated Go binding around an Ethereum contract.
func NewInterfaceBondingManager ¶
func NewInterfaceBondingManager(address common.Address, backend bind.ContractBackend) (*InterfaceBondingManager, error)
NewInterfaceBondingManager creates a new instance of InterfaceBondingManager, bound to a specific deployed contract.
type InterfaceBondingManagerCaller ¶
type InterfaceBondingManagerCaller struct {
// contains filtered or unexported fields
}
InterfaceBondingManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterfaceBondingManagerCaller ¶
func NewInterfaceBondingManagerCaller(address common.Address, caller bind.ContractCaller) (*InterfaceBondingManagerCaller, error)
NewInterfaceBondingManagerCaller creates a new read-only instance of InterfaceBondingManager, bound to a specific deployed contract.
func (*InterfaceBondingManagerCaller) AgentLeaf ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCaller) AgentLeaf(opts *bind.CallOpts, agent common.Address) ([32]byte, error)
AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.
Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)
func (*InterfaceBondingManagerCaller) AllLeafs ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCaller) AllLeafs(opts *bind.CallOpts) ([][32]byte, error)
AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.
Solidity: function allLeafs() view returns(bytes32[] leafs)
func (*InterfaceBondingManagerCaller) GetActiveAgents ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetActiveAgents(opts *bind.CallOpts, domain uint32) ([]common.Address, error)
GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.
Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)
func (*InterfaceBondingManagerCaller) GetLeafs ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetLeafs(opts *bind.CallOpts, indexFrom *big.Int, amount *big.Int) ([][32]byte, error)
GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.
Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)
func (*InterfaceBondingManagerCaller) GetProof ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetProof(opts *bind.CallOpts, agent common.Address) ([][32]byte, error)
GetProof is a free data retrieval call binding the contract method 0x3eea79d1.
Solidity: function getProof(address agent) view returns(bytes32[] proof)
func (*InterfaceBondingManagerCaller) LeafsAmount ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCaller) LeafsAmount(opts *bind.CallOpts) (*big.Int, error)
LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.
Solidity: function leafsAmount() view returns(uint256 amount)
type InterfaceBondingManagerCallerRaw ¶
type InterfaceBondingManagerCallerRaw struct {
Contract *InterfaceBondingManagerCaller // Generic read-only contract binding to access the raw methods on
}
InterfaceBondingManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterfaceBondingManagerCallerRaw) Call ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterfaceBondingManagerCallerSession ¶
type InterfaceBondingManagerCallerSession struct { Contract *InterfaceBondingManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterfaceBondingManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InterfaceBondingManagerCallerSession) AgentLeaf ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) AgentLeaf(agent common.Address) ([32]byte, error)
AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.
Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)
func (*InterfaceBondingManagerCallerSession) AllLeafs ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) AllLeafs() ([][32]byte, error)
AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.
Solidity: function allLeafs() view returns(bytes32[] leafs)
func (*InterfaceBondingManagerCallerSession) GetActiveAgents ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetActiveAgents(domain uint32) ([]common.Address, error)
GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.
Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)
func (*InterfaceBondingManagerCallerSession) GetLeafs ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)
GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.
Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)
func (*InterfaceBondingManagerCallerSession) GetProof ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetProof(agent common.Address) ([][32]byte, error)
GetProof is a free data retrieval call binding the contract method 0x3eea79d1.
Solidity: function getProof(address agent) view returns(bytes32[] proof)
func (*InterfaceBondingManagerCallerSession) LeafsAmount ¶
func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) LeafsAmount() (*big.Int, error)
LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.
Solidity: function leafsAmount() view returns(uint256 amount)
type InterfaceBondingManagerFilterer ¶
type InterfaceBondingManagerFilterer struct {
// contains filtered or unexported fields
}
InterfaceBondingManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterfaceBondingManagerFilterer ¶
func NewInterfaceBondingManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceBondingManagerFilterer, error)
NewInterfaceBondingManagerFilterer creates a new log filterer instance of InterfaceBondingManager, bound to a specific deployed contract.
type InterfaceBondingManagerRaw ¶
type InterfaceBondingManagerRaw struct {
Contract *InterfaceBondingManager // Generic contract binding to access the raw methods on
}
InterfaceBondingManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterfaceBondingManagerRaw) Call ¶
func (_InterfaceBondingManager *InterfaceBondingManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterfaceBondingManagerRaw) Transact ¶
func (_InterfaceBondingManager *InterfaceBondingManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterfaceBondingManagerRaw) Transfer ¶
func (_InterfaceBondingManager *InterfaceBondingManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterfaceBondingManagerSession ¶
type InterfaceBondingManagerSession struct { Contract *InterfaceBondingManager // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterfaceBondingManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InterfaceBondingManagerSession) AddAgent ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.
Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerSession) AgentLeaf ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) AgentLeaf(agent common.Address) ([32]byte, error)
AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.
Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)
func (*InterfaceBondingManagerSession) AllLeafs ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) AllLeafs() ([][32]byte, error)
AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.
Solidity: function allLeafs() view returns(bytes32[] leafs)
func (*InterfaceBondingManagerSession) CompleteSlashing ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.
Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerSession) CompleteUnstaking ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.
Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerSession) GetActiveAgents ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetActiveAgents(domain uint32) ([]common.Address, error)
GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.
Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)
func (*InterfaceBondingManagerSession) GetLeafs ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)
GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.
Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)
func (*InterfaceBondingManagerSession) GetProof ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetProof(agent common.Address) ([][32]byte, error)
GetProof is a free data retrieval call binding the contract method 0x3eea79d1.
Solidity: function getProof(address agent) view returns(bytes32[] proof)
func (*InterfaceBondingManagerSession) InitiateUnstaking ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.
Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerSession) LeafsAmount ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) LeafsAmount() (*big.Int, error)
LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.
Solidity: function leafsAmount() view returns(uint256 amount)
func (*InterfaceBondingManagerSession) RemoteSlashAgent ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.
Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)
func (*InterfaceBondingManagerSession) WithdrawTips ¶
func (_InterfaceBondingManager *InterfaceBondingManagerSession) WithdrawTips(recipient common.Address, origin uint32, amount *big.Int) (*types.Transaction, error)
WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.
Solidity: function withdrawTips(address recipient, uint32 origin, uint256 amount) returns()
type InterfaceBondingManagerTransactor ¶
type InterfaceBondingManagerTransactor struct {
// contains filtered or unexported fields
}
InterfaceBondingManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterfaceBondingManagerTransactor ¶
func NewInterfaceBondingManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceBondingManagerTransactor, error)
NewInterfaceBondingManagerTransactor creates a new write-only instance of InterfaceBondingManager, bound to a specific deployed contract.
func (*InterfaceBondingManagerTransactor) AddAgent ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) AddAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.
Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerTransactor) CompleteSlashing ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) CompleteSlashing(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.
Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerTransactor) CompleteUnstaking ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) CompleteUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.
Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerTransactor) InitiateUnstaking ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) InitiateUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.
Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerTransactor) RemoteSlashAgent ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) RemoteSlashAgent(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.
Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)
func (*InterfaceBondingManagerTransactor) WithdrawTips ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, origin uint32, amount *big.Int) (*types.Transaction, error)
WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.
Solidity: function withdrawTips(address recipient, uint32 origin, uint256 amount) returns()
type InterfaceBondingManagerTransactorRaw ¶
type InterfaceBondingManagerTransactorRaw struct {
Contract *InterfaceBondingManagerTransactor // Generic write-only contract binding to access the raw methods on
}
InterfaceBondingManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterfaceBondingManagerTransactorRaw) Transact ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterfaceBondingManagerTransactorRaw) Transfer ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterfaceBondingManagerTransactorSession ¶
type InterfaceBondingManagerTransactorSession struct { Contract *InterfaceBondingManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterfaceBondingManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InterfaceBondingManagerTransactorSession) AddAgent ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.
Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerTransactorSession) CompleteSlashing ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.
Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerTransactorSession) CompleteUnstaking ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.
Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerTransactorSession) InitiateUnstaking ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)
InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.
Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()
func (*InterfaceBondingManagerTransactorSession) RemoteSlashAgent ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.
Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)
func (*InterfaceBondingManagerTransactorSession) WithdrawTips ¶
func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) WithdrawTips(recipient common.Address, origin uint32, amount *big.Int) (*types.Transaction, error)
WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.
Solidity: function withdrawTips(address recipient, uint32 origin, uint256 amount) returns()
type InterfaceDestination ¶
type InterfaceDestination struct { InterfaceDestinationCaller // Read-only binding to the contract InterfaceDestinationTransactor // Write-only binding to the contract InterfaceDestinationFilterer // Log filterer for contract events }
InterfaceDestination is an auto generated Go binding around an Ethereum contract.
func NewInterfaceDestination ¶
func NewInterfaceDestination(address common.Address, backend bind.ContractBackend) (*InterfaceDestination, error)
NewInterfaceDestination creates a new instance of InterfaceDestination, bound to a specific deployed contract.
type InterfaceDestinationCaller ¶
type InterfaceDestinationCaller struct {
// contains filtered or unexported fields
}
InterfaceDestinationCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterfaceDestinationCaller ¶
func NewInterfaceDestinationCaller(address common.Address, caller bind.ContractCaller) (*InterfaceDestinationCaller, error)
NewInterfaceDestinationCaller creates a new read-only instance of InterfaceDestination, bound to a specific deployed contract.
func (*InterfaceDestinationCaller) AttestationsAmount ¶
func (_InterfaceDestination *InterfaceDestinationCaller) AttestationsAmount(opts *bind.CallOpts) (*big.Int, error)
AttestationsAmount is a free data retrieval call binding the contract method 0x3cf7b120.
Solidity: function attestationsAmount() view returns(uint256)
func (*InterfaceDestinationCaller) DestStatus ¶
func (_InterfaceDestination *InterfaceDestinationCaller) DestStatus(opts *bind.CallOpts) (struct { SnapRootTime *big.Int AgentRootTime *big.Int NotaryIndex uint32 }, error)
DestStatus is a free data retrieval call binding the contract method 0x40989152.
Solidity: function destStatus() view returns(uint40 snapRootTime, uint40 agentRootTime, uint32 notaryIndex)
func (*InterfaceDestinationCaller) GetAttestation ¶
func (_InterfaceDestination *InterfaceDestinationCaller) GetAttestation(opts *bind.CallOpts, index *big.Int) (struct { AttPayload []byte AttSignature []byte }, error)
GetAttestation is a free data retrieval call binding the contract method 0x29be4db2.
Solidity: function getAttestation(uint256 index) view returns(bytes attPayload, bytes attSignature)
func (*InterfaceDestinationCaller) GetGasData ¶
func (_InterfaceDestination *InterfaceDestinationCaller) GetGasData(opts *bind.CallOpts, domain uint32) (struct { GasData *big.Int DataMaturity *big.Int }, error)
GetGasData is a free data retrieval call binding the contract method 0xd0dd0675.
Solidity: function getGasData(uint32 domain) view returns(uint96 gasData, uint256 dataMaturity)
func (*InterfaceDestinationCaller) NextAgentRoot ¶
func (_InterfaceDestination *InterfaceDestinationCaller) NextAgentRoot(opts *bind.CallOpts) ([32]byte, error)
NextAgentRoot is a free data retrieval call binding the contract method 0x55252dd1.
Solidity: function nextAgentRoot() view returns(bytes32)
type InterfaceDestinationCallerRaw ¶
type InterfaceDestinationCallerRaw struct {
Contract *InterfaceDestinationCaller // Generic read-only contract binding to access the raw methods on
}
InterfaceDestinationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterfaceDestinationCallerRaw) Call ¶
func (_InterfaceDestination *InterfaceDestinationCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterfaceDestinationCallerSession ¶
type InterfaceDestinationCallerSession struct { Contract *InterfaceDestinationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterfaceDestinationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InterfaceDestinationCallerSession) AttestationsAmount ¶
func (_InterfaceDestination *InterfaceDestinationCallerSession) AttestationsAmount() (*big.Int, error)
AttestationsAmount is a free data retrieval call binding the contract method 0x3cf7b120.
Solidity: function attestationsAmount() view returns(uint256)
func (*InterfaceDestinationCallerSession) DestStatus ¶
func (_InterfaceDestination *InterfaceDestinationCallerSession) DestStatus() (struct { SnapRootTime *big.Int AgentRootTime *big.Int NotaryIndex uint32 }, error)
DestStatus is a free data retrieval call binding the contract method 0x40989152.
Solidity: function destStatus() view returns(uint40 snapRootTime, uint40 agentRootTime, uint32 notaryIndex)
func (*InterfaceDestinationCallerSession) GetAttestation ¶
func (_InterfaceDestination *InterfaceDestinationCallerSession) GetAttestation(index *big.Int) (struct { AttPayload []byte AttSignature []byte }, error)
GetAttestation is a free data retrieval call binding the contract method 0x29be4db2.
Solidity: function getAttestation(uint256 index) view returns(bytes attPayload, bytes attSignature)
func (*InterfaceDestinationCallerSession) GetGasData ¶
func (_InterfaceDestination *InterfaceDestinationCallerSession) GetGasData(domain uint32) (struct { GasData *big.Int DataMaturity *big.Int }, error)
GetGasData is a free data retrieval call binding the contract method 0xd0dd0675.
Solidity: function getGasData(uint32 domain) view returns(uint96 gasData, uint256 dataMaturity)
func (*InterfaceDestinationCallerSession) NextAgentRoot ¶
func (_InterfaceDestination *InterfaceDestinationCallerSession) NextAgentRoot() ([32]byte, error)
NextAgentRoot is a free data retrieval call binding the contract method 0x55252dd1.
Solidity: function nextAgentRoot() view returns(bytes32)
type InterfaceDestinationFilterer ¶
type InterfaceDestinationFilterer struct {
// contains filtered or unexported fields
}
InterfaceDestinationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterfaceDestinationFilterer ¶
func NewInterfaceDestinationFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceDestinationFilterer, error)
NewInterfaceDestinationFilterer creates a new log filterer instance of InterfaceDestination, bound to a specific deployed contract.
type InterfaceDestinationRaw ¶
type InterfaceDestinationRaw struct {
Contract *InterfaceDestination // Generic contract binding to access the raw methods on
}
InterfaceDestinationRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterfaceDestinationRaw) Call ¶
func (_InterfaceDestination *InterfaceDestinationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterfaceDestinationRaw) Transact ¶
func (_InterfaceDestination *InterfaceDestinationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterfaceDestinationRaw) Transfer ¶
func (_InterfaceDestination *InterfaceDestinationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterfaceDestinationSession ¶
type InterfaceDestinationSession struct { Contract *InterfaceDestination // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterfaceDestinationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InterfaceDestinationSession) AcceptAttestation ¶
func (_InterfaceDestination *InterfaceDestinationSession) AcceptAttestation(notaryIndex uint32, sigIndex *big.Int, attPayload []byte, agentRoot [32]byte, snapGas []*big.Int) (*types.Transaction, error)
AcceptAttestation is a paid mutator transaction binding the contract method 0x39fe2736.
Solidity: function acceptAttestation(uint32 notaryIndex, uint256 sigIndex, bytes attPayload, bytes32 agentRoot, uint128[] snapGas) returns(bool wasAccepted)
func (*InterfaceDestinationSession) AttestationsAmount ¶
func (_InterfaceDestination *InterfaceDestinationSession) AttestationsAmount() (*big.Int, error)
AttestationsAmount is a free data retrieval call binding the contract method 0x3cf7b120.
Solidity: function attestationsAmount() view returns(uint256)
func (*InterfaceDestinationSession) DestStatus ¶
func (_InterfaceDestination *InterfaceDestinationSession) DestStatus() (struct { SnapRootTime *big.Int AgentRootTime *big.Int NotaryIndex uint32 }, error)
DestStatus is a free data retrieval call binding the contract method 0x40989152.
Solidity: function destStatus() view returns(uint40 snapRootTime, uint40 agentRootTime, uint32 notaryIndex)
func (*InterfaceDestinationSession) GetAttestation ¶
func (_InterfaceDestination *InterfaceDestinationSession) GetAttestation(index *big.Int) (struct { AttPayload []byte AttSignature []byte }, error)
GetAttestation is a free data retrieval call binding the contract method 0x29be4db2.
Solidity: function getAttestation(uint256 index) view returns(bytes attPayload, bytes attSignature)
func (*InterfaceDestinationSession) GetGasData ¶
func (_InterfaceDestination *InterfaceDestinationSession) GetGasData(domain uint32) (struct { GasData *big.Int DataMaturity *big.Int }, error)
GetGasData is a free data retrieval call binding the contract method 0xd0dd0675.
Solidity: function getGasData(uint32 domain) view returns(uint96 gasData, uint256 dataMaturity)
func (*InterfaceDestinationSession) NextAgentRoot ¶
func (_InterfaceDestination *InterfaceDestinationSession) NextAgentRoot() ([32]byte, error)
NextAgentRoot is a free data retrieval call binding the contract method 0x55252dd1.
Solidity: function nextAgentRoot() view returns(bytes32)
func (*InterfaceDestinationSession) PassAgentRoot ¶
func (_InterfaceDestination *InterfaceDestinationSession) PassAgentRoot() (*types.Transaction, error)
PassAgentRoot is a paid mutator transaction binding the contract method 0xa554d1e3.
Solidity: function passAgentRoot() returns(bool rootPassed, bool rootPending)
type InterfaceDestinationTransactor ¶
type InterfaceDestinationTransactor struct {
// contains filtered or unexported fields
}
InterfaceDestinationTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterfaceDestinationTransactor ¶
func NewInterfaceDestinationTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceDestinationTransactor, error)
NewInterfaceDestinationTransactor creates a new write-only instance of InterfaceDestination, bound to a specific deployed contract.
func (*InterfaceDestinationTransactor) AcceptAttestation ¶
func (_InterfaceDestination *InterfaceDestinationTransactor) AcceptAttestation(opts *bind.TransactOpts, notaryIndex uint32, sigIndex *big.Int, attPayload []byte, agentRoot [32]byte, snapGas []*big.Int) (*types.Transaction, error)
AcceptAttestation is a paid mutator transaction binding the contract method 0x39fe2736.
Solidity: function acceptAttestation(uint32 notaryIndex, uint256 sigIndex, bytes attPayload, bytes32 agentRoot, uint128[] snapGas) returns(bool wasAccepted)
func (*InterfaceDestinationTransactor) PassAgentRoot ¶
func (_InterfaceDestination *InterfaceDestinationTransactor) PassAgentRoot(opts *bind.TransactOpts) (*types.Transaction, error)
PassAgentRoot is a paid mutator transaction binding the contract method 0xa554d1e3.
Solidity: function passAgentRoot() returns(bool rootPassed, bool rootPending)
type InterfaceDestinationTransactorRaw ¶
type InterfaceDestinationTransactorRaw struct {
Contract *InterfaceDestinationTransactor // Generic write-only contract binding to access the raw methods on
}
InterfaceDestinationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterfaceDestinationTransactorRaw) Transact ¶
func (_InterfaceDestination *InterfaceDestinationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterfaceDestinationTransactorRaw) Transfer ¶
func (_InterfaceDestination *InterfaceDestinationTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterfaceDestinationTransactorSession ¶
type InterfaceDestinationTransactorSession struct { Contract *InterfaceDestinationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterfaceDestinationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InterfaceDestinationTransactorSession) AcceptAttestation ¶
func (_InterfaceDestination *InterfaceDestinationTransactorSession) AcceptAttestation(notaryIndex uint32, sigIndex *big.Int, attPayload []byte, agentRoot [32]byte, snapGas []*big.Int) (*types.Transaction, error)
AcceptAttestation is a paid mutator transaction binding the contract method 0x39fe2736.
Solidity: function acceptAttestation(uint32 notaryIndex, uint256 sigIndex, bytes attPayload, bytes32 agentRoot, uint128[] snapGas) returns(bool wasAccepted)
func (*InterfaceDestinationTransactorSession) PassAgentRoot ¶
func (_InterfaceDestination *InterfaceDestinationTransactorSession) PassAgentRoot() (*types.Transaction, error)
PassAgentRoot is a paid mutator transaction binding the contract method 0xa554d1e3.
Solidity: function passAgentRoot() returns(bool rootPassed, bool rootPending)
type InterfaceLightManager ¶
type InterfaceLightManager struct { InterfaceLightManagerCaller // Read-only binding to the contract InterfaceLightManagerTransactor // Write-only binding to the contract InterfaceLightManagerFilterer // Log filterer for contract events }
InterfaceLightManager is an auto generated Go binding around an Ethereum contract.
func NewInterfaceLightManager ¶
func NewInterfaceLightManager(address common.Address, backend bind.ContractBackend) (*InterfaceLightManager, error)
NewInterfaceLightManager creates a new instance of InterfaceLightManager, bound to a specific deployed contract.
type InterfaceLightManagerCaller ¶
type InterfaceLightManagerCaller struct {
// contains filtered or unexported fields
}
InterfaceLightManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterfaceLightManagerCaller ¶
func NewInterfaceLightManagerCaller(address common.Address, caller bind.ContractCaller) (*InterfaceLightManagerCaller, error)
NewInterfaceLightManagerCaller creates a new read-only instance of InterfaceLightManager, bound to a specific deployed contract.
type InterfaceLightManagerCallerRaw ¶
type InterfaceLightManagerCallerRaw struct {
Contract *InterfaceLightManagerCaller // Generic read-only contract binding to access the raw methods on
}
InterfaceLightManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterfaceLightManagerCallerRaw) Call ¶
func (_InterfaceLightManager *InterfaceLightManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterfaceLightManagerCallerSession ¶
type InterfaceLightManagerCallerSession struct { Contract *InterfaceLightManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterfaceLightManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type InterfaceLightManagerFilterer ¶
type InterfaceLightManagerFilterer struct {
// contains filtered or unexported fields
}
InterfaceLightManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterfaceLightManagerFilterer ¶
func NewInterfaceLightManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceLightManagerFilterer, error)
NewInterfaceLightManagerFilterer creates a new log filterer instance of InterfaceLightManager, bound to a specific deployed contract.
type InterfaceLightManagerRaw ¶
type InterfaceLightManagerRaw struct {
Contract *InterfaceLightManager // Generic contract binding to access the raw methods on
}
InterfaceLightManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterfaceLightManagerRaw) Call ¶
func (_InterfaceLightManager *InterfaceLightManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterfaceLightManagerRaw) Transact ¶
func (_InterfaceLightManager *InterfaceLightManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterfaceLightManagerRaw) Transfer ¶
func (_InterfaceLightManager *InterfaceLightManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterfaceLightManagerSession ¶
type InterfaceLightManagerSession struct { Contract *InterfaceLightManager // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterfaceLightManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InterfaceLightManagerSession) RemoteWithdrawTips ¶
func (_InterfaceLightManager *InterfaceLightManagerSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*InterfaceLightManagerSession) SetAgentRoot ¶
func (_InterfaceLightManager *InterfaceLightManagerSession) SetAgentRoot(agentRoot [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot) returns()
func (*InterfaceLightManagerSession) UpdateAgentStatus ¶
func (_InterfaceLightManager *InterfaceLightManagerSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
type InterfaceLightManagerTransactor ¶
type InterfaceLightManagerTransactor struct {
// contains filtered or unexported fields
}
InterfaceLightManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterfaceLightManagerTransactor ¶
func NewInterfaceLightManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceLightManagerTransactor, error)
NewInterfaceLightManagerTransactor creates a new write-only instance of InterfaceLightManager, bound to a specific deployed contract.
func (*InterfaceLightManagerTransactor) RemoteWithdrawTips ¶
func (_InterfaceLightManager *InterfaceLightManagerTransactor) RemoteWithdrawTips(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*InterfaceLightManagerTransactor) SetAgentRoot ¶
func (_InterfaceLightManager *InterfaceLightManagerTransactor) SetAgentRoot(opts *bind.TransactOpts, agentRoot [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot) returns()
func (*InterfaceLightManagerTransactor) UpdateAgentStatus ¶
func (_InterfaceLightManager *InterfaceLightManagerTransactor) UpdateAgentStatus(opts *bind.TransactOpts, agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
type InterfaceLightManagerTransactorRaw ¶
type InterfaceLightManagerTransactorRaw struct {
Contract *InterfaceLightManagerTransactor // Generic write-only contract binding to access the raw methods on
}
InterfaceLightManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterfaceLightManagerTransactorRaw) Transact ¶
func (_InterfaceLightManager *InterfaceLightManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterfaceLightManagerTransactorRaw) Transfer ¶
func (_InterfaceLightManager *InterfaceLightManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterfaceLightManagerTransactorSession ¶
type InterfaceLightManagerTransactorSession struct { Contract *InterfaceLightManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterfaceLightManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InterfaceLightManagerTransactorSession) RemoteWithdrawTips ¶
func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*InterfaceLightManagerTransactorSession) SetAgentRoot ¶
func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) SetAgentRoot(agentRoot [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot) returns()
func (*InterfaceLightManagerTransactorSession) UpdateAgentStatus ¶
func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
type InterfaceOrigin ¶
type InterfaceOrigin struct { InterfaceOriginCaller // Read-only binding to the contract InterfaceOriginTransactor // Write-only binding to the contract InterfaceOriginFilterer // Log filterer for contract events }
InterfaceOrigin is an auto generated Go binding around an Ethereum contract.
func NewInterfaceOrigin ¶
func NewInterfaceOrigin(address common.Address, backend bind.ContractBackend) (*InterfaceOrigin, error)
NewInterfaceOrigin creates a new instance of InterfaceOrigin, bound to a specific deployed contract.
type InterfaceOriginCaller ¶
type InterfaceOriginCaller struct {
// contains filtered or unexported fields
}
InterfaceOriginCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInterfaceOriginCaller ¶
func NewInterfaceOriginCaller(address common.Address, caller bind.ContractCaller) (*InterfaceOriginCaller, error)
NewInterfaceOriginCaller creates a new read-only instance of InterfaceOrigin, bound to a specific deployed contract.
func (*InterfaceOriginCaller) GetMinimumTipsValue ¶
func (_InterfaceOrigin *InterfaceOriginCaller) GetMinimumTipsValue(opts *bind.CallOpts, destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)
GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.
Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)
type InterfaceOriginCallerRaw ¶
type InterfaceOriginCallerRaw struct {
Contract *InterfaceOriginCaller // Generic read-only contract binding to access the raw methods on
}
InterfaceOriginCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InterfaceOriginCallerRaw) Call ¶
func (_InterfaceOrigin *InterfaceOriginCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type InterfaceOriginCallerSession ¶
type InterfaceOriginCallerSession struct { Contract *InterfaceOriginCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InterfaceOriginCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InterfaceOriginCallerSession) GetMinimumTipsValue ¶
func (_InterfaceOrigin *InterfaceOriginCallerSession) GetMinimumTipsValue(destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)
GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.
Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)
type InterfaceOriginFilterer ¶
type InterfaceOriginFilterer struct {
// contains filtered or unexported fields
}
InterfaceOriginFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInterfaceOriginFilterer ¶
func NewInterfaceOriginFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceOriginFilterer, error)
NewInterfaceOriginFilterer creates a new log filterer instance of InterfaceOrigin, bound to a specific deployed contract.
type InterfaceOriginRaw ¶
type InterfaceOriginRaw struct {
Contract *InterfaceOrigin // Generic contract binding to access the raw methods on
}
InterfaceOriginRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InterfaceOriginRaw) Call ¶
func (_InterfaceOrigin *InterfaceOriginRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*InterfaceOriginRaw) Transact ¶
func (_InterfaceOrigin *InterfaceOriginRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterfaceOriginRaw) Transfer ¶
func (_InterfaceOrigin *InterfaceOriginRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterfaceOriginSession ¶
type InterfaceOriginSession struct { Contract *InterfaceOrigin // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterfaceOriginSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InterfaceOriginSession) GetMinimumTipsValue ¶
func (_InterfaceOrigin *InterfaceOriginSession) GetMinimumTipsValue(destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)
GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.
Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)
func (*InterfaceOriginSession) SendBaseMessage ¶
func (_InterfaceOrigin *InterfaceOriginSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)
SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.
Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)
func (*InterfaceOriginSession) SendManagerMessage ¶
func (_InterfaceOrigin *InterfaceOriginSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)
SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.
Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)
func (*InterfaceOriginSession) WithdrawTips ¶
func (_InterfaceOrigin *InterfaceOriginSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.
Solidity: function withdrawTips(address recipient, uint256 amount) returns()
type InterfaceOriginTransactor ¶
type InterfaceOriginTransactor struct {
// contains filtered or unexported fields
}
InterfaceOriginTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInterfaceOriginTransactor ¶
func NewInterfaceOriginTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceOriginTransactor, error)
NewInterfaceOriginTransactor creates a new write-only instance of InterfaceOrigin, bound to a specific deployed contract.
func (*InterfaceOriginTransactor) SendBaseMessage ¶
func (_InterfaceOrigin *InterfaceOriginTransactor) SendBaseMessage(opts *bind.TransactOpts, destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)
SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.
Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)
func (*InterfaceOriginTransactor) SendManagerMessage ¶
func (_InterfaceOrigin *InterfaceOriginTransactor) SendManagerMessage(opts *bind.TransactOpts, destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)
SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.
Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)
func (*InterfaceOriginTransactor) WithdrawTips ¶
func (_InterfaceOrigin *InterfaceOriginTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.
Solidity: function withdrawTips(address recipient, uint256 amount) returns()
type InterfaceOriginTransactorRaw ¶
type InterfaceOriginTransactorRaw struct {
Contract *InterfaceOriginTransactor // Generic write-only contract binding to access the raw methods on
}
InterfaceOriginTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InterfaceOriginTransactorRaw) Transact ¶
func (_InterfaceOrigin *InterfaceOriginTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InterfaceOriginTransactorRaw) Transfer ¶
func (_InterfaceOrigin *InterfaceOriginTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type InterfaceOriginTransactorSession ¶
type InterfaceOriginTransactorSession struct { Contract *InterfaceOriginTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InterfaceOriginTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InterfaceOriginTransactorSession) SendBaseMessage ¶
func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)
SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.
Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)
func (*InterfaceOriginTransactorSession) SendManagerMessage ¶
func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)
SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.
Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)
func (*InterfaceOriginTransactorSession) WithdrawTips ¶
func (_InterfaceOrigin *InterfaceOriginTransactorSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.
Solidity: function withdrawTips(address recipient, uint256 amount) returns()
type LightManager ¶
type LightManager struct { LightManagerCaller // Read-only binding to the contract LightManagerTransactor // Write-only binding to the contract LightManagerFilterer // Log filterer for contract events }
LightManager is an auto generated Go binding around an Ethereum contract.
func DeployLightManager ¶
func DeployLightManager(auth *bind.TransactOpts, backend bind.ContractBackend, domain uint32) (common.Address, *types.Transaction, *LightManager, error)
DeployLightManager deploys a new Ethereum contract, binding an instance of LightManager to it.
func NewLightManager ¶
func NewLightManager(address common.Address, backend bind.ContractBackend) (*LightManager, error)
NewLightManager creates a new instance of LightManager, bound to a specific deployed contract.
type LightManagerCaller ¶
type LightManagerCaller struct {
// contains filtered or unexported fields
}
LightManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLightManagerCaller ¶
func NewLightManagerCaller(address common.Address, caller bind.ContractCaller) (*LightManagerCaller, error)
NewLightManagerCaller creates a new read-only instance of LightManager, bound to a specific deployed contract.
func (*LightManagerCaller) AgentRoot ¶
func (_LightManager *LightManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*LightManagerCaller) AgentStatus ¶
func (_LightManager *LightManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*LightManagerCaller) Destination ¶
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*LightManagerCaller) DisputeStatus ¶
func (_LightManager *LightManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*LightManagerCaller) GetAgent ¶
func (_LightManager *LightManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*LightManagerCaller) GetDispute ¶
func (_LightManager *LightManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*LightManagerCaller) GetDisputesAmount ¶
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*LightManagerCaller) Inbox ¶
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*LightManagerCaller) LocalDomain ¶
func (_LightManager *LightManagerCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*LightManagerCaller) Origin ¶
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
type LightManagerCallerRaw ¶
type LightManagerCallerRaw struct {
Contract *LightManagerCaller // Generic read-only contract binding to access the raw methods on
}
LightManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LightManagerCallerRaw) Call ¶
func (_LightManager *LightManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type LightManagerCallerSession ¶
type LightManagerCallerSession struct { Contract *LightManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LightManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LightManagerCallerSession) AgentRoot ¶
func (_LightManager *LightManagerCallerSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*LightManagerCallerSession) AgentStatus ¶
func (_LightManager *LightManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*LightManagerCallerSession) Destination ¶
func (_LightManager *LightManagerCallerSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*LightManagerCallerSession) DisputeStatus ¶
func (_LightManager *LightManagerCallerSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*LightManagerCallerSession) GetAgent ¶
func (_LightManager *LightManagerCallerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*LightManagerCallerSession) GetDispute ¶
func (_LightManager *LightManagerCallerSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*LightManagerCallerSession) GetDisputesAmount ¶
func (_LightManager *LightManagerCallerSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*LightManagerCallerSession) Inbox ¶
func (_LightManager *LightManagerCallerSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*LightManagerCallerSession) LocalDomain ¶
func (_LightManager *LightManagerCallerSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*LightManagerCallerSession) Origin ¶
func (_LightManager *LightManagerCallerSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*LightManagerCallerSession) Owner ¶
func (_LightManager *LightManagerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightManagerCallerSession) Version ¶
func (_LightManager *LightManagerCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type LightManagerDisputeOpened ¶
type LightManagerDisputeOpened struct { DisputeIndex *big.Int GuardIndex uint32 NotaryIndex uint32 Raw types.Log // Blockchain specific contextual infos }
LightManagerDisputeOpened represents a DisputeOpened event raised by the LightManager contract.
type LightManagerDisputeOpenedIterator ¶
type LightManagerDisputeOpenedIterator struct { Event *LightManagerDisputeOpened // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the LightManager contract.
func (*LightManagerDisputeOpenedIterator) Close ¶
func (it *LightManagerDisputeOpenedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerDisputeOpenedIterator) Error ¶
func (it *LightManagerDisputeOpenedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerDisputeOpenedIterator) Next ¶
func (it *LightManagerDisputeOpenedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerDisputeResolved ¶
type LightManagerDisputeResolved struct { DisputeIndex *big.Int SlashedIndex uint32 RivalIndex uint32 FraudProver common.Address Raw types.Log // Blockchain specific contextual infos }
LightManagerDisputeResolved represents a DisputeResolved event raised by the LightManager contract.
type LightManagerDisputeResolvedIterator ¶
type LightManagerDisputeResolvedIterator struct { Event *LightManagerDisputeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the LightManager contract.
func (*LightManagerDisputeResolvedIterator) Close ¶
func (it *LightManagerDisputeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerDisputeResolvedIterator) Error ¶
func (it *LightManagerDisputeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerDisputeResolvedIterator) Next ¶
func (it *LightManagerDisputeResolvedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerFilterer ¶
type LightManagerFilterer struct {
// contains filtered or unexported fields
}
LightManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLightManagerFilterer ¶
func NewLightManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*LightManagerFilterer, error)
NewLightManagerFilterer creates a new log filterer instance of LightManager, bound to a specific deployed contract.
func (*LightManagerFilterer) FilterDisputeOpened ¶
func (_LightManager *LightManagerFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*LightManagerDisputeOpenedIterator, error)
FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*LightManagerFilterer) FilterDisputeResolved ¶
func (_LightManager *LightManagerFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*LightManagerDisputeResolvedIterator, error)
FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*LightManagerFilterer) FilterInitialized ¶
func (_LightManager *LightManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*LightManagerInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightManagerFilterer) FilterOwnershipTransferred ¶
func (_LightManager *LightManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LightManagerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightManagerFilterer) FilterRootUpdated ¶
func (_LightManager *LightManagerFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*LightManagerRootUpdatedIterator, error)
FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*LightManagerFilterer) FilterStatusUpdated ¶
func (_LightManager *LightManagerFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*LightManagerStatusUpdatedIterator, error)
FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*LightManagerFilterer) ParseDisputeOpened ¶
func (_LightManager *LightManagerFilterer) ParseDisputeOpened(log types.Log) (*LightManagerDisputeOpened, error)
ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*LightManagerFilterer) ParseDisputeResolved ¶
func (_LightManager *LightManagerFilterer) ParseDisputeResolved(log types.Log) (*LightManagerDisputeResolved, error)
ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*LightManagerFilterer) ParseInitialized ¶
func (_LightManager *LightManagerFilterer) ParseInitialized(log types.Log) (*LightManagerInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightManagerFilterer) ParseOwnershipTransferred ¶
func (_LightManager *LightManagerFilterer) ParseOwnershipTransferred(log types.Log) (*LightManagerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightManagerFilterer) ParseRootUpdated ¶
func (_LightManager *LightManagerFilterer) ParseRootUpdated(log types.Log) (*LightManagerRootUpdated, error)
ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*LightManagerFilterer) ParseStatusUpdated ¶
func (_LightManager *LightManagerFilterer) ParseStatusUpdated(log types.Log) (*LightManagerStatusUpdated, error)
ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*LightManagerFilterer) WatchDisputeOpened ¶
func (_LightManager *LightManagerFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *LightManagerDisputeOpened) (event.Subscription, error)
WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*LightManagerFilterer) WatchDisputeResolved ¶
func (_LightManager *LightManagerFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *LightManagerDisputeResolved) (event.Subscription, error)
WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*LightManagerFilterer) WatchInitialized ¶
func (_LightManager *LightManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightManagerInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightManagerFilterer) WatchOwnershipTransferred ¶
func (_LightManager *LightManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LightManagerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightManagerFilterer) WatchRootUpdated ¶
func (_LightManager *LightManagerFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *LightManagerRootUpdated) (event.Subscription, error)
WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*LightManagerFilterer) WatchStatusUpdated ¶
func (_LightManager *LightManagerFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *LightManagerStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)
WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
type LightManagerHarness ¶
type LightManagerHarness struct { LightManagerHarnessCaller // Read-only binding to the contract LightManagerHarnessTransactor // Write-only binding to the contract LightManagerHarnessFilterer // Log filterer for contract events }
LightManagerHarness is an auto generated Go binding around an Ethereum contract.
func DeployLightManagerHarness ¶
func DeployLightManagerHarness(auth *bind.TransactOpts, backend bind.ContractBackend, domain uint32) (common.Address, *types.Transaction, *LightManagerHarness, error)
DeployLightManagerHarness deploys a new Ethereum contract, binding an instance of LightManagerHarness to it.
func NewLightManagerHarness ¶
func NewLightManagerHarness(address common.Address, backend bind.ContractBackend) (*LightManagerHarness, error)
NewLightManagerHarness creates a new instance of LightManagerHarness, bound to a specific deployed contract.
type LightManagerHarnessCaller ¶
type LightManagerHarnessCaller struct {
// contains filtered or unexported fields
}
LightManagerHarnessCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLightManagerHarnessCaller ¶
func NewLightManagerHarnessCaller(address common.Address, caller bind.ContractCaller) (*LightManagerHarnessCaller, error)
NewLightManagerHarnessCaller creates a new read-only instance of LightManagerHarness, bound to a specific deployed contract.
func (*LightManagerHarnessCaller) AgentRoot ¶
func (_LightManagerHarness *LightManagerHarnessCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*LightManagerHarnessCaller) AgentStatus ¶
func (_LightManagerHarness *LightManagerHarnessCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*LightManagerHarnessCaller) Destination ¶
func (_LightManagerHarness *LightManagerHarnessCaller) Destination(opts *bind.CallOpts) (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*LightManagerHarnessCaller) DisputeStatus ¶
func (_LightManagerHarness *LightManagerHarnessCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*LightManagerHarnessCaller) GetAgent ¶
func (_LightManagerHarness *LightManagerHarnessCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*LightManagerHarnessCaller) GetDispute ¶
func (_LightManagerHarness *LightManagerHarnessCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*LightManagerHarnessCaller) GetDisputesAmount ¶
func (_LightManagerHarness *LightManagerHarnessCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*LightManagerHarnessCaller) Inbox ¶
func (_LightManagerHarness *LightManagerHarnessCaller) Inbox(opts *bind.CallOpts) (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*LightManagerHarnessCaller) LocalDomain ¶
func (_LightManagerHarness *LightManagerHarnessCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*LightManagerHarnessCaller) Origin ¶
func (_LightManagerHarness *LightManagerHarnessCaller) Origin(opts *bind.CallOpts) (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*LightManagerHarnessCaller) Owner ¶
func (_LightManagerHarness *LightManagerHarnessCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightManagerHarnessCaller) RemoteMockFunc ¶
func (_LightManagerHarness *LightManagerHarnessCaller) RemoteMockFunc(opts *bind.CallOpts, arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.
Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)
func (*LightManagerHarnessCaller) SensitiveMockFunc ¶
func (_LightManagerHarness *LightManagerHarnessCaller) SensitiveMockFunc(opts *bind.CallOpts, arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.
Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)
func (*LightManagerHarnessCaller) SensitiveMockFuncOver32Bytes ¶
func (_LightManagerHarness *LightManagerHarnessCaller) SensitiveMockFuncOver32Bytes(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.
Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)
func (*LightManagerHarnessCaller) SensitiveMockFuncVoid ¶
func (_LightManagerHarness *LightManagerHarnessCaller) SensitiveMockFuncVoid(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.
Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()
type LightManagerHarnessCallerRaw ¶
type LightManagerHarnessCallerRaw struct {
Contract *LightManagerHarnessCaller // Generic read-only contract binding to access the raw methods on
}
LightManagerHarnessCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LightManagerHarnessCallerRaw) Call ¶
func (_LightManagerHarness *LightManagerHarnessCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type LightManagerHarnessCallerSession ¶
type LightManagerHarnessCallerSession struct { Contract *LightManagerHarnessCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LightManagerHarnessCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LightManagerHarnessCallerSession) AgentRoot ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*LightManagerHarnessCallerSession) AgentStatus ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*LightManagerHarnessCallerSession) Destination ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*LightManagerHarnessCallerSession) DisputeStatus ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*LightManagerHarnessCallerSession) GetAgent ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*LightManagerHarnessCallerSession) GetDispute ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*LightManagerHarnessCallerSession) GetDisputesAmount ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*LightManagerHarnessCallerSession) Inbox ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*LightManagerHarnessCallerSession) LocalDomain ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*LightManagerHarnessCallerSession) Origin ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*LightManagerHarnessCallerSession) Owner ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightManagerHarnessCallerSession) RemoteMockFunc ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.
Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)
func (*LightManagerHarnessCallerSession) SensitiveMockFunc ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.
Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)
func (*LightManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.
Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)
func (*LightManagerHarnessCallerSession) SensitiveMockFuncVoid ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.
Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()
func (*LightManagerHarnessCallerSession) Version ¶
func (_LightManagerHarness *LightManagerHarnessCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type LightManagerHarnessDisputeOpened ¶
type LightManagerHarnessDisputeOpened struct { DisputeIndex *big.Int GuardIndex uint32 NotaryIndex uint32 Raw types.Log // Blockchain specific contextual infos }
LightManagerHarnessDisputeOpened represents a DisputeOpened event raised by the LightManagerHarness contract.
type LightManagerHarnessDisputeOpenedIterator ¶
type LightManagerHarnessDisputeOpenedIterator struct { Event *LightManagerHarnessDisputeOpened // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerHarnessDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the LightManagerHarness contract.
func (*LightManagerHarnessDisputeOpenedIterator) Close ¶
func (it *LightManagerHarnessDisputeOpenedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerHarnessDisputeOpenedIterator) Error ¶
func (it *LightManagerHarnessDisputeOpenedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerHarnessDisputeOpenedIterator) Next ¶
func (it *LightManagerHarnessDisputeOpenedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerHarnessDisputeResolved ¶
type LightManagerHarnessDisputeResolved struct { DisputeIndex *big.Int SlashedIndex uint32 RivalIndex uint32 FraudProver common.Address Raw types.Log // Blockchain specific contextual infos }
LightManagerHarnessDisputeResolved represents a DisputeResolved event raised by the LightManagerHarness contract.
type LightManagerHarnessDisputeResolvedIterator ¶
type LightManagerHarnessDisputeResolvedIterator struct { Event *LightManagerHarnessDisputeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerHarnessDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the LightManagerHarness contract.
func (*LightManagerHarnessDisputeResolvedIterator) Close ¶
func (it *LightManagerHarnessDisputeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerHarnessDisputeResolvedIterator) Error ¶
func (it *LightManagerHarnessDisputeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerHarnessDisputeResolvedIterator) Next ¶
func (it *LightManagerHarnessDisputeResolvedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerHarnessFilterer ¶
type LightManagerHarnessFilterer struct {
// contains filtered or unexported fields
}
LightManagerHarnessFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLightManagerHarnessFilterer ¶
func NewLightManagerHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*LightManagerHarnessFilterer, error)
NewLightManagerHarnessFilterer creates a new log filterer instance of LightManagerHarness, bound to a specific deployed contract.
func (*LightManagerHarnessFilterer) FilterDisputeOpened ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*LightManagerHarnessDisputeOpenedIterator, error)
FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*LightManagerHarnessFilterer) FilterDisputeResolved ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*LightManagerHarnessDisputeResolvedIterator, error)
FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*LightManagerHarnessFilterer) FilterInitialized ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) FilterInitialized(opts *bind.FilterOpts) (*LightManagerHarnessInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightManagerHarnessFilterer) FilterOwnershipTransferred ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LightManagerHarnessOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightManagerHarnessFilterer) FilterRootUpdated ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*LightManagerHarnessRootUpdatedIterator, error)
FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*LightManagerHarnessFilterer) FilterStatusUpdated ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*LightManagerHarnessStatusUpdatedIterator, error)
FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*LightManagerHarnessFilterer) ParseDisputeOpened ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) ParseDisputeOpened(log types.Log) (*LightManagerHarnessDisputeOpened, error)
ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*LightManagerHarnessFilterer) ParseDisputeResolved ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) ParseDisputeResolved(log types.Log) (*LightManagerHarnessDisputeResolved, error)
ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*LightManagerHarnessFilterer) ParseInitialized ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) ParseInitialized(log types.Log) (*LightManagerHarnessInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightManagerHarnessFilterer) ParseOwnershipTransferred ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) ParseOwnershipTransferred(log types.Log) (*LightManagerHarnessOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightManagerHarnessFilterer) ParseRootUpdated ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) ParseRootUpdated(log types.Log) (*LightManagerHarnessRootUpdated, error)
ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*LightManagerHarnessFilterer) ParseStatusUpdated ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) ParseStatusUpdated(log types.Log) (*LightManagerHarnessStatusUpdated, error)
ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
func (*LightManagerHarnessFilterer) WatchDisputeOpened ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessDisputeOpened) (event.Subscription, error)
WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.
Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)
func (*LightManagerHarnessFilterer) WatchDisputeResolved ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessDisputeResolved) (event.Subscription, error)
WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.
Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)
func (*LightManagerHarnessFilterer) WatchInitialized ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*LightManagerHarnessFilterer) WatchOwnershipTransferred ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightManagerHarnessFilterer) WatchRootUpdated ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessRootUpdated) (event.Subscription, error)
WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.
Solidity: event RootUpdated(bytes32 newRoot)
func (*LightManagerHarnessFilterer) WatchStatusUpdated ¶
func (_LightManagerHarness *LightManagerHarnessFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *LightManagerHarnessStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)
WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.
Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)
type LightManagerHarnessInitialized ¶
type LightManagerHarnessInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
LightManagerHarnessInitialized represents a Initialized event raised by the LightManagerHarness contract.
type LightManagerHarnessInitializedIterator ¶
type LightManagerHarnessInitializedIterator struct { Event *LightManagerHarnessInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerHarnessInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the LightManagerHarness contract.
func (*LightManagerHarnessInitializedIterator) Close ¶
func (it *LightManagerHarnessInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerHarnessInitializedIterator) Error ¶
func (it *LightManagerHarnessInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerHarnessInitializedIterator) Next ¶
func (it *LightManagerHarnessInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerHarnessOwnershipTransferred ¶
type LightManagerHarnessOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LightManagerHarnessOwnershipTransferred represents a OwnershipTransferred event raised by the LightManagerHarness contract.
type LightManagerHarnessOwnershipTransferredIterator ¶
type LightManagerHarnessOwnershipTransferredIterator struct { Event *LightManagerHarnessOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerHarnessOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LightManagerHarness contract.
func (*LightManagerHarnessOwnershipTransferredIterator) Close ¶
func (it *LightManagerHarnessOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerHarnessOwnershipTransferredIterator) Error ¶
func (it *LightManagerHarnessOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerHarnessOwnershipTransferredIterator) Next ¶
func (it *LightManagerHarnessOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerHarnessRaw ¶
type LightManagerHarnessRaw struct {
Contract *LightManagerHarness // Generic contract binding to access the raw methods on
}
LightManagerHarnessRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LightManagerHarnessRaw) Call ¶
func (_LightManagerHarness *LightManagerHarnessRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*LightManagerHarnessRaw) Transact ¶
func (_LightManagerHarness *LightManagerHarnessRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightManagerHarnessRaw) Transfer ¶
func (_LightManagerHarness *LightManagerHarnessRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type LightManagerHarnessRef ¶
type LightManagerHarnessRef struct { *LightManagerHarness // contains filtered or unexported fields }
LightManagerHarnessRef is a light manager harness reference
func NewLightManagerHarnessRef ¶
func NewLightManagerHarnessRef(address common.Address, backend bind.ContractBackend) (*LightManagerHarnessRef, error)
NewLightManagerHarnessRef creates a new light manager harness.
func (LightManagerHarnessRef) Address ¶
func (h LightManagerHarnessRef) Address() common.Address
Address gets the address of the contract.
type LightManagerHarnessRootUpdated ¶
type LightManagerHarnessRootUpdated struct { NewRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
LightManagerHarnessRootUpdated represents a RootUpdated event raised by the LightManagerHarness contract.
type LightManagerHarnessRootUpdatedIterator ¶
type LightManagerHarnessRootUpdatedIterator struct { Event *LightManagerHarnessRootUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerHarnessRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the LightManagerHarness contract.
func (*LightManagerHarnessRootUpdatedIterator) Close ¶
func (it *LightManagerHarnessRootUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerHarnessRootUpdatedIterator) Error ¶
func (it *LightManagerHarnessRootUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerHarnessRootUpdatedIterator) Next ¶
func (it *LightManagerHarnessRootUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerHarnessSession ¶
type LightManagerHarnessSession struct { Contract *LightManagerHarness // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LightManagerHarnessSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LightManagerHarnessSession) AgentRoot ¶
func (_LightManagerHarness *LightManagerHarnessSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*LightManagerHarnessSession) AgentStatus ¶
func (_LightManagerHarness *LightManagerHarnessSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*LightManagerHarnessSession) Destination ¶
func (_LightManagerHarness *LightManagerHarnessSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*LightManagerHarnessSession) DisputeStatus ¶
func (_LightManagerHarness *LightManagerHarnessSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*LightManagerHarnessSession) GetAgent ¶
func (_LightManagerHarness *LightManagerHarnessSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*LightManagerHarnessSession) GetDispute ¶
func (_LightManagerHarness *LightManagerHarnessSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*LightManagerHarnessSession) GetDisputesAmount ¶
func (_LightManagerHarness *LightManagerHarnessSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*LightManagerHarnessSession) Inbox ¶
func (_LightManagerHarness *LightManagerHarnessSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*LightManagerHarnessSession) Initialize ¶
func (_LightManagerHarness *LightManagerHarnessSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address origin_, address destination_, address inbox_) returns()
func (*LightManagerHarnessSession) LocalDomain ¶
func (_LightManagerHarness *LightManagerHarnessSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*LightManagerHarnessSession) Multicall ¶
func (_LightManagerHarness *LightManagerHarnessSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*LightManagerHarnessSession) OpenDispute ¶
func (_LightManagerHarness *LightManagerHarnessSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*LightManagerHarnessSession) Origin ¶
func (_LightManagerHarness *LightManagerHarnessSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*LightManagerHarnessSession) Owner ¶
func (_LightManagerHarness *LightManagerHarnessSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightManagerHarnessSession) RemoteMockFunc ¶
func (_LightManagerHarness *LightManagerHarnessSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)
RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.
Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)
func (*LightManagerHarnessSession) RemoteWithdrawTips ¶
func (_LightManagerHarness *LightManagerHarnessSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*LightManagerHarnessSession) RenounceOwnership ¶
func (_LightManagerHarness *LightManagerHarnessSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LightManagerHarnessSession) ResolveStuckDispute ¶
func (_LightManagerHarness *LightManagerHarnessSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*LightManagerHarnessSession) SensitiveMockFunc ¶
func (_LightManagerHarness *LightManagerHarnessSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)
SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.
Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)
func (*LightManagerHarnessSession) SensitiveMockFuncOver32Bytes ¶
func (_LightManagerHarness *LightManagerHarnessSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)
SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.
Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)
func (*LightManagerHarnessSession) SensitiveMockFuncVoid ¶
func (_LightManagerHarness *LightManagerHarnessSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error
SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.
Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()
func (*LightManagerHarnessSession) SetAgentRoot ¶
func (_LightManagerHarness *LightManagerHarnessSession) SetAgentRoot(agentRoot_ [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot_) returns()
func (*LightManagerHarnessSession) SlashAgent ¶
func (_LightManagerHarness *LightManagerHarnessSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*LightManagerHarnessSession) SlashAgentExposed ¶
func (_LightManagerHarness *LightManagerHarnessSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.
Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()
func (*LightManagerHarnessSession) TransferOwnership ¶
func (_LightManagerHarness *LightManagerHarnessSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightManagerHarnessSession) UpdateAgentStatus ¶
func (_LightManagerHarness *LightManagerHarnessSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
func (*LightManagerHarnessSession) Version ¶
func (_LightManagerHarness *LightManagerHarnessSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type LightManagerHarnessStatusUpdated ¶
type LightManagerHarnessStatusUpdated struct { Flag uint8 Domain uint32 Agent common.Address Raw types.Log // Blockchain specific contextual infos }
LightManagerHarnessStatusUpdated represents a StatusUpdated event raised by the LightManagerHarness contract.
type LightManagerHarnessStatusUpdatedIterator ¶
type LightManagerHarnessStatusUpdatedIterator struct { Event *LightManagerHarnessStatusUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerHarnessStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the LightManagerHarness contract.
func (*LightManagerHarnessStatusUpdatedIterator) Close ¶
func (it *LightManagerHarnessStatusUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerHarnessStatusUpdatedIterator) Error ¶
func (it *LightManagerHarnessStatusUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerHarnessStatusUpdatedIterator) Next ¶
func (it *LightManagerHarnessStatusUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerHarnessTransactor ¶
type LightManagerHarnessTransactor struct {
// contains filtered or unexported fields
}
LightManagerHarnessTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLightManagerHarnessTransactor ¶
func NewLightManagerHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*LightManagerHarnessTransactor, error)
NewLightManagerHarnessTransactor creates a new write-only instance of LightManagerHarness, bound to a specific deployed contract.
func (*LightManagerHarnessTransactor) Initialize ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) Initialize(opts *bind.TransactOpts, origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address origin_, address destination_, address inbox_) returns()
func (*LightManagerHarnessTransactor) Multicall ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*LightManagerHarnessTransactor) OpenDispute ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*LightManagerHarnessTransactor) RemoteWithdrawTips ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) RemoteWithdrawTips(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*LightManagerHarnessTransactor) RenounceOwnership ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LightManagerHarnessTransactor) ResolveStuckDispute ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*LightManagerHarnessTransactor) SetAgentRoot ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) SetAgentRoot(opts *bind.TransactOpts, agentRoot_ [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot_) returns()
func (*LightManagerHarnessTransactor) SlashAgent ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*LightManagerHarnessTransactor) SlashAgentExposed ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) SlashAgentExposed(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.
Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()
func (*LightManagerHarnessTransactor) TransferOwnership ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightManagerHarnessTransactor) UpdateAgentStatus ¶
func (_LightManagerHarness *LightManagerHarnessTransactor) UpdateAgentStatus(opts *bind.TransactOpts, agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
type LightManagerHarnessTransactorRaw ¶
type LightManagerHarnessTransactorRaw struct {
Contract *LightManagerHarnessTransactor // Generic write-only contract binding to access the raw methods on
}
LightManagerHarnessTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LightManagerHarnessTransactorRaw) Transact ¶
func (_LightManagerHarness *LightManagerHarnessTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightManagerHarnessTransactorRaw) Transfer ¶
func (_LightManagerHarness *LightManagerHarnessTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type LightManagerHarnessTransactorSession ¶
type LightManagerHarnessTransactorSession struct { Contract *LightManagerHarnessTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LightManagerHarnessTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LightManagerHarnessTransactorSession) Initialize ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address origin_, address destination_, address inbox_) returns()
func (*LightManagerHarnessTransactorSession) Multicall ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*LightManagerHarnessTransactorSession) OpenDispute ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*LightManagerHarnessTransactorSession) RemoteWithdrawTips ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*LightManagerHarnessTransactorSession) RenounceOwnership ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LightManagerHarnessTransactorSession) ResolveStuckDispute ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*LightManagerHarnessTransactorSession) SetAgentRoot ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) SetAgentRoot(agentRoot_ [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot_) returns()
func (*LightManagerHarnessTransactorSession) SlashAgent ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*LightManagerHarnessTransactorSession) SlashAgentExposed ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.
Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()
func (*LightManagerHarnessTransactorSession) TransferOwnership ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightManagerHarnessTransactorSession) UpdateAgentStatus ¶
func (_LightManagerHarness *LightManagerHarnessTransactorSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
type LightManagerInitialized ¶
type LightManagerInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
LightManagerInitialized represents a Initialized event raised by the LightManager contract.
type LightManagerInitializedIterator ¶
type LightManagerInitializedIterator struct { Event *LightManagerInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the LightManager contract.
func (*LightManagerInitializedIterator) Close ¶
func (it *LightManagerInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerInitializedIterator) Error ¶
func (it *LightManagerInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerInitializedIterator) Next ¶
func (it *LightManagerInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerOwnershipTransferred ¶
type LightManagerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LightManagerOwnershipTransferred represents a OwnershipTransferred event raised by the LightManager contract.
type LightManagerOwnershipTransferredIterator ¶
type LightManagerOwnershipTransferredIterator struct { Event *LightManagerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LightManager contract.
func (*LightManagerOwnershipTransferredIterator) Close ¶
func (it *LightManagerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerOwnershipTransferredIterator) Error ¶
func (it *LightManagerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerOwnershipTransferredIterator) Next ¶
func (it *LightManagerOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerRaw ¶
type LightManagerRaw struct {
Contract *LightManager // Generic contract binding to access the raw methods on
}
LightManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LightManagerRaw) Call ¶
func (_LightManager *LightManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*LightManagerRaw) Transact ¶
func (_LightManager *LightManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightManagerRaw) Transfer ¶
func (_LightManager *LightManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type LightManagerRootUpdated ¶
type LightManagerRootUpdated struct { NewRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
LightManagerRootUpdated represents a RootUpdated event raised by the LightManager contract.
type LightManagerRootUpdatedIterator ¶
type LightManagerRootUpdatedIterator struct { Event *LightManagerRootUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the LightManager contract.
func (*LightManagerRootUpdatedIterator) Close ¶
func (it *LightManagerRootUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerRootUpdatedIterator) Error ¶
func (it *LightManagerRootUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerRootUpdatedIterator) Next ¶
func (it *LightManagerRootUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerSession ¶
type LightManagerSession struct { Contract *LightManager // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LightManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LightManagerSession) AgentRoot ¶
func (_LightManager *LightManagerSession) AgentRoot() ([32]byte, error)
AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.
Solidity: function agentRoot() view returns(bytes32)
func (*LightManagerSession) AgentStatus ¶
func (_LightManager *LightManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)
AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.
Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)
func (*LightManagerSession) Destination ¶
func (_LightManager *LightManagerSession) Destination() (common.Address, error)
Destination is a free data retrieval call binding the contract method 0xb269681d.
Solidity: function destination() view returns(address)
func (*LightManagerSession) DisputeStatus ¶
func (_LightManager *LightManagerSession) DisputeStatus(agent common.Address) (struct { Flag uint8 Rival common.Address FraudProver common.Address DisputePtr *big.Int }, error)
DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.
Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)
func (*LightManagerSession) GetAgent ¶
func (_LightManager *LightManagerSession) GetAgent(index *big.Int) (struct { Agent common.Address Status AgentStatus }, error)
GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.
Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)
func (*LightManagerSession) GetDispute ¶
func (_LightManager *LightManagerSession) GetDispute(index *big.Int) (struct { Guard common.Address Notary common.Address SlashedAgent common.Address FraudProver common.Address ReportPayload []byte ReportSignature []byte }, error)
GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.
Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)
func (*LightManagerSession) GetDisputesAmount ¶
func (_LightManager *LightManagerSession) GetDisputesAmount() (*big.Int, error)
GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.
Solidity: function getDisputesAmount() view returns(uint256)
func (*LightManagerSession) Inbox ¶
func (_LightManager *LightManagerSession) Inbox() (common.Address, error)
Inbox is a free data retrieval call binding the contract method 0xfb0e722b.
Solidity: function inbox() view returns(address)
func (*LightManagerSession) Initialize ¶
func (_LightManager *LightManagerSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address origin_, address destination_, address inbox_) returns()
func (*LightManagerSession) LocalDomain ¶
func (_LightManager *LightManagerSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*LightManagerSession) Multicall ¶
func (_LightManager *LightManagerSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*LightManagerSession) OpenDispute ¶
func (_LightManager *LightManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*LightManagerSession) Origin ¶
func (_LightManager *LightManagerSession) Origin() (common.Address, error)
Origin is a free data retrieval call binding the contract method 0x938b5f32.
Solidity: function origin() view returns(address)
func (*LightManagerSession) Owner ¶
func (_LightManager *LightManagerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightManagerSession) RemoteWithdrawTips ¶
func (_LightManager *LightManagerSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*LightManagerSession) RenounceOwnership ¶
func (_LightManager *LightManagerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LightManagerSession) ResolveStuckDispute ¶
func (_LightManager *LightManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*LightManagerSession) SetAgentRoot ¶
func (_LightManager *LightManagerSession) SetAgentRoot(agentRoot_ [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot_) returns()
func (*LightManagerSession) SlashAgent ¶
func (_LightManager *LightManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*LightManagerSession) TransferOwnership ¶
func (_LightManager *LightManagerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightManagerSession) UpdateAgentStatus ¶
func (_LightManager *LightManagerSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
func (*LightManagerSession) Version ¶
func (_LightManager *LightManagerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type LightManagerStatusUpdated ¶
type LightManagerStatusUpdated struct { Flag uint8 Domain uint32 Agent common.Address Raw types.Log // Blockchain specific contextual infos }
LightManagerStatusUpdated represents a StatusUpdated event raised by the LightManager contract.
type LightManagerStatusUpdatedIterator ¶
type LightManagerStatusUpdatedIterator struct { Event *LightManagerStatusUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightManagerStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the LightManager contract.
func (*LightManagerStatusUpdatedIterator) Close ¶
func (it *LightManagerStatusUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightManagerStatusUpdatedIterator) Error ¶
func (it *LightManagerStatusUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightManagerStatusUpdatedIterator) Next ¶
func (it *LightManagerStatusUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type LightManagerTransactor ¶
type LightManagerTransactor struct {
// contains filtered or unexported fields
}
LightManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLightManagerTransactor ¶
func NewLightManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*LightManagerTransactor, error)
NewLightManagerTransactor creates a new write-only instance of LightManager, bound to a specific deployed contract.
func (*LightManagerTransactor) Initialize ¶
func (_LightManager *LightManagerTransactor) Initialize(opts *bind.TransactOpts, origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address origin_, address destination_, address inbox_) returns()
func (*LightManagerTransactor) Multicall ¶
func (_LightManager *LightManagerTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*LightManagerTransactor) OpenDispute ¶
func (_LightManager *LightManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*LightManagerTransactor) RemoteWithdrawTips ¶
func (_LightManager *LightManagerTransactor) RemoteWithdrawTips(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*LightManagerTransactor) RenounceOwnership ¶
func (_LightManager *LightManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LightManagerTransactor) ResolveStuckDispute ¶
func (_LightManager *LightManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*LightManagerTransactor) SetAgentRoot ¶
func (_LightManager *LightManagerTransactor) SetAgentRoot(opts *bind.TransactOpts, agentRoot_ [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot_) returns()
func (*LightManagerTransactor) SlashAgent ¶
func (_LightManager *LightManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*LightManagerTransactor) TransferOwnership ¶
func (_LightManager *LightManagerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightManagerTransactor) UpdateAgentStatus ¶
func (_LightManager *LightManagerTransactor) UpdateAgentStatus(opts *bind.TransactOpts, agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
type LightManagerTransactorRaw ¶
type LightManagerTransactorRaw struct {
Contract *LightManagerTransactor // Generic write-only contract binding to access the raw methods on
}
LightManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LightManagerTransactorRaw) Transact ¶
func (_LightManager *LightManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightManagerTransactorRaw) Transfer ¶
func (_LightManager *LightManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type LightManagerTransactorSession ¶
type LightManagerTransactorSession struct { Contract *LightManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LightManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LightManagerTransactorSession) Initialize ¶
func (_LightManager *LightManagerTransactorSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address origin_, address destination_, address inbox_) returns()
func (*LightManagerTransactorSession) Multicall ¶
func (_LightManager *LightManagerTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*LightManagerTransactorSession) OpenDispute ¶
func (_LightManager *LightManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)
OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.
Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()
func (*LightManagerTransactorSession) RemoteWithdrawTips ¶
func (_LightManager *LightManagerTransactorSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)
RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.
Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)
func (*LightManagerTransactorSession) RenounceOwnership ¶
func (_LightManager *LightManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LightManagerTransactorSession) ResolveStuckDispute ¶
func (_LightManager *LightManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)
ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.
Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()
func (*LightManagerTransactorSession) SetAgentRoot ¶
func (_LightManager *LightManagerTransactorSession) SetAgentRoot(agentRoot_ [32]byte) (*types.Transaction, error)
SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.
Solidity: function setAgentRoot(bytes32 agentRoot_) returns()
func (*LightManagerTransactorSession) SlashAgent ¶
func (_LightManager *LightManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)
SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.
Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()
func (*LightManagerTransactorSession) TransferOwnership ¶
func (_LightManager *LightManagerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightManagerTransactorSession) UpdateAgentStatus ¶
func (_LightManager *LightManagerTransactorSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)
UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.
Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()
type MerkleMath ¶
type MerkleMath struct { MerkleMathCaller // Read-only binding to the contract MerkleMathTransactor // Write-only binding to the contract MerkleMathFilterer // Log filterer for contract events }
MerkleMath is an auto generated Go binding around an Ethereum contract.
func DeployMerkleMath ¶
func DeployMerkleMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MerkleMath, error)
DeployMerkleMath deploys a new Ethereum contract, binding an instance of MerkleMath to it.
func NewMerkleMath ¶
func NewMerkleMath(address common.Address, backend bind.ContractBackend) (*MerkleMath, error)
NewMerkleMath creates a new instance of MerkleMath, bound to a specific deployed contract.
type MerkleMathCaller ¶
type MerkleMathCaller struct {
// contains filtered or unexported fields
}
MerkleMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMerkleMathCaller ¶
func NewMerkleMathCaller(address common.Address, caller bind.ContractCaller) (*MerkleMathCaller, error)
NewMerkleMathCaller creates a new read-only instance of MerkleMath, bound to a specific deployed contract.
type MerkleMathCallerRaw ¶
type MerkleMathCallerRaw struct {
Contract *MerkleMathCaller // Generic read-only contract binding to access the raw methods on
}
MerkleMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MerkleMathCallerRaw) Call ¶
func (_MerkleMath *MerkleMathCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type MerkleMathCallerSession ¶
type MerkleMathCallerSession struct { Contract *MerkleMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MerkleMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type MerkleMathFilterer ¶
type MerkleMathFilterer struct {
// contains filtered or unexported fields
}
MerkleMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMerkleMathFilterer ¶
func NewMerkleMathFilterer(address common.Address, filterer bind.ContractFilterer) (*MerkleMathFilterer, error)
NewMerkleMathFilterer creates a new log filterer instance of MerkleMath, bound to a specific deployed contract.
type MerkleMathRaw ¶
type MerkleMathRaw struct {
Contract *MerkleMath // Generic contract binding to access the raw methods on
}
MerkleMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MerkleMathRaw) Call ¶
func (_MerkleMath *MerkleMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*MerkleMathRaw) Transact ¶
func (_MerkleMath *MerkleMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MerkleMathRaw) Transfer ¶
func (_MerkleMath *MerkleMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type MerkleMathSession ¶
type MerkleMathSession struct { Contract *MerkleMath // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MerkleMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type MerkleMathTransactor ¶
type MerkleMathTransactor struct {
// contains filtered or unexported fields
}
MerkleMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMerkleMathTransactor ¶
func NewMerkleMathTransactor(address common.Address, transactor bind.ContractTransactor) (*MerkleMathTransactor, error)
NewMerkleMathTransactor creates a new write-only instance of MerkleMath, bound to a specific deployed contract.
type MerkleMathTransactorRaw ¶
type MerkleMathTransactorRaw struct {
Contract *MerkleMathTransactor // Generic write-only contract binding to access the raw methods on
}
MerkleMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MerkleMathTransactorRaw) Transact ¶
func (_MerkleMath *MerkleMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MerkleMathTransactorRaw) Transfer ¶
func (_MerkleMath *MerkleMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type MerkleMathTransactorSession ¶
type MerkleMathTransactorSession struct { Contract *MerkleMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MerkleMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type MessagingBase ¶
type MessagingBase struct { MessagingBaseCaller // Read-only binding to the contract MessagingBaseTransactor // Write-only binding to the contract MessagingBaseFilterer // Log filterer for contract events }
MessagingBase is an auto generated Go binding around an Ethereum contract.
func NewMessagingBase ¶
func NewMessagingBase(address common.Address, backend bind.ContractBackend) (*MessagingBase, error)
NewMessagingBase creates a new instance of MessagingBase, bound to a specific deployed contract.
type MessagingBaseCaller ¶
type MessagingBaseCaller struct {
// contains filtered or unexported fields
}
MessagingBaseCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMessagingBaseCaller ¶
func NewMessagingBaseCaller(address common.Address, caller bind.ContractCaller) (*MessagingBaseCaller, error)
NewMessagingBaseCaller creates a new read-only instance of MessagingBase, bound to a specific deployed contract.
func (*MessagingBaseCaller) LocalDomain ¶
func (_MessagingBase *MessagingBaseCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
type MessagingBaseCallerRaw ¶
type MessagingBaseCallerRaw struct {
Contract *MessagingBaseCaller // Generic read-only contract binding to access the raw methods on
}
MessagingBaseCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MessagingBaseCallerRaw) Call ¶
func (_MessagingBase *MessagingBaseCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type MessagingBaseCallerSession ¶
type MessagingBaseCallerSession struct { Contract *MessagingBaseCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MessagingBaseCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MessagingBaseCallerSession) LocalDomain ¶
func (_MessagingBase *MessagingBaseCallerSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*MessagingBaseCallerSession) Owner ¶
func (_MessagingBase *MessagingBaseCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MessagingBaseCallerSession) Version ¶
func (_MessagingBase *MessagingBaseCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type MessagingBaseFilterer ¶
type MessagingBaseFilterer struct {
// contains filtered or unexported fields
}
MessagingBaseFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMessagingBaseFilterer ¶
func NewMessagingBaseFilterer(address common.Address, filterer bind.ContractFilterer) (*MessagingBaseFilterer, error)
NewMessagingBaseFilterer creates a new log filterer instance of MessagingBase, bound to a specific deployed contract.
func (*MessagingBaseFilterer) FilterInitialized ¶
func (_MessagingBase *MessagingBaseFilterer) FilterInitialized(opts *bind.FilterOpts) (*MessagingBaseInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*MessagingBaseFilterer) FilterOwnershipTransferred ¶
func (_MessagingBase *MessagingBaseFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MessagingBaseOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MessagingBaseFilterer) ParseInitialized ¶
func (_MessagingBase *MessagingBaseFilterer) ParseInitialized(log types.Log) (*MessagingBaseInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*MessagingBaseFilterer) ParseOwnershipTransferred ¶
func (_MessagingBase *MessagingBaseFilterer) ParseOwnershipTransferred(log types.Log) (*MessagingBaseOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MessagingBaseFilterer) WatchInitialized ¶
func (_MessagingBase *MessagingBaseFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MessagingBaseInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*MessagingBaseFilterer) WatchOwnershipTransferred ¶
func (_MessagingBase *MessagingBaseFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MessagingBaseOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type MessagingBaseInitialized ¶
type MessagingBaseInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
MessagingBaseInitialized represents a Initialized event raised by the MessagingBase contract.
type MessagingBaseInitializedIterator ¶
type MessagingBaseInitializedIterator struct { Event *MessagingBaseInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MessagingBaseInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the MessagingBase contract.
func (*MessagingBaseInitializedIterator) Close ¶
func (it *MessagingBaseInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MessagingBaseInitializedIterator) Error ¶
func (it *MessagingBaseInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MessagingBaseInitializedIterator) Next ¶
func (it *MessagingBaseInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MessagingBaseOwnershipTransferred ¶
type MessagingBaseOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MessagingBaseOwnershipTransferred represents a OwnershipTransferred event raised by the MessagingBase contract.
type MessagingBaseOwnershipTransferredIterator ¶
type MessagingBaseOwnershipTransferredIterator struct { Event *MessagingBaseOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MessagingBaseOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MessagingBase contract.
func (*MessagingBaseOwnershipTransferredIterator) Close ¶
func (it *MessagingBaseOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MessagingBaseOwnershipTransferredIterator) Error ¶
func (it *MessagingBaseOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MessagingBaseOwnershipTransferredIterator) Next ¶
func (it *MessagingBaseOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MessagingBaseRaw ¶
type MessagingBaseRaw struct {
Contract *MessagingBase // Generic contract binding to access the raw methods on
}
MessagingBaseRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MessagingBaseRaw) Call ¶
func (_MessagingBase *MessagingBaseRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*MessagingBaseRaw) Transact ¶
func (_MessagingBase *MessagingBaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MessagingBaseRaw) Transfer ¶
func (_MessagingBase *MessagingBaseRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type MessagingBaseSession ¶
type MessagingBaseSession struct { Contract *MessagingBase // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MessagingBaseSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MessagingBaseSession) LocalDomain ¶
func (_MessagingBase *MessagingBaseSession) LocalDomain() (uint32, error)
LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.
Solidity: function localDomain() view returns(uint32)
func (*MessagingBaseSession) Multicall ¶
func (_MessagingBase *MessagingBaseSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*MessagingBaseSession) Owner ¶
func (_MessagingBase *MessagingBaseSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MessagingBaseSession) RenounceOwnership ¶
func (_MessagingBase *MessagingBaseSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MessagingBaseSession) TransferOwnership ¶
func (_MessagingBase *MessagingBaseSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*MessagingBaseSession) Version ¶
func (_MessagingBase *MessagingBaseSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type MessagingBaseTransactor ¶
type MessagingBaseTransactor struct {
// contains filtered or unexported fields
}
MessagingBaseTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMessagingBaseTransactor ¶
func NewMessagingBaseTransactor(address common.Address, transactor bind.ContractTransactor) (*MessagingBaseTransactor, error)
NewMessagingBaseTransactor creates a new write-only instance of MessagingBase, bound to a specific deployed contract.
func (*MessagingBaseTransactor) Multicall ¶
func (_MessagingBase *MessagingBaseTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*MessagingBaseTransactor) RenounceOwnership ¶
func (_MessagingBase *MessagingBaseTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MessagingBaseTransactor) TransferOwnership ¶
func (_MessagingBase *MessagingBaseTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type MessagingBaseTransactorRaw ¶
type MessagingBaseTransactorRaw struct {
Contract *MessagingBaseTransactor // Generic write-only contract binding to access the raw methods on
}
MessagingBaseTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MessagingBaseTransactorRaw) Transact ¶
func (_MessagingBase *MessagingBaseTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MessagingBaseTransactorRaw) Transfer ¶
func (_MessagingBase *MessagingBaseTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type MessagingBaseTransactorSession ¶
type MessagingBaseTransactorSession struct { Contract *MessagingBaseTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MessagingBaseTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MessagingBaseTransactorSession) Multicall ¶
func (_MessagingBase *MessagingBaseTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
func (*MessagingBaseTransactorSession) RenounceOwnership ¶
func (_MessagingBase *MessagingBaseTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MessagingBaseTransactorSession) TransferOwnership ¶
func (_MessagingBase *MessagingBaseTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type MultiCallable ¶
type MultiCallable struct { MultiCallableCaller // Read-only binding to the contract MultiCallableTransactor // Write-only binding to the contract MultiCallableFilterer // Log filterer for contract events }
MultiCallable is an auto generated Go binding around an Ethereum contract.
func NewMultiCallable ¶
func NewMultiCallable(address common.Address, backend bind.ContractBackend) (*MultiCallable, error)
NewMultiCallable creates a new instance of MultiCallable, bound to a specific deployed contract.
type MultiCallableCall ¶
MultiCallableCall is an auto generated low-level Go binding around an user-defined struct.
type MultiCallableCaller ¶
type MultiCallableCaller struct {
// contains filtered or unexported fields
}
MultiCallableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMultiCallableCaller ¶
func NewMultiCallableCaller(address common.Address, caller bind.ContractCaller) (*MultiCallableCaller, error)
NewMultiCallableCaller creates a new read-only instance of MultiCallable, bound to a specific deployed contract.
type MultiCallableCallerRaw ¶
type MultiCallableCallerRaw struct {
Contract *MultiCallableCaller // Generic read-only contract binding to access the raw methods on
}
MultiCallableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MultiCallableCallerRaw) Call ¶
func (_MultiCallable *MultiCallableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type MultiCallableCallerSession ¶
type MultiCallableCallerSession struct { Contract *MultiCallableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MultiCallableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type MultiCallableFilterer ¶
type MultiCallableFilterer struct {
// contains filtered or unexported fields
}
MultiCallableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMultiCallableFilterer ¶
func NewMultiCallableFilterer(address common.Address, filterer bind.ContractFilterer) (*MultiCallableFilterer, error)
NewMultiCallableFilterer creates a new log filterer instance of MultiCallable, bound to a specific deployed contract.
type MultiCallableRaw ¶
type MultiCallableRaw struct {
Contract *MultiCallable // Generic contract binding to access the raw methods on
}
MultiCallableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MultiCallableRaw) Call ¶
func (_MultiCallable *MultiCallableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*MultiCallableRaw) Transact ¶
func (_MultiCallable *MultiCallableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MultiCallableRaw) Transfer ¶
func (_MultiCallable *MultiCallableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type MultiCallableResult ¶
MultiCallableResult is an auto generated low-level Go binding around an user-defined struct.
type MultiCallableSession ¶
type MultiCallableSession struct { Contract *MultiCallable // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MultiCallableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MultiCallableSession) Multicall ¶
func (_MultiCallable *MultiCallableSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
type MultiCallableTransactor ¶
type MultiCallableTransactor struct {
// contains filtered or unexported fields
}
MultiCallableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMultiCallableTransactor ¶
func NewMultiCallableTransactor(address common.Address, transactor bind.ContractTransactor) (*MultiCallableTransactor, error)
NewMultiCallableTransactor creates a new write-only instance of MultiCallable, bound to a specific deployed contract.
func (*MultiCallableTransactor) Multicall ¶
func (_MultiCallable *MultiCallableTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
type MultiCallableTransactorRaw ¶
type MultiCallableTransactorRaw struct {
Contract *MultiCallableTransactor // Generic write-only contract binding to access the raw methods on
}
MultiCallableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MultiCallableTransactorRaw) Transact ¶
func (_MultiCallable *MultiCallableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MultiCallableTransactorRaw) Transfer ¶
func (_MultiCallable *MultiCallableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type MultiCallableTransactorSession ¶
type MultiCallableTransactorSession struct { Contract *MultiCallableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MultiCallableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MultiCallableTransactorSession) Multicall ¶
func (_MultiCallable *MultiCallableTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0x60fc8466.
Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)
type NumberLib ¶
type NumberLib struct { NumberLibCaller // Read-only binding to the contract NumberLibTransactor // Write-only binding to the contract NumberLibFilterer // Log filterer for contract events }
NumberLib is an auto generated Go binding around an Ethereum contract.
func DeployNumberLib ¶
func DeployNumberLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *NumberLib, error)
DeployNumberLib deploys a new Ethereum contract, binding an instance of NumberLib to it.
func NewNumberLib ¶
NewNumberLib creates a new instance of NumberLib, bound to a specific deployed contract.
type NumberLibCaller ¶
type NumberLibCaller struct {
// contains filtered or unexported fields
}
NumberLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNumberLibCaller ¶
func NewNumberLibCaller(address common.Address, caller bind.ContractCaller) (*NumberLibCaller, error)
NewNumberLibCaller creates a new read-only instance of NumberLib, bound to a specific deployed contract.
type NumberLibCallerRaw ¶
type NumberLibCallerRaw struct {
Contract *NumberLibCaller // Generic read-only contract binding to access the raw methods on
}
NumberLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NumberLibCallerRaw) Call ¶
func (_NumberLib *NumberLibCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type NumberLibCallerSession ¶
type NumberLibCallerSession struct { Contract *NumberLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NumberLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type NumberLibFilterer ¶
type NumberLibFilterer struct {
// contains filtered or unexported fields
}
NumberLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNumberLibFilterer ¶
func NewNumberLibFilterer(address common.Address, filterer bind.ContractFilterer) (*NumberLibFilterer, error)
NewNumberLibFilterer creates a new log filterer instance of NumberLib, bound to a specific deployed contract.
type NumberLibRaw ¶
type NumberLibRaw struct {
Contract *NumberLib // Generic contract binding to access the raw methods on
}
NumberLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NumberLibRaw) Call ¶
func (_NumberLib *NumberLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*NumberLibRaw) Transact ¶
func (_NumberLib *NumberLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NumberLibRaw) Transfer ¶
func (_NumberLib *NumberLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type NumberLibSession ¶
type NumberLibSession struct { Contract *NumberLib // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NumberLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type NumberLibTransactor ¶
type NumberLibTransactor struct {
// contains filtered or unexported fields
}
NumberLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNumberLibTransactor ¶
func NewNumberLibTransactor(address common.Address, transactor bind.ContractTransactor) (*NumberLibTransactor, error)
NewNumberLibTransactor creates a new write-only instance of NumberLib, bound to a specific deployed contract.
type NumberLibTransactorRaw ¶
type NumberLibTransactorRaw struct {
Contract *NumberLibTransactor // Generic write-only contract binding to access the raw methods on
}
NumberLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NumberLibTransactorRaw) Transact ¶
func (_NumberLib *NumberLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NumberLibTransactorRaw) Transfer ¶
func (_NumberLib *NumberLibTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type NumberLibTransactorSession ¶
type NumberLibTransactorSession struct { Contract *NumberLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NumberLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type OwnableUpgradeable ¶
type OwnableUpgradeable struct { OwnableUpgradeableCaller // Read-only binding to the contract OwnableUpgradeableTransactor // Write-only binding to the contract OwnableUpgradeableFilterer // Log filterer for contract events }
OwnableUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewOwnableUpgradeable ¶
func NewOwnableUpgradeable(address common.Address, backend bind.ContractBackend) (*OwnableUpgradeable, error)
NewOwnableUpgradeable creates a new instance of OwnableUpgradeable, bound to a specific deployed contract.
type OwnableUpgradeableCaller ¶
type OwnableUpgradeableCaller struct {
// contains filtered or unexported fields
}
OwnableUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableUpgradeableCaller ¶
func NewOwnableUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*OwnableUpgradeableCaller, error)
NewOwnableUpgradeableCaller creates a new read-only instance of OwnableUpgradeable, bound to a specific deployed contract.
type OwnableUpgradeableCallerRaw ¶
type OwnableUpgradeableCallerRaw struct {
Contract *OwnableUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableUpgradeableCallerRaw) Call ¶
func (_OwnableUpgradeable *OwnableUpgradeableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type OwnableUpgradeableCallerSession ¶
type OwnableUpgradeableCallerSession struct { Contract *OwnableUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnableUpgradeableFilterer ¶
type OwnableUpgradeableFilterer struct {
// contains filtered or unexported fields
}
OwnableUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableUpgradeableFilterer ¶
func NewOwnableUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableUpgradeableFilterer, error)
NewOwnableUpgradeableFilterer creates a new log filterer instance of OwnableUpgradeable, bound to a specific deployed contract.
func (*OwnableUpgradeableFilterer) FilterInitialized ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*OwnableUpgradeableInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OwnableUpgradeableFilterer) FilterOwnershipTransferred ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableUpgradeableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableUpgradeableFilterer) ParseInitialized ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseInitialized(log types.Log) (*OwnableUpgradeableInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OwnableUpgradeableFilterer) ParseOwnershipTransferred ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableUpgradeableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableUpgradeableFilterer) WatchInitialized ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*OwnableUpgradeableFilterer) WatchOwnershipTransferred ¶
func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type OwnableUpgradeableInitialized ¶
type OwnableUpgradeableInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
OwnableUpgradeableInitialized represents a Initialized event raised by the OwnableUpgradeable contract.
type OwnableUpgradeableInitializedIterator ¶
type OwnableUpgradeableInitializedIterator struct { Event *OwnableUpgradeableInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableUpgradeableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the OwnableUpgradeable contract.
func (*OwnableUpgradeableInitializedIterator) Close ¶
func (it *OwnableUpgradeableInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableUpgradeableInitializedIterator) Error ¶
func (it *OwnableUpgradeableInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableUpgradeableInitializedIterator) Next ¶
func (it *OwnableUpgradeableInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OwnableUpgradeableOwnershipTransferred ¶
type OwnableUpgradeableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableUpgradeableOwnershipTransferred represents a OwnershipTransferred event raised by the OwnableUpgradeable contract.
type OwnableUpgradeableOwnershipTransferredIterator ¶
type OwnableUpgradeableOwnershipTransferredIterator struct { Event *OwnableUpgradeableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableUpgradeableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the OwnableUpgradeable contract.
func (*OwnableUpgradeableOwnershipTransferredIterator) Close ¶
func (it *OwnableUpgradeableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableUpgradeableOwnershipTransferredIterator) Error ¶
func (it *OwnableUpgradeableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableUpgradeableOwnershipTransferredIterator) Next ¶
func (it *OwnableUpgradeableOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type OwnableUpgradeableRaw ¶
type OwnableUpgradeableRaw struct {
Contract *OwnableUpgradeable // Generic contract binding to access the raw methods on
}
OwnableUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableUpgradeableRaw) Call ¶
func (_OwnableUpgradeable *OwnableUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*OwnableUpgradeableRaw) Transact ¶
func (_OwnableUpgradeable *OwnableUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableUpgradeableRaw) Transfer ¶
func (_OwnableUpgradeable *OwnableUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type OwnableUpgradeableSession ¶
type OwnableUpgradeableSession struct { Contract *OwnableUpgradeable // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableUpgradeableSession) Owner ¶
func (_OwnableUpgradeable *OwnableUpgradeableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnableUpgradeableSession) RenounceOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableUpgradeableSession) TransferOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableUpgradeableTransactor ¶
type OwnableUpgradeableTransactor struct {
// contains filtered or unexported fields
}
OwnableUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableUpgradeableTransactor ¶
func NewOwnableUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableUpgradeableTransactor, error)
NewOwnableUpgradeableTransactor creates a new write-only instance of OwnableUpgradeable, bound to a specific deployed contract.
func (*OwnableUpgradeableTransactor) RenounceOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableUpgradeableTransactor) TransferOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableUpgradeableTransactorRaw ¶
type OwnableUpgradeableTransactorRaw struct {
Contract *OwnableUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableUpgradeableTransactorRaw) Transact ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableUpgradeableTransactorRaw) Transfer ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type OwnableUpgradeableTransactorSession ¶
type OwnableUpgradeableTransactorSession struct { Contract *OwnableUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableUpgradeableTransactorSession) RenounceOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableUpgradeableTransactorSession) TransferOwnership ¶
func (_OwnableUpgradeable *OwnableUpgradeableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type StructureUtils ¶
type StructureUtils struct { StructureUtilsCaller // Read-only binding to the contract StructureUtilsTransactor // Write-only binding to the contract StructureUtilsFilterer // Log filterer for contract events }
StructureUtils is an auto generated Go binding around an Ethereum contract.
func DeployStructureUtils ¶
func DeployStructureUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StructureUtils, error)
DeployStructureUtils deploys a new Ethereum contract, binding an instance of StructureUtils to it.
func NewStructureUtils ¶
func NewStructureUtils(address common.Address, backend bind.ContractBackend) (*StructureUtils, error)
NewStructureUtils creates a new instance of StructureUtils, bound to a specific deployed contract.
type StructureUtilsCaller ¶
type StructureUtilsCaller struct {
// contains filtered or unexported fields
}
StructureUtilsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStructureUtilsCaller ¶
func NewStructureUtilsCaller(address common.Address, caller bind.ContractCaller) (*StructureUtilsCaller, error)
NewStructureUtilsCaller creates a new read-only instance of StructureUtils, bound to a specific deployed contract.
type StructureUtilsCallerRaw ¶
type StructureUtilsCallerRaw struct {
Contract *StructureUtilsCaller // Generic read-only contract binding to access the raw methods on
}
StructureUtilsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StructureUtilsCallerRaw) Call ¶
func (_StructureUtils *StructureUtilsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type StructureUtilsCallerSession ¶
type StructureUtilsCallerSession struct { Contract *StructureUtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StructureUtilsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type StructureUtilsFilterer ¶
type StructureUtilsFilterer struct {
// contains filtered or unexported fields
}
StructureUtilsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStructureUtilsFilterer ¶
func NewStructureUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*StructureUtilsFilterer, error)
NewStructureUtilsFilterer creates a new log filterer instance of StructureUtils, bound to a specific deployed contract.
type StructureUtilsRaw ¶
type StructureUtilsRaw struct {
Contract *StructureUtils // Generic contract binding to access the raw methods on
}
StructureUtilsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StructureUtilsRaw) Call ¶
func (_StructureUtils *StructureUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*StructureUtilsRaw) Transact ¶
func (_StructureUtils *StructureUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StructureUtilsRaw) Transfer ¶
func (_StructureUtils *StructureUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type StructureUtilsSession ¶
type StructureUtilsSession struct { Contract *StructureUtils // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StructureUtilsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type StructureUtilsTransactor ¶
type StructureUtilsTransactor struct {
// contains filtered or unexported fields
}
StructureUtilsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStructureUtilsTransactor ¶
func NewStructureUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*StructureUtilsTransactor, error)
NewStructureUtilsTransactor creates a new write-only instance of StructureUtils, bound to a specific deployed contract.
type StructureUtilsTransactorRaw ¶
type StructureUtilsTransactorRaw struct {
Contract *StructureUtilsTransactor // Generic write-only contract binding to access the raw methods on
}
StructureUtilsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StructureUtilsTransactorRaw) Transact ¶
func (_StructureUtils *StructureUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StructureUtilsTransactorRaw) Transfer ¶
func (_StructureUtils *StructureUtilsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type StructureUtilsTransactorSession ¶
type StructureUtilsTransactorSession struct { Contract *StructureUtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StructureUtilsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Versioned ¶
type Versioned struct { VersionedCaller // Read-only binding to the contract VersionedTransactor // Write-only binding to the contract VersionedFilterer // Log filterer for contract events }
Versioned is an auto generated Go binding around an Ethereum contract.
func NewVersioned ¶
NewVersioned creates a new instance of Versioned, bound to a specific deployed contract.
type VersionedCaller ¶
type VersionedCaller struct {
// contains filtered or unexported fields
}
VersionedCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVersionedCaller ¶
func NewVersionedCaller(address common.Address, caller bind.ContractCaller) (*VersionedCaller, error)
NewVersionedCaller creates a new read-only instance of Versioned, bound to a specific deployed contract.
type VersionedCallerRaw ¶
type VersionedCallerRaw struct {
Contract *VersionedCaller // Generic read-only contract binding to access the raw methods on
}
VersionedCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VersionedCallerRaw) Call ¶
func (_Versioned *VersionedCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type VersionedCallerSession ¶
type VersionedCallerSession struct { Contract *VersionedCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VersionedCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VersionedCallerSession) Version ¶
func (_Versioned *VersionedCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type VersionedFilterer ¶
type VersionedFilterer struct {
// contains filtered or unexported fields
}
VersionedFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVersionedFilterer ¶
func NewVersionedFilterer(address common.Address, filterer bind.ContractFilterer) (*VersionedFilterer, error)
NewVersionedFilterer creates a new log filterer instance of Versioned, bound to a specific deployed contract.
type VersionedRaw ¶
type VersionedRaw struct {
Contract *Versioned // Generic contract binding to access the raw methods on
}
VersionedRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VersionedRaw) Call ¶
func (_Versioned *VersionedRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*VersionedRaw) Transact ¶
func (_Versioned *VersionedRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VersionedRaw) Transfer ¶
func (_Versioned *VersionedRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type VersionedSession ¶
type VersionedSession struct { Contract *Versioned // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VersionedSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VersionedSession) Version ¶
func (_Versioned *VersionedSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string versionString)
type VersionedTransactor ¶
type VersionedTransactor struct {
// contains filtered or unexported fields
}
VersionedTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVersionedTransactor ¶
func NewVersionedTransactor(address common.Address, transactor bind.ContractTransactor) (*VersionedTransactor, error)
NewVersionedTransactor creates a new write-only instance of Versioned, bound to a specific deployed contract.
type VersionedTransactorRaw ¶
type VersionedTransactorRaw struct {
Contract *VersionedTransactor // Generic write-only contract binding to access the raw methods on
}
VersionedTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VersionedTransactorRaw) Transact ¶
func (_Versioned *VersionedTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VersionedTransactorRaw) Transfer ¶
func (_Versioned *VersionedTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type VersionedTransactorSession ¶
type VersionedTransactorSession struct { Contract *VersionedTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VersionedTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.