Documentation ¶
Index ¶
- Variables
- type IL2SharedBridge
- type IL2SharedBridgeCaller
- func (_IL2SharedBridge *IL2SharedBridgeCaller) L1Bridge(opts *bind.CallOpts) (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeCaller) L1SharedBridge(opts *bind.CallOpts) (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeCaller) L1TokenAddress(opts *bind.CallOpts, _l2Token common.Address) (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeCaller) L2TokenAddress(opts *bind.CallOpts, _l1Token common.Address) (common.Address, error)
- type IL2SharedBridgeCallerRaw
- type IL2SharedBridgeCallerSession
- func (_IL2SharedBridge *IL2SharedBridgeCallerSession) L1Bridge() (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeCallerSession) L1SharedBridge() (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeCallerSession) L1TokenAddress(_l2Token common.Address) (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeCallerSession) L2TokenAddress(_l1Token common.Address) (common.Address, error)
- type IL2SharedBridgeFilterer
- func (_IL2SharedBridge *IL2SharedBridgeFilterer) FilterFinalizeDeposit(opts *bind.FilterOpts, l1Sender []common.Address, l2Receiver []common.Address, ...) (*IL2SharedBridgeFinalizeDepositIterator, error)
- func (_IL2SharedBridge *IL2SharedBridgeFilterer) FilterWithdrawalInitiated(opts *bind.FilterOpts, l2Sender []common.Address, l1Receiver []common.Address, ...) (*IL2SharedBridgeWithdrawalInitiatedIterator, error)
- func (_IL2SharedBridge *IL2SharedBridgeFilterer) ParseFinalizeDeposit(log types.Log) (*IL2SharedBridgeFinalizeDeposit, error)
- func (_IL2SharedBridge *IL2SharedBridgeFilterer) ParseWithdrawalInitiated(log types.Log) (*IL2SharedBridgeWithdrawalInitiated, error)
- func (_IL2SharedBridge *IL2SharedBridgeFilterer) WatchFinalizeDeposit(opts *bind.WatchOpts, sink chan<- *IL2SharedBridgeFinalizeDeposit, ...) (event.Subscription, error)
- func (_IL2SharedBridge *IL2SharedBridgeFilterer) WatchWithdrawalInitiated(opts *bind.WatchOpts, sink chan<- *IL2SharedBridgeWithdrawalInitiated, ...) (event.Subscription, error)
- type IL2SharedBridgeFinalizeDeposit
- type IL2SharedBridgeFinalizeDepositIterator
- type IL2SharedBridgeRaw
- func (_IL2SharedBridge *IL2SharedBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IL2SharedBridge *IL2SharedBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IL2SharedBridge *IL2SharedBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IL2SharedBridgeSession
- func (_IL2SharedBridge *IL2SharedBridgeSession) FinalizeDeposit(_l1Sender common.Address, _l2Receiver common.Address, _l1Token common.Address, ...) (*types.Transaction, error)
- func (_IL2SharedBridge *IL2SharedBridgeSession) L1Bridge() (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeSession) L1SharedBridge() (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeSession) L1TokenAddress(_l2Token common.Address) (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeSession) L2TokenAddress(_l1Token common.Address) (common.Address, error)
- func (_IL2SharedBridge *IL2SharedBridgeSession) Withdraw(_l1Receiver common.Address, _l2Token common.Address, _amount *big.Int) (*types.Transaction, error)
- type IL2SharedBridgeTransactor
- func (_IL2SharedBridge *IL2SharedBridgeTransactor) FinalizeDeposit(opts *bind.TransactOpts, _l1Sender common.Address, _l2Receiver common.Address, ...) (*types.Transaction, error)
- func (_IL2SharedBridge *IL2SharedBridgeTransactor) Withdraw(opts *bind.TransactOpts, _l1Receiver common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- type IL2SharedBridgeTransactorRaw
- type IL2SharedBridgeTransactorSession
- func (_IL2SharedBridge *IL2SharedBridgeTransactorSession) FinalizeDeposit(_l1Sender common.Address, _l2Receiver common.Address, _l1Token common.Address, ...) (*types.Transaction, error)
- func (_IL2SharedBridge *IL2SharedBridgeTransactorSession) Withdraw(_l1Receiver common.Address, _l2Token common.Address, _amount *big.Int) (*types.Transaction, error)
- type IL2SharedBridgeWithdrawalInitiated
- type IL2SharedBridgeWithdrawalInitiatedIterator
Constants ¶
This section is empty.
Variables ¶
IL2SharedBridgeABI is the input ABI used to generate the binding from. Deprecated: Use IL2SharedBridgeMetaData.ABI instead.
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FinalizeDeposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalInitiated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"finalizeDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1Bridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1SharedBridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"}],\"name\":\"l1TokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"}],\"name\":\"l2TokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}IL2SharedBridgeMetaData contains all meta data concerning the IL2SharedBridge contract.
Functions ¶
This section is empty.
Types ¶
type IL2SharedBridge ¶
type IL2SharedBridge struct {}
IL2SharedBridge is an auto generated Go binding around an Ethereum contract.
func NewIL2SharedBridge ¶
func NewIL2SharedBridge(address common.Address, backend bind.ContractBackend) (*IL2SharedBridge, error)
NewIL2SharedBridge creates a new instance of IL2SharedBridge, bound to a specific deployed contract.
type IL2SharedBridgeCaller ¶
type IL2SharedBridgeCaller struct {
// contains filtered or unexported fields
}
IL2SharedBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIL2SharedBridgeCaller ¶
func NewIL2SharedBridgeCaller(address common.Address, caller bind.ContractCaller) (*IL2SharedBridgeCaller, error)
NewIL2SharedBridgeCaller creates a new read-only instance of IL2SharedBridge, bound to a specific deployed contract.
func (*IL2SharedBridgeCaller) L1Bridge ¶
func (_IL2SharedBridge *IL2SharedBridgeCaller) L1Bridge(opts *bind.CallOpts) (common.Address, error)
L1Bridge is a free data retrieval call binding the contract method 0x969b53da.
Solidity: function l1Bridge() view returns(address)
func (*IL2SharedBridgeCaller) L1SharedBridge ¶
func (_IL2SharedBridge *IL2SharedBridgeCaller) L1SharedBridge(opts *bind.CallOpts) (common.Address, error)
L1SharedBridge is a free data retrieval call binding the contract method 0xb852ad36.
Solidity: function l1SharedBridge() view returns(address)
func (*IL2SharedBridgeCaller) L1TokenAddress ¶
func (_IL2SharedBridge *IL2SharedBridgeCaller) L1TokenAddress(opts *bind.CallOpts, _l2Token common.Address) (common.Address, error)
L1TokenAddress is a free data retrieval call binding the contract method 0xf54266a2.
Solidity: function l1TokenAddress(address _l2Token) view returns(address)
func (*IL2SharedBridgeCaller) L2TokenAddress ¶
func (_IL2SharedBridge *IL2SharedBridgeCaller) L2TokenAddress(opts *bind.CallOpts, _l1Token common.Address) (common.Address, error)
L2TokenAddress is a free data retrieval call binding the contract method 0xf5f15168.
Solidity: function l2TokenAddress(address _l1Token) view returns(address)
type IL2SharedBridgeCallerRaw ¶
type IL2SharedBridgeCallerRaw struct {
}IL2SharedBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IL2SharedBridgeCallerRaw) Call ¶
func (_IL2SharedBridge *IL2SharedBridgeCallerRaw) 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 IL2SharedBridgeCallerSession ¶
type IL2SharedBridgeCallerSession struct {}
IL2SharedBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IL2SharedBridgeCallerSession) L1Bridge ¶
func (_IL2SharedBridge *IL2SharedBridgeCallerSession) L1Bridge() (common.Address, error)
L1Bridge is a free data retrieval call binding the contract method 0x969b53da.
Solidity: function l1Bridge() view returns(address)
func (*IL2SharedBridgeCallerSession) L1SharedBridge ¶
func (_IL2SharedBridge *IL2SharedBridgeCallerSession) L1SharedBridge() (common.Address, error)
L1SharedBridge is a free data retrieval call binding the contract method 0xb852ad36.
Solidity: function l1SharedBridge() view returns(address)
func (*IL2SharedBridgeCallerSession) L1TokenAddress ¶
func (_IL2SharedBridge *IL2SharedBridgeCallerSession) L1TokenAddress(_l2Token common.Address) (common.Address, error)
L1TokenAddress is a free data retrieval call binding the contract method 0xf54266a2.
Solidity: function l1TokenAddress(address _l2Token) view returns(address)
func (*IL2SharedBridgeCallerSession) L2TokenAddress ¶
func (_IL2SharedBridge *IL2SharedBridgeCallerSession) L2TokenAddress(_l1Token common.Address) (common.Address, error)
L2TokenAddress is a free data retrieval call binding the contract method 0xf5f15168.
Solidity: function l2TokenAddress(address _l1Token) view returns(address)
type IL2SharedBridgeFilterer ¶
type IL2SharedBridgeFilterer struct {
// contains filtered or unexported fields
}
IL2SharedBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIL2SharedBridgeFilterer ¶
func NewIL2SharedBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*IL2SharedBridgeFilterer, error)
NewIL2SharedBridgeFilterer creates a new log filterer instance of IL2SharedBridge, bound to a specific deployed contract.
func (*IL2SharedBridgeFilterer) FilterFinalizeDeposit ¶
func (_IL2SharedBridge *IL2SharedBridgeFilterer) FilterFinalizeDeposit(opts *bind.FilterOpts, l1Sender []common.Address, l2Receiver []common.Address, l2Token []common.Address) (*IL2SharedBridgeFinalizeDepositIterator, error)
FilterFinalizeDeposit is a free log retrieval operation binding the contract event 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63.
Solidity: event FinalizeDeposit(address indexed l1Sender, address indexed l2Receiver, address indexed l2Token, uint256 amount)
func (*IL2SharedBridgeFilterer) FilterWithdrawalInitiated ¶
func (_IL2SharedBridge *IL2SharedBridgeFilterer) FilterWithdrawalInitiated(opts *bind.FilterOpts, l2Sender []common.Address, l1Receiver []common.Address, l2Token []common.Address) (*IL2SharedBridgeWithdrawalInitiatedIterator, error)
FilterWithdrawalInitiated is a free log retrieval operation binding the contract event 0x2fc3848834aac8e883a2d2a17a7514dc4f2d3dd268089df9b9f5d918259ef3b0.
Solidity: event WithdrawalInitiated(address indexed l2Sender, address indexed l1Receiver, address indexed l2Token, uint256 amount)
func (*IL2SharedBridgeFilterer) ParseFinalizeDeposit ¶
func (_IL2SharedBridge *IL2SharedBridgeFilterer) ParseFinalizeDeposit(log types.Log) (*IL2SharedBridgeFinalizeDeposit, error)
ParseFinalizeDeposit is a log parse operation binding the contract event 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63.
Solidity: event FinalizeDeposit(address indexed l1Sender, address indexed l2Receiver, address indexed l2Token, uint256 amount)
func (*IL2SharedBridgeFilterer) ParseWithdrawalInitiated ¶
func (_IL2SharedBridge *IL2SharedBridgeFilterer) ParseWithdrawalInitiated(log types.Log) (*IL2SharedBridgeWithdrawalInitiated, error)
ParseWithdrawalInitiated is a log parse operation binding the contract event 0x2fc3848834aac8e883a2d2a17a7514dc4f2d3dd268089df9b9f5d918259ef3b0.
Solidity: event WithdrawalInitiated(address indexed l2Sender, address indexed l1Receiver, address indexed l2Token, uint256 amount)
func (*IL2SharedBridgeFilterer) WatchFinalizeDeposit ¶
func (_IL2SharedBridge *IL2SharedBridgeFilterer) WatchFinalizeDeposit(opts *bind.WatchOpts, sink chan<- *IL2SharedBridgeFinalizeDeposit, l1Sender []common.Address, l2Receiver []common.Address, l2Token []common.Address) (event.Subscription, error)
WatchFinalizeDeposit is a free log subscription operation binding the contract event 0xb84fba9af218da60d299dc177abd5805e7ac541d2673cbee7808c10017874f63.
Solidity: event FinalizeDeposit(address indexed l1Sender, address indexed l2Receiver, address indexed l2Token, uint256 amount)
func (*IL2SharedBridgeFilterer) WatchWithdrawalInitiated ¶
func (_IL2SharedBridge *IL2SharedBridgeFilterer) WatchWithdrawalInitiated(opts *bind.WatchOpts, sink chan<- *IL2SharedBridgeWithdrawalInitiated, l2Sender []common.Address, l1Receiver []common.Address, l2Token []common.Address) (event.Subscription, error)
WatchWithdrawalInitiated is a free log subscription operation binding the contract event 0x2fc3848834aac8e883a2d2a17a7514dc4f2d3dd268089df9b9f5d918259ef3b0.
Solidity: event WithdrawalInitiated(address indexed l2Sender, address indexed l1Receiver, address indexed l2Token, uint256 amount)
type IL2SharedBridgeFinalizeDeposit ¶
type IL2SharedBridgeFinalizeDeposit struct {}
IL2SharedBridgeFinalizeDeposit represents a FinalizeDeposit event raised by the IL2SharedBridge contract.
type IL2SharedBridgeFinalizeDepositIterator ¶
type IL2SharedBridgeFinalizeDepositIterator struct { // contains filtered or unexported fields }
IL2SharedBridgeFinalizeDepositIterator is returned from FilterFinalizeDeposit and is used to iterate over the raw logs and unpacked data for FinalizeDeposit events raised by the IL2SharedBridge contract.
func (*IL2SharedBridgeFinalizeDepositIterator) Close ¶
func (it *IL2SharedBridgeFinalizeDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IL2SharedBridgeFinalizeDepositIterator) Error ¶
func (it *IL2SharedBridgeFinalizeDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IL2SharedBridgeFinalizeDepositIterator) Next ¶
func (it *IL2SharedBridgeFinalizeDepositIterator) 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 IL2SharedBridgeRaw ¶
type IL2SharedBridgeRaw struct {
}IL2SharedBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IL2SharedBridgeRaw) Call ¶
func (_IL2SharedBridge *IL2SharedBridgeRaw) 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 (*IL2SharedBridgeRaw) Transact ¶
func (_IL2SharedBridge *IL2SharedBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IL2SharedBridgeRaw) Transfer ¶
func (_IL2SharedBridge *IL2SharedBridgeRaw) 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 IL2SharedBridgeSession ¶
type IL2SharedBridgeSession struct {}
IL2SharedBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IL2SharedBridgeSession) FinalizeDeposit ¶
func (_IL2SharedBridge *IL2SharedBridgeSession) FinalizeDeposit(_l1Sender common.Address, _l2Receiver common.Address, _l1Token common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
FinalizeDeposit is a paid mutator transaction binding the contract method 0xcfe7af7c.
Solidity: function finalizeDeposit(address _l1Sender, address _l2Receiver, address _l1Token, uint256 _amount, bytes _data) returns()
func (*IL2SharedBridgeSession) L1Bridge ¶
func (_IL2SharedBridge *IL2SharedBridgeSession) L1Bridge() (common.Address, error)
L1Bridge is a free data retrieval call binding the contract method 0x969b53da.
Solidity: function l1Bridge() view returns(address)
func (*IL2SharedBridgeSession) L1SharedBridge ¶
func (_IL2SharedBridge *IL2SharedBridgeSession) L1SharedBridge() (common.Address, error)
L1SharedBridge is a free data retrieval call binding the contract method 0xb852ad36.
Solidity: function l1SharedBridge() view returns(address)
func (*IL2SharedBridgeSession) L1TokenAddress ¶
func (_IL2SharedBridge *IL2SharedBridgeSession) L1TokenAddress(_l2Token common.Address) (common.Address, error)
L1TokenAddress is a free data retrieval call binding the contract method 0xf54266a2.
Solidity: function l1TokenAddress(address _l2Token) view returns(address)
func (*IL2SharedBridgeSession) L2TokenAddress ¶
func (_IL2SharedBridge *IL2SharedBridgeSession) L2TokenAddress(_l1Token common.Address) (common.Address, error)
L2TokenAddress is a free data retrieval call binding the contract method 0xf5f15168.
Solidity: function l2TokenAddress(address _l1Token) view returns(address)
func (*IL2SharedBridgeSession) Withdraw ¶
func (_IL2SharedBridge *IL2SharedBridgeSession) Withdraw(_l1Receiver common.Address, _l2Token common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address _l1Receiver, address _l2Token, uint256 _amount) returns()
type IL2SharedBridgeTransactor ¶
type IL2SharedBridgeTransactor struct {
// contains filtered or unexported fields
}
IL2SharedBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIL2SharedBridgeTransactor ¶
func NewIL2SharedBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*IL2SharedBridgeTransactor, error)
NewIL2SharedBridgeTransactor creates a new write-only instance of IL2SharedBridge, bound to a specific deployed contract.
func (*IL2SharedBridgeTransactor) FinalizeDeposit ¶
func (_IL2SharedBridge *IL2SharedBridgeTransactor) FinalizeDeposit(opts *bind.TransactOpts, _l1Sender common.Address, _l2Receiver common.Address, _l1Token common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
FinalizeDeposit is a paid mutator transaction binding the contract method 0xcfe7af7c.
Solidity: function finalizeDeposit(address _l1Sender, address _l2Receiver, address _l1Token, uint256 _amount, bytes _data) returns()
func (*IL2SharedBridgeTransactor) Withdraw ¶
func (_IL2SharedBridge *IL2SharedBridgeTransactor) Withdraw(opts *bind.TransactOpts, _l1Receiver common.Address, _l2Token common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address _l1Receiver, address _l2Token, uint256 _amount) returns()
type IL2SharedBridgeTransactorRaw ¶
type IL2SharedBridgeTransactorRaw struct {
}IL2SharedBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IL2SharedBridgeTransactorRaw) Transact ¶
func (_IL2SharedBridge *IL2SharedBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IL2SharedBridgeTransactorRaw) Transfer ¶
func (_IL2SharedBridge *IL2SharedBridgeTransactorRaw) 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 IL2SharedBridgeTransactorSession ¶
type IL2SharedBridgeTransactorSession struct {}
IL2SharedBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IL2SharedBridgeTransactorSession) FinalizeDeposit ¶
func (_IL2SharedBridge *IL2SharedBridgeTransactorSession) FinalizeDeposit(_l1Sender common.Address, _l2Receiver common.Address, _l1Token common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
FinalizeDeposit is a paid mutator transaction binding the contract method 0xcfe7af7c.
Solidity: function finalizeDeposit(address _l1Sender, address _l2Receiver, address _l1Token, uint256 _amount, bytes _data) returns()
func (*IL2SharedBridgeTransactorSession) Withdraw ¶
func (_IL2SharedBridge *IL2SharedBridgeTransactorSession) Withdraw(_l1Receiver common.Address, _l2Token common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address _l1Receiver, address _l2Token, uint256 _amount) returns()
type IL2SharedBridgeWithdrawalInitiated ¶
type IL2SharedBridgeWithdrawalInitiated struct {}
IL2SharedBridgeWithdrawalInitiated represents a WithdrawalInitiated event raised by the IL2SharedBridge contract.
type IL2SharedBridgeWithdrawalInitiatedIterator ¶
type IL2SharedBridgeWithdrawalInitiatedIterator struct { // contains filtered or unexported fields }
IL2SharedBridgeWithdrawalInitiatedIterator is returned from FilterWithdrawalInitiated and is used to iterate over the raw logs and unpacked data for WithdrawalInitiated events raised by the IL2SharedBridge contract.
func (*IL2SharedBridgeWithdrawalInitiatedIterator) Close ¶
func (it *IL2SharedBridgeWithdrawalInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IL2SharedBridgeWithdrawalInitiatedIterator) Error ¶
func (it *IL2SharedBridgeWithdrawalInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IL2SharedBridgeWithdrawalInitiatedIterator) Next ¶
func (it *IL2SharedBridgeWithdrawalInitiatedIterator) 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.