Documentation
¶
Index ¶
- Constants
- Variables
- type Closed
- type Deny
- type ERC20DepositInitiated
- func (*ERC20DepositInitiated) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20DepositInitiated) GetAmount() []byte
- func (x *ERC20DepositInitiated) GetData() []byte
- func (x *ERC20DepositInitiated) GetFrom() []byte
- func (x *ERC20DepositInitiated) GetL1Token() []byte
- func (x *ERC20DepositInitiated) GetL2Token() []byte
- func (x *ERC20DepositInitiated) GetTo() []byte
- func (x *ERC20DepositInitiated) GetTs() *timestamppb.Timestamp
- func (*ERC20DepositInitiated) ProtoMessage()
- func (x *ERC20DepositInitiated) ProtoReflect() protoreflect.Message
- func (x *ERC20DepositInitiated) Reset()
- func (x *ERC20DepositInitiated) String() string
- type ERC20WithdrawalFinalized
- func (*ERC20WithdrawalFinalized) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20WithdrawalFinalized) GetAmount() []byte
- func (x *ERC20WithdrawalFinalized) GetData() []byte
- func (x *ERC20WithdrawalFinalized) GetFrom() []byte
- func (x *ERC20WithdrawalFinalized) GetL1Token() []byte
- func (x *ERC20WithdrawalFinalized) GetL2Token() []byte
- func (x *ERC20WithdrawalFinalized) GetTo() []byte
- func (x *ERC20WithdrawalFinalized) GetTs() *timestamppb.Timestamp
- func (*ERC20WithdrawalFinalized) ProtoMessage()
- func (x *ERC20WithdrawalFinalized) ProtoReflect() protoreflect.Message
- func (x *ERC20WithdrawalFinalized) Reset()
- func (x *ERC20WithdrawalFinalized) String() string
- type OPTIMISML2GOVERNANCERELAY
- type OPTIMISML2GOVERNANCERELAYCaller
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) Escrow(opts *bind.CallOpts) (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) IsOpen(opts *bind.CallOpts) (*big.Int, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) L1Token(opts *bind.CallOpts) (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) L2DAITokenBridge(opts *bind.CallOpts) (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) L2Token(opts *bind.CallOpts) (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type OPTIMISML2GOVERNANCERELAYCallerRaw
- type OPTIMISML2GOVERNANCERELAYCallerSession
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) Escrow() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) IsOpen() (*big.Int, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) L1Token() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) L2DAITokenBridge() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) L2Token() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) Messenger() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) Wards(arg0 common.Address) (*big.Int, error)
- type OPTIMISML2GOVERNANCERELAYClosed
- type OPTIMISML2GOVERNANCERELAYClosedIterator
- type OPTIMISML2GOVERNANCERELAYDeny
- type OPTIMISML2GOVERNANCERELAYDenyIterator
- type OPTIMISML2GOVERNANCERELAYERC20DepositInitiated
- type OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator
- type OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalized
- type OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator
- type OPTIMISML2GOVERNANCERELAYFilterer
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterClosed(opts *bind.FilterOpts) (*OPTIMISML2GOVERNANCERELAYClosedIterator, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2GOVERNANCERELAYDenyIterator, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, ...) (*OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, ...) (*OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2GOVERNANCERELAYRelyIterator, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseClosed(log types.Log) (*OPTIMISML2GOVERNANCERELAYClosed, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseDeny(log types.Log) (*OPTIMISML2GOVERNANCERELAYDeny, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseERC20DepositInitiated(log types.Log) (*OPTIMISML2GOVERNANCERELAYERC20DepositInitiated, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalized, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseRely(log types.Log) (*OPTIMISML2GOVERNANCERELAYRely, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchClosed(opts *bind.WatchOpts, sink chan<- *OPTIMISML2GOVERNANCERELAYClosed) (event.Subscription, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISML2GOVERNANCERELAYDeny, ...) (event.Subscription, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISML2GOVERNANCERELAYRely, ...) (event.Subscription, error)
- type OPTIMISML2GOVERNANCERELAYRaw
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OPTIMISML2GOVERNANCERELAYRely
- type OPTIMISML2GOVERNANCERELAYRelyIterator
- type OPTIMISML2GOVERNANCERELAYSession
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Close() (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Escrow() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) IsOpen() (*big.Int, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) L1Token() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) L2DAITokenBridge() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) L2Token() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Messenger() (common.Address, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Rely(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Wards(arg0 common.Address) (*big.Int, error)
- type OPTIMISML2GOVERNANCERELAYTransactor
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) Close(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- type OPTIMISML2GOVERNANCERELAYTransactorRaw
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OPTIMISML2GOVERNANCERELAYTransactorSession
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) Close() (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) Rely(usr common.Address) (*types.Transaction, error)
- type Rely
- type SmartContract
Constants ¶
const OPTIMISML2GOVERNANCERELAYABI = "" /* 5364-byte string literal not displayed */
OPTIMISML2GOVERNANCERELAYABI is the input ABI used to generate the binding from.
Variables ¶
var File_OptimismL2GovernanceRelay_OptimismL2GovernanceRelay_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Closed ¶
type Closed struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*Closed) Descriptor
deprecated
func (*Closed) GetTs ¶
func (x *Closed) GetTs() *timestamppb.Timestamp
func (*Closed) ProtoMessage ¶
func (*Closed) ProtoMessage()
func (*Closed) ProtoReflect ¶
func (x *Closed) ProtoReflect() protoreflect.Message
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 ERC20DepositInitiated ¶
type ERC20DepositInitiated struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` L1Token []byte `protobuf:"bytes,2,opt,name=L1Token,proto3" json:"L1Token,omitempty"` // address L2Token []byte `protobuf:"bytes,3,opt,name=L2Token,proto3" json:"L2Token,omitempty"` // address From []byte `protobuf:"bytes,4,opt,name=From,proto3" json:"From,omitempty"` // address To []byte `protobuf:"bytes,5,opt,name=To,proto3" json:"To,omitempty"` // address Amount []byte `protobuf:"bytes,6,opt,name=Amount,proto3" json:"Amount,omitempty"` // uint256 Data []byte `protobuf:"bytes,7,opt,name=Data,proto3" json:"Data,omitempty"` // bytes // contains filtered or unexported fields }
func (*ERC20DepositInitiated) Descriptor
deprecated
func (*ERC20DepositInitiated) Descriptor() ([]byte, []int)
Deprecated: Use ERC20DepositInitiated.ProtoReflect.Descriptor instead.
func (*ERC20DepositInitiated) GetAmount ¶
func (x *ERC20DepositInitiated) GetAmount() []byte
func (*ERC20DepositInitiated) GetData ¶
func (x *ERC20DepositInitiated) GetData() []byte
func (*ERC20DepositInitiated) GetFrom ¶
func (x *ERC20DepositInitiated) GetFrom() []byte
func (*ERC20DepositInitiated) GetL1Token ¶
func (x *ERC20DepositInitiated) GetL1Token() []byte
func (*ERC20DepositInitiated) GetL2Token ¶
func (x *ERC20DepositInitiated) GetL2Token() []byte
func (*ERC20DepositInitiated) GetTo ¶
func (x *ERC20DepositInitiated) GetTo() []byte
func (*ERC20DepositInitiated) GetTs ¶
func (x *ERC20DepositInitiated) GetTs() *timestamppb.Timestamp
func (*ERC20DepositInitiated) ProtoMessage ¶
func (*ERC20DepositInitiated) ProtoMessage()
func (*ERC20DepositInitiated) ProtoReflect ¶
func (x *ERC20DepositInitiated) ProtoReflect() protoreflect.Message
func (*ERC20DepositInitiated) Reset ¶
func (x *ERC20DepositInitiated) Reset()
func (*ERC20DepositInitiated) String ¶
func (x *ERC20DepositInitiated) String() string
type ERC20WithdrawalFinalized ¶
type ERC20WithdrawalFinalized struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` L1Token []byte `protobuf:"bytes,2,opt,name=L1Token,proto3" json:"L1Token,omitempty"` // address L2Token []byte `protobuf:"bytes,3,opt,name=L2Token,proto3" json:"L2Token,omitempty"` // address From []byte `protobuf:"bytes,4,opt,name=From,proto3" json:"From,omitempty"` // address To []byte `protobuf:"bytes,5,opt,name=To,proto3" json:"To,omitempty"` // address Amount []byte `protobuf:"bytes,6,opt,name=Amount,proto3" json:"Amount,omitempty"` // uint256 Data []byte `protobuf:"bytes,7,opt,name=Data,proto3" json:"Data,omitempty"` // bytes // contains filtered or unexported fields }
func (*ERC20WithdrawalFinalized) Descriptor
deprecated
func (*ERC20WithdrawalFinalized) Descriptor() ([]byte, []int)
Deprecated: Use ERC20WithdrawalFinalized.ProtoReflect.Descriptor instead.
func (*ERC20WithdrawalFinalized) GetAmount ¶
func (x *ERC20WithdrawalFinalized) GetAmount() []byte
func (*ERC20WithdrawalFinalized) GetData ¶
func (x *ERC20WithdrawalFinalized) GetData() []byte
func (*ERC20WithdrawalFinalized) GetFrom ¶
func (x *ERC20WithdrawalFinalized) GetFrom() []byte
func (*ERC20WithdrawalFinalized) GetL1Token ¶
func (x *ERC20WithdrawalFinalized) GetL1Token() []byte
func (*ERC20WithdrawalFinalized) GetL2Token ¶
func (x *ERC20WithdrawalFinalized) GetL2Token() []byte
func (*ERC20WithdrawalFinalized) GetTo ¶
func (x *ERC20WithdrawalFinalized) GetTo() []byte
func (*ERC20WithdrawalFinalized) GetTs ¶
func (x *ERC20WithdrawalFinalized) GetTs() *timestamppb.Timestamp
func (*ERC20WithdrawalFinalized) ProtoMessage ¶
func (*ERC20WithdrawalFinalized) ProtoMessage()
func (*ERC20WithdrawalFinalized) ProtoReflect ¶
func (x *ERC20WithdrawalFinalized) ProtoReflect() protoreflect.Message
func (*ERC20WithdrawalFinalized) Reset ¶
func (x *ERC20WithdrawalFinalized) Reset()
func (*ERC20WithdrawalFinalized) String ¶
func (x *ERC20WithdrawalFinalized) String() string
type OPTIMISML2GOVERNANCERELAY ¶
type OPTIMISML2GOVERNANCERELAY struct { OPTIMISML2GOVERNANCERELAYCaller // Read-only binding to the contract OPTIMISML2GOVERNANCERELAYTransactor // Write-only binding to the contract OPTIMISML2GOVERNANCERELAYFilterer // Log filterer for contract events }
OPTIMISML2GOVERNANCERELAY is an auto generated Go binding around an Ethereum contract.
func NewOPTIMISML2GOVERNANCERELAY ¶
func NewOPTIMISML2GOVERNANCERELAY(address common.Address, backend bind.ContractBackend) (*OPTIMISML2GOVERNANCERELAY, error)
NewOPTIMISML2GOVERNANCERELAY creates a new instance of OPTIMISML2GOVERNANCERELAY, bound to a specific deployed contract.
type OPTIMISML2GOVERNANCERELAYCaller ¶
type OPTIMISML2GOVERNANCERELAYCaller struct {
// contains filtered or unexported fields
}
OPTIMISML2GOVERNANCERELAYCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOPTIMISML2GOVERNANCERELAYCaller ¶
func NewOPTIMISML2GOVERNANCERELAYCaller(address common.Address, caller bind.ContractCaller) (*OPTIMISML2GOVERNANCERELAYCaller, error)
NewOPTIMISML2GOVERNANCERELAYCaller creates a new read-only instance of OPTIMISML2GOVERNANCERELAY, bound to a specific deployed contract.
func (*OPTIMISML2GOVERNANCERELAYCaller) Escrow ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) Escrow(opts *bind.CallOpts) (common.Address, error)
Escrow is a free data retrieval call binding the contract method 0xe2fdcc17.
Solidity: function escrow() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCaller) IsOpen ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) IsOpen(opts *bind.CallOpts) (*big.Int, error)
IsOpen is a free data retrieval call binding the contract method 0x47535d7b.
Solidity: function isOpen() view returns(uint256)
func (*OPTIMISML2GOVERNANCERELAYCaller) L1Token ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) L1Token(opts *bind.CallOpts) (common.Address, error)
L1Token is a free data retrieval call binding the contract method 0xc01e1bd6.
Solidity: function l1Token() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCaller) L2DAITokenBridge ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) L2DAITokenBridge(opts *bind.CallOpts) (common.Address, error)
L2DAITokenBridge is a free data retrieval call binding the contract method 0x2e67f7c8.
Solidity: function l2DAITokenBridge() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCaller) L2Token ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) L2Token(opts *bind.CallOpts) (common.Address, error)
L2Token is a free data retrieval call binding the contract method 0x56eff267.
Solidity: function l2Token() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCaller) Messenger ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCaller) Wards ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Wards is a free data retrieval call binding the contract method 0xbf353dbb.
Solidity: function wards(address ) view returns(uint256)
type OPTIMISML2GOVERNANCERELAYCallerRaw ¶
type OPTIMISML2GOVERNANCERELAYCallerRaw struct {
Contract *OPTIMISML2GOVERNANCERELAYCaller // Generic read-only contract binding to access the raw methods on
}
OPTIMISML2GOVERNANCERELAYCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OPTIMISML2GOVERNANCERELAYCallerRaw) Call ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerRaw) 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 OPTIMISML2GOVERNANCERELAYCallerSession ¶
type OPTIMISML2GOVERNANCERELAYCallerSession struct { Contract *OPTIMISML2GOVERNANCERELAYCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OPTIMISML2GOVERNANCERELAYCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OPTIMISML2GOVERNANCERELAYCallerSession) Escrow ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) Escrow() (common.Address, error)
Escrow is a free data retrieval call binding the contract method 0xe2fdcc17.
Solidity: function escrow() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCallerSession) IsOpen ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) IsOpen() (*big.Int, error)
IsOpen is a free data retrieval call binding the contract method 0x47535d7b.
Solidity: function isOpen() view returns(uint256)
func (*OPTIMISML2GOVERNANCERELAYCallerSession) L1Token ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) L1Token() (common.Address, error)
L1Token is a free data retrieval call binding the contract method 0xc01e1bd6.
Solidity: function l1Token() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCallerSession) L2DAITokenBridge ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) L2DAITokenBridge() (common.Address, error)
L2DAITokenBridge is a free data retrieval call binding the contract method 0x2e67f7c8.
Solidity: function l2DAITokenBridge() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCallerSession) L2Token ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) L2Token() (common.Address, error)
L2Token is a free data retrieval call binding the contract method 0x56eff267.
Solidity: function l2Token() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCallerSession) Messenger ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYCallerSession) Wards ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYCallerSession) Wards(arg0 common.Address) (*big.Int, error)
Wards is a free data retrieval call binding the contract method 0xbf353dbb.
Solidity: function wards(address ) view returns(uint256)
type OPTIMISML2GOVERNANCERELAYClosed ¶
type OPTIMISML2GOVERNANCERELAYClosed struct {
Raw types.Log // Blockchain specific contextual infos
}
OPTIMISML2GOVERNANCERELAYClosed represents a Closed event raised by the OPTIMISML2GOVERNANCERELAY contract.
type OPTIMISML2GOVERNANCERELAYClosedIterator ¶
type OPTIMISML2GOVERNANCERELAYClosedIterator struct { Event *OPTIMISML2GOVERNANCERELAYClosed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2GOVERNANCERELAYClosedIterator is returned from FilterClosed and is used to iterate over the raw logs and unpacked data for Closed events raised by the OPTIMISML2GOVERNANCERELAY contract.
func (*OPTIMISML2GOVERNANCERELAYClosedIterator) Close ¶
func (it *OPTIMISML2GOVERNANCERELAYClosedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2GOVERNANCERELAYClosedIterator) Error ¶
func (it *OPTIMISML2GOVERNANCERELAYClosedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2GOVERNANCERELAYClosedIterator) Next ¶
func (it *OPTIMISML2GOVERNANCERELAYClosedIterator) 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 OPTIMISML2GOVERNANCERELAYDeny ¶
type OPTIMISML2GOVERNANCERELAYDeny struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2GOVERNANCERELAYDeny represents a Deny event raised by the OPTIMISML2GOVERNANCERELAY contract.
type OPTIMISML2GOVERNANCERELAYDenyIterator ¶
type OPTIMISML2GOVERNANCERELAYDenyIterator struct { Event *OPTIMISML2GOVERNANCERELAYDeny // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2GOVERNANCERELAYDenyIterator is returned from FilterDeny and is used to iterate over the raw logs and unpacked data for Deny events raised by the OPTIMISML2GOVERNANCERELAY contract.
func (*OPTIMISML2GOVERNANCERELAYDenyIterator) Close ¶
func (it *OPTIMISML2GOVERNANCERELAYDenyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2GOVERNANCERELAYDenyIterator) Error ¶
func (it *OPTIMISML2GOVERNANCERELAYDenyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2GOVERNANCERELAYDenyIterator) Next ¶
func (it *OPTIMISML2GOVERNANCERELAYDenyIterator) 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 OPTIMISML2GOVERNANCERELAYERC20DepositInitiated ¶
type OPTIMISML2GOVERNANCERELAYERC20DepositInitiated struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2GOVERNANCERELAYERC20DepositInitiated represents a ERC20DepositInitiated event raised by the OPTIMISML2GOVERNANCERELAY contract.
type OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator ¶
type OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator struct { Event *OPTIMISML2GOVERNANCERELAYERC20DepositInitiated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator is returned from FilterERC20DepositInitiated and is used to iterate over the raw logs and unpacked data for ERC20DepositInitiated events raised by the OPTIMISML2GOVERNANCERELAY contract.
func (*OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator) Close ¶
func (it *OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator) Error ¶
func (it *OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator) Next ¶
func (it *OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator) 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 OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalized ¶
type OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalized struct { L1Token common.Address L2Token common.Address From common.Address To common.Address Amount *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalized represents a ERC20WithdrawalFinalized event raised by the OPTIMISML2GOVERNANCERELAY contract.
type OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator ¶
type OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator struct { Event *OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator is returned from FilterERC20WithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ERC20WithdrawalFinalized events raised by the OPTIMISML2GOVERNANCERELAY contract.
func (*OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator) Close ¶
func (it *OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator) Error ¶
func (it *OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator) Next ¶
func (it *OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator) 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 OPTIMISML2GOVERNANCERELAYFilterer ¶
type OPTIMISML2GOVERNANCERELAYFilterer struct {
// contains filtered or unexported fields
}
OPTIMISML2GOVERNANCERELAYFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOPTIMISML2GOVERNANCERELAYFilterer ¶
func NewOPTIMISML2GOVERNANCERELAYFilterer(address common.Address, filterer bind.ContractFilterer) (*OPTIMISML2GOVERNANCERELAYFilterer, error)
NewOPTIMISML2GOVERNANCERELAYFilterer creates a new log filterer instance of OPTIMISML2GOVERNANCERELAY, bound to a specific deployed contract.
func (*OPTIMISML2GOVERNANCERELAYFilterer) FilterClosed ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterClosed(opts *bind.FilterOpts) (*OPTIMISML2GOVERNANCERELAYClosedIterator, error)
FilterClosed is a free log retrieval operation binding the contract event 0x1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a.
Solidity: event Closed()
func (*OPTIMISML2GOVERNANCERELAYFilterer) FilterDeny ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2GOVERNANCERELAYDenyIterator, error)
FilterDeny is a free log retrieval operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISML2GOVERNANCERELAYFilterer) FilterERC20DepositInitiated ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (*OPTIMISML2GOVERNANCERELAYERC20DepositInitiatedIterator, error)
FilterERC20DepositInitiated is a free log retrieval operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
func (*OPTIMISML2GOVERNANCERELAYFilterer) FilterERC20WithdrawalFinalized ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (*OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalizedIterator, error)
FilterERC20WithdrawalFinalized is a free log retrieval operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
func (*OPTIMISML2GOVERNANCERELAYFilterer) FilterRely ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2GOVERNANCERELAYRelyIterator, error)
FilterRely is a free log retrieval operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISML2GOVERNANCERELAYFilterer) ParseClosed ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseClosed(log types.Log) (*OPTIMISML2GOVERNANCERELAYClosed, error)
ParseClosed is a log parse operation binding the contract event 0x1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a.
Solidity: event Closed()
func (*OPTIMISML2GOVERNANCERELAYFilterer) ParseDeny ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseDeny(log types.Log) (*OPTIMISML2GOVERNANCERELAYDeny, error)
ParseDeny is a log parse operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISML2GOVERNANCERELAYFilterer) ParseERC20DepositInitiated ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseERC20DepositInitiated(log types.Log) (*OPTIMISML2GOVERNANCERELAYERC20DepositInitiated, error)
ParseERC20DepositInitiated is a log parse operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
func (*OPTIMISML2GOVERNANCERELAYFilterer) ParseERC20WithdrawalFinalized ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalized, error)
ParseERC20WithdrawalFinalized is a log parse operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
func (*OPTIMISML2GOVERNANCERELAYFilterer) ParseRely ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) ParseRely(log types.Log) (*OPTIMISML2GOVERNANCERELAYRely, error)
ParseRely is a log parse operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISML2GOVERNANCERELAYFilterer) WatchClosed ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchClosed(opts *bind.WatchOpts, sink chan<- *OPTIMISML2GOVERNANCERELAYClosed) (event.Subscription, error)
WatchClosed is a free log subscription operation binding the contract event 0x1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a.
Solidity: event Closed()
func (*OPTIMISML2GOVERNANCERELAYFilterer) WatchDeny ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISML2GOVERNANCERELAYDeny, 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 (*OPTIMISML2GOVERNANCERELAYFilterer) WatchERC20DepositInitiated ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, sink chan<- *OPTIMISML2GOVERNANCERELAYERC20DepositInitiated, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (event.Subscription, error)
WatchERC20DepositInitiated is a free log subscription operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
func (*OPTIMISML2GOVERNANCERELAYFilterer) WatchERC20WithdrawalFinalized ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *OPTIMISML2GOVERNANCERELAYERC20WithdrawalFinalized, _l1Token []common.Address, _l2Token []common.Address, _from []common.Address) (event.Subscription, error)
WatchERC20WithdrawalFinalized is a free log subscription operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed _l1Token, address indexed _l2Token, address indexed _from, address _to, uint256 _amount, bytes _data)
func (*OPTIMISML2GOVERNANCERELAYFilterer) WatchRely ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISML2GOVERNANCERELAYRely, 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 OPTIMISML2GOVERNANCERELAYRaw ¶
type OPTIMISML2GOVERNANCERELAYRaw struct {
Contract *OPTIMISML2GOVERNANCERELAY // Generic contract binding to access the raw methods on
}
OPTIMISML2GOVERNANCERELAYRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OPTIMISML2GOVERNANCERELAYRaw) Call ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYRaw) 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 (*OPTIMISML2GOVERNANCERELAYRaw) Transact ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OPTIMISML2GOVERNANCERELAYRaw) Transfer ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYRaw) 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 OPTIMISML2GOVERNANCERELAYRely ¶
type OPTIMISML2GOVERNANCERELAYRely struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2GOVERNANCERELAYRely represents a Rely event raised by the OPTIMISML2GOVERNANCERELAY contract.
type OPTIMISML2GOVERNANCERELAYRelyIterator ¶
type OPTIMISML2GOVERNANCERELAYRelyIterator struct { Event *OPTIMISML2GOVERNANCERELAYRely // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2GOVERNANCERELAYRelyIterator is returned from FilterRely and is used to iterate over the raw logs and unpacked data for Rely events raised by the OPTIMISML2GOVERNANCERELAY contract.
func (*OPTIMISML2GOVERNANCERELAYRelyIterator) Close ¶
func (it *OPTIMISML2GOVERNANCERELAYRelyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2GOVERNANCERELAYRelyIterator) Error ¶
func (it *OPTIMISML2GOVERNANCERELAYRelyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2GOVERNANCERELAYRelyIterator) Next ¶
func (it *OPTIMISML2GOVERNANCERELAYRelyIterator) 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 OPTIMISML2GOVERNANCERELAYSession ¶
type OPTIMISML2GOVERNANCERELAYSession struct { Contract *OPTIMISML2GOVERNANCERELAY // 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 }
OPTIMISML2GOVERNANCERELAYSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OPTIMISML2GOVERNANCERELAYSession) Close ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Close() (*types.Transaction, error)
Close is a paid mutator transaction binding the contract method 0x43d726d6.
Solidity: function close() returns()
func (*OPTIMISML2GOVERNANCERELAYSession) Deny ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) 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 (*OPTIMISML2GOVERNANCERELAYSession) DepositERC20 ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _l2Gas, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYSession) DepositERC20To ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _l2Gas, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYSession) Escrow ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Escrow() (common.Address, error)
Escrow is a free data retrieval call binding the contract method 0xe2fdcc17.
Solidity: function escrow() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYSession) FinalizeERC20Withdrawal ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYSession) IsOpen ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) IsOpen() (*big.Int, error)
IsOpen is a free data retrieval call binding the contract method 0x47535d7b.
Solidity: function isOpen() view returns(uint256)
func (*OPTIMISML2GOVERNANCERELAYSession) L1Token ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) L1Token() (common.Address, error)
L1Token is a free data retrieval call binding the contract method 0xc01e1bd6.
Solidity: function l1Token() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYSession) L2DAITokenBridge ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) L2DAITokenBridge() (common.Address, error)
L2DAITokenBridge is a free data retrieval call binding the contract method 0x2e67f7c8.
Solidity: function l2DAITokenBridge() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYSession) L2Token ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) L2Token() (common.Address, error)
L2Token is a free data retrieval call binding the contract method 0x56eff267.
Solidity: function l2Token() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYSession) Messenger ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*OPTIMISML2GOVERNANCERELAYSession) Rely ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYSession) 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 OPTIMISML2GOVERNANCERELAYTransactor ¶
type OPTIMISML2GOVERNANCERELAYTransactor struct {
// contains filtered or unexported fields
}
OPTIMISML2GOVERNANCERELAYTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOPTIMISML2GOVERNANCERELAYTransactor ¶
func NewOPTIMISML2GOVERNANCERELAYTransactor(address common.Address, transactor bind.ContractTransactor) (*OPTIMISML2GOVERNANCERELAYTransactor, error)
NewOPTIMISML2GOVERNANCERELAYTransactor creates a new write-only instance of OPTIMISML2GOVERNANCERELAY, bound to a specific deployed contract.
func (*OPTIMISML2GOVERNANCERELAYTransactor) Close ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) Close(opts *bind.TransactOpts) (*types.Transaction, error)
Close is a paid mutator transaction binding the contract method 0x43d726d6.
Solidity: function close() returns()
func (*OPTIMISML2GOVERNANCERELAYTransactor) Deny ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) 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 (*OPTIMISML2GOVERNANCERELAYTransactor) DepositERC20 ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _l2Gas, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYTransactor) DepositERC20To ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _l2Gas, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYTransactor) FinalizeERC20Withdrawal ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYTransactor) Rely ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactor) 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 OPTIMISML2GOVERNANCERELAYTransactorRaw ¶
type OPTIMISML2GOVERNANCERELAYTransactorRaw struct {
Contract *OPTIMISML2GOVERNANCERELAYTransactor // Generic write-only contract binding to access the raw methods on
}
OPTIMISML2GOVERNANCERELAYTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OPTIMISML2GOVERNANCERELAYTransactorRaw) Transact ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OPTIMISML2GOVERNANCERELAYTransactorRaw) Transfer ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorRaw) 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 OPTIMISML2GOVERNANCERELAYTransactorSession ¶
type OPTIMISML2GOVERNANCERELAYTransactorSession struct { Contract *OPTIMISML2GOVERNANCERELAYTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OPTIMISML2GOVERNANCERELAYTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OPTIMISML2GOVERNANCERELAYTransactorSession) Close ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) Close() (*types.Transaction, error)
Close is a paid mutator transaction binding the contract method 0x43d726d6.
Solidity: function close() returns()
func (*OPTIMISML2GOVERNANCERELAYTransactorSession) Deny ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) 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 (*OPTIMISML2GOVERNANCERELAYTransactorSession) DepositERC20 ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _l2Gas, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYTransactorSession) DepositERC20To ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _l2Gas uint32, _data []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _l2Gas, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYTransactorSession) FinalizeERC20Withdrawal ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _data) returns()
func (*OPTIMISML2GOVERNANCERELAYTransactorSession) Rely ¶
func (_OPTIMISML2GOVERNANCERELAY *OPTIMISML2GOVERNANCERELAYTransactorSession) 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