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 CRVV1ETHSTETH
- type CRVV1ETHSTETHApproval
- type CRVV1ETHSTETHApprovalIterator
- type CRVV1ETHSTETHCaller
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) Minter(opts *bind.CallOpts) (common.Address, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) Name(opts *bind.CallOpts) (string, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type CRVV1ETHSTETHCallerRaw
- type CRVV1ETHSTETHCallerSession
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Decimals() (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Minter() (common.Address, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Name() (string, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Symbol() (string, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) TotalSupply() (*big.Int, error)
- type CRVV1ETHSTETHFilterer
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*CRVV1ETHSTETHApprovalIterator, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*CRVV1ETHSTETHTransferIterator, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) ParseApproval(log types.Log) (*CRVV1ETHSTETHApproval, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) ParseTransfer(log types.Log) (*CRVV1ETHSTETHTransfer, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CRVV1ETHSTETHApproval, ...) (event.Subscription, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CRVV1ETHSTETHTransfer, ...) (event.Subscription, error)
- type CRVV1ETHSTETHRaw
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CRVV1ETHSTETHSession
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) BurnFrom(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Decimals() (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) DecreaseAllowance(_spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) IncreaseAllowance(_spender common.Address, _added_value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Minter() (common.Address, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Name() (string, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) SetMinter(_minter common.Address) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) SetName(_name string, _symbol string) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Symbol() (string, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) TotalSupply() (*big.Int, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type CRVV1ETHSTETHTransactor
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) BurnFrom(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) DecreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) IncreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _added_value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) SetName(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type CRVV1ETHSTETHTransactorRaw
- type CRVV1ETHSTETHTransactorSession
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) BurnFrom(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) DecreaseAllowance(_spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) IncreaseAllowance(_spender common.Address, _added_value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) SetName(_name string, _symbol string) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type CRVV1ETHSTETHTransfer
- type CRVV1ETHSTETHTransferIterator
- 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 CRVV1ETHSTETHABI = "" /* 4015-byte string literal not displayed */
CRVV1ETHSTETHABI is the input ABI used to generate the binding from.
Variables ¶
var File_CrvV1EthSTEth_CrvV1EthSTEth_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 CRVV1ETHSTETH ¶
type CRVV1ETHSTETH struct { CRVV1ETHSTETHCaller // Read-only binding to the contract CRVV1ETHSTETHTransactor // Write-only binding to the contract CRVV1ETHSTETHFilterer // Log filterer for contract events }
CRVV1ETHSTETH is an auto generated Go binding around an Ethereum contract.
func NewCRVV1ETHSTETH ¶
func NewCRVV1ETHSTETH(address common.Address, backend bind.ContractBackend) (*CRVV1ETHSTETH, error)
NewCRVV1ETHSTETH creates a new instance of CRVV1ETHSTETH, bound to a specific deployed contract.
type CRVV1ETHSTETHApproval ¶
type CRVV1ETHSTETHApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
CRVV1ETHSTETHApproval represents a Approval event raised by the CRVV1ETHSTETH contract.
type CRVV1ETHSTETHApprovalIterator ¶
type CRVV1ETHSTETHApprovalIterator struct { Event *CRVV1ETHSTETHApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CRVV1ETHSTETHApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the CRVV1ETHSTETH contract.
func (*CRVV1ETHSTETHApprovalIterator) Close ¶
func (it *CRVV1ETHSTETHApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CRVV1ETHSTETHApprovalIterator) Error ¶
func (it *CRVV1ETHSTETHApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CRVV1ETHSTETHApprovalIterator) Next ¶
func (it *CRVV1ETHSTETHApprovalIterator) 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 CRVV1ETHSTETHCaller ¶
type CRVV1ETHSTETHCaller struct {
// contains filtered or unexported fields
}
CRVV1ETHSTETHCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCRVV1ETHSTETHCaller ¶
func NewCRVV1ETHSTETHCaller(address common.Address, caller bind.ContractCaller) (*CRVV1ETHSTETHCaller, error)
NewCRVV1ETHSTETHCaller creates a new read-only instance of CRVV1ETHSTETH, bound to a specific deployed contract.
func (*CRVV1ETHSTETHCaller) Allowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) 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 arg0, address arg1) view returns(uint256)
func (*CRVV1ETHSTETHCaller) BalanceOf ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) 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 arg0) view returns(uint256)
func (*CRVV1ETHSTETHCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*CRVV1ETHSTETHCaller) Minter ¶
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*CRVV1ETHSTETHCaller) Name ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) 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 (*CRVV1ETHSTETHCaller) Symbol ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCaller) 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 (*CRVV1ETHSTETHCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type CRVV1ETHSTETHCallerRaw ¶
type CRVV1ETHSTETHCallerRaw struct {
Contract *CRVV1ETHSTETHCaller // Generic read-only contract binding to access the raw methods on
}
CRVV1ETHSTETHCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CRVV1ETHSTETHCallerRaw) Call ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerRaw) 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 CRVV1ETHSTETHCallerSession ¶
type CRVV1ETHSTETHCallerSession struct { Contract *CRVV1ETHSTETHCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CRVV1ETHSTETHCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CRVV1ETHSTETHCallerSession) Allowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) 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 arg0, address arg1) view returns(uint256)
func (*CRVV1ETHSTETHCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address arg0) view returns(uint256)
func (*CRVV1ETHSTETHCallerSession) Decimals ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*CRVV1ETHSTETHCallerSession) Minter ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*CRVV1ETHSTETHCallerSession) Name ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CRVV1ETHSTETHCallerSession) Symbol ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CRVV1ETHSTETHCallerSession) TotalSupply ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type CRVV1ETHSTETHFilterer ¶
type CRVV1ETHSTETHFilterer struct {
// contains filtered or unexported fields
}
CRVV1ETHSTETHFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCRVV1ETHSTETHFilterer ¶
func NewCRVV1ETHSTETHFilterer(address common.Address, filterer bind.ContractFilterer) (*CRVV1ETHSTETHFilterer, error)
NewCRVV1ETHSTETHFilterer creates a new log filterer instance of CRVV1ETHSTETH, bound to a specific deployed contract.
func (*CRVV1ETHSTETHFilterer) FilterApproval ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*CRVV1ETHSTETHApprovalIterator, 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 (*CRVV1ETHSTETHFilterer) FilterTransfer ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*CRVV1ETHSTETHTransferIterator, 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 (*CRVV1ETHSTETHFilterer) ParseApproval ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) ParseApproval(log types.Log) (*CRVV1ETHSTETHApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*CRVV1ETHSTETHFilterer) ParseTransfer ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) ParseTransfer(log types.Log) (*CRVV1ETHSTETHTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*CRVV1ETHSTETHFilterer) WatchApproval ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CRVV1ETHSTETHApproval, _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 (*CRVV1ETHSTETHFilterer) WatchTransfer ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CRVV1ETHSTETHTransfer, _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 CRVV1ETHSTETHRaw ¶
type CRVV1ETHSTETHRaw struct {
Contract *CRVV1ETHSTETH // Generic contract binding to access the raw methods on
}
CRVV1ETHSTETHRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CRVV1ETHSTETHRaw) Call ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHRaw) 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 (*CRVV1ETHSTETHRaw) Transact ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CRVV1ETHSTETHRaw) Transfer ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHRaw) 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 CRVV1ETHSTETHSession ¶
type CRVV1ETHSTETHSession struct { Contract *CRVV1ETHSTETH // 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 }
CRVV1ETHSTETHSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CRVV1ETHSTETHSession) Allowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) 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 arg0, address arg1) view returns(uint256)
func (*CRVV1ETHSTETHSession) Approve ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) 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 (*CRVV1ETHSTETHSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address arg0) view returns(uint256)
func (*CRVV1ETHSTETHSession) BurnFrom ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) BurnFrom(_to common.Address, _value *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address _to, uint256 _value) returns(bool)
func (*CRVV1ETHSTETHSession) Decimals ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*CRVV1ETHSTETHSession) DecreaseAllowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) DecreaseAllowance(_spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address _spender, uint256 _subtracted_value) returns(bool)
func (*CRVV1ETHSTETHSession) IncreaseAllowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) IncreaseAllowance(_spender common.Address, _added_value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address _spender, uint256 _added_value) returns(bool)
func (*CRVV1ETHSTETHSession) Mint ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) 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(bool)
func (*CRVV1ETHSTETHSession) Minter ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*CRVV1ETHSTETHSession) Name ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CRVV1ETHSTETHSession) SetMinter ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) SetMinter(_minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0x1652e9fc.
Solidity: function set_minter(address _minter) returns()
func (*CRVV1ETHSTETHSession) SetName ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) SetName(_name string, _symbol string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xe1430e06.
Solidity: function set_name(string _name, string _symbol) returns()
func (*CRVV1ETHSTETHSession) Symbol ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CRVV1ETHSTETHSession) TotalSupply ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*CRVV1ETHSTETHSession) Transfer ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) 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 (*CRVV1ETHSTETHSession) TransferFrom ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHSession) 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 CRVV1ETHSTETHTransactor ¶
type CRVV1ETHSTETHTransactor struct {
// contains filtered or unexported fields
}
CRVV1ETHSTETHTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCRVV1ETHSTETHTransactor ¶
func NewCRVV1ETHSTETHTransactor(address common.Address, transactor bind.ContractTransactor) (*CRVV1ETHSTETHTransactor, error)
NewCRVV1ETHSTETHTransactor creates a new write-only instance of CRVV1ETHSTETH, bound to a specific deployed contract.
func (*CRVV1ETHSTETHTransactor) Approve ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) 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 (*CRVV1ETHSTETHTransactor) BurnFrom ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) BurnFrom(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address _to, uint256 _value) returns(bool)
func (*CRVV1ETHSTETHTransactor) DecreaseAllowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) DecreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address _spender, uint256 _subtracted_value) returns(bool)
func (*CRVV1ETHSTETHTransactor) IncreaseAllowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) IncreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _added_value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address _spender, uint256 _added_value) returns(bool)
func (*CRVV1ETHSTETHTransactor) Mint ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) 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(bool)
func (*CRVV1ETHSTETHTransactor) SetMinter ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0x1652e9fc.
Solidity: function set_minter(address _minter) returns()
func (*CRVV1ETHSTETHTransactor) SetName ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) SetName(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xe1430e06.
Solidity: function set_name(string _name, string _symbol) returns()
func (*CRVV1ETHSTETHTransactor) Transfer ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) 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 (*CRVV1ETHSTETHTransactor) TransferFrom ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactor) 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 CRVV1ETHSTETHTransactorRaw ¶
type CRVV1ETHSTETHTransactorRaw struct {
Contract *CRVV1ETHSTETHTransactor // Generic write-only contract binding to access the raw methods on
}
CRVV1ETHSTETHTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CRVV1ETHSTETHTransactorRaw) Transact ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CRVV1ETHSTETHTransactorRaw) Transfer ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorRaw) 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 CRVV1ETHSTETHTransactorSession ¶
type CRVV1ETHSTETHTransactorSession struct { Contract *CRVV1ETHSTETHTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CRVV1ETHSTETHTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CRVV1ETHSTETHTransactorSession) Approve ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) 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 (*CRVV1ETHSTETHTransactorSession) BurnFrom ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) BurnFrom(_to common.Address, _value *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address _to, uint256 _value) returns(bool)
func (*CRVV1ETHSTETHTransactorSession) DecreaseAllowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) DecreaseAllowance(_spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address _spender, uint256 _subtracted_value) returns(bool)
func (*CRVV1ETHSTETHTransactorSession) IncreaseAllowance ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) IncreaseAllowance(_spender common.Address, _added_value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address _spender, uint256 _added_value) returns(bool)
func (*CRVV1ETHSTETHTransactorSession) Mint ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) 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(bool)
func (*CRVV1ETHSTETHTransactorSession) SetMinter ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0x1652e9fc.
Solidity: function set_minter(address _minter) returns()
func (*CRVV1ETHSTETHTransactorSession) SetName ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) SetName(_name string, _symbol string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xe1430e06.
Solidity: function set_name(string _name, string _symbol) returns()
func (*CRVV1ETHSTETHTransactorSession) Transfer ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) 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 (*CRVV1ETHSTETHTransactorSession) TransferFrom ¶
func (_CRVV1ETHSTETH *CRVV1ETHSTETHTransactorSession) 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 CRVV1ETHSTETHTransfer ¶
type CRVV1ETHSTETHTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
CRVV1ETHSTETHTransfer represents a Transfer event raised by the CRVV1ETHSTETH contract.
type CRVV1ETHSTETHTransferIterator ¶
type CRVV1ETHSTETHTransferIterator struct { Event *CRVV1ETHSTETHTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CRVV1ETHSTETHTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the CRVV1ETHSTETH contract.
func (*CRVV1ETHSTETHTransferIterator) Close ¶
func (it *CRVV1ETHSTETHTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CRVV1ETHSTETHTransferIterator) Error ¶
func (it *CRVV1ETHSTETHTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CRVV1ETHSTETHTransferIterator) Next ¶
func (it *CRVV1ETHSTETHTransferIterator) 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 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