l1messenger

package
v0.0.0-...-f1447cf Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IL1MessengerABI = IL1MessengerMetaData.ABI

IL1MessengerABI is the input ABI used to generate the binding from. Deprecated: Use IL1MessengerMetaData.ABI instead.

View Source
var IL1MessengerMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_hash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"L1MessageSent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"sendToL1\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IL1MessengerMetaData contains all meta data concerning the IL1Messenger contract.

Functions

This section is empty.

Types

type IL1Messenger

type IL1Messenger struct {
	IL1MessengerCaller     // Read-only binding to the contract
	IL1MessengerTransactor // Write-only binding to the contract
	IL1MessengerFilterer   // Log filterer for contract events
}

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

func NewIL1Messenger

func NewIL1Messenger(address common.Address, backend bind.ContractBackend) (*IL1Messenger, error)

NewIL1Messenger creates a new instance of IL1Messenger, bound to a specific deployed contract.

type IL1MessengerCaller

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

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

func NewIL1MessengerCaller

func NewIL1MessengerCaller(address common.Address, caller bind.ContractCaller) (*IL1MessengerCaller, error)

NewIL1MessengerCaller creates a new read-only instance of IL1Messenger, bound to a specific deployed contract.

type IL1MessengerCallerRaw

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

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

func (*IL1MessengerCallerRaw) Call

func (_IL1Messenger *IL1MessengerCallerRaw) 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 IL1MessengerCallerSession

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

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

type IL1MessengerFilterer

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

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

func NewIL1MessengerFilterer

func NewIL1MessengerFilterer(address common.Address, filterer bind.ContractFilterer) (*IL1MessengerFilterer, error)

NewIL1MessengerFilterer creates a new log filterer instance of IL1Messenger, bound to a specific deployed contract.

func (*IL1MessengerFilterer) FilterL1MessageSent

func (_IL1Messenger *IL1MessengerFilterer) FilterL1MessageSent(opts *bind.FilterOpts, _sender []common.Address, _hash [][32]byte) (*IL1MessengerL1MessageSentIterator, error)

FilterL1MessageSent is a free log retrieval operation binding the contract event 0x3a36e47291f4201faf137fab081d92295bce2d53be2c6ca68ba82c7faa9ce241.

Solidity: event L1MessageSent(address indexed _sender, bytes32 indexed _hash, bytes _message)

func (*IL1MessengerFilterer) ParseL1MessageSent

func (_IL1Messenger *IL1MessengerFilterer) ParseL1MessageSent(log types.Log) (*IL1MessengerL1MessageSent, error)

ParseL1MessageSent is a log parse operation binding the contract event 0x3a36e47291f4201faf137fab081d92295bce2d53be2c6ca68ba82c7faa9ce241.

Solidity: event L1MessageSent(address indexed _sender, bytes32 indexed _hash, bytes _message)

func (*IL1MessengerFilterer) WatchL1MessageSent

func (_IL1Messenger *IL1MessengerFilterer) WatchL1MessageSent(opts *bind.WatchOpts, sink chan<- *IL1MessengerL1MessageSent, _sender []common.Address, _hash [][32]byte) (event.Subscription, error)

WatchL1MessageSent is a free log subscription operation binding the contract event 0x3a36e47291f4201faf137fab081d92295bce2d53be2c6ca68ba82c7faa9ce241.

Solidity: event L1MessageSent(address indexed _sender, bytes32 indexed _hash, bytes _message)

type IL1MessengerL1MessageSent

type IL1MessengerL1MessageSent struct {
	Sender  common.Address
	Hash    [32]byte
	Message []byte
	Raw     types.Log // Blockchain specific contextual infos
}

IL1MessengerL1MessageSent represents a L1MessageSent event raised by the IL1Messenger contract.

type IL1MessengerL1MessageSentIterator

type IL1MessengerL1MessageSentIterator struct {
	Event *IL1MessengerL1MessageSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IL1MessengerL1MessageSentIterator is returned from FilterL1MessageSent and is used to iterate over the raw logs and unpacked data for L1MessageSent events raised by the IL1Messenger contract.

func (*IL1MessengerL1MessageSentIterator) Close

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

func (*IL1MessengerL1MessageSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1MessengerL1MessageSentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IL1MessengerRaw

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

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

func (*IL1MessengerRaw) Call

func (_IL1Messenger *IL1MessengerRaw) 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 (*IL1MessengerRaw) Transact

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

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

func (*IL1MessengerRaw) Transfer

func (_IL1Messenger *IL1MessengerRaw) 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 IL1MessengerSession

type IL1MessengerSession struct {
	Contract     *IL1Messenger     // 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
}

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

func (*IL1MessengerSession) SendToL1

func (_IL1Messenger *IL1MessengerSession) SendToL1(_message []byte) (*types.Transaction, error)

SendToL1 is a paid mutator transaction binding the contract method 0x62f84b24.

Solidity: function sendToL1(bytes _message) returns(bytes32)

type IL1MessengerTransactor

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

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

func NewIL1MessengerTransactor

func NewIL1MessengerTransactor(address common.Address, transactor bind.ContractTransactor) (*IL1MessengerTransactor, error)

NewIL1MessengerTransactor creates a new write-only instance of IL1Messenger, bound to a specific deployed contract.

func (*IL1MessengerTransactor) SendToL1

func (_IL1Messenger *IL1MessengerTransactor) SendToL1(opts *bind.TransactOpts, _message []byte) (*types.Transaction, error)

SendToL1 is a paid mutator transaction binding the contract method 0x62f84b24.

Solidity: function sendToL1(bytes _message) returns(bytes32)

type IL1MessengerTransactorRaw

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

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

func (*IL1MessengerTransactorRaw) Transact

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

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

func (*IL1MessengerTransactorRaw) Transfer

func (_IL1Messenger *IL1MessengerTransactorRaw) 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 IL1MessengerTransactorSession

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

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

func (*IL1MessengerTransactorSession) SendToL1

func (_IL1Messenger *IL1MessengerTransactorSession) SendToL1(_message []byte) (*types.Transaction, error)

SendToL1 is a paid mutator transaction binding the contract method 0x62f84b24.

Solidity: function sendToL1(bytes _message) returns(bytes32)

Jump to

Keyboard shortcuts

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