Documentation ¶
Index ¶
- Variables
- type L2ToL1MessagePasser
- type L2ToL1MessagePasserCaller
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) MESSAGEVERSION(opts *bind.CallOpts) (uint16, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) MessageNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) SentMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) Version(opts *bind.CallOpts) (string, error)
- type L2ToL1MessagePasserCallerRaw
- type L2ToL1MessagePasserCallerSession
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) MESSAGEVERSION() (uint16, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) MessageNonce() (*big.Int, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) SentMessages(arg0 [32]byte) (bool, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) Version() (string, error)
- type L2ToL1MessagePasserFilterer
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) FilterMessagePassed(opts *bind.FilterOpts, nonce []*big.Int, sender []common.Address, ...) (*L2ToL1MessagePasserMessagePassedIterator, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) FilterWithdrawerBalanceBurnt(opts *bind.FilterOpts, amount []*big.Int) (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) ParseMessagePassed(log types.Log) (*L2ToL1MessagePasserMessagePassed, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) ParseWithdrawerBalanceBurnt(log types.Log) (*L2ToL1MessagePasserWithdrawerBalanceBurnt, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) WatchMessagePassed(opts *bind.WatchOpts, sink chan<- *L2ToL1MessagePasserMessagePassed, ...) (event.Subscription, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) WatchWithdrawerBalanceBurnt(opts *bind.WatchOpts, sink chan<- *L2ToL1MessagePasserWithdrawerBalanceBurnt, ...) (event.Subscription, error)
- type L2ToL1MessagePasserMessagePassed
- type L2ToL1MessagePasserMessagePassedIterator
- type L2ToL1MessagePasserRaw
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type L2ToL1MessagePasserSession
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Burn() (*types.Transaction, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) InitiateWithdrawal(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) MESSAGEVERSION() (uint16, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) MessageNonce() (*big.Int, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Receive() (*types.Transaction, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) SentMessages(arg0 [32]byte) (bool, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Version() (string, error)
- type L2ToL1MessagePasserTransactor
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) Burn(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) InitiateWithdrawal(opts *bind.TransactOpts, _target common.Address, _gasLimit *big.Int, ...) (*types.Transaction, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- type L2ToL1MessagePasserTransactorRaw
- type L2ToL1MessagePasserTransactorSession
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) Burn() (*types.Transaction, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) InitiateWithdrawal(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)
- func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) Receive() (*types.Transaction, error)
- type L2ToL1MessagePasserWithdrawerBalanceBurnt
- type L2ToL1MessagePasserWithdrawerBalanceBurntIterator
Constants ¶
This section is empty.
Variables ¶
var L2ToL1MessagePasserABI = L2ToL1MessagePasserMetaData.ABI
L2ToL1MessagePasserABI is the input ABI used to generate the binding from. Deprecated: Use L2ToL1MessagePasserMetaData.ABI instead.
var L2ToL1MessagePasserMetaData = &bind.MetaData{
ABI: "[{\"stateMutability\":\"payable\",\"type\":\"receive\"},{\"inputs\":[],\"name\":\"MESSAGE_VERSION\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"initiateWithdrawal\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messageNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"sentMessages\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"withdrawalHash\",\"type\":\"bytes32\"}],\"name\":\"MessagePassed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawerBalanceBurnt\",\"type\":\"event\"}]",
}
L2ToL1MessagePasserMetaData contains all meta data concerning the L2ToL1MessagePasser contract.
Functions ¶
This section is empty.
Types ¶
type L2ToL1MessagePasser ¶
type L2ToL1MessagePasser struct { L2ToL1MessagePasserCaller // Read-only binding to the contract L2ToL1MessagePasserTransactor // Write-only binding to the contract L2ToL1MessagePasserFilterer // Log filterer for contract events }
L2ToL1MessagePasser is an auto generated Go binding around an Ethereum contract.
func NewL2ToL1MessagePasser ¶
func NewL2ToL1MessagePasser(address common.Address, backend bind.ContractBackend) (*L2ToL1MessagePasser, error)
NewL2ToL1MessagePasser creates a new instance of L2ToL1MessagePasser, bound to a specific deployed contract.
type L2ToL1MessagePasserCaller ¶
type L2ToL1MessagePasserCaller struct {
// contains filtered or unexported fields
}
L2ToL1MessagePasserCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewL2ToL1MessagePasserCaller ¶
func NewL2ToL1MessagePasserCaller(address common.Address, caller bind.ContractCaller) (*L2ToL1MessagePasserCaller, error)
NewL2ToL1MessagePasserCaller creates a new read-only instance of L2ToL1MessagePasser, bound to a specific deployed contract.
func (*L2ToL1MessagePasserCaller) MESSAGEVERSION ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) MESSAGEVERSION(opts *bind.CallOpts) (uint16, error)
MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.
Solidity: function MESSAGE_VERSION() view returns(uint16)
func (*L2ToL1MessagePasserCaller) MessageNonce ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) MessageNonce(opts *bind.CallOpts) (*big.Int, error)
MessageNonce is a free data retrieval call binding the contract method 0xecc70428.
Solidity: function messageNonce() view returns(uint256)
func (*L2ToL1MessagePasserCaller) SentMessages ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) SentMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
SentMessages is a free data retrieval call binding the contract method 0x82e3702d.
Solidity: function sentMessages(bytes32 ) view returns(bool)
type L2ToL1MessagePasserCallerRaw ¶
type L2ToL1MessagePasserCallerRaw struct {
Contract *L2ToL1MessagePasserCaller // Generic read-only contract binding to access the raw methods on
}
L2ToL1MessagePasserCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*L2ToL1MessagePasserCallerRaw) Call ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerRaw) 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 L2ToL1MessagePasserCallerSession ¶
type L2ToL1MessagePasserCallerSession struct { Contract *L2ToL1MessagePasserCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
L2ToL1MessagePasserCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*L2ToL1MessagePasserCallerSession) MESSAGEVERSION ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) MESSAGEVERSION() (uint16, error)
MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.
Solidity: function MESSAGE_VERSION() view returns(uint16)
func (*L2ToL1MessagePasserCallerSession) MessageNonce ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) MessageNonce() (*big.Int, error)
MessageNonce is a free data retrieval call binding the contract method 0xecc70428.
Solidity: function messageNonce() view returns(uint256)
func (*L2ToL1MessagePasserCallerSession) SentMessages ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) SentMessages(arg0 [32]byte) (bool, error)
SentMessages is a free data retrieval call binding the contract method 0x82e3702d.
Solidity: function sentMessages(bytes32 ) view returns(bool)
func (*L2ToL1MessagePasserCallerSession) Version ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L2ToL1MessagePasserFilterer ¶
type L2ToL1MessagePasserFilterer struct {
// contains filtered or unexported fields
}
L2ToL1MessagePasserFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewL2ToL1MessagePasserFilterer ¶
func NewL2ToL1MessagePasserFilterer(address common.Address, filterer bind.ContractFilterer) (*L2ToL1MessagePasserFilterer, error)
NewL2ToL1MessagePasserFilterer creates a new log filterer instance of L2ToL1MessagePasser, bound to a specific deployed contract.
func (*L2ToL1MessagePasserFilterer) FilterMessagePassed ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) FilterMessagePassed(opts *bind.FilterOpts, nonce []*big.Int, sender []common.Address, target []common.Address) (*L2ToL1MessagePasserMessagePassedIterator, error)
FilterMessagePassed is a free log retrieval operation binding the contract event 0x02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054.
Solidity: event MessagePassed(uint256 indexed nonce, address indexed sender, address indexed target, uint256 value, uint256 gasLimit, bytes data, bytes32 withdrawalHash)
func (*L2ToL1MessagePasserFilterer) FilterWithdrawerBalanceBurnt ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) FilterWithdrawerBalanceBurnt(opts *bind.FilterOpts, amount []*big.Int) (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator, error)
FilterWithdrawerBalanceBurnt is a free log retrieval operation binding the contract event 0x7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f.
Solidity: event WithdrawerBalanceBurnt(uint256 indexed amount)
func (*L2ToL1MessagePasserFilterer) ParseMessagePassed ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) ParseMessagePassed(log types.Log) (*L2ToL1MessagePasserMessagePassed, error)
ParseMessagePassed is a log parse operation binding the contract event 0x02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054.
Solidity: event MessagePassed(uint256 indexed nonce, address indexed sender, address indexed target, uint256 value, uint256 gasLimit, bytes data, bytes32 withdrawalHash)
func (*L2ToL1MessagePasserFilterer) ParseWithdrawerBalanceBurnt ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) ParseWithdrawerBalanceBurnt(log types.Log) (*L2ToL1MessagePasserWithdrawerBalanceBurnt, error)
ParseWithdrawerBalanceBurnt is a log parse operation binding the contract event 0x7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f.
Solidity: event WithdrawerBalanceBurnt(uint256 indexed amount)
func (*L2ToL1MessagePasserFilterer) WatchMessagePassed ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) WatchMessagePassed(opts *bind.WatchOpts, sink chan<- *L2ToL1MessagePasserMessagePassed, nonce []*big.Int, sender []common.Address, target []common.Address) (event.Subscription, error)
WatchMessagePassed is a free log subscription operation binding the contract event 0x02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054.
Solidity: event MessagePassed(uint256 indexed nonce, address indexed sender, address indexed target, uint256 value, uint256 gasLimit, bytes data, bytes32 withdrawalHash)
func (*L2ToL1MessagePasserFilterer) WatchWithdrawerBalanceBurnt ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserFilterer) WatchWithdrawerBalanceBurnt(opts *bind.WatchOpts, sink chan<- *L2ToL1MessagePasserWithdrawerBalanceBurnt, amount []*big.Int) (event.Subscription, error)
WatchWithdrawerBalanceBurnt is a free log subscription operation binding the contract event 0x7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f.
Solidity: event WithdrawerBalanceBurnt(uint256 indexed amount)
type L2ToL1MessagePasserMessagePassed ¶
type L2ToL1MessagePasserMessagePassed struct { Nonce *big.Int Sender common.Address Target common.Address Value *big.Int GasLimit *big.Int Data []byte WithdrawalHash [32]byte Raw types.Log // Blockchain specific contextual infos }
L2ToL1MessagePasserMessagePassed represents a MessagePassed event raised by the L2ToL1MessagePasser contract.
type L2ToL1MessagePasserMessagePassedIterator ¶
type L2ToL1MessagePasserMessagePassedIterator struct { Event *L2ToL1MessagePasserMessagePassed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2ToL1MessagePasserMessagePassedIterator is returned from FilterMessagePassed and is used to iterate over the raw logs and unpacked data for MessagePassed events raised by the L2ToL1MessagePasser contract.
func (*L2ToL1MessagePasserMessagePassedIterator) Close ¶
func (it *L2ToL1MessagePasserMessagePassedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2ToL1MessagePasserMessagePassedIterator) Error ¶
func (it *L2ToL1MessagePasserMessagePassedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2ToL1MessagePasserMessagePassedIterator) Next ¶
func (it *L2ToL1MessagePasserMessagePassedIterator) 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 L2ToL1MessagePasserRaw ¶
type L2ToL1MessagePasserRaw struct {
Contract *L2ToL1MessagePasser // Generic contract binding to access the raw methods on
}
L2ToL1MessagePasserRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*L2ToL1MessagePasserRaw) Call ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) 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 (*L2ToL1MessagePasserRaw) Transact ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2ToL1MessagePasserRaw) Transfer ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserRaw) 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 L2ToL1MessagePasserSession ¶
type L2ToL1MessagePasserSession struct { Contract *L2ToL1MessagePasser // 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 }
L2ToL1MessagePasserSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*L2ToL1MessagePasserSession) Burn ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Burn() (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x44df8e70.
Solidity: function burn() returns()
func (*L2ToL1MessagePasserSession) InitiateWithdrawal ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) InitiateWithdrawal(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)
InitiateWithdrawal is a paid mutator transaction binding the contract method 0xc2b3e5ac.
Solidity: function initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) payable returns()
func (*L2ToL1MessagePasserSession) MESSAGEVERSION ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) MESSAGEVERSION() (uint16, error)
MESSAGEVERSION is a free data retrieval call binding the contract method 0x3f827a5a.
Solidity: function MESSAGE_VERSION() view returns(uint16)
func (*L2ToL1MessagePasserSession) MessageNonce ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) MessageNonce() (*big.Int, error)
MessageNonce is a free data retrieval call binding the contract method 0xecc70428.
Solidity: function messageNonce() view returns(uint256)
func (*L2ToL1MessagePasserSession) Receive ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*L2ToL1MessagePasserSession) SentMessages ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) SentMessages(arg0 [32]byte) (bool, error)
SentMessages is a free data retrieval call binding the contract method 0x82e3702d.
Solidity: function sentMessages(bytes32 ) view returns(bool)
func (*L2ToL1MessagePasserSession) Version ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L2ToL1MessagePasserTransactor ¶
type L2ToL1MessagePasserTransactor struct {
// contains filtered or unexported fields
}
L2ToL1MessagePasserTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewL2ToL1MessagePasserTransactor ¶
func NewL2ToL1MessagePasserTransactor(address common.Address, transactor bind.ContractTransactor) (*L2ToL1MessagePasserTransactor, error)
NewL2ToL1MessagePasserTransactor creates a new write-only instance of L2ToL1MessagePasser, bound to a specific deployed contract.
func (*L2ToL1MessagePasserTransactor) Burn ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) Burn(opts *bind.TransactOpts) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x44df8e70.
Solidity: function burn() returns()
func (*L2ToL1MessagePasserTransactor) InitiateWithdrawal ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) InitiateWithdrawal(opts *bind.TransactOpts, _target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)
InitiateWithdrawal is a paid mutator transaction binding the contract method 0xc2b3e5ac.
Solidity: function initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) payable returns()
func (*L2ToL1MessagePasserTransactor) Receive ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type L2ToL1MessagePasserTransactorRaw ¶
type L2ToL1MessagePasserTransactorRaw struct {
Contract *L2ToL1MessagePasserTransactor // Generic write-only contract binding to access the raw methods on
}
L2ToL1MessagePasserTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*L2ToL1MessagePasserTransactorRaw) Transact ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2ToL1MessagePasserTransactorRaw) Transfer ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorRaw) 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 L2ToL1MessagePasserTransactorSession ¶
type L2ToL1MessagePasserTransactorSession struct { Contract *L2ToL1MessagePasserTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
L2ToL1MessagePasserTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*L2ToL1MessagePasserTransactorSession) Burn ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) Burn() (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x44df8e70.
Solidity: function burn() returns()
func (*L2ToL1MessagePasserTransactorSession) InitiateWithdrawal ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) InitiateWithdrawal(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)
InitiateWithdrawal is a paid mutator transaction binding the contract method 0xc2b3e5ac.
Solidity: function initiateWithdrawal(address _target, uint256 _gasLimit, bytes _data) payable returns()
func (*L2ToL1MessagePasserTransactorSession) Receive ¶
func (_L2ToL1MessagePasser *L2ToL1MessagePasserTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type L2ToL1MessagePasserWithdrawerBalanceBurnt ¶
type L2ToL1MessagePasserWithdrawerBalanceBurnt struct { Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
L2ToL1MessagePasserWithdrawerBalanceBurnt represents a WithdrawerBalanceBurnt event raised by the L2ToL1MessagePasser contract.
type L2ToL1MessagePasserWithdrawerBalanceBurntIterator ¶
type L2ToL1MessagePasserWithdrawerBalanceBurntIterator struct { Event *L2ToL1MessagePasserWithdrawerBalanceBurnt // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2ToL1MessagePasserWithdrawerBalanceBurntIterator is returned from FilterWithdrawerBalanceBurnt and is used to iterate over the raw logs and unpacked data for WithdrawerBalanceBurnt events raised by the L2ToL1MessagePasser contract.
func (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Close ¶
func (it *L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Error ¶
func (it *L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Next ¶
func (it *L2ToL1MessagePasserWithdrawerBalanceBurntIterator) 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.