Documentation ¶
Index ¶
- Constants
- Variables
- type Approval
- func (*Approval) Descriptor() ([]byte, []int)deprecated
- func (x *Approval) GetOwner() []byte
- func (x *Approval) GetSpender() []byte
- func (x *Approval) GetTs() *timestamppb.Timestamp
- func (x *Approval) GetValue() []byte
- func (*Approval) ProtoMessage()
- func (x *Approval) ProtoReflect() protoreflect.Message
- func (x *Approval) Reset()
- func (x *Approval) String() string
- type Deny
- type OPTIMISML2DAI
- type OPTIMISML2DAIApproval
- type OPTIMISML2DAIApprovalIterator
- type OPTIMISML2DAICaller
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) DeploymentChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Name(opts *bind.CallOpts) (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Version(opts *bind.CallOpts) (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type OPTIMISML2DAICallerRaw
- type OPTIMISML2DAICallerSession
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Decimals() (uint8, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) DeploymentChainId() (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Name() (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Symbol() (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) TotalSupply() (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Version() (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Wards(arg0 common.Address) (*big.Int, error)
- type OPTIMISML2DAIDeny
- type OPTIMISML2DAIDenyIterator
- type OPTIMISML2DAIFilterer
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*OPTIMISML2DAIApprovalIterator, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2DAIDenyIterator, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2DAIRelyIterator, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OPTIMISML2DAITransferIterator, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) ParseApproval(log types.Log) (*OPTIMISML2DAIApproval, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) ParseDeny(log types.Log) (*OPTIMISML2DAIDeny, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) ParseRely(log types.Log) (*OPTIMISML2DAIRely, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) ParseTransfer(log types.Log) (*OPTIMISML2DAITransfer, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAIApproval, ...) (event.Subscription, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAIDeny, usr []common.Address) (event.Subscription, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAIRely, usr []common.Address) (event.Subscription, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAITransfer, ...) (event.Subscription, error)
- type OPTIMISML2DAIRaw
- func (_OPTIMISML2DAI *OPTIMISML2DAIRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OPTIMISML2DAI *OPTIMISML2DAIRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAIRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OPTIMISML2DAIRely
- type OPTIMISML2DAIRelyIterator
- type OPTIMISML2DAISession
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Burn(from common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) DOMAINSEPARATOR() ([32]byte, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Decimals() (uint8, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Deny(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) DeploymentChainId() (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Name() (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) PERMITTYPEHASH() ([32]byte, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Rely(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Symbol() (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) TotalSupply() (*big.Int, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Version() (string, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAISession) Wards(arg0 common.Address) (*big.Int, error)
- type OPTIMISML2DAITransactor
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Burn(opts *bind.TransactOpts, from common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type OPTIMISML2DAITransactorRaw
- type OPTIMISML2DAITransactorSession
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Burn(from common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Rely(usr common.Address) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type OPTIMISML2DAITransfer
- type OPTIMISML2DAITransferIterator
- type Rely
- type SmartContract
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetFrom() []byte
- func (x *Transfer) GetTo() []byte
- func (x *Transfer) GetTs() *timestamppb.Timestamp
- func (x *Transfer) GetValue() []byte
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
Constants ¶
const OPTIMISML2DAIABI = "" /* 6521-byte string literal not displayed */
OPTIMISML2DAIABI is the input ABI used to generate the binding from.
Variables ¶
var File_OptimismL2Dai_OptimismL2Dai_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Approval ¶
type Approval struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Owner []byte `protobuf:"bytes,2,opt,name=Owner,proto3" json:"Owner,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 (*Approval) Descriptor
deprecated
func (*Approval) GetSpender ¶
func (*Approval) GetTs ¶
func (x *Approval) GetTs() *timestamppb.Timestamp
func (*Approval) ProtoMessage ¶
func (*Approval) ProtoMessage()
func (*Approval) ProtoReflect ¶
func (x *Approval) 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 OPTIMISML2DAI ¶
type OPTIMISML2DAI struct { OPTIMISML2DAICaller // Read-only binding to the contract OPTIMISML2DAITransactor // Write-only binding to the contract OPTIMISML2DAIFilterer // Log filterer for contract events }
OPTIMISML2DAI is an auto generated Go binding around an Ethereum contract.
func NewOPTIMISML2DAI ¶
func NewOPTIMISML2DAI(address common.Address, backend bind.ContractBackend) (*OPTIMISML2DAI, error)
NewOPTIMISML2DAI creates a new instance of OPTIMISML2DAI, bound to a specific deployed contract.
type OPTIMISML2DAIApproval ¶
type OPTIMISML2DAIApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2DAIApproval represents a Approval event raised by the OPTIMISML2DAI contract.
type OPTIMISML2DAIApprovalIterator ¶
type OPTIMISML2DAIApprovalIterator struct { Event *OPTIMISML2DAIApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2DAIApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the OPTIMISML2DAI contract.
func (*OPTIMISML2DAIApprovalIterator) Close ¶
func (it *OPTIMISML2DAIApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2DAIApprovalIterator) Error ¶
func (it *OPTIMISML2DAIApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2DAIApprovalIterator) Next ¶
func (it *OPTIMISML2DAIApprovalIterator) 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 OPTIMISML2DAICaller ¶
type OPTIMISML2DAICaller struct {
// contains filtered or unexported fields
}
OPTIMISML2DAICaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOPTIMISML2DAICaller ¶
func NewOPTIMISML2DAICaller(address common.Address, caller bind.ContractCaller) (*OPTIMISML2DAICaller, error)
NewOPTIMISML2DAICaller creates a new read-only instance of OPTIMISML2DAI, bound to a specific deployed contract.
func (*OPTIMISML2DAICaller) Allowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*OPTIMISML2DAICaller) BalanceOf ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*OPTIMISML2DAICaller) DOMAINSEPARATOR ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*OPTIMISML2DAICaller) Decimals ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*OPTIMISML2DAICaller) DeploymentChainId ¶
DeploymentChainId is a free data retrieval call binding the contract method 0xcd0d0096.
Solidity: function deploymentChainId() view returns(uint256)
func (*OPTIMISML2DAICaller) Name ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*OPTIMISML2DAICaller) Nonces ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*OPTIMISML2DAICaller) PERMITTYPEHASH ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*OPTIMISML2DAICaller) Symbol ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*OPTIMISML2DAICaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type OPTIMISML2DAICallerRaw ¶
type OPTIMISML2DAICallerRaw struct {
Contract *OPTIMISML2DAICaller // Generic read-only contract binding to access the raw methods on
}
OPTIMISML2DAICallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OPTIMISML2DAICallerRaw) Call ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerRaw) 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 OPTIMISML2DAICallerSession ¶
type OPTIMISML2DAICallerSession struct { Contract *OPTIMISML2DAICaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OPTIMISML2DAICallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OPTIMISML2DAICallerSession) Allowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*OPTIMISML2DAICallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*OPTIMISML2DAICallerSession) DOMAINSEPARATOR ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*OPTIMISML2DAICallerSession) Decimals ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*OPTIMISML2DAICallerSession) DeploymentChainId ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) DeploymentChainId() (*big.Int, error)
DeploymentChainId is a free data retrieval call binding the contract method 0xcd0d0096.
Solidity: function deploymentChainId() view returns(uint256)
func (*OPTIMISML2DAICallerSession) Name ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*OPTIMISML2DAICallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*OPTIMISML2DAICallerSession) PERMITTYPEHASH ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*OPTIMISML2DAICallerSession) Symbol ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*OPTIMISML2DAICallerSession) TotalSupply ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*OPTIMISML2DAICallerSession) Version ¶
func (_OPTIMISML2DAI *OPTIMISML2DAICallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type OPTIMISML2DAIDeny ¶
type OPTIMISML2DAIDeny struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2DAIDeny represents a Deny event raised by the OPTIMISML2DAI contract.
type OPTIMISML2DAIDenyIterator ¶
type OPTIMISML2DAIDenyIterator struct { Event *OPTIMISML2DAIDeny // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2DAIDenyIterator is returned from FilterDeny and is used to iterate over the raw logs and unpacked data for Deny events raised by the OPTIMISML2DAI contract.
func (*OPTIMISML2DAIDenyIterator) Close ¶
func (it *OPTIMISML2DAIDenyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2DAIDenyIterator) Error ¶
func (it *OPTIMISML2DAIDenyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2DAIDenyIterator) Next ¶
func (it *OPTIMISML2DAIDenyIterator) 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 OPTIMISML2DAIFilterer ¶
type OPTIMISML2DAIFilterer struct {
// contains filtered or unexported fields
}
OPTIMISML2DAIFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOPTIMISML2DAIFilterer ¶
func NewOPTIMISML2DAIFilterer(address common.Address, filterer bind.ContractFilterer) (*OPTIMISML2DAIFilterer, error)
NewOPTIMISML2DAIFilterer creates a new log filterer instance of OPTIMISML2DAI, bound to a specific deployed contract.
func (*OPTIMISML2DAIFilterer) FilterApproval ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*OPTIMISML2DAIApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*OPTIMISML2DAIFilterer) FilterDeny ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2DAIDenyIterator, error)
FilterDeny is a free log retrieval operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISML2DAIFilterer) FilterRely ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*OPTIMISML2DAIRelyIterator, error)
FilterRely is a free log retrieval operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISML2DAIFilterer) FilterTransfer ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OPTIMISML2DAITransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*OPTIMISML2DAIFilterer) ParseApproval ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) ParseApproval(log types.Log) (*OPTIMISML2DAIApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*OPTIMISML2DAIFilterer) ParseDeny ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) ParseDeny(log types.Log) (*OPTIMISML2DAIDeny, error)
ParseDeny is a log parse operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*OPTIMISML2DAIFilterer) ParseRely ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) ParseRely(log types.Log) (*OPTIMISML2DAIRely, error)
ParseRely is a log parse operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISML2DAIFilterer) ParseTransfer ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) ParseTransfer(log types.Log) (*OPTIMISML2DAITransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*OPTIMISML2DAIFilterer) WatchApproval ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAIApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*OPTIMISML2DAIFilterer) WatchDeny ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAIDeny, 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 (*OPTIMISML2DAIFilterer) WatchRely ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAIRely, usr []common.Address) (event.Subscription, error)
WatchRely is a free log subscription operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*OPTIMISML2DAIFilterer) WatchTransfer ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OPTIMISML2DAITransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type OPTIMISML2DAIRaw ¶
type OPTIMISML2DAIRaw struct {
Contract *OPTIMISML2DAI // Generic contract binding to access the raw methods on
}
OPTIMISML2DAIRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OPTIMISML2DAIRaw) Call ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIRaw) 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 (*OPTIMISML2DAIRaw) Transact ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OPTIMISML2DAIRaw) Transfer ¶
func (_OPTIMISML2DAI *OPTIMISML2DAIRaw) 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 OPTIMISML2DAIRely ¶
type OPTIMISML2DAIRely struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2DAIRely represents a Rely event raised by the OPTIMISML2DAI contract.
type OPTIMISML2DAIRelyIterator ¶
type OPTIMISML2DAIRelyIterator struct { Event *OPTIMISML2DAIRely // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2DAIRelyIterator is returned from FilterRely and is used to iterate over the raw logs and unpacked data for Rely events raised by the OPTIMISML2DAI contract.
func (*OPTIMISML2DAIRelyIterator) Close ¶
func (it *OPTIMISML2DAIRelyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2DAIRelyIterator) Error ¶
func (it *OPTIMISML2DAIRelyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2DAIRelyIterator) Next ¶
func (it *OPTIMISML2DAIRelyIterator) 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 OPTIMISML2DAISession ¶
type OPTIMISML2DAISession struct { Contract *OPTIMISML2DAI // 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 }
OPTIMISML2DAISession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OPTIMISML2DAISession) Allowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*OPTIMISML2DAISession) Approve ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*OPTIMISML2DAISession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*OPTIMISML2DAISession) Burn ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Burn(from common.Address, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address from, uint256 value) returns()
func (*OPTIMISML2DAISession) DOMAINSEPARATOR ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*OPTIMISML2DAISession) Decimals ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*OPTIMISML2DAISession) DecreaseAllowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*OPTIMISML2DAISession) Deny ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) 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 (*OPTIMISML2DAISession) DeploymentChainId ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) DeploymentChainId() (*big.Int, error)
DeploymentChainId is a free data retrieval call binding the contract method 0xcd0d0096.
Solidity: function deploymentChainId() view returns(uint256)
func (*OPTIMISML2DAISession) IncreaseAllowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*OPTIMISML2DAISession) Mint ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns()
func (*OPTIMISML2DAISession) Name ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*OPTIMISML2DAISession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*OPTIMISML2DAISession) PERMITTYPEHASH ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*OPTIMISML2DAISession) Permit ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*OPTIMISML2DAISession) Rely ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Rely(usr common.Address) (*types.Transaction, error)
Rely is a paid mutator transaction binding the contract method 0x65fae35e.
Solidity: function rely(address usr) returns()
func (*OPTIMISML2DAISession) Symbol ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*OPTIMISML2DAISession) TotalSupply ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*OPTIMISML2DAISession) Transfer ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*OPTIMISML2DAISession) TransferFrom ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*OPTIMISML2DAISession) Version ¶
func (_OPTIMISML2DAI *OPTIMISML2DAISession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type OPTIMISML2DAITransactor ¶
type OPTIMISML2DAITransactor struct {
// contains filtered or unexported fields
}
OPTIMISML2DAITransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOPTIMISML2DAITransactor ¶
func NewOPTIMISML2DAITransactor(address common.Address, transactor bind.ContractTransactor) (*OPTIMISML2DAITransactor, error)
NewOPTIMISML2DAITransactor creates a new write-only instance of OPTIMISML2DAI, bound to a specific deployed contract.
func (*OPTIMISML2DAITransactor) Approve ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*OPTIMISML2DAITransactor) Burn ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Burn(opts *bind.TransactOpts, from common.Address, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address from, uint256 value) returns()
func (*OPTIMISML2DAITransactor) DecreaseAllowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*OPTIMISML2DAITransactor) Deny ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) 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 (*OPTIMISML2DAITransactor) IncreaseAllowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*OPTIMISML2DAITransactor) Mint ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns()
func (*OPTIMISML2DAITransactor) Permit ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*OPTIMISML2DAITransactor) Rely ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) 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()
func (*OPTIMISML2DAITransactor) Transfer ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*OPTIMISML2DAITransactor) TransferFrom ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type OPTIMISML2DAITransactorRaw ¶
type OPTIMISML2DAITransactorRaw struct {
Contract *OPTIMISML2DAITransactor // Generic write-only contract binding to access the raw methods on
}
OPTIMISML2DAITransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OPTIMISML2DAITransactorRaw) Transact ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OPTIMISML2DAITransactorRaw) Transfer ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorRaw) 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 OPTIMISML2DAITransactorSession ¶
type OPTIMISML2DAITransactorSession struct { Contract *OPTIMISML2DAITransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OPTIMISML2DAITransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OPTIMISML2DAITransactorSession) Approve ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*OPTIMISML2DAITransactorSession) Burn ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Burn(from common.Address, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address from, uint256 value) returns()
func (*OPTIMISML2DAITransactorSession) DecreaseAllowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*OPTIMISML2DAITransactorSession) Deny ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) 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 (*OPTIMISML2DAITransactorSession) IncreaseAllowance ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*OPTIMISML2DAITransactorSession) Mint ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 value) returns()
func (*OPTIMISML2DAITransactorSession) Permit ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*OPTIMISML2DAITransactorSession) Rely ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Rely(usr common.Address) (*types.Transaction, error)
Rely is a paid mutator transaction binding the contract method 0x65fae35e.
Solidity: function rely(address usr) returns()
func (*OPTIMISML2DAITransactorSession) Transfer ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*OPTIMISML2DAITransactorSession) TransferFrom ¶
func (_OPTIMISML2DAI *OPTIMISML2DAITransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type OPTIMISML2DAITransfer ¶
type OPTIMISML2DAITransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
OPTIMISML2DAITransfer represents a Transfer event raised by the OPTIMISML2DAI contract.
type OPTIMISML2DAITransferIterator ¶
type OPTIMISML2DAITransferIterator struct { Event *OPTIMISML2DAITransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OPTIMISML2DAITransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the OPTIMISML2DAI contract.
func (*OPTIMISML2DAITransferIterator) Close ¶
func (it *OPTIMISML2DAITransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OPTIMISML2DAITransferIterator) Error ¶
func (it *OPTIMISML2DAITransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OPTIMISML2DAITransferIterator) Next ¶
func (it *OPTIMISML2DAITransferIterator) 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 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
type Transfer ¶
type Transfer struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` From []byte `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"` // address To []byte `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"` // address Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetTs ¶
func (x *Transfer) GetTs() *timestamppb.Timestamp
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message