bindings

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var L2ApplicationStateRootProviderABI = L2ApplicationStateRootProviderMetaData.ABI

L2ApplicationStateRootProviderABI is the input ABI used to generate the binding from. Deprecated: Use L2ApplicationStateRootProviderMetaData.ABI instead.

View Source
var L2ApplicationStateRootProviderBin = L2ApplicationStateRootProviderMetaData.Bin

L2ApplicationStateRootProviderBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L2ApplicationStateRootProviderMetaData.Bin instead.

View Source
var L2ApplicationStateRootProviderMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"l2ApplicationStateRoot\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setL2ApplicationStateRoot\",\"inputs\":[{\"name\":\"_l2ApplicationStateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"}]",
	Bin: "0x6080604052348015600f57600080fd5b506004361060325760003560e01c80633135b57e14603757806389b72f86146051575b600080fd5b603f60005481565b60405190815260200160405180910390f35b6061605c3660046063565b600055565b005b600060208284031215607457600080fd5b503591905056fea2646970667358221220ad7a0d8822eb5c7d04d0b504b0a613de58eb9e45b01233a46391fb9dca57618e64736f6c63430008190033",
}

L2ApplicationStateRootProviderMetaData contains all meta data concerning the L2ApplicationStateRootProvider contract.

View Source
var L2ToL1MessagePasserABI = L2ToL1MessagePasserMetaData.ABI

L2ToL1MessagePasserABI is the input ABI used to generate the binding from. Deprecated: Use L2ToL1MessagePasserMetaData.ABI instead.

View Source
var L2ToL1MessagePasserBin = L2ToL1MessagePasserMetaData.Bin

L2ToL1MessagePasserBin is the compiled bytecode used for deploying new contracts. Deprecated: Use L2ToL1MessagePasserMetaData.Bin instead.

View Source
var L2ToL1MessagePasserMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"MESSAGE_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"burn\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initiateWithdrawal\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_gasLimit\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"messageNonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"sentMessages\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"MessagePassed\",\"inputs\":[{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"target\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"gasLimit\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"},{\"name\":\"withdrawalHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawerBalanceBurnt\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
	Bin: "0x6080604052600436106100595760003560e01c80633f827a5a1461008257806344df8e70146100af57806354fd4d50146100c457806382e3702d14610102578063c2b3e5ac14610142578063ecc704281461015557600080fd5b3661007d5761007b33620186a060405180602001604052806000815250610178565b005b600080fd5b34801561008e57600080fd5b50610097600181565b60405161ffff90911681526020015b60405180910390f35b3480156100bb57600080fd5b5061007b610251565b3480156100d057600080fd5b506100f5604051806040016040528060058152602001640312e312e360dc1b81525081565b6040516100a69190610373565b34801561010e57600080fd5b5061013261011d36600461038d565b60006020819052908152604090205460ff1681565b60405190151581526020016100a6565b61007b6101503660046103bc565b610178565b34801561016157600080fd5b5061016a610289565b6040519081526020016100a6565b60006101bf6040518060c00160405280610190610289565b81523360208201526001600160a01b03871660408201523460608201526080810186905260a00184905261029e565b6000818152602081905260409020805460ff1916600117905590506001600160a01b038416336101ed610289565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516102229493929190610495565b60405180910390a45050600180546001600160f01b038082168301166001600160f01b03199091161790555050565b4761025b816102eb565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b6001546001600160f01b0316600160f01b1790565b80516020808301516040808501516060860151608087015160a088015193516000976102ce9790969591016104c5565b604051602081830303815290604052805190602001209050919050565b806040516102f89061031a565b6040518091039082f0905080158015610315573d6000803e3d6000fd5b505050565b60088061051283390190565b6000815180845260005b8181101561034c57602081850181015186830182015201610330565b8181111561035e576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006103866020830184610326565b9392505050565b60006020828403121561039f57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156103d157600080fd5b83356001600160a01b03811681146103e857600080fd5b925060208401359150604084013567ffffffffffffffff8082111561040c57600080fd5b818601915086601f83011261042057600080fd5b813581811115610432576104326103a6565b604051601f8201601f19908116603f0116810190838211818310171561045a5761045a6103a6565b8160405282815289602084870101111561047357600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006104b46080830185610326565b905082606083015295945050505050565b8681526001600160a01b03868116602083015285166040820152606081018490526080810183905260c060a0820181905260009061050590830184610326565b9897505050505050505056fe608060405230fffea2646970667358221220cf1baa214d2b27dc6a0e0a3a40b24ef79eb2c828e836bc6171dfd73ab577d74d64736f6c634300080f0033",
}

