Documentation ¶
Index ¶
- Constants
- Variables
- 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, params ...interface{}) 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 ¶
const L2StandardBridgeABI = "" /* 3841-byte string literal not displayed */
L2StandardBridgeABI is the input ABI used to generate the binding from.
Variables ¶
var L2StandardBridgeBin = "" /* 9098-byte string literal not displayed */
L2StandardBridgeBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
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 DeployL2StandardBridge ¶
func DeployL2StandardBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _l2CrossDomainMessenger common.Address, _l1TokenBridge common.Address) (common.Address, *types.Transaction, *L2StandardBridge, error)
DeployL2StandardBridge deploys a new Ethereum contract, binding an instance of L2StandardBridge to it.
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() constant 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() constant 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() constant 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() constant 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.