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 LINK
- type LINKApproval
- type LINKApprovalIterator
- type LINKCaller
- func (_LINK *LINKCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_LINK *LINKCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_LINK *LINKCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_LINK *LINKCaller) Name(opts *bind.CallOpts) (string, error)
- func (_LINK *LINKCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_LINK *LINKCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type LINKCallerRaw
- type LINKCallerSession
- func (_LINK *LINKCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_LINK *LINKCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_LINK *LINKCallerSession) Decimals() (uint8, error)
- func (_LINK *LINKCallerSession) Name() (string, error)
- func (_LINK *LINKCallerSession) Symbol() (string, error)
- func (_LINK *LINKCallerSession) TotalSupply() (*big.Int, error)
- type LINKFilterer
- func (_LINK *LINKFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LINKApprovalIterator, error)
- func (_LINK *LINKFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LINKTransferIterator, error)
- func (_LINK *LINKFilterer) ParseApproval(log types.Log) (*LINKApproval, error)
- func (_LINK *LINKFilterer) ParseTransfer(log types.Log) (*LINKTransfer, error)
- func (_LINK *LINKFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LINKApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_LINK *LINKFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LINKTransfer, from []common.Address, ...) (event.Subscription, error)
- type LINKRaw
- func (_LINK *LINKRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LINK *LINKRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LINK *LINKRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LINKSession
- func (_LINK *LINKSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_LINK *LINKSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LINK *LINKSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_LINK *LINKSession) Decimals() (uint8, error)
- func (_LINK *LINKSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_LINK *LINKSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_LINK *LINKSession) Name() (string, error)
- func (_LINK *LINKSession) Symbol() (string, error)
- func (_LINK *LINKSession) TotalSupply() (*big.Int, error)
- func (_LINK *LINKSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LINK *LINKSession) TransferAndCall(_to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)
- func (_LINK *LINKSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type LINKTransactor
- func (_LINK *LINKTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LINK *LINKTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_LINK *LINKTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_LINK *LINKTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LINK *LINKTransactor) TransferAndCall(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)
- func (_LINK *LINKTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type LINKTransactorRaw
- type LINKTransactorSession
- func (_LINK *LINKTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LINK *LINKTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_LINK *LINKTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_LINK *LINKTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LINK *LINKTransactorSession) TransferAndCall(_to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)
- func (_LINK *LINKTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type LINKTransfer
- type LINKTransferIterator
- type SmartContract
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetData() []byte
- 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 LINKABI = "" /* 3592-byte string literal not displayed */
LINKABI is the input ABI used to generate the binding from.
Variables ¶
var File_Link_Link_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 LINK ¶
type LINK struct { LINKCaller // Read-only binding to the contract LINKTransactor // Write-only binding to the contract LINKFilterer // Log filterer for contract events }
LINK is an auto generated Go binding around an Ethereum contract.
type LINKApproval ¶
type LINKApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LINKApproval represents a Approval event raised by the LINK contract.
type LINKApprovalIterator ¶
type LINKApprovalIterator struct { Event *LINKApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LINKApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LINK contract.
func (*LINKApprovalIterator) Close ¶
func (it *LINKApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LINKApprovalIterator) Error ¶
func (it *LINKApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LINKApprovalIterator) Next ¶
func (it *LINKApprovalIterator) 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 LINKCaller ¶
type LINKCaller struct {
// contains filtered or unexported fields
}
LINKCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLINKCaller ¶
func NewLINKCaller(address common.Address, caller bind.ContractCaller) (*LINKCaller, error)
NewLINKCaller creates a new read-only instance of LINK, bound to a specific deployed contract.
func (*LINKCaller) Allowance ¶
func (_LINK *LINKCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)
func (*LINKCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*LINKCaller) Decimals ¶
func (_LINK *LINKCaller) 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 (*LINKCaller) Name ¶
func (_LINK *LINKCaller) 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 (*LINKCaller) Symbol ¶
func (_LINK *LINKCaller) 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 (*LINKCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type LINKCallerRaw ¶
type LINKCallerRaw struct {
Contract *LINKCaller // Generic read-only contract binding to access the raw methods on
}
LINKCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LINKCallerRaw) Call ¶
func (_LINK *LINKCallerRaw) 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 LINKCallerSession ¶
type LINKCallerSession struct { Contract *LINKCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LINKCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LINKCallerSession) Allowance ¶
func (_LINK *LINKCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)
func (*LINKCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*LINKCallerSession) Decimals ¶
func (_LINK *LINKCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LINKCallerSession) Name ¶
func (_LINK *LINKCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LINKCallerSession) Symbol ¶
func (_LINK *LINKCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LINKCallerSession) TotalSupply ¶
func (_LINK *LINKCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type LINKFilterer ¶
type LINKFilterer struct {
// contains filtered or unexported fields
}
LINKFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLINKFilterer ¶
func NewLINKFilterer(address common.Address, filterer bind.ContractFilterer) (*LINKFilterer, error)
NewLINKFilterer creates a new log filterer instance of LINK, bound to a specific deployed contract.
func (*LINKFilterer) FilterApproval ¶
func (_LINK *LINKFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LINKApprovalIterator, 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 (*LINKFilterer) FilterTransfer ¶
func (_LINK *LINKFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LINKTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value, bytes data)
func (*LINKFilterer) ParseApproval ¶
func (_LINK *LINKFilterer) ParseApproval(log types.Log) (*LINKApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*LINKFilterer) ParseTransfer ¶
func (_LINK *LINKFilterer) ParseTransfer(log types.Log) (*LINKTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value, bytes data)
func (*LINKFilterer) WatchApproval ¶
func (_LINK *LINKFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LINKApproval, 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 (*LINKFilterer) WatchTransfer ¶
func (_LINK *LINKFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LINKTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value, bytes data)
type LINKRaw ¶
type LINKRaw struct {
Contract *LINK // Generic contract binding to access the raw methods on
}
LINKRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LINKRaw) Call ¶
func (_LINK *LINKRaw) 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 (*LINKRaw) Transact ¶
func (_LINK *LINKRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LINKRaw) Transfer ¶
func (_LINK *LINKRaw) 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 LINKSession ¶
type LINKSession struct { Contract *LINK // 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 }
LINKSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LINKSession) Allowance ¶
func (_LINK *LINKSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256 remaining)
func (*LINKSession) Approve ¶
func (_LINK *LINKSession) 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 (*LINKSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*LINKSession) Decimals ¶
func (_LINK *LINKSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LINKSession) DecreaseApproval ¶
func (_LINK *LINKSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*LINKSession) IncreaseApproval ¶
func (_LINK *LINKSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*LINKSession) Name ¶
func (_LINK *LINKSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LINKSession) Symbol ¶
func (_LINK *LINKSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LINKSession) TotalSupply ¶
func (_LINK *LINKSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*LINKSession) Transfer ¶
func (_LINK *LINKSession) 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 success)
func (*LINKSession) TransferAndCall ¶
func (_LINK *LINKSession) TransferAndCall(_to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address _to, uint256 _value, bytes _data) returns(bool success)
func (*LINKSession) TransferFrom ¶
func (_LINK *LINKSession) 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 LINKTransactor ¶
type LINKTransactor struct {
// contains filtered or unexported fields
}
LINKTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLINKTransactor ¶
func NewLINKTransactor(address common.Address, transactor bind.ContractTransactor) (*LINKTransactor, error)
NewLINKTransactor creates a new write-only instance of LINK, bound to a specific deployed contract.
func (*LINKTransactor) Approve ¶
func (_LINK *LINKTransactor) 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 (*LINKTransactor) DecreaseApproval ¶
func (_LINK *LINKTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*LINKTransactor) IncreaseApproval ¶
func (_LINK *LINKTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*LINKTransactor) Transfer ¶
func (_LINK *LINKTransactor) 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 success)
func (*LINKTransactor) TransferAndCall ¶
func (_LINK *LINKTransactor) TransferAndCall(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address _to, uint256 _value, bytes _data) returns(bool success)
func (*LINKTransactor) TransferFrom ¶
func (_LINK *LINKTransactor) 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 LINKTransactorRaw ¶
type LINKTransactorRaw struct {
Contract *LINKTransactor // Generic write-only contract binding to access the raw methods on
}
LINKTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LINKTransactorRaw) Transact ¶
func (_LINK *LINKTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LINKTransactorRaw) Transfer ¶
func (_LINK *LINKTransactorRaw) 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 LINKTransactorSession ¶
type LINKTransactorSession struct { Contract *LINKTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LINKTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LINKTransactorSession) Approve ¶
func (_LINK *LINKTransactorSession) 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 (*LINKTransactorSession) DecreaseApproval ¶
func (_LINK *LINKTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)
func (*LINKTransactorSession) IncreaseApproval ¶
func (_LINK *LINKTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)
func (*LINKTransactorSession) Transfer ¶
func (_LINK *LINKTransactorSession) 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 success)
func (*LINKTransactorSession) TransferAndCall ¶
func (_LINK *LINKTransactorSession) TransferAndCall(_to common.Address, _value *big.Int, _data []byte) (*types.Transaction, error)
TransferAndCall is a paid mutator transaction binding the contract method 0x4000aea0.
Solidity: function transferAndCall(address _to, uint256 _value, bytes _data) returns(bool success)
func (*LINKTransactorSession) TransferFrom ¶
func (_LINK *LINKTransactorSession) 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 LINKTransfer ¶
type LINKTransfer struct { From common.Address To common.Address Value *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
LINKTransfer represents a Transfer event raised by the LINK contract.
type LINKTransferIterator ¶
type LINKTransferIterator struct { Event *LINKTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LINKTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LINK contract.
func (*LINKTransferIterator) Close ¶
func (it *LINKTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LINKTransferIterator) Error ¶
func (it *LINKTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LINKTransferIterator) Next ¶
func (it *LINKTransferIterator) 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 Data []byte `protobuf:"bytes,5,opt,name=Data,proto3" json:"Data,omitempty"` // bytes // 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