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
- type L2StandardBridgeCallerRaw
- type L2StandardBridgeCallerSession
- type L2StandardBridgeDepositFailed
- type L2StandardBridgeDepositFailedIterator
- type L2StandardBridgeDepositFinalized
- type L2StandardBridgeDepositFinalizedIterator
- type L2StandardBridgeFilterer
- func (_L2StandardBridge *L2StandardBridgeFilterer) FilterDepositFailed(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, ...) (*L2StandardBridgeDepositFailedIterator, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) FilterDepositFinalized(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, ...) (*L2StandardBridgeDepositFinalizedIterator, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) FilterWithdrawalInitiated(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, ...) (*L2StandardBridgeWithdrawalInitiatedIterator, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) ParseDepositFailed(log types.Log) (*L2StandardBridgeDepositFailed, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) ParseDepositFinalized(log types.Log) (*L2StandardBridgeDepositFinalized, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) ParseWithdrawalInitiated(log types.Log) (*L2StandardBridgeWithdrawalInitiated, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) WatchDepositFailed(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeDepositFailed, ...) (event.Subscription, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) WatchDepositFinalized(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeDepositFinalized, ...) (event.Subscription, error)
- func (_L2StandardBridge *L2StandardBridgeFilterer) WatchWithdrawalInitiated(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeWithdrawalInitiated, ...) (event.Subscription, error)
- 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) 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) Withdraw(_l2Token common.Address, _amount *big.Int, _l1Gas uint32, _data []byte) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, _l1Gas uint32, ...) (*types.Transaction, error)
- type L2StandardBridgeTransactor
- 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) WithdrawTo(opts *bind.TransactOpts, _l2Token common.Address, _to common.Address, ...) (*types.Transaction, error)
- type L2StandardBridgeTransactorRaw
- type L2StandardBridgeTransactorSession
- 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, _l1Gas uint32, _data []byte) (*types.Transaction, error)
- func (_L2StandardBridge *L2StandardBridgeTransactorSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, _l1Gas uint32, ...) (*types.Transaction, error)
- type L2StandardBridgeWithdrawalInitiated
- type L2StandardBridgeWithdrawalInitiatedIterator
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") 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\":\"address\",\"name\":\"_l2CrossDomainMessenger\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l1TokenBridge\",\"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\":\"_data\",\"type\":\"bytes\"}],\"name\":\"DepositFailed\",\"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\":\"_data\",\"type\":\"bytes\"}],\"name\":\"DepositFinalized\",\"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\":\"_data\",\"type\":\"bytes\"}],\"name\":\"WithdrawalInitiated\",\"type\":\"event\"},{\"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\":\"_data\",\"type\":\"bytes\"}],\"name\":\"finalizeDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1TokenBridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messenger\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_l1Gas\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"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\":\"_l1Gas\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
L2StandardBridgeMetaData contains all meta data concerning the L2StandardBridge 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) 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)
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) 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)
type L2StandardBridgeDepositFailed ¶
type L2StandardBridgeDepositFailed struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
L2StandardBridgeDepositFailed represents a DepositFailed event raised by the L2StandardBridge contract.
type L2StandardBridgeDepositFailedIterator ¶
type L2StandardBridgeDepositFailedIterator struct { Event *L2StandardBridgeDepositFailed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2StandardBridgeDepositFailedIterator is returned from FilterDepositFailed and is used to iterate over the raw logs and unpacked data for DepositFailed events raised by the L2StandardBridge contract.
func (*L2StandardBridgeDepositFailedIterator) Close ¶
func (it *L2StandardBridgeDepositFailedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2StandardBridgeDepositFailedIterator) Error ¶
func (it *L2StandardBridgeDepositFailedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2StandardBridgeDepositFailedIterator) Next ¶
func (it *L2StandardBridgeDepositFailedIterator) 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 L2StandardBridgeDepositFinalized ¶
type L2StandardBridgeDepositFinalized struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int Data []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 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) FilterDepositFailed ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) FilterDepositFailed(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (*L2StandardBridgeDepositFailedIterator, error)
FilterDepositFailed is a free log retrieval operation binding the contract event 0x7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0.
Solidity: event DepositFailed(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
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 _data)
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 _data)
func (*L2StandardBridgeFilterer) ParseDepositFailed ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) ParseDepositFailed(log types.Log) (*L2StandardBridgeDepositFailed, error)
ParseDepositFailed is a log parse operation binding the contract event 0x7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0.
Solidity: event DepositFailed(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
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 _data)
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 _data)
func (*L2StandardBridgeFilterer) WatchDepositFailed ¶
func (_L2StandardBridge *L2StandardBridgeFilterer) WatchDepositFailed(opts *bind.WatchOpts, sink chan<- *L2StandardBridgeDepositFailed, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (event.Subscription, error)
WatchDepositFailed is a free log subscription operation binding the contract event 0x7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0.
Solidity: event DepositFailed(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
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 _data)
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 _data)
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) FinalizeDeposit ¶
func (_L2StandardBridge *L2StandardBridgeSession) FinalizeDeposit(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []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 _data) 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 ¶
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) Withdraw ¶
func (_L2StandardBridge *L2StandardBridgeSession) Withdraw(_l2Token common.Address, _amount *big.Int, _l1Gas uint32, _data []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.
Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _l1Gas, bytes _data) returns()
func (*L2StandardBridgeSession) WithdrawTo ¶
func (_L2StandardBridge *L2StandardBridgeSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, _l1Gas uint32, _data []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 _l1Gas, bytes _data) 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) FinalizeDeposit ¶
func (_L2StandardBridge *L2StandardBridgeTransactor) FinalizeDeposit(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []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 _data) returns()
func (*L2StandardBridgeTransactor) Withdraw ¶
func (_L2StandardBridge *L2StandardBridgeTransactor) Withdraw(opts *bind.TransactOpts, _l2Token common.Address, _amount *big.Int, _l1Gas uint32, _data []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.
Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _l1Gas, bytes _data) returns()
func (*L2StandardBridgeTransactor) WithdrawTo ¶
func (_L2StandardBridge *L2StandardBridgeTransactor) WithdrawTo(opts *bind.TransactOpts, _l2Token common.Address, _to common.Address, _amount *big.Int, _l1Gas uint32, _data []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 _l1Gas, bytes _data) 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) FinalizeDeposit ¶
func (_L2StandardBridge *L2StandardBridgeTransactorSession) FinalizeDeposit(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []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 _data) returns()
func (*L2StandardBridgeTransactorSession) Withdraw ¶
func (_L2StandardBridge *L2StandardBridgeTransactorSession) Withdraw(_l2Token common.Address, _amount *big.Int, _l1Gas uint32, _data []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x32b7006d.
Solidity: function withdraw(address _l2Token, uint256 _amount, uint32 _l1Gas, bytes _data) returns()
func (*L2StandardBridgeTransactorSession) WithdrawTo ¶
func (_L2StandardBridge *L2StandardBridgeTransactorSession) WithdrawTo(_l2Token common.Address, _to common.Address, _amount *big.Int, _l1Gas uint32, _data []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 _l1Gas, bytes _data) returns()
type L2StandardBridgeWithdrawalInitiated ¶
type L2StandardBridgeWithdrawalInitiated struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int Data []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.