L2ToL1MessagePasserMetaData contains all meta data concerning the L2ToL1MessagePasser contract.

Functions

This section is empty.

Types

type L2ApplicationStateRootProvider

type L2ApplicationStateRootProvider struct {
	L2ApplicationStateRootProviderCaller     // Read-only binding to the contract
	L2ApplicationStateRootProviderTransactor // Write-only binding to the contract
	L2ApplicationStateRootProviderFilterer   // Log filterer for contract events
}

L2ApplicationStateRootProvider is an auto generated Go binding around an Ethereum contract.

func DeployL2ApplicationStateRootProvider

func DeployL2ApplicationStateRootProvider(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L2ApplicationStateRootProvider, error)

DeployL2ApplicationStateRootProvider deploys a new Ethereum contract, binding an instance of L2ApplicationStateRootProvider to it.

func NewL2ApplicationStateRootProvider

func NewL2ApplicationStateRootProvider(address common.Address, backend bind.ContractBackend) (*L2ApplicationStateRootProvider, error)

NewL2ApplicationStateRootProvider creates a new instance of L2ApplicationStateRootProvider, bound to a specific deployed contract.

type L2ApplicationStateRootProviderCaller

type L2ApplicationStateRootProviderCaller struct {
	// contains filtered or unexported fields
}

L2ApplicationStateRootProviderCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewL2ApplicationStateRootProviderCaller

func NewL2ApplicationStateRootProviderCaller(address common.Address, caller bind.ContractCaller) (*L2ApplicationStateRootProviderCaller, error)

NewL2ApplicationStateRootProviderCaller creates a new read-only instance of L2ApplicationStateRootProvider, bound to a specific deployed contract.

func (*L2ApplicationStateRootProviderCaller) L2ApplicationStateRoot

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderCaller) L2ApplicationStateRoot(opts *bind.CallOpts) ([32]byte, error)

L2ApplicationStateRoot is a free data retrieval call binding the contract method 0x3135b57e.

Solidity: function l2ApplicationStateRoot() view returns(bytes32)

type L2ApplicationStateRootProviderCallerRaw

type L2ApplicationStateRootProviderCallerRaw struct {
	Contract *L2ApplicationStateRootProviderCaller // Generic read-only contract binding to access the raw methods on
}

L2ApplicationStateRootProviderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*L2ApplicationStateRootProviderCallerRaw) Call

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderCallerRaw) 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 L2ApplicationStateRootProviderCallerSession

type L2ApplicationStateRootProviderCallerSession struct {
	Contract *L2ApplicationStateRootProviderCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                         // Call options to use throughout this session
}

L2ApplicationStateRootProviderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*L2ApplicationStateRootProviderCallerSession) L2ApplicationStateRoot

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderCallerSession) L2ApplicationStateRoot() ([32]byte, error)

L2ApplicationStateRoot is a free data retrieval call binding the contract method 0x3135b57e.

Solidity: function l2ApplicationStateRoot() view returns(bytes32)

type L2ApplicationStateRootProviderFilterer

type L2ApplicationStateRootProviderFilterer struct {
	// contains filtered or unexported fields
}

L2ApplicationStateRootProviderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewL2ApplicationStateRootProviderFilterer

func NewL2ApplicationStateRootProviderFilterer(address common.Address, filterer bind.ContractFilterer) (*L2ApplicationStateRootProviderFilterer, error)

NewL2ApplicationStateRootProviderFilterer creates a new log filterer instance of L2ApplicationStateRootProvider, bound to a specific deployed contract.

type L2ApplicationStateRootProviderRaw

