Documentation ¶
Index ¶
- Constants
- Variables
- type Deny
- type OPTIMISMGOVRELAY
- type OPTIMISMGOVRELAYCaller
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYCaller) L2GovernanceRelay(opts *bind.CallOpts) (common.Address, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type OPTIMISMGOVRELAYCallerRaw
- type OPTIMISMGOVRELAYCallerSession
- type OPTIMISMGOVRELAYDeny
- type OPTIMISMGOVRELAYDenyIterator
- type OPTIMISMGOVRELAYFilterer
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISMGOVRELAYDenyIterator, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISMGOVRELAYRelyIterator, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) ParseDeny(log types.Log) (*OPTIMISMGOVRELAYDeny, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) ParseRely(log types.Log) (*OPTIMISMGOVRELAYRely, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISMGOVRELAYDeny, usr []common.Address) (event.Subscription, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISMGOVRELAYRely, usr []common.Address) (event.Subscription, error)
- type OPTIMISMGOVRELAYRaw
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OPTIMISMGOVRELAYRely
- type OPTIMISMGOVRELAYRelyIterator
- type OPTIMISMGOVRELAYSession
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) L2GovernanceRelay() (common.Address, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Messenger() (common.Address, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Relay(target common.Address, targetData []byte, l2gas uint32) (*types.Transaction, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Rely(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Wards(arg0 common.Address) (*big.Int, error)
- type OPTIMISMGOVRELAYTransactor
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactor) Relay(opts *bind.TransactOpts, target common.Address, targetData []byte, ...) (*types.Transaction, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- type OPTIMISMGOVRELAYTransactorRaw
- type OPTIMISMGOVRELAYTransactorSession
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactorSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactorSession) Relay(target common.Address, targetData []byte, l2gas uint32) (*types.Transaction, error)
- func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactorSession) Rely(usr common.Address) (*types.Transaction, error)
- type Rely
- type SmartContract
Constants ¶
const OPTIMISMGOVRELAYABI = "" /* 1800-byte string literal not displayed */
OPTIMISMGOVRELAYABI is the input ABI used to generate the binding from.
Variables ¶
var File_OptimismGovRelay_OptimismGovRelay_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Deny ¶
type Deny struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Usr []byte `protobuf:"bytes,2,opt,name=Usr,proto3" json:"Usr,omitempty"` // address // contains filtered or unexported fields }
func (*Deny) Descriptor
deprecated
func (*Deny) GetTs ¶
func (x *Deny) GetTs() *timestamppb.Timestamp
func (*Deny) ProtoMessage ¶
func (*Deny) ProtoMessage()
func (*Deny) ProtoReflect ¶
func (x *Deny) ProtoReflect() protoreflect.Message
type OPTIMISMGOVRELAY ¶
type OPTIMISMGOVRELAY struct { OPTIMISMGOVRELAYCaller // Read-only binding to the contract OPTIMISMGOVRELAYTransactor // Write-only binding to the contract OPTIMISMGOVRELAYFilterer // Log filterer for contract events }
OPTIMISMGOVRELAY is an auto generated Go binding around an Ethereum contract.
func NewOPTIMISMGOVRELAY ¶
func NewOPTIMISMGOVRELAY(address common.Address, backend bind.ContractBackend) (*OPTIMISMGOVRELAY, error)
NewOPTIMISMGOVRELAY creates a new instance of OPTIMISMGOVRELAY, bound to a specific deployed contract.
type OPTIMISMGOVRELAYCaller ¶
type OPTIMISMGOVRELAYCaller struct {
// contains filtered or unexported fields
}
OPTIMISMGOVRELAYCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOPTIMISMGOVRELAYCaller ¶
func NewOPTIMISMGOVRELAYCaller(address common.Address, caller bind.ContractCaller) (*OPTIMISMGOVRELAYCaller, error)
NewOPTIMISMGOVRELAYCaller creates a new read-only instance of OPTIMISMGOVRELAY, bound to a specific deployed contract.
func (*OPTIMISMGOVRELAYCaller) L2GovernanceRelay ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYCaller) L2GovernanceRelay(opts *bind.CallOpts) (common.Address, error)
L2GovernanceRelay is a free data retrieval call binding the contract method 0x862a98a1.
Solidity: function l2GovernanceRelay() view returns(address)
type OPTIMISMGOVRELAYCallerRaw ¶
type OPTIMISMGOVRELAYCallerRaw struct {
Contract *OPTIMISMGOVRELAYCaller // Generic read-only contract binding to access the raw methods on
}
OPTIMISMGOVRELAYCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OPTIMISMGOVRELAYCallerRaw) Call ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYCallerRaw) 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 OPTIMISMGOVRELAYCallerSession ¶
type OPTIMISMGOVRELAYCallerSession struct { Contract *OPTIMISMGOVRELAYCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OPTIMISMGOVRELAYCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OPTIMISMGOVRELAYCallerSession) L2GovernanceRelay ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYCallerSession) L2GovernanceRelay() (common.Address, error)
L2GovernanceRelay is a free data retrieval call binding the contract method 0x862a98a1.
Solidity: function l2GovernanceRelay() view returns(address)
type OPTIMISMGOVRELAYDeny ¶
type OPTIMISMGOVRELAYDeny struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
OPTIMISMGOVRELAYDeny represents a Deny event raised by the OPTIMISMGOVRELAY contract.
type OPTIMISMGOVRELAYDenyIterator ¶
type OPTIMISMGOVRELAYDenyIterator struct { Event *OPTIMISMGOVRELAYDeny // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISMGOVRELAYDenyIterator is returned from FilterDeny and is used to iterate over the raw logs and unpacked data for Deny events raised by the OPTIMISMGOVRELAY contract.
func (*OPTIMISMGOVRELAYDenyIterator) Close ¶
func (it *OPTIMISMGOVRELAYDenyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISMGOVRELAYDenyIterator) Error ¶
func (it *OPTIMISMGOVRELAYDenyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISMGOVRELAYDenyIterator) Next ¶
func (it *OPTIMISMGOVRELAYDenyIterator) 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 OPTIMISMGOVRELAYFilterer ¶
type OPTIMISMGOVRELAYFilterer struct {
// contains filtered or unexported fields
}
OPTIMISMGOVRELAYFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOPTIMISMGOVRELAYFilterer ¶
func NewOPTIMISMGOVRELAYFilterer(address common.Address, filterer bind.ContractFilterer) (*OPTIMISMGOVRELAYFilterer, error)
NewOPTIMISMGOVRELAYFilterer creates a new log filterer instance of OPTIMISMGOVRELAY, bound to a specific deployed contract.
func (*OPTIMISMGOVRELAYFilterer) FilterDeny ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISMGOVRELAYDenyIterator, error)
FilterDeny is a free log retrieval operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISMGOVRELAYFilterer) FilterRely ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISMGOVRELAYRelyIterator, error)
FilterRely is a free log retrieval operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISMGOVRELAYFilterer) ParseDeny ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) ParseDeny(log types.Log) (*OPTIMISMGOVRELAYDeny, error)
ParseDeny is a log parse operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISMGOVRELAYFilterer) ParseRely ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) ParseRely(log types.Log) (*OPTIMISMGOVRELAYRely, error)
ParseRely is a log parse operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISMGOVRELAYFilterer) WatchDeny ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISMGOVRELAYDeny, usr []common.Address) (event.Subscription, error)
WatchDeny is a free log subscription operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISMGOVRELAYFilterer) WatchRely ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISMGOVRELAYRely, usr []common.Address) (event.Subscription, error)
WatchRely is a free log subscription operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
type OPTIMISMGOVRELAYRaw ¶
type OPTIMISMGOVRELAYRaw struct {
Contract *OPTIMISMGOVRELAY // Generic contract binding to access the raw methods on
}
OPTIMISMGOVRELAYRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OPTIMISMGOVRELAYRaw) Call ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYRaw) 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 (*OPTIMISMGOVRELAYRaw) Transact ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OPTIMISMGOVRELAYRaw) Transfer ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYRaw) 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 OPTIMISMGOVRELAYRely ¶
type OPTIMISMGOVRELAYRely struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
OPTIMISMGOVRELAYRely represents a Rely event raised by the OPTIMISMGOVRELAY contract.
type OPTIMISMGOVRELAYRelyIterator ¶
type OPTIMISMGOVRELAYRelyIterator struct { Event *OPTIMISMGOVRELAYRely // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISMGOVRELAYRelyIterator is returned from FilterRely and is used to iterate over the raw logs and unpacked data for Rely events raised by the OPTIMISMGOVRELAY contract.
func (*OPTIMISMGOVRELAYRelyIterator) Close ¶
func (it *OPTIMISMGOVRELAYRelyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISMGOVRELAYRelyIterator) Error ¶
func (it *OPTIMISMGOVRELAYRelyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISMGOVRELAYRelyIterator) Next ¶
func (it *OPTIMISMGOVRELAYRelyIterator) 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 OPTIMISMGOVRELAYSession ¶
type OPTIMISMGOVRELAYSession struct { Contract *OPTIMISMGOVRELAY // 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 }
OPTIMISMGOVRELAYSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OPTIMISMGOVRELAYSession) Deny ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Deny(usr common.Address) (*types.Transaction, error)
Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.
Solidity: function deny(address usr) returns()
func (*OPTIMISMGOVRELAYSession) L2GovernanceRelay ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) L2GovernanceRelay() (common.Address, error)
L2GovernanceRelay is a free data retrieval call binding the contract method 0x862a98a1.
Solidity: function l2GovernanceRelay() view returns(address)
func (*OPTIMISMGOVRELAYSession) Messenger ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*OPTIMISMGOVRELAYSession) Relay ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Relay(target common.Address, targetData []byte, l2gas uint32) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x55444002.
Solidity: function relay(address target, bytes targetData, uint32 l2gas) returns()
func (*OPTIMISMGOVRELAYSession) Rely ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYSession) Rely(usr common.Address) (*types.Transaction, error)
Rely is a paid mutator transaction binding the contract method 0x65fae35e.
Solidity: function rely(address usr) returns()
type OPTIMISMGOVRELAYTransactor ¶
type OPTIMISMGOVRELAYTransactor struct {
// contains filtered or unexported fields
}
OPTIMISMGOVRELAYTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOPTIMISMGOVRELAYTransactor ¶
func NewOPTIMISMGOVRELAYTransactor(address common.Address, transactor bind.ContractTransactor) (*OPTIMISMGOVRELAYTransactor, error)
NewOPTIMISMGOVRELAYTransactor creates a new write-only instance of OPTIMISMGOVRELAY, bound to a specific deployed contract.
func (*OPTIMISMGOVRELAYTransactor) Deny ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.
Solidity: function deny(address usr) returns()
func (*OPTIMISMGOVRELAYTransactor) Relay ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactor) Relay(opts *bind.TransactOpts, target common.Address, targetData []byte, l2gas uint32) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x55444002.
Solidity: function relay(address target, bytes targetData, uint32 l2gas) returns()
func (*OPTIMISMGOVRELAYTransactor) Rely ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
Rely is a paid mutator transaction binding the contract method 0x65fae35e.
Solidity: function rely(address usr) returns()
type OPTIMISMGOVRELAYTransactorRaw ¶
type OPTIMISMGOVRELAYTransactorRaw struct {
Contract *OPTIMISMGOVRELAYTransactor // Generic write-only contract binding to access the raw methods on
}
OPTIMISMGOVRELAYTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OPTIMISMGOVRELAYTransactorRaw) Transact ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OPTIMISMGOVRELAYTransactorRaw) Transfer ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactorRaw) 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 OPTIMISMGOVRELAYTransactorSession ¶
type OPTIMISMGOVRELAYTransactorSession struct { Contract *OPTIMISMGOVRELAYTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OPTIMISMGOVRELAYTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OPTIMISMGOVRELAYTransactorSession) Deny ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactorSession) Deny(usr common.Address) (*types.Transaction, error)
Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.
Solidity: function deny(address usr) returns()
func (*OPTIMISMGOVRELAYTransactorSession) Relay ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactorSession) Relay(target common.Address, targetData []byte, l2gas uint32) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x55444002.
Solidity: function relay(address target, bytes targetData, uint32 l2gas) returns()
func (*OPTIMISMGOVRELAYTransactorSession) Rely ¶
func (_OPTIMISMGOVRELAY *OPTIMISMGOVRELAYTransactorSession) Rely(usr common.Address) (*types.Transaction, error)
Rely is a paid mutator transaction binding the contract method 0x65fae35e.
Solidity: function rely(address usr) returns()
type Rely ¶
type Rely struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Usr []byte `protobuf:"bytes,2,opt,name=Usr,proto3" json:"Usr,omitempty"` // address // contains filtered or unexported fields }
func (*Rely) Descriptor
deprecated
func (*Rely) GetTs ¶
func (x *Rely) GetTs() *timestamppb.Timestamp
func (*Rely) ProtoMessage ¶
func (*Rely) ProtoMessage()
func (*Rely) ProtoReflect ¶
func (x *Rely) ProtoReflect() protoreflect.Message
type SmartContract ¶
type SmartContract struct{}
func (*SmartContract) Message ¶
func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, vLog types.Log, timestamp *timestamppb.Timestamp) protoreflect.ProtoMessage