Documentation
¶
Index ¶
- Variables
- type Identifier
- type Inbox
- type InboxCaller
- type InboxCallerRaw
- type InboxCallerSession
- type InboxExecutingMessage
- type InboxExecutingMessageIterator
- type InboxFilterer
- func (_Inbox *InboxFilterer) FilterExecutingMessage(opts *bind.FilterOpts, msgHash [][32]byte) (*InboxExecutingMessageIterator, error)
- func (_Inbox *InboxFilterer) ParseExecutingMessage(log types.Log) (*InboxExecutingMessage, error)
- func (_Inbox *InboxFilterer) WatchExecutingMessage(opts *bind.WatchOpts, sink chan<- *InboxExecutingMessage, msgHash [][32]byte) (event.Subscription, error)
- type InboxRaw
- func (_Inbox *InboxRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Inbox *InboxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Inbox *InboxRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InboxSession
- type InboxTransactor
- type InboxTransactorRaw
- type InboxTransactorSession
Constants ¶
This section is empty.
Variables ¶
var InboxABI = InboxMetaData.ABI
InboxABI is the input ABI used to generate the binding from. Deprecated: Use InboxMetaData.ABI instead.
var InboxMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"validateMessage\",\"inputs\":[{\"name\":\"_id\",\"type\":\"tuple\",\"internalType\":\"structIdentifier\",\"components\":[{\"name\":\"origin\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"logIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"_msgHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"ExecutingMessage\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"id\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structIdentifier\",\"components\":[{\"name\":\"origin\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"logIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"BlockNumberTooHigh\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"LogIndexTooHigh\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NoExecutingDeposits\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInAccessList\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TimestampTooHigh\",\"inputs\":[]}]",
}
InboxMetaData contains all meta data concerning the Inbox contract.
Functions ¶
This section is empty.
Types ¶
type Identifier ¶
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 Inbox ¶
type Inbox struct { InboxCaller // Read-only binding to the contract InboxTransactor // Write-only binding to the contract InboxFilterer // Log filterer for contract events }
Inbox is an auto generated Go binding around an Ethereum contract.
type InboxCaller ¶
type InboxCaller struct {
// contains filtered or unexported fields
}
InboxCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInboxCaller ¶
func NewInboxCaller(address common.Address, caller bind.ContractCaller) (*InboxCaller, error)
NewInboxCaller creates a new read-only instance of Inbox, bound to a specific deployed contract.
type InboxCallerRaw ¶
type InboxCallerRaw struct {
Contract *InboxCaller // Generic read-only contract binding to access the raw methods on
}
InboxCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InboxCallerRaw) Call ¶
func (_Inbox *InboxCallerRaw) 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 InboxCallerSession ¶
type InboxCallerSession struct { Contract *InboxCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InboxCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InboxCallerSession) Version ¶ added in v1.12.2
func (_Inbox *InboxCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type InboxExecutingMessage ¶ added in v1.12.2
type InboxExecutingMessage struct { MsgHash [32]byte Id Identifier Raw types.Log // Blockchain specific contextual infos }
InboxExecutingMessage represents a ExecutingMessage event raised by the Inbox contract.
type InboxExecutingMessageIterator ¶ added in v1.12.2
type InboxExecutingMessageIterator struct { Event *InboxExecutingMessage // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InboxExecutingMessageIterator is returned from FilterExecutingMessage and is used to iterate over the raw logs and unpacked data for ExecutingMessage events raised by the Inbox contract.
func (*InboxExecutingMessageIterator) Close ¶ added in v1.12.2
func (it *InboxExecutingMessageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InboxExecutingMessageIterator) Error ¶ added in v1.12.2
func (it *InboxExecutingMessageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InboxExecutingMessageIterator) Next ¶ added in v1.12.2
func (it *InboxExecutingMessageIterator) 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 InboxFilterer ¶
type InboxFilterer struct {
// contains filtered or unexported fields
}
InboxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInboxFilterer ¶
func NewInboxFilterer(address common.Address, filterer bind.ContractFilterer) (*InboxFilterer, error)
NewInboxFilterer creates a new log filterer instance of Inbox, bound to a specific deployed contract.
func (*InboxFilterer) FilterExecutingMessage ¶ added in v1.12.2
func (_Inbox *InboxFilterer) FilterExecutingMessage(opts *bind.FilterOpts, msgHash [][32]byte) (*InboxExecutingMessageIterator, error)
FilterExecutingMessage is a free log retrieval operation binding the contract event 0x5c37832d2e8d10e346e55ad62071a6a2f9fa5130614ef2ec6617555c6f467ba7.
Solidity: event ExecutingMessage(bytes32 indexed msgHash, (address,uint256,uint256,uint256,uint256) id)
func (*InboxFilterer) ParseExecutingMessage ¶ added in v1.12.2
func (_Inbox *InboxFilterer) ParseExecutingMessage(log types.Log) (*InboxExecutingMessage, error)
ParseExecutingMessage is a log parse operation binding the contract event 0x5c37832d2e8d10e346e55ad62071a6a2f9fa5130614ef2ec6617555c6f467ba7.
Solidity: event ExecutingMessage(bytes32 indexed msgHash, (address,uint256,uint256,uint256,uint256) id)
func (*InboxFilterer) WatchExecutingMessage ¶ added in v1.12.2
func (_Inbox *InboxFilterer) WatchExecutingMessage(opts *bind.WatchOpts, sink chan<- *InboxExecutingMessage, msgHash [][32]byte) (event.Subscription, error)
WatchExecutingMessage is a free log subscription operation binding the contract event 0x5c37832d2e8d10e346e55ad62071a6a2f9fa5130614ef2ec6617555c6f467ba7.
Solidity: event ExecutingMessage(bytes32 indexed msgHash, (address,uint256,uint256,uint256,uint256) id)
type InboxRaw ¶
type InboxRaw struct {
Contract *Inbox // Generic contract binding to access the raw methods on
}
InboxRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InboxRaw) Call ¶
func (_Inbox *InboxRaw) 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 (*InboxRaw) Transact ¶
func (_Inbox *InboxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InboxRaw) Transfer ¶
func (_Inbox *InboxRaw) 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 InboxSession ¶
type InboxSession struct { Contract *Inbox // 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 }
InboxSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InboxSession) ValidateMessage ¶
func (_Inbox *InboxSession) ValidateMessage(_id Identifier, _msgHash [32]byte) (*types.Transaction, error)
ValidateMessage is a paid mutator transaction binding the contract method 0xab4d6f75.
Solidity: function validateMessage((address,uint256,uint256,uint256,uint256) _id, bytes32 _msgHash) returns()
func (*InboxSession) Version ¶ added in v1.12.2
func (_Inbox *InboxSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type InboxTransactor ¶
type InboxTransactor struct {
// contains filtered or unexported fields
}
InboxTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInboxTransactor ¶
func NewInboxTransactor(address common.Address, transactor bind.ContractTransactor) (*InboxTransactor, error)
NewInboxTransactor creates a new write-only instance of Inbox, bound to a specific deployed contract.
func (*InboxTransactor) ValidateMessage ¶
func (_Inbox *InboxTransactor) ValidateMessage(opts *bind.TransactOpts, _id Identifier, _msgHash [32]byte) (*types.Transaction, error)
ValidateMessage is a paid mutator transaction binding the contract method 0xab4d6f75.
Solidity: function validateMessage((address,uint256,uint256,uint256,uint256) _id, bytes32 _msgHash) returns()
type InboxTransactorRaw ¶
type InboxTransactorRaw struct {
Contract *InboxTransactor // Generic write-only contract binding to access the raw methods on
}
InboxTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InboxTransactorRaw) Transact ¶
func (_Inbox *InboxTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InboxTransactorRaw) Transfer ¶
func (_Inbox *InboxTransactorRaw) 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 InboxTransactorSession ¶
type InboxTransactorSession struct { Contract *InboxTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InboxTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InboxTransactorSession) ValidateMessage ¶
func (_Inbox *InboxTransactorSession) ValidateMessage(_id Identifier, _msgHash [32]byte) (*types.Transaction, error)
ValidateMessage is a paid mutator transaction binding the contract method 0xab4d6f75.
Solidity: function validateMessage((address,uint256,uint256,uint256,uint256) _id, bytes32 _msgHash) returns()