Documentation ¶
Index ¶
- Variables
- type L1StandardBridge
- type L1StandardBridgeCaller
- func (_L1StandardBridge *L1StandardBridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L1StandardBridge *L1StandardBridgeCaller) L2TokenBridge(opts *bind.CallOpts) (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeCaller) Version(opts *bind.CallOpts) (string, error)
- type L1StandardBridgeCallerRaw
- type L1StandardBridgeCallerSession
- func (_L1StandardBridge *L1StandardBridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L1StandardBridge *L1StandardBridgeCallerSession) L2TokenBridge() (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeCallerSession) MESSENGER() (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeCallerSession) Messenger() (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeCallerSession) OTHERBRIDGE() (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeCallerSession) Version() (string, error)
- type L1StandardBridgeERC20BridgeFinalized
- type L1StandardBridgeERC20BridgeFinalizedIterator
- type L1StandardBridgeERC20BridgeInitiated
- type L1StandardBridgeERC20BridgeInitiatedIterator
- type L1StandardBridgeERC20DepositInitiated
- type L1StandardBridgeERC20DepositInitiatedIterator
- type L1StandardBridgeERC20WithdrawalFinalized
- type L1StandardBridgeERC20WithdrawalFinalizedIterator
- type L1StandardBridgeETHBridgeFinalized
- type L1StandardBridgeETHBridgeFinalizedIterator
- type L1StandardBridgeETHBridgeInitiated
- type L1StandardBridgeETHBridgeInitiatedIterator
- type L1StandardBridgeETHDepositInitiated
- type L1StandardBridgeETHDepositInitiatedIterator
- type L1StandardBridgeETHWithdrawalFinalized
- type L1StandardBridgeETHWithdrawalFinalizedIterator
- type L1StandardBridgeFilterer
- func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, ...) (*L1StandardBridgeERC20BridgeFinalizedIterator, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, ...) (*L1StandardBridgeERC20BridgeInitiatedIterator, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, ...) (*L1StandardBridgeERC20DepositInitiatedIterator, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, ...) (*L1StandardBridgeERC20WithdrawalFinalizedIterator, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHBridgeFinalizedIterator, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHBridgeInitiatedIterator, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHDepositInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHDepositInitiatedIterator, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHWithdrawalFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHWithdrawalFinalizedIterator, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L1StandardBridgeERC20BridgeFinalized, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L1StandardBridgeERC20BridgeInitiated, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20DepositInitiated(log types.Log) (*L1StandardBridgeERC20DepositInitiated, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*L1StandardBridgeERC20WithdrawalFinalized, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHBridgeFinalized(log types.Log) (*L1StandardBridgeETHBridgeFinalized, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHBridgeInitiated(log types.Log) (*L1StandardBridgeETHBridgeInitiated, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHDepositInitiated(log types.Log) (*L1StandardBridgeETHDepositInitiated, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHWithdrawalFinalized(log types.Log) (*L1StandardBridgeETHWithdrawalFinalized, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20BridgeFinalized, ...) (event.Subscription, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20BridgeInitiated, ...) (event.Subscription, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20DepositInitiated, ...) (event.Subscription, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20WithdrawalFinalized, ...) (event.Subscription, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHBridgeFinalized, ...) (event.Subscription, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHBridgeInitiated, ...) (event.Subscription, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHDepositInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHDepositInitiated, ...) (event.Subscription, error)
- func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHWithdrawalFinalized, ...) (event.Subscription, error)
- type L1StandardBridgeRaw
- func (_L1StandardBridge *L1StandardBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_L1StandardBridge *L1StandardBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type L1StandardBridgeSession
- func (_L1StandardBridge *L1StandardBridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L1StandardBridge *L1StandardBridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) L2TokenBridge() (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeSession) MESSENGER() (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeSession) Messenger() (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeSession) OTHERBRIDGE() (common.Address, error)
- func (_L1StandardBridge *L1StandardBridgeSession) Receive() (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeSession) Version() (string, error)
- type L1StandardBridgeTransactor
- func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) DepositETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) DepositETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeBridgeETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeETHWithdrawal(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- type L1StandardBridgeTransactorRaw
- type L1StandardBridgeTransactorSession
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1StandardBridge *L1StandardBridgeTransactorSession) Receive() (*types.Transaction, error)
- type L2StandardBridge
- type L2StandardBridgeCaller
- func (_L2StandardBridge *L2StandardBridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L2StandardBridge *L2StandardBridgeCaller) L1TokenBridge(opts *bind.CallOpts) (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCaller) OtherBridge(opts *bind.CallOpts) (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_L2StandardBridge *L2StandardBridgeCaller) Version(opts *bind.CallOpts) (string, error)
- type L2StandardBridgeCallerRaw
- type L2StandardBridgeCallerSession
- func (_L2StandardBridge *L2StandardBridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L2StandardBridge *L2StandardBridgeCallerSession) L1TokenBridge() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCallerSession) MESSENGER() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCallerSession) Messenger() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCallerSession) OTHERBRIDGE() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCallerSession) Operator() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCallerSession) OtherBridge() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeCallerSession) Paused() (bool, error)
- func (_L2StandardBridge *L2StandardBridgeCallerSession) Version() (string, error)
- type L2StandardBridgeDepositFinalized
- type L2StandardBridgeDepositFinalizedIterator
- type L2StandardBridgeERC20BridgeFinalized
- type L2StandardBridgeERC20BridgeFinalizedIterator
- type L2StandardBridgeERC20BridgeInitiated
- type L2StandardBridgeERC20BridgeInitiatedIterator
- type L2StandardBridgeFilterer
- func (_L2StandardBridge *L2StandardBridgeFilterer) FilterDepositFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, ...) (*L2StandardBridgeDepositFinalizedIterator, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, ...) (*L2StandardBridgeERC20BridgeFinalizedIterator, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, ...) (*L2StandardBridgeERC20BridgeInitiatedIterator, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*L2StandardBridgeInitializedIterator, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) FilterWithdrawalInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, ...) (*L2StandardBridgeWithdrawalInitiatedIterator, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) ParseDepositFinalized(log types.Log) (*L2StandardBridgeDepositFinalized, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L2StandardBridgeERC20BridgeFinalized, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L2StandardBridgeERC20BridgeInitiated, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) ParseInitialized(log types.Log) (*L2StandardBridgeInitialized, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) ParseWithdrawalInitiated(log types.Log) (*L2StandardBridgeWithdrawalInitiated, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) WatchDepositFinalized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeDepositFinalized, ...) (event.Subscription, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeERC20BridgeFinalized, ...) (event.Subscription, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeERC20BridgeInitiated, ...) (event.Subscription, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeInitialized) (event.Subscription, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) WatchWithdrawalInitiated(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeWithdrawalInitiated, ...) (event.Subscription, error)
- type L2StandardBridgeInitialized
- type L2StandardBridgeInitializedIterator
- type L2StandardBridgeRaw
- func (_L2StandardBridge *L2StandardBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_L2StandardBridge *L2StandardBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type L2StandardBridgeSession
- func (_L2StandardBridge *L2StandardBridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L2StandardBridge *L2StandardBridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeSession) FinalizeDeposit(_l1Token common.Address, _l2Token common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeSession) L1TokenBridge() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeSession) MESSENGER() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeSession) Messenger() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeSession) OTHERBRIDGE() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeSession) Operator() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeSession) OtherBridge() (common.Address, error)
- func (_L2StandardBridge *L2StandardBridgeSession) Paused() (bool, error)
- func (_L2StandardBridge *L2StandardBridgeSession) Version() (string, error)
- func (_L2StandardBridge *L2StandardBridgeSession) Withdraw(_l2Token common.Address, _amount *big.Int, _minGasLimit uint32, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeSession) Withdraw0(_l2Token common.Address, _user common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- type L2StandardBridgeTransactor
- func (_L2StandardBridge *L2StandardBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactor) FinalizeDeposit(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactor) Withdraw(opts *bind.TransactOpts, _l2Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactor) Withdraw0(opts *bind.TransactOpts, _l2Token common.Address, _user common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactor) WithdrawTo(opts *bind.TransactOpts, _l2Token common.Address, _to common.Address, ...) (*types.Transaction, error)
- type L2StandardBridgeTransactorRaw
- type L2StandardBridgeTransactorSession
- func (_L2StandardBridge *L2StandardBridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactorSession) FinalizeDeposit(_l1Token common.Address, _l2Token common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactorSession) Withdraw(_l2Token common.Address, _amount *big.Int, _minGasLimit uint32, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactorSession) Withdraw0(_l2Token common.Address, _user common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactorSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- type L2StandardBridgeWithdrawalInitiated
- type L2StandardBridgeWithdrawalInitiatedIterator
- type NetworkParams
- type NetworkParamsCaller
- func (_NetworkParams *NetworkParamsCaller) ADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_NetworkParams *NetworkParamsCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_NetworkParams *NetworkParamsCaller) GetParams(opts *bind.CallOpts, epoch uint64) (string, error)
- func (_NetworkParams *NetworkParamsCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_NetworkParams *NetworkParamsCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_NetworkParams *NetworkParamsCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_NetworkParams *NetworkParamsCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_NetworkParams *NetworkParamsCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type NetworkParamsCallerRaw
- type NetworkParamsCallerSession
- func (_NetworkParams *NetworkParamsCallerSession) ADMINROLE() ([32]byte, error)
- func (_NetworkParams *NetworkParamsCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_NetworkParams *NetworkParamsCallerSession) GetParams(epoch uint64) (string, error)
- func (_NetworkParams *NetworkParamsCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_NetworkParams *NetworkParamsCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_NetworkParams *NetworkParamsCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_NetworkParams *NetworkParamsCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_NetworkParams *NetworkParamsCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type NetworkParamsFilterer
- func (_NetworkParams *NetworkParamsFilterer) FilterInitialized(opts *bind.FilterOpts) (*NetworkParamsInitializedIterator, error)
- func (_NetworkParams *NetworkParamsFilterer) FilterParamsSet(opts *bind.FilterOpts, epoch []uint64) (*NetworkParamsParamsSetIterator, error)
- func (_NetworkParams *NetworkParamsFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*NetworkParamsRoleAdminChangedIterator, error)
- func (_NetworkParams *NetworkParamsFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*NetworkParamsRoleGrantedIterator, error)
- func (_NetworkParams *NetworkParamsFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*NetworkParamsRoleRevokedIterator, error)
- func (_NetworkParams *NetworkParamsFilterer) ParseInitialized(log types.Log) (*NetworkParamsInitialized, error)
- func (_NetworkParams *NetworkParamsFilterer) ParseParamsSet(log types.Log) (*NetworkParamsParamsSet, error)
- func (_NetworkParams *NetworkParamsFilterer) ParseRoleAdminChanged(log types.Log) (*NetworkParamsRoleAdminChanged, error)
- func (_NetworkParams *NetworkParamsFilterer) ParseRoleGranted(log types.Log) (*NetworkParamsRoleGranted, error)
- func (_NetworkParams *NetworkParamsFilterer) ParseRoleRevoked(log types.Log) (*NetworkParamsRoleRevoked, error)
- func (_NetworkParams *NetworkParamsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NetworkParamsInitialized) (event.Subscription, error)
- func (_NetworkParams *NetworkParamsFilterer) WatchParamsSet(opts *bind.WatchOpts, sink chan<- *NetworkParamsParamsSet, epoch []uint64) (event.Subscription, error)
- func (_NetworkParams *NetworkParamsFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *NetworkParamsRoleAdminChanged, ...) (event.Subscription, error)
- func (_NetworkParams *NetworkParamsFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *NetworkParamsRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_NetworkParams *NetworkParamsFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *NetworkParamsRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type NetworkParamsInitialized
- type NetworkParamsInitializedIterator
- type NetworkParamsParamsSet
- type NetworkParamsParamsSetIterator
- type NetworkParamsRaw
- func (_NetworkParams *NetworkParamsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NetworkParams *NetworkParamsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NetworkParamsRoleAdminChanged
- type NetworkParamsRoleAdminChangedIterator
- type NetworkParamsRoleGranted
- type NetworkParamsRoleGrantedIterator
- type NetworkParamsRoleRevoked
- type NetworkParamsRoleRevokedIterator
- type NetworkParamsSession
- func (_NetworkParams *NetworkParamsSession) ADMINROLE() ([32]byte, error)
- func (_NetworkParams *NetworkParamsSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_NetworkParams *NetworkParamsSession) GetParams(epoch uint64) (string, error)
- func (_NetworkParams *NetworkParamsSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_NetworkParams *NetworkParamsSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_NetworkParams *NetworkParamsSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_NetworkParams *NetworkParamsSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_NetworkParams *NetworkParamsSession) Initialize(adminAccount common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsSession) SetParams(epoch uint64, params string) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type NetworkParamsTransactor
- func (_NetworkParams *NetworkParamsTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsTransactor) Initialize(opts *bind.TransactOpts, adminAccount common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsTransactor) SetParams(opts *bind.TransactOpts, epoch uint64, params string) (*types.Transaction, error)
- type NetworkParamsTransactorRaw
- type NetworkParamsTransactorSession
- func (_NetworkParams *NetworkParamsTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsTransactorSession) Initialize(adminAccount common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_NetworkParams *NetworkParamsTransactorSession) SetParams(epoch uint64, params string) (*types.Transaction, error)
- type Settlement
- type SettlementCaller
- func (_Settlement *SettlementCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Settlement *SettlementCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Settlement *SettlementCaller) EPOCHDURATION(opts *bind.CallOpts) (*big.Int, error)
- func (_Settlement *SettlementCaller) GetBonusInfo(opts *bind.CallOpts) (*big.Int, *big.Int, error)
- func (_Settlement *SettlementCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Settlement *SettlementCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_Settlement *SettlementCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_Settlement *SettlementCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Settlement *SettlementCaller) ORACLEROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Settlement *SettlementCaller) StakingContract(opts *bind.CallOpts) (common.Address, error)
- func (_Settlement *SettlementCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Settlement *SettlementCaller) TOTALREWARDSPERYEAR(opts *bind.CallOpts) (*big.Int, error)
- type SettlementCallerRaw
- type SettlementCallerSession
- func (_Settlement *SettlementCallerSession) CurrentEpoch() (*big.Int, error)
- func (_Settlement *SettlementCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Settlement *SettlementCallerSession) EPOCHDURATION() (*big.Int, error)
- func (_Settlement *SettlementCallerSession) GetBonusInfo() (*big.Int, *big.Int, error)
- func (_Settlement *SettlementCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Settlement *SettlementCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Settlement *SettlementCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Settlement *SettlementCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Settlement *SettlementCallerSession) ORACLEROLE() ([32]byte, error)
- func (_Settlement *SettlementCallerSession) StakingContract() (common.Address, error)
- func (_Settlement *SettlementCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Settlement *SettlementCallerSession) TOTALREWARDSPERYEAR() (*big.Int, error)
- type SettlementFilterer
- func (_Settlement *SettlementFilterer) FilterInitialized(opts *bind.FilterOpts) (*SettlementInitializedIterator, error)
- func (_Settlement *SettlementFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*SettlementRoleAdminChangedIterator, error)
- func (_Settlement *SettlementFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*SettlementRoleGrantedIterator, error)
- func (_Settlement *SettlementFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*SettlementRoleRevokedIterator, error)
- func (_Settlement *SettlementFilterer) ParseInitialized(log types.Log) (*SettlementInitialized, error)
- func (_Settlement *SettlementFilterer) ParseRoleAdminChanged(log types.Log) (*SettlementRoleAdminChanged, error)
- func (_Settlement *SettlementFilterer) ParseRoleGranted(log types.Log) (*SettlementRoleGranted, error)
- func (_Settlement *SettlementFilterer) ParseRoleRevoked(log types.Log) (*SettlementRoleRevoked, error)
- func (_Settlement *SettlementFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SettlementInitialized) (event.Subscription, error)
- func (_Settlement *SettlementFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *SettlementRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Settlement *SettlementFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *SettlementRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Settlement *SettlementFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *SettlementRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type SettlementInitialized
- type SettlementInitializedIterator
- type SettlementRaw
- func (_Settlement *SettlementRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Settlement *SettlementRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Settlement *SettlementRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SettlementRoleAdminChanged
- type SettlementRoleAdminChangedIterator
- type SettlementRoleGranted
- type SettlementRoleGrantedIterator
- type SettlementRoleRevoked
- type SettlementRoleRevokedIterator
- type SettlementSession
- func (_Settlement *SettlementSession) CurrentEpoch() (*big.Int, error)
- func (_Settlement *SettlementSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Settlement *SettlementSession) DistributeRewards(epoch *big.Int, nodeAddrs []common.Address, operationRewards []*big.Int, ...) (*types.Transaction, error)
- func (_Settlement *SettlementSession) EPOCHDURATION() (*big.Int, error)
- func (_Settlement *SettlementSession) GetBonusInfo() (*big.Int, *big.Int, error)
- func (_Settlement *SettlementSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Settlement *SettlementSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Settlement *SettlementSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Settlement *SettlementSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Settlement *SettlementSession) Initialize(staking common.Address, oracleAccount common.Address, startTime *big.Int, ...) (*types.Transaction, error)
- func (_Settlement *SettlementSession) ORACLEROLE() ([32]byte, error)
- func (_Settlement *SettlementSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementSession) SetTaxRateBasisPoints4PublicPool(taxRateBasisPoints uint64) (*types.Transaction, error)
- func (_Settlement *SettlementSession) SlashNodes(nodeAddrs []common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementSession) StakingContract() (common.Address, error)
- func (_Settlement *SettlementSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Settlement *SettlementSession) TOTALREWARDSPERYEAR() (*big.Int, error)
- func (_Settlement *SettlementSession) UpdateRewardsRatio(operationRewardsPercent *big.Int) (*types.Transaction, error)
- type SettlementTransactor
- func (_Settlement *SettlementTransactor) DistributeRewards(opts *bind.TransactOpts, epoch *big.Int, nodeAddrs []common.Address, ...) (*types.Transaction, error)
- func (_Settlement *SettlementTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementTransactor) Initialize(opts *bind.TransactOpts, staking common.Address, oracleAccount common.Address, ...) (*types.Transaction, error)
- func (_Settlement *SettlementTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementTransactor) SetTaxRateBasisPoints4PublicPool(opts *bind.TransactOpts, taxRateBasisPoints uint64) (*types.Transaction, error)
- func (_Settlement *SettlementTransactor) SlashNodes(opts *bind.TransactOpts, nodeAddrs []common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementTransactor) UpdateRewardsRatio(opts *bind.TransactOpts, operationRewardsPercent *big.Int) (*types.Transaction, error)
- type SettlementTransactorRaw
- type SettlementTransactorSession
- func (_Settlement *SettlementTransactorSession) DistributeRewards(epoch *big.Int, nodeAddrs []common.Address, operationRewards []*big.Int, ...) (*types.Transaction, error)
- func (_Settlement *SettlementTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementTransactorSession) Initialize(staking common.Address, oracleAccount common.Address, startTime *big.Int, ...) (*types.Transaction, error)
- func (_Settlement *SettlementTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementTransactorSession) SetTaxRateBasisPoints4PublicPool(taxRateBasisPoints uint64) (*types.Transaction, error)
- func (_Settlement *SettlementTransactorSession) SlashNodes(nodeAddrs []common.Address) (*types.Transaction, error)
- func (_Settlement *SettlementTransactorSession) UpdateRewardsRatio(operationRewardsPercent *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ( AddressL1RSS3 = common.HexToAddress("0xc98D64DA73a6616c42117b582e832812e7B8D57F") AddressL2RSS3 = common.HexToAddress("0x4200000000000000000000000000000000000042") AddressL1StandardBridge = common.HexToAddress("0x4cbab69108Aa72151EDa5A3c164eA86845f18438") AddressL2StandardBridge = common.HexToAddress("0x4200000000000000000000000000000000000010") AddressL1OptimismPortal = common.HexToAddress("0x6A12432491bbbE8d3babf75F759766774C778Db4") AddressNetworkParams = common.HexToAddress("0x15176Aabdc4836c38947a67313d209204051C502") AddressSettlement = common.HexToAddress("0x0cE3159BF19F3C55B648D04E8f0Ae1Ae118D2A0B") EventHashAddressL1StandardBridgeETHDepositInitiated = contract.EventHash("ETHDepositInitiated(address,address,uint256,bytes)") EventHashAddressL1StandardBridgeERC20DepositInitiated = contract.EventHash("ERC20DepositInitiated(address,address,address,address,uint256,bytes)") EventHashAddressL1StandardBridgeETHWithdrawalFinalized = contract.EventHash("ETHWithdrawalFinalized(address,address,uint256,bytes)") EventHashAddressL1StandardBridgeERC20WithdrawalFinalized = contract.EventHash("ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)") EventHashAddressL2StandardBridgeWithdrawalInitiated = contract.EventHash("WithdrawalInitiated(address,address,address,address,uint256,bytes)") EventHashAddressL2StandardBridgeDepositFinalized = contract.EventHash("DepositFinalized(address,address,address,address,uint256,bytes)") )
var L1StandardBridgeABI = L1StandardBridgeMetaData.ABI
L1StandardBridgeABI is the input ABI used to generate the binding from. Deprecated: Use L1StandardBridgeMetaData.ABI instead.
var L1StandardBridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_messenger\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"remoteToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20BridgeFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"remoteToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20BridgeInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20DepositInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20WithdrawalFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHBridgeFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHBridgeInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHDepositInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHWithdrawalFinalized\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MESSENGER\",\"outputs\":[{\"internalType\":\"contractCrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OTHER_BRIDGE\",\"outputs\":[{\"internalType\":\"contractStandardBridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeERC20To\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeETHTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositERC20To\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositETHTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"deposits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeBridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeBridgeETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeERC20Withdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeETHWithdrawal\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2TokenBridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messenger\",\"outputs\":[{\"internalType\":\"contractCrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
L1StandardBridgeMetaData contains all meta data concerning the L1StandardBridge contract.
var L2StandardBridgeABI = L2StandardBridgeMetaData.ABI
L2StandardBridgeABI is the input ABI used to generate the binding from. Deprecated: Use L2StandardBridgeMetaData.ABI instead.
var L2StandardBridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_otherBridge\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"DepositFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"remoteToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20BridgeFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"remoteToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20BridgeInitiated\",\"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\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"WithdrawalInitiated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MESSENGER\",\"outputs\":[{\"internalType\":\"contractCrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OTHER_BRIDGE\",\"outputs\":[{\"internalType\":\"contractStandardBridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeERC20To\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"deposits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeBridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1TokenBridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messenger\",\"outputs\":[{\"internalType\":\"contractCrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"otherBridge\",\"outputs\":[{\"internalType\":\"contractStandardBridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
L2StandardBridgeMetaData contains all meta data concerning the L2StandardBridge contract.
var NetworkParamsABI = NetworkParamsMetaData.ABI
NetworkParamsABI is the input ABI used to generate the binding from. Deprecated: Use NetworkParamsMetaData.ABI instead.
var NetworkParamsMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getParams\",\"inputs\":[{\"name\":\"epoch\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMember\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMemberCount\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"adminAccount\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"callerConfirmation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setParams\",\"inputs\":[{\"name\":\"epoch\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"params\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ParamsSet\",\"inputs\":[{\"name\":\"epoch\",\"type\":\"uint64\",\"indexed\":true,\"internalType\":\"uint64\"},{\"name\":\"params\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AccessControlBadConfirmation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AccessControlUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"neededRole\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]}]",
}
NetworkParamsMetaData contains all meta data concerning the NetworkParams contract.
var SettlementABI = SettlementMetaData.ABI
SettlementABI is the input ABI used to generate the binding from. Deprecated: Use SettlementMetaData.ABI instead.
var SettlementMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"EPOCH_DURATION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ORACLE_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"TOTAL_REWARDS_PER_YEAR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"currentEpoch\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"distributeRewards\",\"inputs\":[{\"name\":\"epoch\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"nodeAddrs\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"operationRewards\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"requestCounts\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"isFinal\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getBonusInfo\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMember\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleMemberCount\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"staking\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"oracleAccount\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"startTime\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"operationRewardsPercent\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"callerConfirmation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setTaxRateBasisPoints4PublicPool\",\"inputs\":[{\"name\":\"taxRateBasisPoints\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"slashNodes\",\"inputs\":[{\"name\":\"nodeAddrs\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"stakingContract\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"updateRewardsRatio\",\"inputs\":[{\"name\":\"operationRewardsPercent\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AccessControlBadConfirmation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AccessControlUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"neededRole\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"AlphaWithdrawNotAllowed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AlreadyClaimed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AmountTooSmall\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"BatchSizeZero\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"CallerNotStaking\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ChipNotAuthorized\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ChipNotPublicGood\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ChipNotValid\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"nodeAddr\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ChipsIdOverflow\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ChipsNotSameOwner\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ClaimIdNotExists\",\"inputs\":[{\"name\":\"claimId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ClaimTimeNotReady\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"CreateNodeToZeroAddress\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyChipsIds\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EmptyNodeList\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ExcessWithdrawalAmount\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientValue\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidArrayLength\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidEpoch\",\"inputs\":[{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"actual\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidEpochNumber\",\"inputs\":[{\"name\":\"current\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"got\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidTraitId\",\"inputs\":[{\"name\":\"traitId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"NodeAlreadyPublicGood\",\"inputs\":[{\"name\":\"nodeAddr\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"NodeExists\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NodeNotExists\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NodeNotPublicGood\",\"inputs\":[{\"name\":\"nodeAddr\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"NodeStakedOrDeposited\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OperationRewardsExceed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"PublicGoodNodeNotDeposited\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"PublicGoodNodeNotInAlphaPhase\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RewardsAlreadyDistributed\",\"inputs\":[{\"name\":\"nodeAddr\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"SettlementPhase\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"StakeToPublicGoodNode\",\"inputs\":[{\"name\":\"nodeAddr\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"StakingRewardsExceed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SubmissionIntervalNotElapsed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TaxRateBasisPointsTooLarge\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TaxRateBasisPointsTooSmall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TransferFailed\",\"inputs\":[]}]",
}
SettlementMetaData contains all meta data concerning the Settlement contract.
Functions ¶
This section is empty.
Types ¶
type L1StandardBridge ¶
type L1StandardBridge struct { L1StandardBridgeCaller // Read-only binding to the contract L1StandardBridgeTransactor // Write-only binding to the contract L1StandardBridgeFilterer // Log filterer for contract events }
L1StandardBridge is an auto generated Go binding around an Ethereum contract.
func NewL1StandardBridge ¶
func NewL1StandardBridge(address common.Address, backend bind.ContractBackend) (*L1StandardBridge, error)
NewL1StandardBridge creates a new instance of L1StandardBridge, bound to a specific deployed contract.
type L1StandardBridgeCaller ¶
type L1StandardBridgeCaller struct {
// contains filtered or unexported fields
}
L1StandardBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewL1StandardBridgeCaller ¶
func NewL1StandardBridgeCaller(address common.Address, caller bind.ContractCaller) (*L1StandardBridgeCaller, error)
NewL1StandardBridgeCaller creates a new read-only instance of L1StandardBridge, bound to a specific deployed contract.
func (*L1StandardBridgeCaller) Deposits ¶
func (_L1StandardBridge *L1StandardBridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L1StandardBridgeCaller) L2TokenBridge ¶
func (_L1StandardBridge *L1StandardBridgeCaller) L2TokenBridge(opts *bind.CallOpts) (common.Address, error)
L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.
Solidity: function l2TokenBridge() view returns(address)
func (*L1StandardBridgeCaller) MESSENGER ¶
func (_L1StandardBridge *L1StandardBridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L1StandardBridgeCaller) Messenger ¶
func (_L1StandardBridge *L1StandardBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L1StandardBridgeCaller) OTHERBRIDGE ¶
func (_L1StandardBridge *L1StandardBridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
type L1StandardBridgeCallerRaw ¶
type L1StandardBridgeCallerRaw struct {
Contract *L1StandardBridgeCaller // Generic read-only contract binding to access the raw methods on
}
L1StandardBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*L1StandardBridgeCallerRaw) Call ¶
func (_L1StandardBridge *L1StandardBridgeCallerRaw) 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 L1StandardBridgeCallerSession ¶
type L1StandardBridgeCallerSession struct { Contract *L1StandardBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
L1StandardBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*L1StandardBridgeCallerSession) Deposits ¶
func (_L1StandardBridge *L1StandardBridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L1StandardBridgeCallerSession) L2TokenBridge ¶
func (_L1StandardBridge *L1StandardBridgeCallerSession) L2TokenBridge() (common.Address, error)
L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.
Solidity: function l2TokenBridge() view returns(address)
func (*L1StandardBridgeCallerSession) MESSENGER ¶
func (_L1StandardBridge *L1StandardBridgeCallerSession) MESSENGER() (common.Address, error)
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L1StandardBridgeCallerSession) Messenger ¶
func (_L1StandardBridge *L1StandardBridgeCallerSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L1StandardBridgeCallerSession) OTHERBRIDGE ¶
func (_L1StandardBridge *L1StandardBridgeCallerSession) OTHERBRIDGE() (common.Address, error)
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
func (*L1StandardBridgeCallerSession) Version ¶
func (_L1StandardBridge *L1StandardBridgeCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L1StandardBridgeERC20BridgeFinalized ¶
type L1StandardBridgeERC20BridgeFinalized struct { LocalToken common.Address RemoteToken common.Address From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L1StandardBridgeERC20BridgeFinalized represents a ERC20BridgeFinalized event raised by the L1StandardBridge contract.
type L1StandardBridgeERC20BridgeFinalizedIterator ¶
type L1StandardBridgeERC20BridgeFinalizedIterator struct { Event *L1StandardBridgeERC20BridgeFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L1StandardBridgeERC20BridgeFinalizedIterator is returned from FilterERC20BridgeFinalized and is used to iterate over the raw logs and unpacked data for ERC20BridgeFinalized events raised by the L1StandardBridge contract.
func (*L1StandardBridgeERC20BridgeFinalizedIterator) Close ¶
func (it *L1StandardBridgeERC20BridgeFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1StandardBridgeERC20BridgeFinalizedIterator) Error ¶
func (it *L1StandardBridgeERC20BridgeFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1StandardBridgeERC20BridgeFinalizedIterator) Next ¶
func (it *L1StandardBridgeERC20BridgeFinalizedIterator) 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 L1StandardBridgeERC20BridgeInitiated ¶
type L1StandardBridgeERC20BridgeInitiated struct { LocalToken common.Address RemoteToken common.Address From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L1StandardBridgeERC20BridgeInitiated represents a ERC20BridgeInitiated event raised by the L1StandardBridge contract.
type L1StandardBridgeERC20BridgeInitiatedIterator ¶
type L1StandardBridgeERC20BridgeInitiatedIterator struct { Event *L1StandardBridgeERC20BridgeInitiated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L1StandardBridgeERC20BridgeInitiatedIterator is returned from FilterERC20BridgeInitiated and is used to iterate over the raw logs and unpacked data for ERC20BridgeInitiated events raised by the L1StandardBridge contract.
func (*L1StandardBridgeERC20BridgeInitiatedIterator) Close ¶
func (it *L1StandardBridgeERC20BridgeInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1StandardBridgeERC20BridgeInitiatedIterator) Error ¶
func (it *L1StandardBridgeERC20BridgeInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1StandardBridgeERC20BridgeInitiatedIterator) Next ¶
func (it *L1StandardBridgeERC20BridgeInitiatedIterator) 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 L1StandardBridgeERC20DepositInitiated ¶
type L1StandardBridgeERC20DepositInitiated struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L1StandardBridgeERC20DepositInitiated represents a ERC20DepositInitiated event raised by the L1StandardBridge contract.
type L1StandardBridgeERC20DepositInitiatedIterator ¶
type L1StandardBridgeERC20DepositInitiatedIterator struct { Event *L1StandardBridgeERC20DepositInitiated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L1StandardBridgeERC20DepositInitiatedIterator is returned from FilterERC20DepositInitiated and is used to iterate over the raw logs and unpacked data for ERC20DepositInitiated events raised by the L1StandardBridge contract.
func (*L1StandardBridgeERC20DepositInitiatedIterator) Close ¶
func (it *L1StandardBridgeERC20DepositInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1StandardBridgeERC20DepositInitiatedIterator) Error ¶
func (it *L1StandardBridgeERC20DepositInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1StandardBridgeERC20DepositInitiatedIterator) Next ¶
func (it *L1StandardBridgeERC20DepositInitiatedIterator) 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 L1StandardBridgeERC20WithdrawalFinalized ¶
type L1StandardBridgeERC20WithdrawalFinalized struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L1StandardBridgeERC20WithdrawalFinalized represents a ERC20WithdrawalFinalized event raised by the L1StandardBridge contract.
type L1StandardBridgeERC20WithdrawalFinalizedIterator ¶
type L1StandardBridgeERC20WithdrawalFinalizedIterator struct { Event *L1StandardBridgeERC20WithdrawalFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L1StandardBridgeERC20WithdrawalFinalizedIterator is returned from FilterERC20WithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ERC20WithdrawalFinalized events raised by the L1StandardBridge contract.
func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) Close ¶
func (it *L1StandardBridgeERC20WithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) Error ¶
func (it *L1StandardBridgeERC20WithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1StandardBridgeERC20WithdrawalFinalizedIterator) Next ¶
func (it *L1StandardBridgeERC20WithdrawalFinalizedIterator) 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 L1StandardBridgeETHBridgeFinalized ¶
type L1StandardBridgeETHBridgeFinalized struct { From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L1StandardBridgeETHBridgeFinalized represents a ETHBridgeFinalized event raised by the L1StandardBridge contract.
type L1StandardBridgeETHBridgeFinalizedIterator ¶
type L1StandardBridgeETHBridgeFinalizedIterator struct { Event *L1StandardBridgeETHBridgeFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L1StandardBridgeETHBridgeFinalizedIterator is returned from FilterETHBridgeFinalized and is used to iterate over the raw logs and unpacked data for ETHBridgeFinalized events raised by the L1StandardBridge contract.
func (*L1StandardBridgeETHBridgeFinalizedIterator) Close ¶
func (it *L1StandardBridgeETHBridgeFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1StandardBridgeETHBridgeFinalizedIterator) Error ¶
func (it *L1StandardBridgeETHBridgeFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1StandardBridgeETHBridgeFinalizedIterator) Next ¶
func (it *L1StandardBridgeETHBridgeFinalizedIterator) 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 L1StandardBridgeETHBridgeInitiated ¶
type L1StandardBridgeETHBridgeInitiated struct { From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L1StandardBridgeETHBridgeInitiated represents a ETHBridgeInitiated event raised by the L1StandardBridge contract.
type L1StandardBridgeETHBridgeInitiatedIterator ¶
type L1StandardBridgeETHBridgeInitiatedIterator struct { Event *L1StandardBridgeETHBridgeInitiated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L1StandardBridgeETHBridgeInitiatedIterator is returned from FilterETHBridgeInitiated and is used to iterate over the raw logs and unpacked data for ETHBridgeInitiated events raised by the L1StandardBridge contract.
func (*L1StandardBridgeETHBridgeInitiatedIterator) Close ¶
func (it *L1StandardBridgeETHBridgeInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1StandardBridgeETHBridgeInitiatedIterator) Error ¶
func (it *L1StandardBridgeETHBridgeInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1StandardBridgeETHBridgeInitiatedIterator) Next ¶
func (it *L1StandardBridgeETHBridgeInitiatedIterator) 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 L1StandardBridgeETHDepositInitiated ¶
type L1StandardBridgeETHDepositInitiated struct { From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L1StandardBridgeETHDepositInitiated represents a ETHDepositInitiated event raised by the L1StandardBridge contract.
type L1StandardBridgeETHDepositInitiatedIterator ¶
type L1StandardBridgeETHDepositInitiatedIterator struct { Event *L1StandardBridgeETHDepositInitiated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L1StandardBridgeETHDepositInitiatedIterator is returned from FilterETHDepositInitiated and is used to iterate over the raw logs and unpacked data for ETHDepositInitiated events raised by the L1StandardBridge contract.
func (*L1StandardBridgeETHDepositInitiatedIterator) Close ¶
func (it *L1StandardBridgeETHDepositInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1StandardBridgeETHDepositInitiatedIterator) Error ¶
func (it *L1StandardBridgeETHDepositInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1StandardBridgeETHDepositInitiatedIterator) Next ¶
func (it *L1StandardBridgeETHDepositInitiatedIterator) 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 L1StandardBridgeETHWithdrawalFinalized ¶
type L1StandardBridgeETHWithdrawalFinalized struct { From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L1StandardBridgeETHWithdrawalFinalized represents a ETHWithdrawalFinalized event raised by the L1StandardBridge contract.
type L1StandardBridgeETHWithdrawalFinalizedIterator ¶
type L1StandardBridgeETHWithdrawalFinalizedIterator struct { Event *L1StandardBridgeETHWithdrawalFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L1StandardBridgeETHWithdrawalFinalizedIterator is returned from FilterETHWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ETHWithdrawalFinalized events raised by the L1StandardBridge contract.
func (*L1StandardBridgeETHWithdrawalFinalizedIterator) Close ¶
func (it *L1StandardBridgeETHWithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1StandardBridgeETHWithdrawalFinalizedIterator) Error ¶
func (it *L1StandardBridgeETHWithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1StandardBridgeETHWithdrawalFinalizedIterator) Next ¶
func (it *L1StandardBridgeETHWithdrawalFinalizedIterator) 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 L1StandardBridgeFilterer ¶
type L1StandardBridgeFilterer struct {
// contains filtered or unexported fields
}
L1StandardBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewL1StandardBridgeFilterer ¶
func NewL1StandardBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*L1StandardBridgeFilterer, error)
NewL1StandardBridgeFilterer creates a new log filterer instance of L1StandardBridge, bound to a specific deployed contract.
func (*L1StandardBridgeFilterer) FilterERC20BridgeFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L1StandardBridgeERC20BridgeFinalizedIterator, error)
FilterERC20BridgeFinalized is a free log retrieval operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) FilterERC20BridgeInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L1StandardBridgeERC20BridgeInitiatedIterator, error)
FilterERC20BridgeInitiated is a free log retrieval operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) FilterERC20DepositInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1StandardBridgeERC20DepositInitiatedIterator, error)
FilterERC20DepositInitiated is a free log retrieval operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) FilterERC20WithdrawalFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1StandardBridgeERC20WithdrawalFinalizedIterator, error)
FilterERC20WithdrawalFinalized is a free log retrieval operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) FilterETHBridgeFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHBridgeFinalizedIterator, error)
FilterETHBridgeFinalized is a free log retrieval operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.
Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) FilterETHBridgeInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHBridgeInitiatedIterator, error)
FilterETHBridgeInitiated is a free log retrieval operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.
Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) FilterETHDepositInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHDepositInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHDepositInitiatedIterator, error)
FilterETHDepositInitiated is a free log retrieval operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.
Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) FilterETHWithdrawalFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) FilterETHWithdrawalFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1StandardBridgeETHWithdrawalFinalizedIterator, error)
FilterETHWithdrawalFinalized is a free log retrieval operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.
Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) ParseERC20BridgeFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L1StandardBridgeERC20BridgeFinalized, error)
ParseERC20BridgeFinalized is a log parse operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) ParseERC20BridgeInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L1StandardBridgeERC20BridgeInitiated, error)
ParseERC20BridgeInitiated is a log parse operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) ParseERC20DepositInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20DepositInitiated(log types.Log) (*L1StandardBridgeERC20DepositInitiated, error)
ParseERC20DepositInitiated is a log parse operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) ParseERC20WithdrawalFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*L1StandardBridgeERC20WithdrawalFinalized, error)
ParseERC20WithdrawalFinalized is a log parse operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) ParseETHBridgeFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHBridgeFinalized(log types.Log) (*L1StandardBridgeETHBridgeFinalized, error)
ParseETHBridgeFinalized is a log parse operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.
Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) ParseETHBridgeInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHBridgeInitiated(log types.Log) (*L1StandardBridgeETHBridgeInitiated, error)
ParseETHBridgeInitiated is a log parse operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.
Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) ParseETHDepositInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHDepositInitiated(log types.Log) (*L1StandardBridgeETHDepositInitiated, error)
ParseETHDepositInitiated is a log parse operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.
Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) ParseETHWithdrawalFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) ParseETHWithdrawalFinalized(log types.Log) (*L1StandardBridgeETHWithdrawalFinalized, error)
ParseETHWithdrawalFinalized is a log parse operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.
Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) WatchERC20BridgeFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20BridgeFinalized, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20BridgeFinalized is a free log subscription operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) WatchERC20BridgeInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20BridgeInitiated, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20BridgeInitiated is a free log subscription operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) WatchERC20DepositInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20DepositInitiated, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20DepositInitiated is a free log subscription operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) WatchERC20WithdrawalFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeERC20WithdrawalFinalized, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20WithdrawalFinalized is a free log subscription operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) WatchETHBridgeFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHBridgeFinalized, from []common.Address, to []common.Address) (event.Subscription, error)
WatchETHBridgeFinalized is a free log subscription operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.
Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) WatchETHBridgeInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHBridgeInitiated, from []common.Address, to []common.Address) (event.Subscription, error)
WatchETHBridgeInitiated is a free log subscription operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.
Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) WatchETHDepositInitiated ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHDepositInitiated(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHDepositInitiated, from []common.Address, to []common.Address) (event.Subscription, error)
WatchETHDepositInitiated is a free log subscription operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.
Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1StandardBridgeFilterer) WatchETHWithdrawalFinalized ¶
func (_L1StandardBridge *L1StandardBridgeFilterer) WatchETHWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1StandardBridgeETHWithdrawalFinalized, from []common.Address, to []common.Address) (event.Subscription, error)
WatchETHWithdrawalFinalized is a free log subscription operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.
Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
type L1StandardBridgeRaw ¶
type L1StandardBridgeRaw struct {
Contract *L1StandardBridge // Generic contract binding to access the raw methods on
}
L1StandardBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*L1StandardBridgeRaw) Call ¶
func (_L1StandardBridge *L1StandardBridgeRaw) 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 (*L1StandardBridgeRaw) Transact ¶
func (_L1StandardBridge *L1StandardBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L1StandardBridgeRaw) Transfer ¶
func (_L1StandardBridge *L1StandardBridgeRaw) 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 L1StandardBridgeSession ¶
type L1StandardBridgeSession struct { Contract *L1StandardBridge // 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 }
L1StandardBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*L1StandardBridgeSession) BridgeERC20 ¶
func (_L1StandardBridge *L1StandardBridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeSession) BridgeERC20To ¶
func (_L1StandardBridge *L1StandardBridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeSession) BridgeETH ¶
func (_L1StandardBridge *L1StandardBridgeSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.
Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeSession) BridgeETHTo ¶
func (_L1StandardBridge *L1StandardBridgeSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.
Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeSession) DepositERC20 ¶
func (_L1StandardBridge *L1StandardBridgeSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeSession) DepositERC20To ¶
func (_L1StandardBridge *L1StandardBridgeSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeSession) DepositETH ¶
func (_L1StandardBridge *L1StandardBridgeSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.
Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeSession) DepositETHTo ¶
func (_L1StandardBridge *L1StandardBridgeSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.
Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeSession) Deposits ¶
func (_L1StandardBridge *L1StandardBridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L1StandardBridgeSession) FinalizeBridgeERC20 ¶
func (_L1StandardBridge *L1StandardBridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1StandardBridgeSession) FinalizeBridgeETH ¶
func (_L1StandardBridge *L1StandardBridgeSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.
Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1StandardBridgeSession) FinalizeERC20Withdrawal ¶
func (_L1StandardBridge *L1StandardBridgeSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1StandardBridgeSession) FinalizeETHWithdrawal ¶
func (_L1StandardBridge *L1StandardBridgeSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.
Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1StandardBridgeSession) L2TokenBridge ¶
func (_L1StandardBridge *L1StandardBridgeSession) L2TokenBridge() (common.Address, error)
L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.
Solidity: function l2TokenBridge() view returns(address)
func (*L1StandardBridgeSession) MESSENGER ¶
func (_L1StandardBridge *L1StandardBridgeSession) MESSENGER() (common.Address, error)
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L1StandardBridgeSession) Messenger ¶
func (_L1StandardBridge *L1StandardBridgeSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L1StandardBridgeSession) OTHERBRIDGE ¶
func (_L1StandardBridge *L1StandardBridgeSession) OTHERBRIDGE() (common.Address, error)
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
func (*L1StandardBridgeSession) Receive ¶
func (_L1StandardBridge *L1StandardBridgeSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*L1StandardBridgeSession) Version ¶
func (_L1StandardBridge *L1StandardBridgeSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L1StandardBridgeTransactor ¶
type L1StandardBridgeTransactor struct {
// contains filtered or unexported fields
}
L1StandardBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewL1StandardBridgeTransactor ¶
func NewL1StandardBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*L1StandardBridgeTransactor, error)
NewL1StandardBridgeTransactor creates a new write-only instance of L1StandardBridge, bound to a specific deployed contract.
func (*L1StandardBridgeTransactor) BridgeERC20 ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeTransactor) BridgeERC20To ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeTransactor) BridgeETH ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.
Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactor) BridgeETHTo ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) BridgeETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.
Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactor) DepositERC20 ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeTransactor) DepositERC20To ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeTransactor) DepositETH ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) DepositETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.
Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactor) DepositETHTo ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) DepositETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.
Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactor) FinalizeBridgeERC20 ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1StandardBridgeTransactor) FinalizeBridgeETH ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeBridgeETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.
Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactor) FinalizeERC20Withdrawal ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1StandardBridgeTransactor) FinalizeETHWithdrawal ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) FinalizeETHWithdrawal(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.
Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactor) Receive ¶
func (_L1StandardBridge *L1StandardBridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type L1StandardBridgeTransactorRaw ¶
type L1StandardBridgeTransactorRaw struct {
Contract *L1StandardBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
L1StandardBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*L1StandardBridgeTransactorRaw) Transact ¶
func (_L1StandardBridge *L1StandardBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L1StandardBridgeTransactorRaw) Transfer ¶
func (_L1StandardBridge *L1StandardBridgeTransactorRaw) 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 L1StandardBridgeTransactorSession ¶
type L1StandardBridgeTransactorSession struct { Contract *L1StandardBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
L1StandardBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*L1StandardBridgeTransactorSession) BridgeERC20 ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeTransactorSession) BridgeERC20To ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeTransactorSession) BridgeETH ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.
Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactorSession) BridgeETHTo ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.
Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactorSession) DepositERC20 ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeTransactorSession) DepositERC20To ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1StandardBridgeTransactorSession) DepositETH ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.
Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactorSession) DepositETHTo ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.
Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactorSession) FinalizeBridgeERC20 ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1StandardBridgeTransactorSession) FinalizeBridgeETH ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.
Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactorSession) FinalizeERC20Withdrawal ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1StandardBridgeTransactorSession) FinalizeETHWithdrawal ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.
Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1StandardBridgeTransactorSession) Receive ¶
func (_L1StandardBridge *L1StandardBridgeTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type L2StandardBridge ¶
type L2StandardBridge struct { L2StandardBridgeCaller // Read-only binding to the contract L2StandardBridgeTransactor // Write-only binding to the contract L2StandardBridgeFilterer // Log filterer for contract events }
L2StandardBridge is an auto generated Go binding around an Ethereum contract.
func NewL2StandardBridge ¶
func NewL2StandardBridge(address common.Address, backend bind.ContractBackend) (*L2StandardBridge, error)
NewL2StandardBridge creates a new instance of L2StandardBridge, bound to a specific deployed contract.
type L2StandardBridgeCaller ¶
type L2StandardBridgeCaller struct {
// contains filtered or unexported fields
}
L2StandardBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewL2StandardBridgeCaller ¶
func NewL2StandardBridgeCaller(address common.Address, caller bind.ContractCaller) (*L2StandardBridgeCaller, error)
NewL2StandardBridgeCaller creates a new read-only instance of L2StandardBridge, bound to a specific deployed contract.
func (*L2StandardBridgeCaller) Deposits ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L2StandardBridgeCaller) L1TokenBridge ¶
func (_L2StandardBridge *L2StandardBridgeCaller) L1TokenBridge(opts *bind.CallOpts) (common.Address, error)
L1TokenBridge is a free data retrieval call binding the contract method 0x36c717c1.
Solidity: function l1TokenBridge() view returns(address)
func (*L2StandardBridgeCaller) MESSENGER ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L2StandardBridgeCaller) Messenger ¶
func (_L2StandardBridge *L2StandardBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L2StandardBridgeCaller) OTHERBRIDGE ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
func (*L2StandardBridgeCaller) Operator ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCaller) Operator(opts *bind.CallOpts) (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*L2StandardBridgeCaller) OtherBridge ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCaller) OtherBridge(opts *bind.CallOpts) (common.Address, error)
OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.
Solidity: function otherBridge() view returns(address)
type L2StandardBridgeCallerRaw ¶
type L2StandardBridgeCallerRaw struct {
Contract *L2StandardBridgeCaller // Generic read-only contract binding to access the raw methods on
}
L2StandardBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*L2StandardBridgeCallerRaw) Call ¶
func (_L2StandardBridge *L2StandardBridgeCallerRaw) 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 L2StandardBridgeCallerSession ¶
type L2StandardBridgeCallerSession struct { Contract *L2StandardBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
L2StandardBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*L2StandardBridgeCallerSession) Deposits ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L2StandardBridgeCallerSession) L1TokenBridge ¶
func (_L2StandardBridge *L2StandardBridgeCallerSession) L1TokenBridge() (common.Address, error)
L1TokenBridge is a free data retrieval call binding the contract method 0x36c717c1.
Solidity: function l1TokenBridge() view returns(address)
func (*L2StandardBridgeCallerSession) MESSENGER ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCallerSession) MESSENGER() (common.Address, error)
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L2StandardBridgeCallerSession) Messenger ¶
func (_L2StandardBridge *L2StandardBridgeCallerSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L2StandardBridgeCallerSession) OTHERBRIDGE ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCallerSession) OTHERBRIDGE() (common.Address, error)
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
func (*L2StandardBridgeCallerSession) Operator ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*L2StandardBridgeCallerSession) OtherBridge ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCallerSession) OtherBridge() (common.Address, error)
OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.
Solidity: function otherBridge() view returns(address)
func (*L2StandardBridgeCallerSession) Paused ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*L2StandardBridgeCallerSession) Version ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L2StandardBridgeDepositFinalized ¶
type L2StandardBridgeDepositFinalized struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L2StandardBridgeDepositFinalized represents a DepositFinalized event raised by the L2StandardBridge contract.
type L2StandardBridgeDepositFinalizedIterator ¶
type L2StandardBridgeDepositFinalizedIterator struct { Event *L2StandardBridgeDepositFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2StandardBridgeDepositFinalizedIterator is returned from FilterDepositFinalized and is used to iterate over the raw logs and unpacked data for DepositFinalized events raised by the L2StandardBridge contract.
func (*L2StandardBridgeDepositFinalizedIterator) Close ¶
func (it *L2StandardBridgeDepositFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2StandardBridgeDepositFinalizedIterator) Error ¶
func (it *L2StandardBridgeDepositFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2StandardBridgeDepositFinalizedIterator) Next ¶
func (it *L2StandardBridgeDepositFinalizedIterator) 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 L2StandardBridgeERC20BridgeFinalized ¶ added in v0.5.37
type L2StandardBridgeERC20BridgeFinalized struct { LocalToken common.Address RemoteToken common.Address From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L2StandardBridgeERC20BridgeFinalized represents a ERC20BridgeFinalized event raised by the L2StandardBridge contract.
type L2StandardBridgeERC20BridgeFinalizedIterator ¶ added in v0.5.37
type L2StandardBridgeERC20BridgeFinalizedIterator struct { Event *L2StandardBridgeERC20BridgeFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2StandardBridgeERC20BridgeFinalizedIterator is returned from FilterERC20BridgeFinalized and is used to iterate over the raw logs and unpacked data for ERC20BridgeFinalized events raised by the L2StandardBridge contract.
func (*L2StandardBridgeERC20BridgeFinalizedIterator) Close ¶ added in v0.5.37
func (it *L2StandardBridgeERC20BridgeFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2StandardBridgeERC20BridgeFinalizedIterator) Error ¶ added in v0.5.37
func (it *L2StandardBridgeERC20BridgeFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2StandardBridgeERC20BridgeFinalizedIterator) Next ¶ added in v0.5.37
func (it *L2StandardBridgeERC20BridgeFinalizedIterator) 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 L2StandardBridgeERC20BridgeInitiated ¶ added in v0.5.37
type L2StandardBridgeERC20BridgeInitiated struct { LocalToken common.Address RemoteToken common.Address From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L2StandardBridgeERC20BridgeInitiated represents a ERC20BridgeInitiated event raised by the L2StandardBridge contract.
type L2StandardBridgeERC20BridgeInitiatedIterator ¶ added in v0.5.37
type L2StandardBridgeERC20BridgeInitiatedIterator struct { Event *L2StandardBridgeERC20BridgeInitiated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2StandardBridgeERC20BridgeInitiatedIterator is returned from FilterERC20BridgeInitiated and is used to iterate over the raw logs and unpacked data for ERC20BridgeInitiated events raised by the L2StandardBridge contract.
func (*L2StandardBridgeERC20BridgeInitiatedIterator) Close ¶ added in v0.5.37
func (it *L2StandardBridgeERC20BridgeInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2StandardBridgeERC20BridgeInitiatedIterator) Error ¶ added in v0.5.37
func (it *L2StandardBridgeERC20BridgeInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2StandardBridgeERC20BridgeInitiatedIterator) Next ¶ added in v0.5.37
func (it *L2StandardBridgeERC20BridgeInitiatedIterator) 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 L2StandardBridgeFilterer ¶
type L2StandardBridgeFilterer struct {
// contains filtered or unexported fields
}
L2StandardBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewL2StandardBridgeFilterer ¶
func NewL2StandardBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*L2StandardBridgeFilterer, error)
NewL2StandardBridgeFilterer creates a new log filterer instance of L2StandardBridge, bound to a specific deployed contract.
func (*L2StandardBridgeFilterer) FilterDepositFinalized ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) FilterDepositFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L2StandardBridgeDepositFinalizedIterator, error)
FilterDepositFinalized is a free log retrieval operation binding the contract event 0xb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89.
Solidity: event DepositFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) FilterERC20BridgeFinalized ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L2StandardBridgeERC20BridgeFinalizedIterator, error)
FilterERC20BridgeFinalized is a free log retrieval operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) FilterERC20BridgeInitiated ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L2StandardBridgeERC20BridgeInitiatedIterator, error)
FilterERC20BridgeInitiated is a free log retrieval operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) FilterInitialized ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) FilterInitialized(opts *bind.FilterOpts) (*L2StandardBridgeInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*L2StandardBridgeFilterer) FilterWithdrawalInitiated ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) FilterWithdrawalInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L2StandardBridgeWithdrawalInitiatedIterator, error)
FilterWithdrawalInitiated is a free log retrieval operation binding the contract event 0x73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e.
Solidity: event WithdrawalInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) ParseDepositFinalized ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) ParseDepositFinalized(log types.Log) (*L2StandardBridgeDepositFinalized, error)
ParseDepositFinalized is a log parse operation binding the contract event 0xb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89.
Solidity: event DepositFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) ParseERC20BridgeFinalized ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L2StandardBridgeERC20BridgeFinalized, error)
ParseERC20BridgeFinalized is a log parse operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) ParseERC20BridgeInitiated ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L2StandardBridgeERC20BridgeInitiated, error)
ParseERC20BridgeInitiated is a log parse operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) ParseInitialized ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) ParseInitialized(log types.Log) (*L2StandardBridgeInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*L2StandardBridgeFilterer) ParseWithdrawalInitiated ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) ParseWithdrawalInitiated(log types.Log) (*L2StandardBridgeWithdrawalInitiated, error)
ParseWithdrawalInitiated is a log parse operation binding the contract event 0x73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e.
Solidity: event WithdrawalInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) WatchDepositFinalized ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) WatchDepositFinalized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeDepositFinalized, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)
WatchDepositFinalized is a free log subscription operation binding the contract event 0xb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89.
Solidity: event DepositFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) WatchERC20BridgeFinalized ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeERC20BridgeFinalized, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20BridgeFinalized is a free log subscription operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) WatchERC20BridgeInitiated ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeERC20BridgeInitiated, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20BridgeInitiated is a free log subscription operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L2StandardBridgeFilterer) WatchInitialized ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*L2StandardBridgeFilterer) WatchWithdrawalInitiated ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) WatchWithdrawalInitiated(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeWithdrawalInitiated, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)
WatchWithdrawalInitiated is a free log subscription operation binding the contract event 0x73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e.
Solidity: event WithdrawalInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
type L2StandardBridgeInitialized ¶ added in v0.5.37
type L2StandardBridgeInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
L2StandardBridgeInitialized represents a Initialized event raised by the L2StandardBridge contract.
type L2StandardBridgeInitializedIterator ¶ added in v0.5.37
type L2StandardBridgeInitializedIterator struct { Event *L2StandardBridgeInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2StandardBridgeInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the L2StandardBridge contract.
func (*L2StandardBridgeInitializedIterator) Close ¶ added in v0.5.37
func (it *L2StandardBridgeInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2StandardBridgeInitializedIterator) Error ¶ added in v0.5.37
func (it *L2StandardBridgeInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2StandardBridgeInitializedIterator) Next ¶ added in v0.5.37
func (it *L2StandardBridgeInitializedIterator) 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 L2StandardBridgeRaw ¶
type L2StandardBridgeRaw struct {
Contract *L2StandardBridge // Generic contract binding to access the raw methods on
}
L2StandardBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*L2StandardBridgeRaw) Call ¶
func (_L2StandardBridge *L2StandardBridgeRaw) 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 (*L2StandardBridgeRaw) Transact ¶
func (_L2StandardBridge *L2StandardBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2StandardBridgeRaw) Transfer ¶
func (_L2StandardBridge *L2StandardBridgeRaw) 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 L2StandardBridgeSession ¶
type L2StandardBridgeSession struct { Contract *L2StandardBridge // 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 }
L2StandardBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*L2StandardBridgeSession) BridgeERC20 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeSession) BridgeERC20To ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeSession) Deposits ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L2StandardBridgeSession) FinalizeBridgeERC20 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L2StandardBridgeSession) FinalizeDeposit ¶
func (_L2StandardBridge *L2StandardBridgeSession) FinalizeDeposit(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeDeposit is a paid mutator transaction binding the contract method 0x662a633a.
Solidity: function finalizeDeposit(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L2StandardBridgeSession) L1TokenBridge ¶
func (_L2StandardBridge *L2StandardBridgeSession) L1TokenBridge() (common.Address, error)
L1TokenBridge is a free data retrieval call binding the contract method 0x36c717c1.
Solidity: function l1TokenBridge() view returns(address)
func (*L2StandardBridgeSession) MESSENGER ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) MESSENGER() (common.Address, error)
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L2StandardBridgeSession) Messenger ¶
func (_L2StandardBridge *L2StandardBridgeSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L2StandardBridgeSession) OTHERBRIDGE ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) OTHERBRIDGE() (common.Address, error)
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
func (*L2StandardBridgeSession) Operator ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*L2StandardBridgeSession) OtherBridge ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) OtherBridge() (common.Address, error)
OtherBridge is a free data retrieval call binding the contract method 0xc89701a2.
Solidity: function otherBridge() view returns(address)
func (*L2StandardBridgeSession) Paused ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*L2StandardBridgeSession) Version ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*L2StandardBridgeSession) Withdraw ¶
func (_L2StandardBridge *L2StandardBridgeSession) Withdraw(_l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.
Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeSession) Withdraw0 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeSession) Withdraw0(_l2Token common.Address, _user common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0x62c4a052.
Solidity: function withdraw(address _l2Token, address _user, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeSession) WithdrawTo ¶
func (_L2StandardBridge *L2StandardBridgeSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
WithdrawTo is a paid mutator transaction binding the contract method 0xa3a79548.
Solidity: function withdrawTo(address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
type L2StandardBridgeTransactor ¶
type L2StandardBridgeTransactor struct {
// contains filtered or unexported fields
}
L2StandardBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewL2StandardBridgeTransactor ¶
func NewL2StandardBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*L2StandardBridgeTransactor, error)
NewL2StandardBridgeTransactor creates a new write-only instance of L2StandardBridge, bound to a specific deployed contract.
func (*L2StandardBridgeTransactor) BridgeERC20 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeTransactor) BridgeERC20To ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeTransactor) FinalizeBridgeERC20 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L2StandardBridgeTransactor) FinalizeDeposit ¶
func (_L2StandardBridge *L2StandardBridgeTransactor) FinalizeDeposit(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeDeposit is a paid mutator transaction binding the contract method 0x662a633a.
Solidity: function finalizeDeposit(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L2StandardBridgeTransactor) Withdraw ¶
func (_L2StandardBridge *L2StandardBridgeTransactor) Withdraw(opts *bind.TransactOpts, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.
Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeTransactor) Withdraw0 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeTransactor) Withdraw0(opts *bind.TransactOpts, _l2Token common.Address, _user common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0x62c4a052.
Solidity: function withdraw(address _l2Token, address _user, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeTransactor) WithdrawTo ¶
func (_L2StandardBridge *L2StandardBridgeTransactor) WithdrawTo(opts *bind.TransactOpts, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
WithdrawTo is a paid mutator transaction binding the contract method 0xa3a79548.
Solidity: function withdrawTo(address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
type L2StandardBridgeTransactorRaw ¶
type L2StandardBridgeTransactorRaw struct {
Contract *L2StandardBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
L2StandardBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*L2StandardBridgeTransactorRaw) Transact ¶
func (_L2StandardBridge *L2StandardBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2StandardBridgeTransactorRaw) Transfer ¶
func (_L2StandardBridge *L2StandardBridgeTransactorRaw) 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 L2StandardBridgeTransactorSession ¶
type L2StandardBridgeTransactorSession struct { Contract *L2StandardBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
L2StandardBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*L2StandardBridgeTransactorSession) BridgeERC20 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeTransactorSession) BridgeERC20To ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeTransactorSession) FinalizeBridgeERC20 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L2StandardBridgeTransactorSession) FinalizeDeposit ¶
func (_L2StandardBridge *L2StandardBridgeTransactorSession) FinalizeDeposit(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeDeposit is a paid mutator transaction binding the contract method 0x662a633a.
Solidity: function finalizeDeposit(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L2StandardBridgeTransactorSession) Withdraw ¶
func (_L2StandardBridge *L2StandardBridgeTransactorSession) Withdraw(_l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.
Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeTransactorSession) Withdraw0 ¶ added in v0.5.37
func (_L2StandardBridge *L2StandardBridgeTransactorSession) Withdraw0(_l2Token common.Address, _user common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0x62c4a052.
Solidity: function withdraw(address _l2Token, address _user, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L2StandardBridgeTransactorSession) WithdrawTo ¶
func (_L2StandardBridge *L2StandardBridgeTransactorSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
WithdrawTo is a paid mutator transaction binding the contract method 0xa3a79548.
Solidity: function withdrawTo(address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
type L2StandardBridgeWithdrawalInitiated ¶
type L2StandardBridgeWithdrawalInitiated struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int ExtraData []byte Raw types.Log // Blockchain specific contextual infos }
L2StandardBridgeWithdrawalInitiated represents a WithdrawalInitiated event raised by the L2StandardBridge contract.
type L2StandardBridgeWithdrawalInitiatedIterator ¶
type L2StandardBridgeWithdrawalInitiatedIterator struct { Event *L2StandardBridgeWithdrawalInitiated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2StandardBridgeWithdrawalInitiatedIterator is returned from FilterWithdrawalInitiated and is used to iterate over the raw logs and unpacked data for WithdrawalInitiated events raised by the L2StandardBridge contract.
func (*L2StandardBridgeWithdrawalInitiatedIterator) Close ¶
func (it *L2StandardBridgeWithdrawalInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2StandardBridgeWithdrawalInitiatedIterator) Error ¶
func (it *L2StandardBridgeWithdrawalInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2StandardBridgeWithdrawalInitiatedIterator) Next ¶
func (it *L2StandardBridgeWithdrawalInitiatedIterator) 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 NetworkParams ¶ added in v0.5.25
type NetworkParams struct { NetworkParamsCaller // Read-only binding to the contract NetworkParamsTransactor // Write-only binding to the contract NetworkParamsFilterer // Log filterer for contract events }
NetworkParams is an auto generated Go binding around an Ethereum contract.
func NewNetworkParams ¶ added in v0.5.25
func NewNetworkParams(address common.Address, backend bind.ContractBackend) (*NetworkParams, error)
NewNetworkParams creates a new instance of NetworkParams, bound to a specific deployed contract.
type NetworkParamsCaller ¶ added in v0.5.25
type NetworkParamsCaller struct {
// contains filtered or unexported fields
}
NetworkParamsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNetworkParamsCaller ¶ added in v0.5.25
func NewNetworkParamsCaller(address common.Address, caller bind.ContractCaller) (*NetworkParamsCaller, error)
NewNetworkParamsCaller creates a new read-only instance of NetworkParams, bound to a specific deployed contract.
func (*NetworkParamsCaller) ADMINROLE ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCaller) ADMINROLE(opts *bind.CallOpts) ([32]byte, error)
ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.
Solidity: function ADMIN_ROLE() view returns(bytes32)
func (*NetworkParamsCaller) DEFAULTADMINROLE ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*NetworkParamsCaller) GetParams ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCaller) GetParams(opts *bind.CallOpts, epoch uint64) (string, error)
GetParams is a free data retrieval call binding the contract method 0xace30dbc.
Solidity: function getParams(uint64 epoch) view returns(string)
func (*NetworkParamsCaller) GetRoleAdmin ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*NetworkParamsCaller) GetRoleMember ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*NetworkParamsCaller) GetRoleMemberCount ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*NetworkParamsCaller) HasRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*NetworkParamsCaller) SupportsInterface ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type NetworkParamsCallerRaw ¶ added in v0.5.25
type NetworkParamsCallerRaw struct {
Contract *NetworkParamsCaller // Generic read-only contract binding to access the raw methods on
}
NetworkParamsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NetworkParamsCallerRaw) Call ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerRaw) 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 NetworkParamsCallerSession ¶ added in v0.5.25
type NetworkParamsCallerSession struct { Contract *NetworkParamsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NetworkParamsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NetworkParamsCallerSession) ADMINROLE ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerSession) ADMINROLE() ([32]byte, error)
ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.
Solidity: function ADMIN_ROLE() view returns(bytes32)
func (*NetworkParamsCallerSession) DEFAULTADMINROLE ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*NetworkParamsCallerSession) GetParams ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerSession) GetParams(epoch uint64) (string, error)
GetParams is a free data retrieval call binding the contract method 0xace30dbc.
Solidity: function getParams(uint64 epoch) view returns(string)
func (*NetworkParamsCallerSession) GetRoleAdmin ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*NetworkParamsCallerSession) GetRoleMember ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*NetworkParamsCallerSession) GetRoleMemberCount ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*NetworkParamsCallerSession) HasRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*NetworkParamsCallerSession) SupportsInterface ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type NetworkParamsFilterer ¶ added in v0.5.25
type NetworkParamsFilterer struct {
// contains filtered or unexported fields
}
NetworkParamsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNetworkParamsFilterer ¶ added in v0.5.25
func NewNetworkParamsFilterer(address common.Address, filterer bind.ContractFilterer) (*NetworkParamsFilterer, error)
NewNetworkParamsFilterer creates a new log filterer instance of NetworkParams, bound to a specific deployed contract.
func (*NetworkParamsFilterer) FilterInitialized ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) FilterInitialized(opts *bind.FilterOpts) (*NetworkParamsInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*NetworkParamsFilterer) FilterParamsSet ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) FilterParamsSet(opts *bind.FilterOpts, epoch []uint64) (*NetworkParamsParamsSetIterator, error)
FilterParamsSet is a free log retrieval operation binding the contract event 0xcb46857e4fc83e0b5ff8a04732e1bba8fb60164f0f93baf3f27af5e24be8339a.
Solidity: event ParamsSet(uint64 indexed epoch, string params)
func (*NetworkParamsFilterer) FilterRoleAdminChanged ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*NetworkParamsRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*NetworkParamsFilterer) FilterRoleGranted ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*NetworkParamsRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*NetworkParamsFilterer) FilterRoleRevoked ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*NetworkParamsRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*NetworkParamsFilterer) ParseInitialized ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) ParseInitialized(log types.Log) (*NetworkParamsInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*NetworkParamsFilterer) ParseParamsSet ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) ParseParamsSet(log types.Log) (*NetworkParamsParamsSet, error)
ParseParamsSet is a log parse operation binding the contract event 0xcb46857e4fc83e0b5ff8a04732e1bba8fb60164f0f93baf3f27af5e24be8339a.
Solidity: event ParamsSet(uint64 indexed epoch, string params)
func (*NetworkParamsFilterer) ParseRoleAdminChanged ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) ParseRoleAdminChanged(log types.Log) (*NetworkParamsRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*NetworkParamsFilterer) ParseRoleGranted ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) ParseRoleGranted(log types.Log) (*NetworkParamsRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*NetworkParamsFilterer) ParseRoleRevoked ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) ParseRoleRevoked(log types.Log) (*NetworkParamsRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*NetworkParamsFilterer) WatchInitialized ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NetworkParamsInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*NetworkParamsFilterer) WatchParamsSet ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) WatchParamsSet(opts *bind.WatchOpts, sink chan<- *NetworkParamsParamsSet, epoch []uint64) (event.Subscription, error)
WatchParamsSet is a free log subscription operation binding the contract event 0xcb46857e4fc83e0b5ff8a04732e1bba8fb60164f0f93baf3f27af5e24be8339a.
Solidity: event ParamsSet(uint64 indexed epoch, string params)
func (*NetworkParamsFilterer) WatchRoleAdminChanged ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *NetworkParamsRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*NetworkParamsFilterer) WatchRoleGranted ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *NetworkParamsRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*NetworkParamsFilterer) WatchRoleRevoked ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *NetworkParamsRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
type NetworkParamsInitialized ¶ added in v0.5.25
type NetworkParamsInitialized struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
NetworkParamsInitialized represents a Initialized event raised by the NetworkParams contract.
type NetworkParamsInitializedIterator ¶ added in v0.5.25
type NetworkParamsInitializedIterator struct { Event *NetworkParamsInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkParamsInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the NetworkParams contract.
func (*NetworkParamsInitializedIterator) Close ¶ added in v0.5.25
func (it *NetworkParamsInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkParamsInitializedIterator) Error ¶ added in v0.5.25
func (it *NetworkParamsInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkParamsInitializedIterator) Next ¶ added in v0.5.25
func (it *NetworkParamsInitializedIterator) 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 NetworkParamsParamsSet ¶ added in v0.5.25
type NetworkParamsParamsSet struct { Epoch uint64 Params string Raw types.Log // Blockchain specific contextual infos }
NetworkParamsParamsSet represents a ParamsSet event raised by the NetworkParams contract.
type NetworkParamsParamsSetIterator ¶ added in v0.5.25
type NetworkParamsParamsSetIterator struct { Event *NetworkParamsParamsSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkParamsParamsSetIterator is returned from FilterParamsSet and is used to iterate over the raw logs and unpacked data for ParamsSet events raised by the NetworkParams contract.
func (*NetworkParamsParamsSetIterator) Close ¶ added in v0.5.25
func (it *NetworkParamsParamsSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkParamsParamsSetIterator) Error ¶ added in v0.5.25
func (it *NetworkParamsParamsSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkParamsParamsSetIterator) Next ¶ added in v0.5.25
func (it *NetworkParamsParamsSetIterator) 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 NetworkParamsRaw ¶ added in v0.5.25
type NetworkParamsRaw struct {
Contract *NetworkParams // Generic contract binding to access the raw methods on
}
NetworkParamsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NetworkParamsRaw) Call ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsRaw) 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 (*NetworkParamsRaw) Transact ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NetworkParamsRaw) Transfer ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsRaw) 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 NetworkParamsRoleAdminChanged ¶ added in v0.5.25
type NetworkParamsRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
NetworkParamsRoleAdminChanged represents a RoleAdminChanged event raised by the NetworkParams contract.
type NetworkParamsRoleAdminChangedIterator ¶ added in v0.5.25
type NetworkParamsRoleAdminChangedIterator struct { Event *NetworkParamsRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkParamsRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the NetworkParams contract.
func (*NetworkParamsRoleAdminChangedIterator) Close ¶ added in v0.5.25
func (it *NetworkParamsRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkParamsRoleAdminChangedIterator) Error ¶ added in v0.5.25
func (it *NetworkParamsRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkParamsRoleAdminChangedIterator) Next ¶ added in v0.5.25
func (it *NetworkParamsRoleAdminChangedIterator) 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 NetworkParamsRoleGranted ¶ added in v0.5.25
type NetworkParamsRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkParamsRoleGranted represents a RoleGranted event raised by the NetworkParams contract.
type NetworkParamsRoleGrantedIterator ¶ added in v0.5.25
type NetworkParamsRoleGrantedIterator struct { Event *NetworkParamsRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkParamsRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the NetworkParams contract.
func (*NetworkParamsRoleGrantedIterator) Close ¶ added in v0.5.25
func (it *NetworkParamsRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkParamsRoleGrantedIterator) Error ¶ added in v0.5.25
func (it *NetworkParamsRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkParamsRoleGrantedIterator) Next ¶ added in v0.5.25
func (it *NetworkParamsRoleGrantedIterator) 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 NetworkParamsRoleRevoked ¶ added in v0.5.25
type NetworkParamsRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkParamsRoleRevoked represents a RoleRevoked event raised by the NetworkParams contract.
type NetworkParamsRoleRevokedIterator ¶ added in v0.5.25
type NetworkParamsRoleRevokedIterator struct { Event *NetworkParamsRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkParamsRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the NetworkParams contract.
func (*NetworkParamsRoleRevokedIterator) Close ¶ added in v0.5.25
func (it *NetworkParamsRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkParamsRoleRevokedIterator) Error ¶ added in v0.5.25
func (it *NetworkParamsRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkParamsRoleRevokedIterator) Next ¶ added in v0.5.25
func (it *NetworkParamsRoleRevokedIterator) 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 NetworkParamsSession ¶ added in v0.5.25
type NetworkParamsSession struct { Contract *NetworkParams // 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 }
NetworkParamsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NetworkParamsSession) ADMINROLE ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) ADMINROLE() ([32]byte, error)
ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.
Solidity: function ADMIN_ROLE() view returns(bytes32)
func (*NetworkParamsSession) DEFAULTADMINROLE ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*NetworkParamsSession) GetParams ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) GetParams(epoch uint64) (string, error)
GetParams is a free data retrieval call binding the contract method 0xace30dbc.
Solidity: function getParams(uint64 epoch) view returns(string)
func (*NetworkParamsSession) GetRoleAdmin ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*NetworkParamsSession) GetRoleMember ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*NetworkParamsSession) GetRoleMemberCount ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*NetworkParamsSession) GrantRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*NetworkParamsSession) HasRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*NetworkParamsSession) Initialize ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) Initialize(adminAccount common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address adminAccount) returns()
func (*NetworkParamsSession) RenounceRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*NetworkParamsSession) RevokeRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*NetworkParamsSession) SetParams ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) SetParams(epoch uint64, params string) (*types.Transaction, error)
SetParams is a paid mutator transaction binding the contract method 0x28bc7935.
Solidity: function setParams(uint64 epoch, string params) returns()
func (*NetworkParamsSession) SupportsInterface ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type NetworkParamsTransactor ¶ added in v0.5.25
type NetworkParamsTransactor struct {
// contains filtered or unexported fields
}
NetworkParamsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNetworkParamsTransactor ¶ added in v0.5.25
func NewNetworkParamsTransactor(address common.Address, transactor bind.ContractTransactor) (*NetworkParamsTransactor, error)
NewNetworkParamsTransactor creates a new write-only instance of NetworkParams, bound to a specific deployed contract.
func (*NetworkParamsTransactor) GrantRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*NetworkParamsTransactor) Initialize ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactor) Initialize(opts *bind.TransactOpts, adminAccount common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address adminAccount) returns()
func (*NetworkParamsTransactor) RenounceRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*NetworkParamsTransactor) RevokeRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*NetworkParamsTransactor) SetParams ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactor) SetParams(opts *bind.TransactOpts, epoch uint64, params string) (*types.Transaction, error)
SetParams is a paid mutator transaction binding the contract method 0x28bc7935.
Solidity: function setParams(uint64 epoch, string params) returns()
type NetworkParamsTransactorRaw ¶ added in v0.5.25
type NetworkParamsTransactorRaw struct {
Contract *NetworkParamsTransactor // Generic write-only contract binding to access the raw methods on
}
NetworkParamsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NetworkParamsTransactorRaw) Transact ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NetworkParamsTransactorRaw) Transfer ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactorRaw) 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 NetworkParamsTransactorSession ¶ added in v0.5.25
type NetworkParamsTransactorSession struct { Contract *NetworkParamsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NetworkParamsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NetworkParamsTransactorSession) GrantRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*NetworkParamsTransactorSession) Initialize ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactorSession) Initialize(adminAccount common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address adminAccount) returns()
func (*NetworkParamsTransactorSession) RenounceRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*NetworkParamsTransactorSession) RevokeRole ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*NetworkParamsTransactorSession) SetParams ¶ added in v0.5.25
func (_NetworkParams *NetworkParamsTransactorSession) SetParams(epoch uint64, params string) (*types.Transaction, error)
SetParams is a paid mutator transaction binding the contract method 0x28bc7935.
Solidity: function setParams(uint64 epoch, string params) returns()
type Settlement ¶ added in v0.5.25
type Settlement struct { SettlementCaller // Read-only binding to the contract SettlementTransactor // Write-only binding to the contract SettlementFilterer // Log filterer for contract events }
Settlement is an auto generated Go binding around an Ethereum contract.
func NewSettlement ¶ added in v0.5.25
func NewSettlement(address common.Address, backend bind.ContractBackend) (*Settlement, error)
NewSettlement creates a new instance of Settlement, bound to a specific deployed contract.
type SettlementCaller ¶ added in v0.5.25
type SettlementCaller struct {
// contains filtered or unexported fields
}
SettlementCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSettlementCaller ¶ added in v0.5.25
func NewSettlementCaller(address common.Address, caller bind.ContractCaller) (*SettlementCaller, error)
NewSettlementCaller creates a new read-only instance of Settlement, bound to a specific deployed contract.
func (*SettlementCaller) CurrentEpoch ¶ added in v0.5.25
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*SettlementCaller) DEFAULTADMINROLE ¶ added in v0.5.25
func (_Settlement *SettlementCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*SettlementCaller) EPOCHDURATION ¶ added in v0.5.25
EPOCHDURATION is a free data retrieval call binding the contract method 0xa70b9f0c.
Solidity: function EPOCH_DURATION() view returns(uint256)
func (*SettlementCaller) GetBonusInfo ¶ added in v0.5.25
GetBonusInfo is a free data retrieval call binding the contract method 0xfc5567d0.
Solidity: function getBonusInfo() view returns(uint256, uint256)
func (*SettlementCaller) GetRoleAdmin ¶ added in v0.5.25
func (_Settlement *SettlementCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*SettlementCaller) GetRoleMember ¶ added in v0.5.25
func (_Settlement *SettlementCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*SettlementCaller) GetRoleMemberCount ¶ added in v0.5.25
func (_Settlement *SettlementCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*SettlementCaller) HasRole ¶ added in v0.5.25
func (_Settlement *SettlementCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*SettlementCaller) ORACLEROLE ¶ added in v0.5.25
func (_Settlement *SettlementCaller) ORACLEROLE(opts *bind.CallOpts) ([32]byte, error)
ORACLEROLE is a free data retrieval call binding the contract method 0x07e2cea5.
Solidity: function ORACLE_ROLE() view returns(bytes32)
func (*SettlementCaller) StakingContract ¶ added in v0.5.25
StakingContract is a free data retrieval call binding the contract method 0xee99205c.
Solidity: function stakingContract() view returns(address)
func (*SettlementCaller) SupportsInterface ¶ added in v0.5.25
func (_Settlement *SettlementCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*SettlementCaller) TOTALREWARDSPERYEAR ¶ added in v0.5.25
TOTALREWARDSPERYEAR is a free data retrieval call binding the contract method 0xd2adf460.
Solidity: function TOTAL_REWARDS_PER_YEAR() view returns(uint256)
type SettlementCallerRaw ¶ added in v0.5.25
type SettlementCallerRaw struct {
Contract *SettlementCaller // Generic read-only contract binding to access the raw methods on
}
SettlementCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SettlementCallerRaw) Call ¶ added in v0.5.25
func (_Settlement *SettlementCallerRaw) 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 SettlementCallerSession ¶ added in v0.5.25
type SettlementCallerSession struct { Contract *SettlementCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SettlementCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SettlementCallerSession) CurrentEpoch ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*SettlementCallerSession) DEFAULTADMINROLE ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*SettlementCallerSession) EPOCHDURATION ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) EPOCHDURATION() (*big.Int, error)
EPOCHDURATION is a free data retrieval call binding the contract method 0xa70b9f0c.
Solidity: function EPOCH_DURATION() view returns(uint256)
func (*SettlementCallerSession) GetBonusInfo ¶ added in v0.5.25
GetBonusInfo is a free data retrieval call binding the contract method 0xfc5567d0.
Solidity: function getBonusInfo() view returns(uint256, uint256)
func (*SettlementCallerSession) GetRoleAdmin ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*SettlementCallerSession) GetRoleMember ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*SettlementCallerSession) GetRoleMemberCount ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*SettlementCallerSession) HasRole ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*SettlementCallerSession) ORACLEROLE ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) ORACLEROLE() ([32]byte, error)
ORACLEROLE is a free data retrieval call binding the contract method 0x07e2cea5.
Solidity: function ORACLE_ROLE() view returns(bytes32)
func (*SettlementCallerSession) StakingContract ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) StakingContract() (common.Address, error)
StakingContract is a free data retrieval call binding the contract method 0xee99205c.
Solidity: function stakingContract() view returns(address)
func (*SettlementCallerSession) SupportsInterface ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*SettlementCallerSession) TOTALREWARDSPERYEAR ¶ added in v0.5.25
func (_Settlement *SettlementCallerSession) TOTALREWARDSPERYEAR() (*big.Int, error)
TOTALREWARDSPERYEAR is a free data retrieval call binding the contract method 0xd2adf460.
Solidity: function TOTAL_REWARDS_PER_YEAR() view returns(uint256)
type SettlementFilterer ¶ added in v0.5.25
type SettlementFilterer struct {
// contains filtered or unexported fields
}
SettlementFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSettlementFilterer ¶ added in v0.5.25
func NewSettlementFilterer(address common.Address, filterer bind.ContractFilterer) (*SettlementFilterer, error)
NewSettlementFilterer creates a new log filterer instance of Settlement, bound to a specific deployed contract.
func (*SettlementFilterer) FilterInitialized ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) FilterInitialized(opts *bind.FilterOpts) (*SettlementInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*SettlementFilterer) FilterRoleAdminChanged ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*SettlementRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*SettlementFilterer) FilterRoleGranted ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*SettlementRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*SettlementFilterer) FilterRoleRevoked ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*SettlementRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*SettlementFilterer) ParseInitialized ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) ParseInitialized(log types.Log) (*SettlementInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*SettlementFilterer) ParseRoleAdminChanged ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) ParseRoleAdminChanged(log types.Log) (*SettlementRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*SettlementFilterer) ParseRoleGranted ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) ParseRoleGranted(log types.Log) (*SettlementRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*SettlementFilterer) ParseRoleRevoked ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) ParseRoleRevoked(log types.Log) (*SettlementRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*SettlementFilterer) WatchInitialized ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SettlementInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*SettlementFilterer) WatchRoleAdminChanged ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *SettlementRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*SettlementFilterer) WatchRoleGranted ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *SettlementRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*SettlementFilterer) WatchRoleRevoked ¶ added in v0.5.25
func (_Settlement *SettlementFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *SettlementRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
type SettlementInitialized ¶ added in v0.5.25
type SettlementInitialized struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
SettlementInitialized represents a Initialized event raised by the Settlement contract.
type SettlementInitializedIterator ¶ added in v0.5.25
type SettlementInitializedIterator struct { Event *SettlementInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SettlementInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Settlement contract.
func (*SettlementInitializedIterator) Close ¶ added in v0.5.25
func (it *SettlementInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SettlementInitializedIterator) Error ¶ added in v0.5.25
func (it *SettlementInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SettlementInitializedIterator) Next ¶ added in v0.5.25
func (it *SettlementInitializedIterator) 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 SettlementRaw ¶ added in v0.5.25
type SettlementRaw struct {
Contract *Settlement // Generic contract binding to access the raw methods on
}
SettlementRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SettlementRaw) Call ¶ added in v0.5.25
func (_Settlement *SettlementRaw) 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 (*SettlementRaw) Transact ¶ added in v0.5.25
func (_Settlement *SettlementRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SettlementRaw) Transfer ¶ added in v0.5.25
func (_Settlement *SettlementRaw) 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 SettlementRoleAdminChanged ¶ added in v0.5.25
type SettlementRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
SettlementRoleAdminChanged represents a RoleAdminChanged event raised by the Settlement contract.
type SettlementRoleAdminChangedIterator ¶ added in v0.5.25
type SettlementRoleAdminChangedIterator struct { Event *SettlementRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SettlementRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Settlement contract.
func (*SettlementRoleAdminChangedIterator) Close ¶ added in v0.5.25
func (it *SettlementRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SettlementRoleAdminChangedIterator) Error ¶ added in v0.5.25
func (it *SettlementRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SettlementRoleAdminChangedIterator) Next ¶ added in v0.5.25
func (it *SettlementRoleAdminChangedIterator) 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 SettlementRoleGranted ¶ added in v0.5.25
type SettlementRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
SettlementRoleGranted represents a RoleGranted event raised by the Settlement contract.
type SettlementRoleGrantedIterator ¶ added in v0.5.25
type SettlementRoleGrantedIterator struct { Event *SettlementRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SettlementRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Settlement contract.
func (*SettlementRoleGrantedIterator) Close ¶ added in v0.5.25
func (it *SettlementRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SettlementRoleGrantedIterator) Error ¶ added in v0.5.25
func (it *SettlementRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SettlementRoleGrantedIterator) Next ¶ added in v0.5.25
func (it *SettlementRoleGrantedIterator) 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 SettlementRoleRevoked ¶ added in v0.5.25
type SettlementRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
SettlementRoleRevoked represents a RoleRevoked event raised by the Settlement contract.
type SettlementRoleRevokedIterator ¶ added in v0.5.25
type SettlementRoleRevokedIterator struct { Event *SettlementRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SettlementRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Settlement contract.
func (*SettlementRoleRevokedIterator) Close ¶ added in v0.5.25
func (it *SettlementRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SettlementRoleRevokedIterator) Error ¶ added in v0.5.25
func (it *SettlementRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SettlementRoleRevokedIterator) Next ¶ added in v0.5.25
func (it *SettlementRoleRevokedIterator) 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 SettlementSession ¶ added in v0.5.25
type SettlementSession struct { Contract *Settlement // 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 }
SettlementSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SettlementSession) CurrentEpoch ¶ added in v0.5.25
func (_Settlement *SettlementSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*SettlementSession) DEFAULTADMINROLE ¶ added in v0.5.25
func (_Settlement *SettlementSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*SettlementSession) DistributeRewards ¶ added in v0.5.25
func (_Settlement *SettlementSession) DistributeRewards(epoch *big.Int, nodeAddrs []common.Address, operationRewards []*big.Int, requestCounts []*big.Int, isFinal bool) (*types.Transaction, error)
DistributeRewards is a paid mutator transaction binding the contract method 0x5c3d3078.
Solidity: function distributeRewards(uint256 epoch, address[] nodeAddrs, uint256[] operationRewards, uint256[] requestCounts, bool isFinal) returns()
func (*SettlementSession) EPOCHDURATION ¶ added in v0.5.25
func (_Settlement *SettlementSession) EPOCHDURATION() (*big.Int, error)
EPOCHDURATION is a free data retrieval call binding the contract method 0xa70b9f0c.
Solidity: function EPOCH_DURATION() view returns(uint256)
func (*SettlementSession) GetBonusInfo ¶ added in v0.5.25
GetBonusInfo is a free data retrieval call binding the contract method 0xfc5567d0.
Solidity: function getBonusInfo() view returns(uint256, uint256)
func (*SettlementSession) GetRoleAdmin ¶ added in v0.5.25
func (_Settlement *SettlementSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*SettlementSession) GetRoleMember ¶ added in v0.5.25
func (_Settlement *SettlementSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*SettlementSession) GetRoleMemberCount ¶ added in v0.5.25
func (_Settlement *SettlementSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*SettlementSession) GrantRole ¶ added in v0.5.25
func (_Settlement *SettlementSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*SettlementSession) HasRole ¶ added in v0.5.25
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*SettlementSession) Initialize ¶ added in v0.5.25
func (_Settlement *SettlementSession) Initialize(staking common.Address, oracleAccount common.Address, startTime *big.Int, operationRewardsPercent *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xeb990c59.
Solidity: function initialize(address staking, address oracleAccount, uint256 startTime, uint256 operationRewardsPercent) returns()
func (*SettlementSession) ORACLEROLE ¶ added in v0.5.25
func (_Settlement *SettlementSession) ORACLEROLE() ([32]byte, error)
ORACLEROLE is a free data retrieval call binding the contract method 0x07e2cea5.
Solidity: function ORACLE_ROLE() view returns(bytes32)
func (*SettlementSession) RenounceRole ¶ added in v0.5.25
func (_Settlement *SettlementSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*SettlementSession) RevokeRole ¶ added in v0.5.25
func (_Settlement *SettlementSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*SettlementSession) SetTaxRateBasisPoints4PublicPool ¶ added in v0.5.25
func (_Settlement *SettlementSession) SetTaxRateBasisPoints4PublicPool(taxRateBasisPoints uint64) (*types.Transaction, error)
SetTaxRateBasisPoints4PublicPool is a paid mutator transaction binding the contract method 0xe3fb8dca.
Solidity: function setTaxRateBasisPoints4PublicPool(uint64 taxRateBasisPoints) returns()
func (*SettlementSession) SlashNodes ¶ added in v0.5.25
func (_Settlement *SettlementSession) SlashNodes(nodeAddrs []common.Address) (*types.Transaction, error)
SlashNodes is a paid mutator transaction binding the contract method 0xa2f641c3.
Solidity: function slashNodes(address[] nodeAddrs) returns()
func (*SettlementSession) StakingContract ¶ added in v0.5.25
func (_Settlement *SettlementSession) StakingContract() (common.Address, error)
StakingContract is a free data retrieval call binding the contract method 0xee99205c.
Solidity: function stakingContract() view returns(address)
func (*SettlementSession) SupportsInterface ¶ added in v0.5.25
func (_Settlement *SettlementSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*SettlementSession) TOTALREWARDSPERYEAR ¶ added in v0.5.25
func (_Settlement *SettlementSession) TOTALREWARDSPERYEAR() (*big.Int, error)
TOTALREWARDSPERYEAR is a free data retrieval call binding the contract method 0xd2adf460.
Solidity: function TOTAL_REWARDS_PER_YEAR() view returns(uint256)
func (*SettlementSession) UpdateRewardsRatio ¶ added in v0.5.25
func (_Settlement *SettlementSession) UpdateRewardsRatio(operationRewardsPercent *big.Int) (*types.Transaction, error)
UpdateRewardsRatio is a paid mutator transaction binding the contract method 0xc8afeea5.
Solidity: function updateRewardsRatio(uint256 operationRewardsPercent) returns()
type SettlementTransactor ¶ added in v0.5.25
type SettlementTransactor struct {
// contains filtered or unexported fields
}
SettlementTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSettlementTransactor ¶ added in v0.5.25
func NewSettlementTransactor(address common.Address, transactor bind.ContractTransactor) (*SettlementTransactor, error)
NewSettlementTransactor creates a new write-only instance of Settlement, bound to a specific deployed contract.
func (*SettlementTransactor) DistributeRewards ¶ added in v0.5.25
func (_Settlement *SettlementTransactor) DistributeRewards(opts *bind.TransactOpts, epoch *big.Int, nodeAddrs []common.Address, operationRewards []*big.Int, requestCounts []*big.Int, isFinal bool) (*types.Transaction, error)
DistributeRewards is a paid mutator transaction binding the contract method 0x5c3d3078.
Solidity: function distributeRewards(uint256 epoch, address[] nodeAddrs, uint256[] operationRewards, uint256[] requestCounts, bool isFinal) returns()
func (*SettlementTransactor) GrantRole ¶ added in v0.5.25
func (_Settlement *SettlementTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*SettlementTransactor) Initialize ¶ added in v0.5.25
func (_Settlement *SettlementTransactor) Initialize(opts *bind.TransactOpts, staking common.Address, oracleAccount common.Address, startTime *big.Int, operationRewardsPercent *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xeb990c59.
Solidity: function initialize(address staking, address oracleAccount, uint256 startTime, uint256 operationRewardsPercent) returns()
func (*SettlementTransactor) RenounceRole ¶ added in v0.5.25
func (_Settlement *SettlementTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*SettlementTransactor) RevokeRole ¶ added in v0.5.25
func (_Settlement *SettlementTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*SettlementTransactor) SetTaxRateBasisPoints4PublicPool ¶ added in v0.5.25
func (_Settlement *SettlementTransactor) SetTaxRateBasisPoints4PublicPool(opts *bind.TransactOpts, taxRateBasisPoints uint64) (*types.Transaction, error)
SetTaxRateBasisPoints4PublicPool is a paid mutator transaction binding the contract method 0xe3fb8dca.
Solidity: function setTaxRateBasisPoints4PublicPool(uint64 taxRateBasisPoints) returns()
func (*SettlementTransactor) SlashNodes ¶ added in v0.5.25
func (_Settlement *SettlementTransactor) SlashNodes(opts *bind.TransactOpts, nodeAddrs []common.Address) (*types.Transaction, error)
SlashNodes is a paid mutator transaction binding the contract method 0xa2f641c3.
Solidity: function slashNodes(address[] nodeAddrs) returns()
func (*SettlementTransactor) UpdateRewardsRatio ¶ added in v0.5.25
func (_Settlement *SettlementTransactor) UpdateRewardsRatio(opts *bind.TransactOpts, operationRewardsPercent *big.Int) (*types.Transaction, error)
UpdateRewardsRatio is a paid mutator transaction binding the contract method 0xc8afeea5.
Solidity: function updateRewardsRatio(uint256 operationRewardsPercent) returns()
type SettlementTransactorRaw ¶ added in v0.5.25
type SettlementTransactorRaw struct {
Contract *SettlementTransactor // Generic write-only contract binding to access the raw methods on
}
SettlementTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SettlementTransactorRaw) Transact ¶ added in v0.5.25
func (_Settlement *SettlementTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SettlementTransactorRaw) Transfer ¶ added in v0.5.25
func (_Settlement *SettlementTransactorRaw) 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 SettlementTransactorSession ¶ added in v0.5.25
type SettlementTransactorSession struct { Contract *SettlementTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SettlementTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SettlementTransactorSession) DistributeRewards ¶ added in v0.5.25
func (_Settlement *SettlementTransactorSession) DistributeRewards(epoch *big.Int, nodeAddrs []common.Address, operationRewards []*big.Int, requestCounts []*big.Int, isFinal bool) (*types.Transaction, error)
DistributeRewards is a paid mutator transaction binding the contract method 0x5c3d3078.
Solidity: function distributeRewards(uint256 epoch, address[] nodeAddrs, uint256[] operationRewards, uint256[] requestCounts, bool isFinal) returns()
func (*SettlementTransactorSession) GrantRole ¶ added in v0.5.25
func (_Settlement *SettlementTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*SettlementTransactorSession) Initialize ¶ added in v0.5.25
func (_Settlement *SettlementTransactorSession) Initialize(staking common.Address, oracleAccount common.Address, startTime *big.Int, operationRewardsPercent *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xeb990c59.
Solidity: function initialize(address staking, address oracleAccount, uint256 startTime, uint256 operationRewardsPercent) returns()
func (*SettlementTransactorSession) RenounceRole ¶ added in v0.5.25
func (_Settlement *SettlementTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*SettlementTransactorSession) RevokeRole ¶ added in v0.5.25
func (_Settlement *SettlementTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*SettlementTransactorSession) SetTaxRateBasisPoints4PublicPool ¶ added in v0.5.25
func (_Settlement *SettlementTransactorSession) SetTaxRateBasisPoints4PublicPool(taxRateBasisPoints uint64) (*types.Transaction, error)
SetTaxRateBasisPoints4PublicPool is a paid mutator transaction binding the contract method 0xe3fb8dca.
Solidity: function setTaxRateBasisPoints4PublicPool(uint64 taxRateBasisPoints) returns()
func (*SettlementTransactorSession) SlashNodes ¶ added in v0.5.25
func (_Settlement *SettlementTransactorSession) SlashNodes(nodeAddrs []common.Address) (*types.Transaction, error)
SlashNodes is a paid mutator transaction binding the contract method 0xa2f641c3.
Solidity: function slashNodes(address[] nodeAddrs) returns()
func (*SettlementTransactorSession) UpdateRewardsRatio ¶ added in v0.5.25
func (_Settlement *SettlementTransactorSession) UpdateRewardsRatio(operationRewardsPercent *big.Int) (*types.Transaction, error)
UpdateRewardsRatio is a paid mutator transaction binding the contract method 0xc8afeea5.
Solidity: function updateRewardsRatio(uint256 operationRewardsPercent) returns()