Documentation
¶
Index ¶
- Variables
- type Eventlogger
- type EventloggerCaller
- type EventloggerFilterer
- type EventloggerTransactor
- type Identifier
- type L2ToL2CrossDomainMessenger
- type L2ToL2CrossDomainMessengerCaller
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) CrossDomainMessageContext(opts *bind.CallOpts) (struct{ ... }, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) CrossDomainMessageSender(opts *bind.CallOpts) (common.Address, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) CrossDomainMessageSource(opts *bind.CallOpts) (*big.Int, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) MessageNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) MessageVersion(opts *bind.CallOpts) (uint16, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) SuccessfulMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) Version(opts *bind.CallOpts) (string, error)
- type L2ToL2CrossDomainMessengerCallerRaw
- type L2ToL2CrossDomainMessengerCallerSession
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageContext() (struct{ ... }, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageSender() (common.Address, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageSource() (*big.Int, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) MessageNonce() (*big.Int, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) MessageVersion() (uint16, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) Version() (string, error)
- type L2ToL2CrossDomainMessengerFilterer
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) FilterRelayedMessage(opts *bind.FilterOpts, source []*big.Int, messageNonce []*big.Int, ...) (*L2ToL2CrossDomainMessengerRelayedMessageIterator, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) FilterSentMessage(opts *bind.FilterOpts, destination []*big.Int, target []common.Address, ...) (*L2ToL2CrossDomainMessengerSentMessageIterator, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) ParseRelayedMessage(log types.Log) (*L2ToL2CrossDomainMessengerRelayedMessage, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) ParseSentMessage(log types.Log) (*L2ToL2CrossDomainMessengerSentMessage, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) WatchRelayedMessage(opts *bind.WatchOpts, sink chan<- *L2ToL2CrossDomainMessengerRelayedMessage, ...) (event.Subscription, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) WatchSentMessage(opts *bind.WatchOpts, sink chan<- *L2ToL2CrossDomainMessengerSentMessage, ...) (event.Subscription, error)
- type L2ToL2CrossDomainMessengerRaw
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type L2ToL2CrossDomainMessengerRelayedMessage
- type L2ToL2CrossDomainMessengerRelayedMessageIterator
- type L2ToL2CrossDomainMessengerSentMessage
- type L2ToL2CrossDomainMessengerSentMessageIterator
- type L2ToL2CrossDomainMessengerSession
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) CrossDomainMessageContext() (struct{ ... }, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) CrossDomainMessageSender() (common.Address, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) CrossDomainMessageSource() (*big.Int, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) MessageNonce() (*big.Int, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) MessageVersion() (uint16, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) RelayMessage(_id Identifier, _sentMessage []byte) (*types.Transaction, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) SendMessage(_destination *big.Int, _target common.Address, _message []byte) (*types.Transaction, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) Version() (string, error)
- type L2ToL2CrossDomainMessengerTransactor
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactor) RelayMessage(opts *bind.TransactOpts, _id Identifier, _sentMessage []byte) (*types.Transaction, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactor) SendMessage(opts *bind.TransactOpts, _destination *big.Int, _target common.Address, ...) (*types.Transaction, error)
- type L2ToL2CrossDomainMessengerTransactorRaw
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type L2ToL2CrossDomainMessengerTransactorSession
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactorSession) RelayMessage(_id Identifier, _sentMessage []byte) (*types.Transaction, error)
- func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactorSession) SendMessage(_destination *big.Int, _target common.Address, _message []byte) (*types.Transaction, error)
- type SuperchainWETH
- type SuperchainWETHApproval
- type SuperchainWETHApprovalIterator
- type SuperchainWETHCaller
- func (_SuperchainWETH *SuperchainWETHCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHCaller) BalanceOf(opts *bind.CallOpts, src common.Address) (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_SuperchainWETH *SuperchainWETHCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SuperchainWETH *SuperchainWETHCaller) SupportsInterface(opts *bind.CallOpts, _interfaceId [4]byte) (bool, error)
- func (_SuperchainWETH *SuperchainWETHCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SuperchainWETH *SuperchainWETHCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHCaller) Version(opts *bind.CallOpts) (string, error)
- type SuperchainWETHCallerRaw
- type SuperchainWETHCallerSession
- func (_SuperchainWETH *SuperchainWETHCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHCallerSession) BalanceOf(src common.Address) (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHCallerSession) Decimals() (uint8, error)
- func (_SuperchainWETH *SuperchainWETHCallerSession) Name() (string, error)
- func (_SuperchainWETH *SuperchainWETHCallerSession) SupportsInterface(_interfaceId [4]byte) (bool, error)
- func (_SuperchainWETH *SuperchainWETHCallerSession) Symbol() (string, error)
- func (_SuperchainWETH *SuperchainWETHCallerSession) TotalSupply() (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHCallerSession) Version() (string, error)
- type SuperchainWETHCrosschainBurn
- type SuperchainWETHCrosschainBurnIterator
- type SuperchainWETHCrosschainMint
- type SuperchainWETHCrosschainMintIterator
- type SuperchainWETHDeposit
- type SuperchainWETHDepositIterator
- type SuperchainWETHFilterer
- func (_SuperchainWETH *SuperchainWETHFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*SuperchainWETHApprovalIterator, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) FilterCrosschainBurn(opts *bind.FilterOpts, from []common.Address, sender []common.Address) (*SuperchainWETHCrosschainBurnIterator, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) FilterCrosschainMint(opts *bind.FilterOpts, to []common.Address, sender []common.Address) (*SuperchainWETHCrosschainMintIterator, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*SuperchainWETHDepositIterator, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) FilterRelayETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SuperchainWETHRelayETHIterator, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) FilterSendETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SuperchainWETHSendETHIterator, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*SuperchainWETHTransferIterator, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*SuperchainWETHWithdrawalIterator, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) ParseApproval(log types.Log) (*SuperchainWETHApproval, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) ParseCrosschainBurn(log types.Log) (*SuperchainWETHCrosschainBurn, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) ParseCrosschainMint(log types.Log) (*SuperchainWETHCrosschainMint, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) ParseDeposit(log types.Log) (*SuperchainWETHDeposit, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) ParseRelayETH(log types.Log) (*SuperchainWETHRelayETH, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) ParseSendETH(log types.Log) (*SuperchainWETHSendETH, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) ParseTransfer(log types.Log) (*SuperchainWETHTransfer, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) ParseWithdrawal(log types.Log) (*SuperchainWETHWithdrawal, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SuperchainWETHApproval, ...) (event.Subscription, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) WatchCrosschainBurn(opts *bind.WatchOpts, sink chan<- *SuperchainWETHCrosschainBurn, ...) (event.Subscription, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) WatchCrosschainMint(opts *bind.WatchOpts, sink chan<- *SuperchainWETHCrosschainMint, ...) (event.Subscription, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SuperchainWETHDeposit, dst []common.Address) (event.Subscription, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) WatchRelayETH(opts *bind.WatchOpts, sink chan<- *SuperchainWETHRelayETH, ...) (event.Subscription, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) WatchSendETH(opts *bind.WatchOpts, sink chan<- *SuperchainWETHSendETH, ...) (event.Subscription, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SuperchainWETHTransfer, ...) (event.Subscription, error)
- func (_SuperchainWETH *SuperchainWETHFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *SuperchainWETHWithdrawal, ...) (event.Subscription, error)
- type SuperchainWETHRaw
- func (_SuperchainWETH *SuperchainWETHRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SuperchainWETH *SuperchainWETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SuperchainWETHRelayETH
- type SuperchainWETHRelayETHIterator
- type SuperchainWETHSendETH
- type SuperchainWETHSendETHIterator
- type SuperchainWETHSession
- func (_SuperchainWETH *SuperchainWETHSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) BalanceOf(src common.Address) (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHSession) CrosschainBurn(_from common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) CrosschainMint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) Decimals() (uint8, error)
- func (_SuperchainWETH *SuperchainWETHSession) Deposit() (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) Name() (string, error)
- func (_SuperchainWETH *SuperchainWETHSession) Receive() (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) RelayETH(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) SendETH(_to common.Address, _chainId *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) SupportsInterface(_interfaceId [4]byte) (bool, error)
- func (_SuperchainWETH *SuperchainWETHSession) Symbol() (string, error)
- func (_SuperchainWETH *SuperchainWETHSession) TotalSupply() (*big.Int, error)
- func (_SuperchainWETH *SuperchainWETHSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHSession) Version() (string, error)
- func (_SuperchainWETH *SuperchainWETHSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- type SuperchainWETHTransactor
- func (_SuperchainWETH *SuperchainWETHTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) CrosschainBurn(opts *bind.TransactOpts, _from common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) CrosschainMint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) RelayETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) SendETH(opts *bind.TransactOpts, _to common.Address, _chainId *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- type SuperchainWETHTransactorRaw
- type SuperchainWETHTransactorSession
- func (_SuperchainWETH *SuperchainWETHTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) CrosschainBurn(_from common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) CrosschainMint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) Deposit() (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) Receive() (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) RelayETH(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) SendETH(_to common.Address, _chainId *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_SuperchainWETH *SuperchainWETHTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- type SuperchainWETHTransfer
- type SuperchainWETHTransferIterator
- type SuperchainWETHWithdrawal
- type SuperchainWETHWithdrawalIterator
Constants ¶
This section is empty.
Variables ¶
var EventloggerABI = EventloggerMetaData.ABI
EventloggerABI is the input ABI used to generate the binding from. Deprecated: Use EventloggerMetaData.ABI instead.
var EventloggerBin = EventloggerMetaData.Bin
EventloggerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use EventloggerMetaData.Bin instead.
var EventloggerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_topics\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"emitLog\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"origin\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"logIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"structIdentifier\",\"name\":\"_id\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"_msgHash\",\"type\":\"bytes32\"}],\"name\":\"validateMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x6080604052348015600e575f80fd5b506102ac8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c8063ab4d6f7514610038578063edebc13b1461004d575b5f80fd5b61004b61004636600461013e565b610060565b005b61004b61005b36600461016c565b6100bd565b60405163ab4d6f7560e01b81526022602160991b019063ab4d6f759061008c9085908590600401610226565b5f604051808303815f87803b1580156100a3575f80fd5b505af11580156100b5573d5f803e3d5ffd5b505050505050565b80604051818482378486356020880135604089013560608a0135848015610102576001811461010a5760028114610113576003811461011d5760048114610128575f80fd5b8787a0610130565b848888a1610130565b83858989a2610130565b8284868a8aa3610130565b818385878b8ba45b505050505050505050505050565b5f8082840360c0811215610150575f80fd5b60a081121561015d575f80fd5b50919360a08501359350915050565b5f805f806040858703121561017f575f80fd5b843567ffffffffffffffff80821115610196575f80fd5b818701915087601f8301126101a9575f80fd5b8135818111156101b7575f80fd5b8860208260051b85010111156101cb575f80fd5b6020928301965094509086013590808211156101e5575f80fd5b818701915087601f8301126101f8575f80fd5b813581811115610206575f80fd5b886020828501011115610217575f80fd5b95989497505060200194505050565b60c0810183356001600160a01b038116808214610241575f80fd5b8352506020848101359083015260408085013590830152606080850135908301526080938401359382019390935260a001529056fea26469706673582212206da9bc84d514e1a78e2b4160f99f93aa58672040ece82f45ac2a878aeefdfbe164736f6c63430008190033",
}
EventloggerMetaData contains all meta data concerning the Eventlogger contract.
var L2ToL2CrossDomainMessengerABI = L2ToL2CrossDomainMessengerMetaData.ABI
L2ToL2CrossDomainMessengerABI is the input ABI used to generate the binding from. Deprecated: Use L2ToL2CrossDomainMessengerMetaData.ABI instead.
var L2ToL2CrossDomainMessengerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"crossDomainMessageContext\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"sender_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"source_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"crossDomainMessageSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"sender_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"crossDomainMessageSource\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"source_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messageNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messageVersion\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"origin\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"logIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"internalType\":\"structIdentifier\",\"name\":\"_id\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"_sentMessage\",\"type\":\"bytes\"}],\"name\":\"relayMessage\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"returnData_\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_destination\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"sendMessage\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"successfulMessages\",\"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\":\"source\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"messageNonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"messageHash\",\"type\":\"bytes32\"}],\"name\":\"RelayedMessage\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"destination\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"messageNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"SentMessage\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"EventPayloadNotSentMessage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IdOriginNotL2ToL2CrossDomainMessenger\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidChainId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MessageAlreadyRelayed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MessageDestinationNotRelayChain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MessageDestinationSameChain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MessageTargetCrossL2Inbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MessageTargetL2ToL2CrossDomainMessenger\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEntered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrantCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TargetCallFailed\",\"type\":\"error\"}]",
}
L2ToL2CrossDomainMessengerMetaData contains all meta data concerning the L2ToL2CrossDomainMessenger contract.
var SuperchainWETHABI = SuperchainWETHMetaData.ABI
SuperchainWETHABI is the input ABI used to generate the binding from. Deprecated: Use SuperchainWETHMetaData.ABI instead.
var SuperchainWETHMetaData = &bind.MetaData{
ABI: "[{\"type\":\"fallback\",\"stateMutability\":\"payable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"guy\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"src\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"crosschainBurn\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"crosschainMint\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"deposit\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"relayETH\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"sendETH\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"msgHash_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"_interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"dst\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"src\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"dst\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"src\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"guy\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"CrosschainBurn\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"CrosschainMint\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Deposit\",\"inputs\":[{\"name\":\"dst\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RelayETH\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"source\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SendETH\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"destination\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"src\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"dst\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Withdrawal\",\"inputs\":[{\"name\":\"src\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"wad\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"InvalidCrossDomainSender\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotCustomGasToken\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"Unauthorized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZeroAddress\",\"inputs\":[]}]",
}
SuperchainWETHMetaData contains all meta data concerning the SuperchainWETH contract.
Functions ¶
This section is empty.
Types ¶
type Eventlogger ¶ added in v1.13.0
type Eventlogger struct { EventloggerCaller // Read-only binding to the contract EventloggerTransactor // Write-only binding to the contract EventloggerFilterer // Log filterer for contract events }
Eventlogger is an auto generated Go binding around an Ethereum contract.
func DeployEventlogger ¶ added in v1.13.0
func DeployEventlogger(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Eventlogger, error)
DeployEventlogger deploys a new Ethereum contract, binding an instance of Eventlogger to it.
type EventloggerCaller ¶ added in v1.13.0
type EventloggerCaller struct {
// contains filtered or unexported fields
}
EventloggerCaller is an auto generated read-only Go binding around an Ethereum contract.
type EventloggerFilterer ¶ added in v1.13.0
type EventloggerFilterer struct {
// contains filtered or unexported fields
}
EventloggerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type EventloggerTransactor ¶ added in v1.13.0
type EventloggerTransactor struct {
// contains filtered or unexported fields
}
EventloggerTransactor is an auto generated write-only Go binding around an Ethereum contract.
type Identifier ¶ added in v1.12.2
type Identifier struct { Origin common.Address BlockNumber *big.Int LogIndex *big.Int Timestamp *big.Int ChainId *big.Int }
Identifier is an auto generated low-level Go binding around an user-defined struct.
type L2ToL2CrossDomainMessenger ¶ added in v1.12.2
type L2ToL2CrossDomainMessenger struct { L2ToL2CrossDomainMessengerCaller // Read-only binding to the contract L2ToL2CrossDomainMessengerTransactor // Write-only binding to the contract L2ToL2CrossDomainMessengerFilterer // Log filterer for contract events }
L2ToL2CrossDomainMessenger is an auto generated Go binding around an Ethereum contract.
func NewL2ToL2CrossDomainMessenger ¶ added in v1.12.2
func NewL2ToL2CrossDomainMessenger(address common.Address, backend bind.ContractBackend) (*L2ToL2CrossDomainMessenger, error)
NewL2ToL2CrossDomainMessenger creates a new instance of L2ToL2CrossDomainMessenger, bound to a specific deployed contract.
type L2ToL2CrossDomainMessengerCaller ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerCaller struct {
// contains filtered or unexported fields
}
L2ToL2CrossDomainMessengerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewL2ToL2CrossDomainMessengerCaller ¶ added in v1.12.2
func NewL2ToL2CrossDomainMessengerCaller(address common.Address, caller bind.ContractCaller) (*L2ToL2CrossDomainMessengerCaller, error)
NewL2ToL2CrossDomainMessengerCaller creates a new read-only instance of L2ToL2CrossDomainMessenger, bound to a specific deployed contract.
func (*L2ToL2CrossDomainMessengerCaller) CrossDomainMessageContext ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) CrossDomainMessageContext(opts *bind.CallOpts) (struct { Sender common.Address Source *big.Int }, error)
CrossDomainMessageContext is a free data retrieval call binding the contract method 0x7936cbee.
Solidity: function crossDomainMessageContext() view returns(address sender_, uint256 source_)
func (*L2ToL2CrossDomainMessengerCaller) CrossDomainMessageSender ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) CrossDomainMessageSender(opts *bind.CallOpts) (common.Address, error)
CrossDomainMessageSender is a free data retrieval call binding the contract method 0x38ffde18.
Solidity: function crossDomainMessageSender() view returns(address sender_)
func (*L2ToL2CrossDomainMessengerCaller) CrossDomainMessageSource ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) CrossDomainMessageSource(opts *bind.CallOpts) (*big.Int, error)
CrossDomainMessageSource is a free data retrieval call binding the contract method 0x24794462.
Solidity: function crossDomainMessageSource() view returns(uint256 source_)
func (*L2ToL2CrossDomainMessengerCaller) MessageNonce ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) 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 (*L2ToL2CrossDomainMessengerCaller) MessageVersion ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) MessageVersion(opts *bind.CallOpts) (uint16, error)
MessageVersion is a free data retrieval call binding the contract method 0x52617f3c.
Solidity: function messageVersion() view returns(uint16)
func (*L2ToL2CrossDomainMessengerCaller) SuccessfulMessages ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) SuccessfulMessages(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.
Solidity: function successfulMessages(bytes32 ) view returns(bool)
func (*L2ToL2CrossDomainMessengerCaller) Version ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCaller) 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 L2ToL2CrossDomainMessengerCallerRaw ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerCallerRaw struct {
Contract *L2ToL2CrossDomainMessengerCaller // Generic read-only contract binding to access the raw methods on
}
L2ToL2CrossDomainMessengerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*L2ToL2CrossDomainMessengerCallerRaw) Call ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerRaw) 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 L2ToL2CrossDomainMessengerCallerSession ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerCallerSession struct { Contract *L2ToL2CrossDomainMessengerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
L2ToL2CrossDomainMessengerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageContext ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageContext() (struct { Sender common.Address Source *big.Int }, error)
CrossDomainMessageContext is a free data retrieval call binding the contract method 0x7936cbee.
Solidity: function crossDomainMessageContext() view returns(address sender_, uint256 source_)
func (*L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageSender ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageSender() (common.Address, error)
CrossDomainMessageSender is a free data retrieval call binding the contract method 0x38ffde18.
Solidity: function crossDomainMessageSender() view returns(address sender_)
func (*L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageSource ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) CrossDomainMessageSource() (*big.Int, error)
CrossDomainMessageSource is a free data retrieval call binding the contract method 0x24794462.
Solidity: function crossDomainMessageSource() view returns(uint256 source_)
func (*L2ToL2CrossDomainMessengerCallerSession) MessageNonce ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) MessageNonce() (*big.Int, error)
MessageNonce is a free data retrieval call binding the contract method 0xecc70428.
Solidity: function messageNonce() view returns(uint256)
func (*L2ToL2CrossDomainMessengerCallerSession) MessageVersion ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) MessageVersion() (uint16, error)
MessageVersion is a free data retrieval call binding the contract method 0x52617f3c.
Solidity: function messageVersion() view returns(uint16)
func (*L2ToL2CrossDomainMessengerCallerSession) SuccessfulMessages ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)
SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.
Solidity: function successfulMessages(bytes32 ) view returns(bool)
func (*L2ToL2CrossDomainMessengerCallerSession) Version ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L2ToL2CrossDomainMessengerFilterer ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerFilterer struct {
// contains filtered or unexported fields
}
L2ToL2CrossDomainMessengerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewL2ToL2CrossDomainMessengerFilterer ¶ added in v1.12.2
func NewL2ToL2CrossDomainMessengerFilterer(address common.Address, filterer bind.ContractFilterer) (*L2ToL2CrossDomainMessengerFilterer, error)
NewL2ToL2CrossDomainMessengerFilterer creates a new log filterer instance of L2ToL2CrossDomainMessenger, bound to a specific deployed contract.
func (*L2ToL2CrossDomainMessengerFilterer) FilterRelayedMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) FilterRelayedMessage(opts *bind.FilterOpts, source []*big.Int, messageNonce []*big.Int, messageHash [][32]byte) (*L2ToL2CrossDomainMessengerRelayedMessageIterator, error)
FilterRelayedMessage is a free log retrieval operation binding the contract event 0x5948076590932b9d173029c7df03fe386e755a61c86c7fe2671011a2faa2a379.
Solidity: event RelayedMessage(uint256 indexed source, uint256 indexed messageNonce, bytes32 indexed messageHash)
func (*L2ToL2CrossDomainMessengerFilterer) FilterSentMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) FilterSentMessage(opts *bind.FilterOpts, destination []*big.Int, target []common.Address, messageNonce []*big.Int) (*L2ToL2CrossDomainMessengerSentMessageIterator, error)
FilterSentMessage is a free log retrieval operation binding the contract event 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f320.
Solidity: event SentMessage(uint256 indexed destination, address indexed target, uint256 indexed messageNonce, address sender, bytes message)
func (*L2ToL2CrossDomainMessengerFilterer) ParseRelayedMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) ParseRelayedMessage(log types.Log) (*L2ToL2CrossDomainMessengerRelayedMessage, error)
ParseRelayedMessage is a log parse operation binding the contract event 0x5948076590932b9d173029c7df03fe386e755a61c86c7fe2671011a2faa2a379.
Solidity: event RelayedMessage(uint256 indexed source, uint256 indexed messageNonce, bytes32 indexed messageHash)
func (*L2ToL2CrossDomainMessengerFilterer) ParseSentMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) ParseSentMessage(log types.Log) (*L2ToL2CrossDomainMessengerSentMessage, error)
ParseSentMessage is a log parse operation binding the contract event 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f320.
Solidity: event SentMessage(uint256 indexed destination, address indexed target, uint256 indexed messageNonce, address sender, bytes message)
func (*L2ToL2CrossDomainMessengerFilterer) WatchRelayedMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) WatchRelayedMessage(opts *bind.WatchOpts, sink chan<- *L2ToL2CrossDomainMessengerRelayedMessage, source []*big.Int, messageNonce []*big.Int, messageHash [][32]byte) (event.Subscription, error)
WatchRelayedMessage is a free log subscription operation binding the contract event 0x5948076590932b9d173029c7df03fe386e755a61c86c7fe2671011a2faa2a379.
Solidity: event RelayedMessage(uint256 indexed source, uint256 indexed messageNonce, bytes32 indexed messageHash)
func (*L2ToL2CrossDomainMessengerFilterer) WatchSentMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerFilterer) WatchSentMessage(opts *bind.WatchOpts, sink chan<- *L2ToL2CrossDomainMessengerSentMessage, destination []*big.Int, target []common.Address, messageNonce []*big.Int) (event.Subscription, error)
WatchSentMessage is a free log subscription operation binding the contract event 0x382409ac69001e11931a28435afef442cbfd20d9891907e8fa373ba7d351f320.
Solidity: event SentMessage(uint256 indexed destination, address indexed target, uint256 indexed messageNonce, address sender, bytes message)
type L2ToL2CrossDomainMessengerRaw ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerRaw struct {
Contract *L2ToL2CrossDomainMessenger // Generic contract binding to access the raw methods on
}
L2ToL2CrossDomainMessengerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*L2ToL2CrossDomainMessengerRaw) Call ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerRaw) 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 (*L2ToL2CrossDomainMessengerRaw) Transact ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2ToL2CrossDomainMessengerRaw) Transfer ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerRaw) 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 L2ToL2CrossDomainMessengerRelayedMessage ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerRelayedMessage struct { Source *big.Int MessageNonce *big.Int MessageHash [32]byte Raw types.Log // Blockchain specific contextual infos }
L2ToL2CrossDomainMessengerRelayedMessage represents a RelayedMessage event raised by the L2ToL2CrossDomainMessenger contract.
type L2ToL2CrossDomainMessengerRelayedMessageIterator ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerRelayedMessageIterator struct { Event *L2ToL2CrossDomainMessengerRelayedMessage // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2ToL2CrossDomainMessengerRelayedMessageIterator is returned from FilterRelayedMessage and is used to iterate over the raw logs and unpacked data for RelayedMessage events raised by the L2ToL2CrossDomainMessenger contract.
func (*L2ToL2CrossDomainMessengerRelayedMessageIterator) Close ¶ added in v1.12.2
func (it *L2ToL2CrossDomainMessengerRelayedMessageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2ToL2CrossDomainMessengerRelayedMessageIterator) Error ¶ added in v1.12.2
func (it *L2ToL2CrossDomainMessengerRelayedMessageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2ToL2CrossDomainMessengerRelayedMessageIterator) Next ¶ added in v1.12.2
func (it *L2ToL2CrossDomainMessengerRelayedMessageIterator) 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 L2ToL2CrossDomainMessengerSentMessage ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerSentMessage struct { Destination *big.Int Target common.Address MessageNonce *big.Int Sender common.Address Message []byte Raw types.Log // Blockchain specific contextual infos }
L2ToL2CrossDomainMessengerSentMessage represents a SentMessage event raised by the L2ToL2CrossDomainMessenger contract.
type L2ToL2CrossDomainMessengerSentMessageIterator ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerSentMessageIterator struct { Event *L2ToL2CrossDomainMessengerSentMessage // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2ToL2CrossDomainMessengerSentMessageIterator is returned from FilterSentMessage and is used to iterate over the raw logs and unpacked data for SentMessage events raised by the L2ToL2CrossDomainMessenger contract.
func (*L2ToL2CrossDomainMessengerSentMessageIterator) Close ¶ added in v1.12.2
func (it *L2ToL2CrossDomainMessengerSentMessageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2ToL2CrossDomainMessengerSentMessageIterator) Error ¶ added in v1.12.2
func (it *L2ToL2CrossDomainMessengerSentMessageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2ToL2CrossDomainMessengerSentMessageIterator) Next ¶ added in v1.12.2
func (it *L2ToL2CrossDomainMessengerSentMessageIterator) 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 L2ToL2CrossDomainMessengerSession ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerSession struct { Contract *L2ToL2CrossDomainMessenger // 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 }
L2ToL2CrossDomainMessengerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*L2ToL2CrossDomainMessengerSession) CrossDomainMessageContext ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) CrossDomainMessageContext() (struct { Sender common.Address Source *big.Int }, error)
CrossDomainMessageContext is a free data retrieval call binding the contract method 0x7936cbee.
Solidity: function crossDomainMessageContext() view returns(address sender_, uint256 source_)
func (*L2ToL2CrossDomainMessengerSession) CrossDomainMessageSender ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) CrossDomainMessageSender() (common.Address, error)
CrossDomainMessageSender is a free data retrieval call binding the contract method 0x38ffde18.
Solidity: function crossDomainMessageSender() view returns(address sender_)
func (*L2ToL2CrossDomainMessengerSession) CrossDomainMessageSource ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) CrossDomainMessageSource() (*big.Int, error)
CrossDomainMessageSource is a free data retrieval call binding the contract method 0x24794462.
Solidity: function crossDomainMessageSource() view returns(uint256 source_)
func (*L2ToL2CrossDomainMessengerSession) MessageNonce ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) MessageNonce() (*big.Int, error)
MessageNonce is a free data retrieval call binding the contract method 0xecc70428.
Solidity: function messageNonce() view returns(uint256)
func (*L2ToL2CrossDomainMessengerSession) MessageVersion ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) MessageVersion() (uint16, error)
MessageVersion is a free data retrieval call binding the contract method 0x52617f3c.
Solidity: function messageVersion() view returns(uint16)
func (*L2ToL2CrossDomainMessengerSession) RelayMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) RelayMessage(_id Identifier, _sentMessage []byte) (*types.Transaction, error)
RelayMessage is a paid mutator transaction binding the contract method 0x8d1d298f.
Solidity: function relayMessage((address,uint256,uint256,uint256,uint256) _id, bytes _sentMessage) payable returns(bytes returnData_)
func (*L2ToL2CrossDomainMessengerSession) SendMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) SendMessage(_destination *big.Int, _target common.Address, _message []byte) (*types.Transaction, error)
SendMessage is a paid mutator transaction binding the contract method 0x7056f41f.
Solidity: function sendMessage(uint256 _destination, address _target, bytes _message) returns(bytes32)
func (*L2ToL2CrossDomainMessengerSession) SuccessfulMessages ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) SuccessfulMessages(arg0 [32]byte) (bool, error)
SuccessfulMessages is a free data retrieval call binding the contract method 0xb1b1b209.
Solidity: function successfulMessages(bytes32 ) view returns(bool)
func (*L2ToL2CrossDomainMessengerSession) Version ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L2ToL2CrossDomainMessengerTransactor ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerTransactor struct {
// contains filtered or unexported fields
}
L2ToL2CrossDomainMessengerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewL2ToL2CrossDomainMessengerTransactor ¶ added in v1.12.2
func NewL2ToL2CrossDomainMessengerTransactor(address common.Address, transactor bind.ContractTransactor) (*L2ToL2CrossDomainMessengerTransactor, error)
NewL2ToL2CrossDomainMessengerTransactor creates a new write-only instance of L2ToL2CrossDomainMessenger, bound to a specific deployed contract.
func (*L2ToL2CrossDomainMessengerTransactor) RelayMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactor) RelayMessage(opts *bind.TransactOpts, _id Identifier, _sentMessage []byte) (*types.Transaction, error)
RelayMessage is a paid mutator transaction binding the contract method 0x8d1d298f.
Solidity: function relayMessage((address,uint256,uint256,uint256,uint256) _id, bytes _sentMessage) payable returns(bytes returnData_)
func (*L2ToL2CrossDomainMessengerTransactor) SendMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactor) SendMessage(opts *bind.TransactOpts, _destination *big.Int, _target common.Address, _message []byte) (*types.Transaction, error)
SendMessage is a paid mutator transaction binding the contract method 0x7056f41f.
Solidity: function sendMessage(uint256 _destination, address _target, bytes _message) returns(bytes32)
type L2ToL2CrossDomainMessengerTransactorRaw ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerTransactorRaw struct {
Contract *L2ToL2CrossDomainMessengerTransactor // Generic write-only contract binding to access the raw methods on
}
L2ToL2CrossDomainMessengerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*L2ToL2CrossDomainMessengerTransactorRaw) Transact ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2ToL2CrossDomainMessengerTransactorRaw) Transfer ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactorRaw) 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 L2ToL2CrossDomainMessengerTransactorSession ¶ added in v1.12.2
type L2ToL2CrossDomainMessengerTransactorSession struct { Contract *L2ToL2CrossDomainMessengerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
L2ToL2CrossDomainMessengerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*L2ToL2CrossDomainMessengerTransactorSession) RelayMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactorSession) RelayMessage(_id Identifier, _sentMessage []byte) (*types.Transaction, error)
RelayMessage is a paid mutator transaction binding the contract method 0x8d1d298f.
Solidity: function relayMessage((address,uint256,uint256,uint256,uint256) _id, bytes _sentMessage) payable returns(bytes returnData_)
func (*L2ToL2CrossDomainMessengerTransactorSession) SendMessage ¶ added in v1.12.2
func (_L2ToL2CrossDomainMessenger *L2ToL2CrossDomainMessengerTransactorSession) SendMessage(_destination *big.Int, _target common.Address, _message []byte) (*types.Transaction, error)
SendMessage is a paid mutator transaction binding the contract method 0x7056f41f.
Solidity: function sendMessage(uint256 _destination, address _target, bytes _message) returns(bytes32)
type SuperchainWETH ¶
type SuperchainWETH struct { SuperchainWETHCaller // Read-only binding to the contract SuperchainWETHTransactor // Write-only binding to the contract SuperchainWETHFilterer // Log filterer for contract events }
SuperchainWETH is an auto generated Go binding around an Ethereum contract.
func NewSuperchainWETH ¶
func NewSuperchainWETH(address common.Address, backend bind.ContractBackend) (*SuperchainWETH, error)
NewSuperchainWETH creates a new instance of SuperchainWETH, bound to a specific deployed contract.
type SuperchainWETHApproval ¶
type SuperchainWETHApproval struct { Src common.Address Guy common.Address Wad *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperchainWETHApproval represents a Approval event raised by the SuperchainWETH contract.
type SuperchainWETHApprovalIterator ¶
type SuperchainWETHApprovalIterator struct { Event *SuperchainWETHApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperchainWETHApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SuperchainWETH contract.
func (*SuperchainWETHApprovalIterator) Close ¶
func (it *SuperchainWETHApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperchainWETHApprovalIterator) Error ¶
func (it *SuperchainWETHApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperchainWETHApprovalIterator) Next ¶
func (it *SuperchainWETHApprovalIterator) 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 SuperchainWETHCaller ¶
type SuperchainWETHCaller struct {
// contains filtered or unexported fields
}
SuperchainWETHCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSuperchainWETHCaller ¶
func NewSuperchainWETHCaller(address common.Address, caller bind.ContractCaller) (*SuperchainWETHCaller, error)
NewSuperchainWETHCaller creates a new read-only instance of SuperchainWETH, bound to a specific deployed contract.
func (*SuperchainWETHCaller) Allowance ¶
func (_SuperchainWETH *SuperchainWETHCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*SuperchainWETHCaller) BalanceOf ¶
func (_SuperchainWETH *SuperchainWETHCaller) BalanceOf(opts *bind.CallOpts, src common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address src) view returns(uint256)
func (*SuperchainWETHCaller) Decimals ¶
func (_SuperchainWETH *SuperchainWETHCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SuperchainWETHCaller) Name ¶
func (_SuperchainWETH *SuperchainWETHCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SuperchainWETHCaller) SupportsInterface ¶
func (_SuperchainWETH *SuperchainWETHCaller) SupportsInterface(opts *bind.CallOpts, _interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 _interfaceId) view returns(bool)
func (*SuperchainWETHCaller) Symbol ¶
func (_SuperchainWETH *SuperchainWETHCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SuperchainWETHCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type SuperchainWETHCallerRaw ¶
type SuperchainWETHCallerRaw struct {
Contract *SuperchainWETHCaller // Generic read-only contract binding to access the raw methods on
}
SuperchainWETHCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SuperchainWETHCallerRaw) Call ¶
func (_SuperchainWETH *SuperchainWETHCallerRaw) 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 SuperchainWETHCallerSession ¶
type SuperchainWETHCallerSession struct { Contract *SuperchainWETHCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SuperchainWETHCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SuperchainWETHCallerSession) Allowance ¶
func (_SuperchainWETH *SuperchainWETHCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*SuperchainWETHCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address src) view returns(uint256)
func (*SuperchainWETHCallerSession) Decimals ¶
func (_SuperchainWETH *SuperchainWETHCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SuperchainWETHCallerSession) Name ¶
func (_SuperchainWETH *SuperchainWETHCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SuperchainWETHCallerSession) SupportsInterface ¶
func (_SuperchainWETH *SuperchainWETHCallerSession) SupportsInterface(_interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 _interfaceId) view returns(bool)
func (*SuperchainWETHCallerSession) Symbol ¶
func (_SuperchainWETH *SuperchainWETHCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SuperchainWETHCallerSession) TotalSupply ¶
func (_SuperchainWETH *SuperchainWETHCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*SuperchainWETHCallerSession) Version ¶
func (_SuperchainWETH *SuperchainWETHCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type SuperchainWETHCrosschainBurn ¶
type SuperchainWETHCrosschainBurn struct { From common.Address Amount *big.Int Sender common.Address Raw types.Log // Blockchain specific contextual infos }
SuperchainWETHCrosschainBurn represents a CrosschainBurn event raised by the SuperchainWETH contract.
type SuperchainWETHCrosschainBurnIterator ¶
type SuperchainWETHCrosschainBurnIterator struct { Event *SuperchainWETHCrosschainBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperchainWETHCrosschainBurnIterator is returned from FilterCrosschainBurn and is used to iterate over the raw logs and unpacked data for CrosschainBurn events raised by the SuperchainWETH contract.
func (*SuperchainWETHCrosschainBurnIterator) Close ¶
func (it *SuperchainWETHCrosschainBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperchainWETHCrosschainBurnIterator) Error ¶
func (it *SuperchainWETHCrosschainBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperchainWETHCrosschainBurnIterator) Next ¶
func (it *SuperchainWETHCrosschainBurnIterator) 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 SuperchainWETHCrosschainMint ¶
type SuperchainWETHCrosschainMint struct { To common.Address Amount *big.Int Sender common.Address Raw types.Log // Blockchain specific contextual infos }
SuperchainWETHCrosschainMint represents a CrosschainMint event raised by the SuperchainWETH contract.
type SuperchainWETHCrosschainMintIterator ¶
type SuperchainWETHCrosschainMintIterator struct { Event *SuperchainWETHCrosschainMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperchainWETHCrosschainMintIterator is returned from FilterCrosschainMint and is used to iterate over the raw logs and unpacked data for CrosschainMint events raised by the SuperchainWETH contract.
func (*SuperchainWETHCrosschainMintIterator) Close ¶
func (it *SuperchainWETHCrosschainMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperchainWETHCrosschainMintIterator) Error ¶
func (it *SuperchainWETHCrosschainMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperchainWETHCrosschainMintIterator) Next ¶
func (it *SuperchainWETHCrosschainMintIterator) 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 SuperchainWETHDeposit ¶
type SuperchainWETHDeposit struct { Dst common.Address Wad *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperchainWETHDeposit represents a Deposit event raised by the SuperchainWETH contract.
type SuperchainWETHDepositIterator ¶
type SuperchainWETHDepositIterator struct { Event *SuperchainWETHDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperchainWETHDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the SuperchainWETH contract.
func (*SuperchainWETHDepositIterator) Close ¶
func (it *SuperchainWETHDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperchainWETHDepositIterator) Error ¶
func (it *SuperchainWETHDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperchainWETHDepositIterator) Next ¶
func (it *SuperchainWETHDepositIterator) 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 SuperchainWETHFilterer ¶
type SuperchainWETHFilterer struct {
// contains filtered or unexported fields
}
SuperchainWETHFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSuperchainWETHFilterer ¶
func NewSuperchainWETHFilterer(address common.Address, filterer bind.ContractFilterer) (*SuperchainWETHFilterer, error)
NewSuperchainWETHFilterer creates a new log filterer instance of SuperchainWETH, bound to a specific deployed contract.
func (*SuperchainWETHFilterer) FilterApproval ¶
func (_SuperchainWETH *SuperchainWETHFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*SuperchainWETHApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)
func (*SuperchainWETHFilterer) FilterCrosschainBurn ¶
func (_SuperchainWETH *SuperchainWETHFilterer) FilterCrosschainBurn(opts *bind.FilterOpts, from []common.Address, sender []common.Address) (*SuperchainWETHCrosschainBurnIterator, error)
FilterCrosschainBurn is a free log retrieval operation binding the contract event 0xb90795a66650155983e242cac3e1ac1a4dc26f8ed2987f3ce416a34e00111fd4.
Solidity: event CrosschainBurn(address indexed from, uint256 amount, address indexed sender)
func (*SuperchainWETHFilterer) FilterCrosschainMint ¶
func (_SuperchainWETH *SuperchainWETHFilterer) FilterCrosschainMint(opts *bind.FilterOpts, to []common.Address, sender []common.Address) (*SuperchainWETHCrosschainMintIterator, error)
FilterCrosschainMint is a free log retrieval operation binding the contract event 0xde22baff038e3a3e08407cbdf617deed74e869a7ba517df611e33131c6e6ea04.
Solidity: event CrosschainMint(address indexed to, uint256 amount, address indexed sender)
func (*SuperchainWETHFilterer) FilterDeposit ¶
func (_SuperchainWETH *SuperchainWETHFilterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*SuperchainWETHDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed dst, uint256 wad)
func (*SuperchainWETHFilterer) FilterRelayETH ¶
func (_SuperchainWETH *SuperchainWETHFilterer) FilterRelayETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SuperchainWETHRelayETHIterator, error)
FilterRelayETH is a free log retrieval operation binding the contract event 0xe5479bb8ebad3b9ac81f55f424a6289cf0a54ff2641708f41dcb2b26f264d359.
Solidity: event RelayETH(address indexed from, address indexed to, uint256 amount, uint256 source)
func (*SuperchainWETHFilterer) FilterSendETH ¶
func (_SuperchainWETH *SuperchainWETHFilterer) FilterSendETH(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SuperchainWETHSendETHIterator, error)
FilterSendETH is a free log retrieval operation binding the contract event 0xed98a2ff78833375c368471a747cdf0633024dde3f870feb08a934ac5be83402.
Solidity: event SendETH(address indexed from, address indexed to, uint256 amount, uint256 destination)
func (*SuperchainWETHFilterer) FilterTransfer ¶
func (_SuperchainWETH *SuperchainWETHFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*SuperchainWETHTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)
func (*SuperchainWETHFilterer) FilterWithdrawal ¶
func (_SuperchainWETH *SuperchainWETHFilterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*SuperchainWETHWithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed src, uint256 wad)
func (*SuperchainWETHFilterer) ParseApproval ¶
func (_SuperchainWETH *SuperchainWETHFilterer) ParseApproval(log types.Log) (*SuperchainWETHApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)
func (*SuperchainWETHFilterer) ParseCrosschainBurn ¶
func (_SuperchainWETH *SuperchainWETHFilterer) ParseCrosschainBurn(log types.Log) (*SuperchainWETHCrosschainBurn, error)
ParseCrosschainBurn is a log parse operation binding the contract event 0xb90795a66650155983e242cac3e1ac1a4dc26f8ed2987f3ce416a34e00111fd4.
Solidity: event CrosschainBurn(address indexed from, uint256 amount, address indexed sender)
func (*SuperchainWETHFilterer) ParseCrosschainMint ¶
func (_SuperchainWETH *SuperchainWETHFilterer) ParseCrosschainMint(log types.Log) (*SuperchainWETHCrosschainMint, error)
ParseCrosschainMint is a log parse operation binding the contract event 0xde22baff038e3a3e08407cbdf617deed74e869a7ba517df611e33131c6e6ea04.
Solidity: event CrosschainMint(address indexed to, uint256 amount, address indexed sender)
func (*SuperchainWETHFilterer) ParseDeposit ¶
func (_SuperchainWETH *SuperchainWETHFilterer) ParseDeposit(log types.Log) (*SuperchainWETHDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed dst, uint256 wad)
func (*SuperchainWETHFilterer) ParseRelayETH ¶
func (_SuperchainWETH *SuperchainWETHFilterer) ParseRelayETH(log types.Log) (*SuperchainWETHRelayETH, error)
ParseRelayETH is a log parse operation binding the contract event 0xe5479bb8ebad3b9ac81f55f424a6289cf0a54ff2641708f41dcb2b26f264d359.
Solidity: event RelayETH(address indexed from, address indexed to, uint256 amount, uint256 source)
func (*SuperchainWETHFilterer) ParseSendETH ¶
func (_SuperchainWETH *SuperchainWETHFilterer) ParseSendETH(log types.Log) (*SuperchainWETHSendETH, error)
ParseSendETH is a log parse operation binding the contract event 0xed98a2ff78833375c368471a747cdf0633024dde3f870feb08a934ac5be83402.
Solidity: event SendETH(address indexed from, address indexed to, uint256 amount, uint256 destination)
func (*SuperchainWETHFilterer) ParseTransfer ¶
func (_SuperchainWETH *SuperchainWETHFilterer) ParseTransfer(log types.Log) (*SuperchainWETHTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)
func (*SuperchainWETHFilterer) ParseWithdrawal ¶
func (_SuperchainWETH *SuperchainWETHFilterer) ParseWithdrawal(log types.Log) (*SuperchainWETHWithdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed src, uint256 wad)
func (*SuperchainWETHFilterer) WatchApproval ¶
func (_SuperchainWETH *SuperchainWETHFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SuperchainWETHApproval, src []common.Address, guy []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)
func (*SuperchainWETHFilterer) WatchCrosschainBurn ¶
func (_SuperchainWETH *SuperchainWETHFilterer) WatchCrosschainBurn(opts *bind.WatchOpts, sink chan<- *SuperchainWETHCrosschainBurn, from []common.Address, sender []common.Address) (event.Subscription, error)
WatchCrosschainBurn is a free log subscription operation binding the contract event 0xb90795a66650155983e242cac3e1ac1a4dc26f8ed2987f3ce416a34e00111fd4.
Solidity: event CrosschainBurn(address indexed from, uint256 amount, address indexed sender)
func (*SuperchainWETHFilterer) WatchCrosschainMint ¶
func (_SuperchainWETH *SuperchainWETHFilterer) WatchCrosschainMint(opts *bind.WatchOpts, sink chan<- *SuperchainWETHCrosschainMint, to []common.Address, sender []common.Address) (event.Subscription, error)
WatchCrosschainMint is a free log subscription operation binding the contract event 0xde22baff038e3a3e08407cbdf617deed74e869a7ba517df611e33131c6e6ea04.
Solidity: event CrosschainMint(address indexed to, uint256 amount, address indexed sender)
func (*SuperchainWETHFilterer) WatchDeposit ¶
func (_SuperchainWETH *SuperchainWETHFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SuperchainWETHDeposit, dst []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed dst, uint256 wad)
func (*SuperchainWETHFilterer) WatchRelayETH ¶
func (_SuperchainWETH *SuperchainWETHFilterer) WatchRelayETH(opts *bind.WatchOpts, sink chan<- *SuperchainWETHRelayETH, from []common.Address, to []common.Address) (event.Subscription, error)
WatchRelayETH is a free log subscription operation binding the contract event 0xe5479bb8ebad3b9ac81f55f424a6289cf0a54ff2641708f41dcb2b26f264d359.
Solidity: event RelayETH(address indexed from, address indexed to, uint256 amount, uint256 source)
func (*SuperchainWETHFilterer) WatchSendETH ¶
func (_SuperchainWETH *SuperchainWETHFilterer) WatchSendETH(opts *bind.WatchOpts, sink chan<- *SuperchainWETHSendETH, from []common.Address, to []common.Address) (event.Subscription, error)
WatchSendETH is a free log subscription operation binding the contract event 0xed98a2ff78833375c368471a747cdf0633024dde3f870feb08a934ac5be83402.
Solidity: event SendETH(address indexed from, address indexed to, uint256 amount, uint256 destination)
func (*SuperchainWETHFilterer) WatchTransfer ¶
func (_SuperchainWETH *SuperchainWETHFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SuperchainWETHTransfer, src []common.Address, dst []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)
func (*SuperchainWETHFilterer) WatchWithdrawal ¶
func (_SuperchainWETH *SuperchainWETHFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *SuperchainWETHWithdrawal, src []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed src, uint256 wad)
type SuperchainWETHRaw ¶
type SuperchainWETHRaw struct {
Contract *SuperchainWETH // Generic contract binding to access the raw methods on
}
SuperchainWETHRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SuperchainWETHRaw) Call ¶
func (_SuperchainWETH *SuperchainWETHRaw) 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 (*SuperchainWETHRaw) Transact ¶
func (_SuperchainWETH *SuperchainWETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SuperchainWETHRaw) Transfer ¶
func (_SuperchainWETH *SuperchainWETHRaw) 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 SuperchainWETHRelayETH ¶
type SuperchainWETHRelayETH struct { From common.Address To common.Address Amount *big.Int Source *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperchainWETHRelayETH represents a RelayETH event raised by the SuperchainWETH contract.
type SuperchainWETHRelayETHIterator ¶
type SuperchainWETHRelayETHIterator struct { Event *SuperchainWETHRelayETH // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperchainWETHRelayETHIterator is returned from FilterRelayETH and is used to iterate over the raw logs and unpacked data for RelayETH events raised by the SuperchainWETH contract.
func (*SuperchainWETHRelayETHIterator) Close ¶
func (it *SuperchainWETHRelayETHIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperchainWETHRelayETHIterator) Error ¶
func (it *SuperchainWETHRelayETHIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperchainWETHRelayETHIterator) Next ¶
func (it *SuperchainWETHRelayETHIterator) 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 SuperchainWETHSendETH ¶
type SuperchainWETHSendETH struct { From common.Address To common.Address Amount *big.Int Destination *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperchainWETHSendETH represents a SendETH event raised by the SuperchainWETH contract.
type SuperchainWETHSendETHIterator ¶
type SuperchainWETHSendETHIterator struct { Event *SuperchainWETHSendETH // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperchainWETHSendETHIterator is returned from FilterSendETH and is used to iterate over the raw logs and unpacked data for SendETH events raised by the SuperchainWETH contract.
func (*SuperchainWETHSendETHIterator) Close ¶
func (it *SuperchainWETHSendETHIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperchainWETHSendETHIterator) Error ¶
func (it *SuperchainWETHSendETHIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperchainWETHSendETHIterator) Next ¶
func (it *SuperchainWETHSendETHIterator) 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 SuperchainWETHSession ¶
type SuperchainWETHSession struct { Contract *SuperchainWETH // 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 }
SuperchainWETHSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SuperchainWETHSession) Allowance ¶
func (_SuperchainWETH *SuperchainWETHSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*SuperchainWETHSession) Approve ¶
func (_SuperchainWETH *SuperchainWETHSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*SuperchainWETHSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address src) view returns(uint256)
func (*SuperchainWETHSession) CrosschainBurn ¶
func (_SuperchainWETH *SuperchainWETHSession) CrosschainBurn(_from common.Address, _amount *big.Int) (*types.Transaction, error)
CrosschainBurn is a paid mutator transaction binding the contract method 0x2b8c49e3.
Solidity: function crosschainBurn(address _from, uint256 _amount) returns()
func (*SuperchainWETHSession) CrosschainMint ¶
func (_SuperchainWETH *SuperchainWETHSession) CrosschainMint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
CrosschainMint is a paid mutator transaction binding the contract method 0x18bf5077.
Solidity: function crosschainMint(address _to, uint256 _amount) returns()
func (*SuperchainWETHSession) Decimals ¶
func (_SuperchainWETH *SuperchainWETHSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SuperchainWETHSession) Deposit ¶
func (_SuperchainWETH *SuperchainWETHSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*SuperchainWETHSession) Fallback ¶
func (_SuperchainWETH *SuperchainWETHSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*SuperchainWETHSession) Name ¶
func (_SuperchainWETH *SuperchainWETHSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SuperchainWETHSession) Receive ¶
func (_SuperchainWETH *SuperchainWETHSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*SuperchainWETHSession) RelayETH ¶
func (_SuperchainWETH *SuperchainWETHSession) RelayETH(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
RelayETH is a paid mutator transaction binding the contract method 0x4f0edcc9.
Solidity: function relayETH(address _from, address _to, uint256 _amount) returns()
func (*SuperchainWETHSession) SendETH ¶
func (_SuperchainWETH *SuperchainWETHSession) SendETH(_to common.Address, _chainId *big.Int) (*types.Transaction, error)
SendETH is a paid mutator transaction binding the contract method 0x64a197f3.
Solidity: function sendETH(address _to, uint256 _chainId) payable returns(bytes32 msgHash_)
func (*SuperchainWETHSession) SupportsInterface ¶
func (_SuperchainWETH *SuperchainWETHSession) SupportsInterface(_interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 _interfaceId) view returns(bool)
func (*SuperchainWETHSession) Symbol ¶
func (_SuperchainWETH *SuperchainWETHSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SuperchainWETHSession) TotalSupply ¶
func (_SuperchainWETH *SuperchainWETHSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*SuperchainWETHSession) Transfer ¶
func (_SuperchainWETH *SuperchainWETHSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*SuperchainWETHSession) TransferFrom ¶
func (_SuperchainWETH *SuperchainWETHSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
func (*SuperchainWETHSession) Version ¶
func (_SuperchainWETH *SuperchainWETHSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*SuperchainWETHSession) Withdraw ¶
func (_SuperchainWETH *SuperchainWETHSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns()
type SuperchainWETHTransactor ¶
type SuperchainWETHTransactor struct {
// contains filtered or unexported fields
}
SuperchainWETHTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSuperchainWETHTransactor ¶
func NewSuperchainWETHTransactor(address common.Address, transactor bind.ContractTransactor) (*SuperchainWETHTransactor, error)
NewSuperchainWETHTransactor creates a new write-only instance of SuperchainWETH, bound to a specific deployed contract.
func (*SuperchainWETHTransactor) Approve ¶
func (_SuperchainWETH *SuperchainWETHTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*SuperchainWETHTransactor) CrosschainBurn ¶
func (_SuperchainWETH *SuperchainWETHTransactor) CrosschainBurn(opts *bind.TransactOpts, _from common.Address, _amount *big.Int) (*types.Transaction, error)
CrosschainBurn is a paid mutator transaction binding the contract method 0x2b8c49e3.
Solidity: function crosschainBurn(address _from, uint256 _amount) returns()
func (*SuperchainWETHTransactor) CrosschainMint ¶
func (_SuperchainWETH *SuperchainWETHTransactor) CrosschainMint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
CrosschainMint is a paid mutator transaction binding the contract method 0x18bf5077.
Solidity: function crosschainMint(address _to, uint256 _amount) returns()
func (*SuperchainWETHTransactor) Deposit ¶
func (_SuperchainWETH *SuperchainWETHTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*SuperchainWETHTransactor) Fallback ¶
func (_SuperchainWETH *SuperchainWETHTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*SuperchainWETHTransactor) Receive ¶
func (_SuperchainWETH *SuperchainWETHTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*SuperchainWETHTransactor) RelayETH ¶
func (_SuperchainWETH *SuperchainWETHTransactor) RelayETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
RelayETH is a paid mutator transaction binding the contract method 0x4f0edcc9.
Solidity: function relayETH(address _from, address _to, uint256 _amount) returns()
func (*SuperchainWETHTransactor) SendETH ¶
func (_SuperchainWETH *SuperchainWETHTransactor) SendETH(opts *bind.TransactOpts, _to common.Address, _chainId *big.Int) (*types.Transaction, error)
SendETH is a paid mutator transaction binding the contract method 0x64a197f3.
Solidity: function sendETH(address _to, uint256 _chainId) payable returns(bytes32 msgHash_)
func (*SuperchainWETHTransactor) Transfer ¶
func (_SuperchainWETH *SuperchainWETHTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*SuperchainWETHTransactor) TransferFrom ¶
func (_SuperchainWETH *SuperchainWETHTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
func (*SuperchainWETHTransactor) Withdraw ¶
func (_SuperchainWETH *SuperchainWETHTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns()
type SuperchainWETHTransactorRaw ¶
type SuperchainWETHTransactorRaw struct {
Contract *SuperchainWETHTransactor // Generic write-only contract binding to access the raw methods on
}
SuperchainWETHTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SuperchainWETHTransactorRaw) Transact ¶
func (_SuperchainWETH *SuperchainWETHTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SuperchainWETHTransactorRaw) Transfer ¶
func (_SuperchainWETH *SuperchainWETHTransactorRaw) 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 SuperchainWETHTransactorSession ¶
type SuperchainWETHTransactorSession struct { Contract *SuperchainWETHTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SuperchainWETHTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SuperchainWETHTransactorSession) Approve ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*SuperchainWETHTransactorSession) CrosschainBurn ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) CrosschainBurn(_from common.Address, _amount *big.Int) (*types.Transaction, error)
CrosschainBurn is a paid mutator transaction binding the contract method 0x2b8c49e3.
Solidity: function crosschainBurn(address _from, uint256 _amount) returns()
func (*SuperchainWETHTransactorSession) CrosschainMint ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) CrosschainMint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
CrosschainMint is a paid mutator transaction binding the contract method 0x18bf5077.
Solidity: function crosschainMint(address _to, uint256 _amount) returns()
func (*SuperchainWETHTransactorSession) Deposit ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*SuperchainWETHTransactorSession) Fallback ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*SuperchainWETHTransactorSession) Receive ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*SuperchainWETHTransactorSession) RelayETH ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) RelayETH(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
RelayETH is a paid mutator transaction binding the contract method 0x4f0edcc9.
Solidity: function relayETH(address _from, address _to, uint256 _amount) returns()
func (*SuperchainWETHTransactorSession) SendETH ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) SendETH(_to common.Address, _chainId *big.Int) (*types.Transaction, error)
SendETH is a paid mutator transaction binding the contract method 0x64a197f3.
Solidity: function sendETH(address _to, uint256 _chainId) payable returns(bytes32 msgHash_)
func (*SuperchainWETHTransactorSession) Transfer ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*SuperchainWETHTransactorSession) TransferFrom ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
func (*SuperchainWETHTransactorSession) Withdraw ¶
func (_SuperchainWETH *SuperchainWETHTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) returns()
type SuperchainWETHTransfer ¶
type SuperchainWETHTransfer struct { Src common.Address Dst common.Address Wad *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperchainWETHTransfer represents a Transfer event raised by the SuperchainWETH contract.
type SuperchainWETHTransferIterator ¶
type SuperchainWETHTransferIterator struct { Event *SuperchainWETHTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperchainWETHTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SuperchainWETH contract.
func (*SuperchainWETHTransferIterator) Close ¶
func (it *SuperchainWETHTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperchainWETHTransferIterator) Error ¶
func (it *SuperchainWETHTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperchainWETHTransferIterator) Next ¶
func (it *SuperchainWETHTransferIterator) 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 SuperchainWETHWithdrawal ¶
type SuperchainWETHWithdrawal struct { Src common.Address Wad *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperchainWETHWithdrawal represents a Withdrawal event raised by the SuperchainWETH contract.
type SuperchainWETHWithdrawalIterator ¶
type SuperchainWETHWithdrawalIterator struct { Event *SuperchainWETHWithdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperchainWETHWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the SuperchainWETH contract.
func (*SuperchainWETHWithdrawalIterator) Close ¶
func (it *SuperchainWETHWithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperchainWETHWithdrawalIterator) Error ¶
func (it *SuperchainWETHWithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperchainWETHWithdrawalIterator) Next ¶
func (it *SuperchainWETHWithdrawalIterator) 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.