type L2ApplicationStateRootProviderRaw struct {
	Contract *L2ApplicationStateRootProvider // Generic contract binding to access the raw methods on
}

L2ApplicationStateRootProviderRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*L2ApplicationStateRootProviderRaw) Call

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderRaw) 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 (*L2ApplicationStateRootProviderRaw) Transact

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2ApplicationStateRootProviderRaw) Transfer

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderRaw) 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 L2ApplicationStateRootProviderSession

type L2ApplicationStateRootProviderSession struct {
	Contract     *L2ApplicationStateRootProvider // 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
}

L2ApplicationStateRootProviderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*L2ApplicationStateRootProviderSession) L2ApplicationStateRoot

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderSession) L2ApplicationStateRoot() ([32]byte, error)

L2ApplicationStateRoot is a free data retrieval call binding the contract method 0x3135b57e.

Solidity: function l2ApplicationStateRoot() view returns(bytes32)

func (*L2ApplicationStateRootProviderSession) SetL2ApplicationStateRoot

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderSession) SetL2ApplicationStateRoot(_l2ApplicationStateRoot [32]byte) (*types.Transaction, error)

SetL2ApplicationStateRoot is a paid mutator transaction binding the contract method 0x89b72f86.

Solidity: function setL2ApplicationStateRoot(bytes32 _l2ApplicationStateRoot) returns()

type L2ApplicationStateRootProviderTransactor

type L2ApplicationStateRootProviderTransactor struct {
	// contains filtered or unexported fields
}

L2ApplicationStateRootProviderTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewL2ApplicationStateRootProviderTransactor

func NewL2ApplicationStateRootProviderTransactor(address common.Address, transactor bind.ContractTransactor) (*L2ApplicationStateRootProviderTransactor, error)

NewL2ApplicationStateRootProviderTransactor creates a new write-only instance of L2ApplicationStateRootProvider, bound to a specific deployed contract.

func (*L2ApplicationStateRootProviderTransactor) SetL2ApplicationStateRoot

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderTransactor) SetL2ApplicationStateRoot(opts *bind.TransactOpts, _l2ApplicationStateRoot [32]byte) (*types.Transaction, error)

SetL2ApplicationStateRoot is a paid mutator transaction binding the contract method 0x89b72f86.

Solidity: function setL2ApplicationStateRoot(bytes32 _l2ApplicationStateRoot) returns()

type L2ApplicationStateRootProviderTransactorRaw

type L2ApplicationStateRootProviderTransactorRaw struct {
	Contract *L2ApplicationStateRootProviderTransactor // Generic write-only contract binding to access the raw methods on
}

L2ApplicationStateRootProviderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*L2ApplicationStateRootProviderTransactorRaw) Transact

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*L2ApplicationStateRootProviderTransactorRaw) Transfer

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderTransactorRaw) 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 L2ApplicationStateRootProviderTransactorSession

type L2ApplicationStateRootProviderTransactorSession struct {
	Contract     *L2ApplicationStateRootProviderTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                         // Transaction auth options to use throughout this session
}

L2ApplicationStateRootProviderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*L2ApplicationStateRootProviderTransactorSession) SetL2ApplicationStateRoot

func (_L2ApplicationStateRootProvider *L2ApplicationStateRootProviderTransactorSession) SetL2ApplicationStateRoot(_l2ApplicationStateRoot [32]byte) (*types.Transaction, error)

SetL2ApplicationStateRoot is a paid mutator transaction binding the contract method 0x89b72f86.

Solidity: function setL2ApplicationStateRoot(bytes32 _l2ApplicationStateRoot) returns()

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 DeployL2ToL1MessagePasser

func DeployL2ToL1MessagePasser(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *L2ToL1MessagePasser, error)

DeployL2ToL1MessagePasser deploys a new Ethereum contract, binding an instance of L2ToL1MessagePasser to it.

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)

func (*L2ToL1MessagePasserCaller) Version

func (_L2ToL1MessagePasser *L2ToL1MessagePasserCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2ToL1MessagePasserMessagePassedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2ToL1MessagePasserMessagePassedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*L2ToL1MessagePasserWithdrawerBalanceBurntIterator) Next

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL