Documentation ¶
Index ¶
- Constants
- Variables
- type Approve
- func (*Approve) Descriptor() ([]byte, []int)deprecated
- func (x *Approve) GetSpender() []byte
- func (x *Approve) GetToken() []byte
- func (x *Approve) GetTs() *timestamppb.Timestamp
- func (x *Approve) GetValue() []byte
- func (*Approve) ProtoMessage()
- func (x *Approve) ProtoReflect() protoreflect.Message
- func (x *Approve) Reset()
- func (x *Approve) String() string
- type Deny
- type OPTIMISML2DAITOKENBRIDGE
- type OPTIMISML2DAITOKENBRIDGEApprove
- type OPTIMISML2DAITOKENBRIDGEApproveIterator
- type OPTIMISML2DAITOKENBRIDGECaller
- type OPTIMISML2DAITOKENBRIDGECallerRaw
- type OPTIMISML2DAITOKENBRIDGECallerSession
- type OPTIMISML2DAITOKENBRIDGEDeny
- type OPTIMISML2DAITOKENBRIDGEDenyIterator
- type OPTIMISML2DAITOKENBRIDGEFilterer
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) FilterApprove(opts *bind.FilterOpts, token []common.Address, spender []common.Address) (*OPTIMISML2DAITOKENBRIDGEApproveIterator, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2DAITOKENBRIDGEDenyIterator, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2DAITOKENBRIDGERelyIterator, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) ParseApprove(log types.Log) (*OPTIMISML2DAITOKENBRIDGEApprove, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) ParseDeny(log types.Log) (*OPTIMISML2DAITOKENBRIDGEDeny, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) ParseRely(log types.Log) (*OPTIMISML2DAITOKENBRIDGERely, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) WatchApprove(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAITOKENBRIDGEApprove, ...) (event.Subscription, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAITOKENBRIDGEDeny, ...) (event.Subscription, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAITOKENBRIDGERely, ...) (event.Subscription, error)
- type OPTIMISML2DAITOKENBRIDGERaw
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGERaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGERaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGERaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OPTIMISML2DAITOKENBRIDGERely
- type OPTIMISML2DAITOKENBRIDGERelyIterator
- type OPTIMISML2DAITOKENBRIDGESession
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGESession) Approve(token common.Address, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGESession) Deny(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGESession) Rely(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGESession) Wards(arg0 common.Address) (*big.Int, error)
- type OPTIMISML2DAITOKENBRIDGETransactor
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactor) Approve(opts *bind.TransactOpts, token common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- type OPTIMISML2DAITOKENBRIDGETransactorRaw
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OPTIMISML2DAITOKENBRIDGETransactorSession
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorSession) Approve(token common.Address, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorSession) Rely(usr common.Address) (*types.Transaction, error)
- type Rely
- type SmartContract
Constants ¶
const OPTIMISML2DAITOKENBRIDGEABI = "" /* 1637-byte string literal not displayed */
OPTIMISML2DAITOKENBRIDGEABI is the input ABI used to generate the binding from.
Variables ¶
var File_OptimismL2DaiTokenBridge_OptimismL2DaiTokenBridge_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Approve ¶
type Approve struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Token []byte `protobuf:"bytes,2,opt,name=Token,proto3" json:"Token,omitempty"` // address Spender []byte `protobuf:"bytes,3,opt,name=Spender,proto3" json:"Spender,omitempty"` // address Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Approve) Descriptor
deprecated
func (*Approve) GetSpender ¶
func (*Approve) GetTs ¶
func (x *Approve) GetTs() *timestamppb.Timestamp
func (*Approve) ProtoMessage ¶
func (*Approve) ProtoMessage()
func (*Approve) ProtoReflect ¶
func (x *Approve) 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 OPTIMISML2DAITOKENBRIDGE ¶
type OPTIMISML2DAITOKENBRIDGE struct { OPTIMISML2DAITOKENBRIDGECaller // Read-only binding to the contract OPTIMISML2DAITOKENBRIDGETransactor // Write-only binding to the contract OPTIMISML2DAITOKENBRIDGEFilterer // Log filterer for contract events }
OPTIMISML2DAITOKENBRIDGE is an auto generated Go binding around an Ethereum contract.
func NewOPTIMISML2DAITOKENBRIDGE ¶
func NewOPTIMISML2DAITOKENBRIDGE(address common.Address, backend bind.ContractBackend) (*OPTIMISML2DAITOKENBRIDGE, error)
NewOPTIMISML2DAITOKENBRIDGE creates a new instance of OPTIMISML2DAITOKENBRIDGE, bound to a specific deployed contract.
type OPTIMISML2DAITOKENBRIDGEApprove ¶
type OPTIMISML2DAITOKENBRIDGEApprove struct { Token common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2DAITOKENBRIDGEApprove represents a Approve event raised by the OPTIMISML2DAITOKENBRIDGE contract.
type OPTIMISML2DAITOKENBRIDGEApproveIterator ¶
type OPTIMISML2DAITOKENBRIDGEApproveIterator struct { Event *OPTIMISML2DAITOKENBRIDGEApprove // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2DAITOKENBRIDGEApproveIterator is returned from FilterApprove and is used to iterate over the raw logs and unpacked data for Approve events raised by the OPTIMISML2DAITOKENBRIDGE contract.
func (*OPTIMISML2DAITOKENBRIDGEApproveIterator) Close ¶
func (it *OPTIMISML2DAITOKENBRIDGEApproveIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2DAITOKENBRIDGEApproveIterator) Error ¶
func (it *OPTIMISML2DAITOKENBRIDGEApproveIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2DAITOKENBRIDGEApproveIterator) Next ¶
func (it *OPTIMISML2DAITOKENBRIDGEApproveIterator) 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 OPTIMISML2DAITOKENBRIDGECaller ¶
type OPTIMISML2DAITOKENBRIDGECaller struct {
// contains filtered or unexported fields
}
OPTIMISML2DAITOKENBRIDGECaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOPTIMISML2DAITOKENBRIDGECaller ¶
func NewOPTIMISML2DAITOKENBRIDGECaller(address common.Address, caller bind.ContractCaller) (*OPTIMISML2DAITOKENBRIDGECaller, error)
NewOPTIMISML2DAITOKENBRIDGECaller creates a new read-only instance of OPTIMISML2DAITOKENBRIDGE, bound to a specific deployed contract.
func (*OPTIMISML2DAITOKENBRIDGECaller) Wards ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGECaller) 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 OPTIMISML2DAITOKENBRIDGECallerRaw ¶
type OPTIMISML2DAITOKENBRIDGECallerRaw struct {
Contract *OPTIMISML2DAITOKENBRIDGECaller // Generic read-only contract binding to access the raw methods on
}
OPTIMISML2DAITOKENBRIDGECallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OPTIMISML2DAITOKENBRIDGECallerRaw) Call ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGECallerRaw) 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 OPTIMISML2DAITOKENBRIDGECallerSession ¶
type OPTIMISML2DAITOKENBRIDGECallerSession struct { Contract *OPTIMISML2DAITOKENBRIDGECaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OPTIMISML2DAITOKENBRIDGECallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OPTIMISML2DAITOKENBRIDGECallerSession) Wards ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGECallerSession) 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 OPTIMISML2DAITOKENBRIDGEDeny ¶
type OPTIMISML2DAITOKENBRIDGEDeny struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2DAITOKENBRIDGEDeny represents a Deny event raised by the OPTIMISML2DAITOKENBRIDGE contract.
type OPTIMISML2DAITOKENBRIDGEDenyIterator ¶
type OPTIMISML2DAITOKENBRIDGEDenyIterator struct { Event *OPTIMISML2DAITOKENBRIDGEDeny // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2DAITOKENBRIDGEDenyIterator is returned from FilterDeny and is used to iterate over the raw logs and unpacked data for Deny events raised by the OPTIMISML2DAITOKENBRIDGE contract.
func (*OPTIMISML2DAITOKENBRIDGEDenyIterator) Close ¶
func (it *OPTIMISML2DAITOKENBRIDGEDenyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2DAITOKENBRIDGEDenyIterator) Error ¶
func (it *OPTIMISML2DAITOKENBRIDGEDenyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2DAITOKENBRIDGEDenyIterator) Next ¶
func (it *OPTIMISML2DAITOKENBRIDGEDenyIterator) 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 OPTIMISML2DAITOKENBRIDGEFilterer ¶
type OPTIMISML2DAITOKENBRIDGEFilterer struct {
// contains filtered or unexported fields
}
OPTIMISML2DAITOKENBRIDGEFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOPTIMISML2DAITOKENBRIDGEFilterer ¶
func NewOPTIMISML2DAITOKENBRIDGEFilterer(address common.Address, filterer bind.ContractFilterer) (*OPTIMISML2DAITOKENBRIDGEFilterer, error)
NewOPTIMISML2DAITOKENBRIDGEFilterer creates a new log filterer instance of OPTIMISML2DAITOKENBRIDGE, bound to a specific deployed contract.
func (*OPTIMISML2DAITOKENBRIDGEFilterer) FilterApprove ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) FilterApprove(opts *bind.FilterOpts, token []common.Address, spender []common.Address) (*OPTIMISML2DAITOKENBRIDGEApproveIterator, error)
FilterApprove is a free log retrieval operation binding the contract event 0x6e11fb1b7f119e3f2fa29896ef5fdf8b8a2d0d4df6fe90ba8668e7d8b2ffa25e.
Solidity: event Approve(address indexed token, address indexed spender, uint256 value)
func (*OPTIMISML2DAITOKENBRIDGEFilterer) FilterDeny ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2DAITOKENBRIDGEDenyIterator, error)
FilterDeny is a free log retrieval operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISML2DAITOKENBRIDGEFilterer) FilterRely ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2DAITOKENBRIDGERelyIterator, error)
FilterRely is a free log retrieval operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISML2DAITOKENBRIDGEFilterer) ParseApprove ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) ParseApprove(log types.Log) (*OPTIMISML2DAITOKENBRIDGEApprove, error)
ParseApprove is a log parse operation binding the contract event 0x6e11fb1b7f119e3f2fa29896ef5fdf8b8a2d0d4df6fe90ba8668e7d8b2ffa25e.
Solidity: event Approve(address indexed token, address indexed spender, uint256 value)
func (*OPTIMISML2DAITOKENBRIDGEFilterer) ParseDeny ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) ParseDeny(log types.Log) (*OPTIMISML2DAITOKENBRIDGEDeny, error)
ParseDeny is a log parse operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISML2DAITOKENBRIDGEFilterer) ParseRely ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) ParseRely(log types.Log) (*OPTIMISML2DAITOKENBRIDGERely, error)
ParseRely is a log parse operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISML2DAITOKENBRIDGEFilterer) WatchApprove ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) WatchApprove(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAITOKENBRIDGEApprove, token []common.Address, spender []common.Address) (event.Subscription, error)
WatchApprove is a free log subscription operation binding the contract event 0x6e11fb1b7f119e3f2fa29896ef5fdf8b8a2d0d4df6fe90ba8668e7d8b2ffa25e.
Solidity: event Approve(address indexed token, address indexed spender, uint256 value)
func (*OPTIMISML2DAITOKENBRIDGEFilterer) WatchDeny ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAITOKENBRIDGEDeny, 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 (*OPTIMISML2DAITOKENBRIDGEFilterer) WatchRely ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGEFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAITOKENBRIDGERely, 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 OPTIMISML2DAITOKENBRIDGERaw ¶
type OPTIMISML2DAITOKENBRIDGERaw struct {
Contract *OPTIMISML2DAITOKENBRIDGE // Generic contract binding to access the raw methods on
}
OPTIMISML2DAITOKENBRIDGERaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OPTIMISML2DAITOKENBRIDGERaw) Call ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGERaw) 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 (*OPTIMISML2DAITOKENBRIDGERaw) Transact ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGERaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OPTIMISML2DAITOKENBRIDGERaw) Transfer ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGERaw) 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 OPTIMISML2DAITOKENBRIDGERely ¶
type OPTIMISML2DAITOKENBRIDGERely struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2DAITOKENBRIDGERely represents a Rely event raised by the OPTIMISML2DAITOKENBRIDGE contract.
type OPTIMISML2DAITOKENBRIDGERelyIterator ¶
type OPTIMISML2DAITOKENBRIDGERelyIterator struct { Event *OPTIMISML2DAITOKENBRIDGERely // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2DAITOKENBRIDGERelyIterator is returned from FilterRely and is used to iterate over the raw logs and unpacked data for Rely events raised by the OPTIMISML2DAITOKENBRIDGE contract.
func (*OPTIMISML2DAITOKENBRIDGERelyIterator) Close ¶
func (it *OPTIMISML2DAITOKENBRIDGERelyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2DAITOKENBRIDGERelyIterator) Error ¶
func (it *OPTIMISML2DAITOKENBRIDGERelyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2DAITOKENBRIDGERelyIterator) Next ¶
func (it *OPTIMISML2DAITOKENBRIDGERelyIterator) 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 OPTIMISML2DAITOKENBRIDGESession ¶
type OPTIMISML2DAITOKENBRIDGESession struct { Contract *OPTIMISML2DAITOKENBRIDGE // 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 }
OPTIMISML2DAITOKENBRIDGESession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OPTIMISML2DAITOKENBRIDGESession) Approve ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGESession) Approve(token common.Address, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xe1f21c67.
Solidity: function approve(address token, address spender, uint256 value) returns()
func (*OPTIMISML2DAITOKENBRIDGESession) Deny ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGESession) 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 (*OPTIMISML2DAITOKENBRIDGESession) Rely ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGESession) 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 OPTIMISML2DAITOKENBRIDGETransactor ¶
type OPTIMISML2DAITOKENBRIDGETransactor struct {
// contains filtered or unexported fields
}
OPTIMISML2DAITOKENBRIDGETransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOPTIMISML2DAITOKENBRIDGETransactor ¶
func NewOPTIMISML2DAITOKENBRIDGETransactor(address common.Address, transactor bind.ContractTransactor) (*OPTIMISML2DAITOKENBRIDGETransactor, error)
NewOPTIMISML2DAITOKENBRIDGETransactor creates a new write-only instance of OPTIMISML2DAITOKENBRIDGE, bound to a specific deployed contract.
func (*OPTIMISML2DAITOKENBRIDGETransactor) Approve ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactor) Approve(opts *bind.TransactOpts, token common.Address, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xe1f21c67.
Solidity: function approve(address token, address spender, uint256 value) returns()
func (*OPTIMISML2DAITOKENBRIDGETransactor) Deny ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactor) 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 (*OPTIMISML2DAITOKENBRIDGETransactor) Rely ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactor) 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 OPTIMISML2DAITOKENBRIDGETransactorRaw ¶
type OPTIMISML2DAITOKENBRIDGETransactorRaw struct {
Contract *OPTIMISML2DAITOKENBRIDGETransactor // Generic write-only contract binding to access the raw methods on
}
OPTIMISML2DAITOKENBRIDGETransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OPTIMISML2DAITOKENBRIDGETransactorRaw) Transact ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OPTIMISML2DAITOKENBRIDGETransactorRaw) Transfer ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorRaw) 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 OPTIMISML2DAITOKENBRIDGETransactorSession ¶
type OPTIMISML2DAITOKENBRIDGETransactorSession struct { Contract *OPTIMISML2DAITOKENBRIDGETransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OPTIMISML2DAITOKENBRIDGETransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OPTIMISML2DAITOKENBRIDGETransactorSession) Approve ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorSession) Approve(token common.Address, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xe1f21c67.
Solidity: function approve(address token, address spender, uint256 value) returns()
func (*OPTIMISML2DAITOKENBRIDGETransactorSession) Deny ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorSession) 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 (*OPTIMISML2DAITOKENBRIDGETransactorSession) Rely ¶
func (_OPTIMISML2DAITOKENBRIDGE *OPTIMISML2DAITOKENBRIDGETransactorSession) 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