link_token_interface

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LinkTokenABI = "" /* 3592-byte string literal not displayed */

LinkTokenABI is the input ABI used to generate the binding from.

Variables

View Source
var LinkTokenBin = "" /* 6452-byte string literal not displayed */

LinkTokenBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type LinkToken

type LinkToken struct {
	LinkTokenCaller     // Read-only binding to the contract
	LinkTokenTransactor // Write-only binding to the contract
	LinkTokenFilterer   // Log filterer for contract events
}

LinkToken is an auto generated Go binding around an Ethereum contract.

func DeployLinkToken

func DeployLinkToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *LinkToken, error)

DeployLinkToken deploys a new Ethereum contract, binding an instance of LinkToken to it.

func NewLinkToken

func NewLinkToken(address common.Address, backend bind.ContractBackend) (*LinkToken, error)

NewLinkToken creates a new instance of LinkToken, bound to a specific deployed contract.

type LinkTokenApproval

type LinkTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

LinkTokenApproval represents a Approval event raised by the LinkToken contract.

type LinkTokenApprovalIterator

type LinkTokenApprovalIterator struct {
	Event *LinkTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LinkTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LinkToken contract.

func (*LinkTokenApprovalIterator) Close

func (it *LinkTokenApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LinkTokenApprovalIterator) Error

func (it *LinkTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LinkTokenApprovalIterator) Next

func (it *LinkTokenApprovalIterator) 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 LinkTokenCaller

type LinkTokenCaller struct {
	// contains filtered or unexported fields
}

LinkTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewLinkTokenCaller

func NewLinkTokenCaller(address common.Address, caller bind.ContractCaller) (*LinkTokenCaller, error)

NewLinkTokenCaller creates a new read-only instance of LinkToken, bound to a specific deployed contract.

func (*LinkTokenCaller) Allowance

func (_LinkToken *LinkTokenCaller) 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 (*LinkTokenCaller) BalanceOf

func (_LinkToken *LinkTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*LinkTokenCaller) Decimals

func (_LinkToken *LinkTokenCaller) 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 (*LinkTokenCaller) Name

func (_LinkToken *LinkTokenCaller) 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 (*LinkTokenCaller) Symbol

func (_LinkToken *LinkTokenCaller) 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 (*LinkTokenCaller) TotalSupply

func (_LinkToken *LinkTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LinkTokenCallerRaw

type LinkTokenCallerRaw struct {
	Contract *LinkTokenCaller // Generic read-only contract binding to access the raw methods on
}

LinkTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*LinkTokenCallerRaw) Call

func (_LinkToken *LinkTokenCallerRaw) 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 LinkTokenCallerSession

type LinkTokenCallerSession struct {
	Contract *LinkTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

LinkTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*LinkTokenCallerSession) Allowance

func (_LinkToken *LinkTokenCallerSession) 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 (*LinkTokenCallerSession) BalanceOf

func (_LinkToken *LinkTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*LinkTokenCallerSession) Decimals

func (_LinkToken *LinkTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LinkTokenCallerSession) Name

func (_LinkToken *LinkTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LinkTokenCallerSession) Symbol

func (_LinkToken *LinkTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LinkTokenCallerSession) TotalSupply

func (_LinkToken *LinkTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LinkTokenFilterer

type LinkTokenFilterer struct {
	// contains filtered or unexported fields
}

LinkTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewLinkTokenFilterer

func NewLinkTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*LinkTokenFilterer, error)

NewLinkTokenFilterer creates a new log filterer instance of LinkToken, bound to a specific deployed contract.

func (*LinkTokenFilterer) FilterApproval

func (_LinkToken *LinkTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LinkTokenApprovalIterator, 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 (*LinkTokenFilterer) FilterTransfer

func (_LinkToken *LinkTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LinkTokenTransferIterator, 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 (*LinkTokenFilterer) ParseApproval

func (_LinkToken *LinkTokenFilterer) ParseApproval(log types.Log) (*LinkTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LinkTokenFilterer) ParseTransfer

func (_LinkToken *LinkTokenFilterer) ParseTransfer(log types.Log) (*LinkTokenTransfer, 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 (*LinkTokenFilterer) WatchApproval

func (_LinkToken *LinkTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LinkTokenApproval, 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 (*LinkTokenFilterer) WatchTransfer

func (_LinkToken *LinkTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LinkTokenTransfer, 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 LinkTokenRaw

type LinkTokenRaw struct {
	Contract *LinkToken // Generic contract binding to access the raw methods on
}

LinkTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*LinkTokenRaw) Call

func (_LinkToken *LinkTokenRaw) 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 (*LinkTokenRaw) Transact

func (_LinkToken *LinkTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*LinkTokenRaw) Transfer

func (_LinkToken *LinkTokenRaw) 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 LinkTokenSession

type LinkTokenSession struct {
	Contract     *LinkToken        // 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
}

LinkTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*LinkTokenSession) Allowance

func (_LinkToken *LinkTokenSession) 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 (*LinkTokenSession) Approve

func (_LinkToken *LinkTokenSession) 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 (*LinkTokenSession) BalanceOf

func (_LinkToken *LinkTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256 balance)

func (*LinkTokenSession) Decimals

func (_LinkToken *LinkTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LinkTokenSession) DecreaseApproval

func (_LinkToken *LinkTokenSession) 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 (*LinkTokenSession) IncreaseApproval

func (_LinkToken *LinkTokenSession) 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 (*LinkTokenSession) Name

func (_LinkToken *LinkTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LinkTokenSession) Symbol

func (_LinkToken *LinkTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*LinkTokenSession) TotalSupply

func (_LinkToken *LinkTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*LinkTokenSession) Transfer

func (_LinkToken *LinkTokenSession) 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 (*LinkTokenSession) TransferAndCall

func (_LinkToken *LinkTokenSession) 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 (*LinkTokenSession) TransferFrom

func (_LinkToken *LinkTokenSession) 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 LinkTokenTransactor

type LinkTokenTransactor struct {
	// contains filtered or unexported fields
}

LinkTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewLinkTokenTransactor

func NewLinkTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*LinkTokenTransactor, error)

NewLinkTokenTransactor creates a new write-only instance of LinkToken, bound to a specific deployed contract.

func (*LinkTokenTransactor) Approve

func (_LinkToken *LinkTokenTransactor) 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 (*LinkTokenTransactor) DecreaseApproval

func (_LinkToken *LinkTokenTransactor) 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 (*LinkTokenTransactor) IncreaseApproval

func (_LinkToken *LinkTokenTransactor) 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 (*LinkTokenTransactor) Transfer

func (_LinkToken *LinkTokenTransactor) 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 (*LinkTokenTransactor) TransferAndCall

func (_LinkToken *LinkTokenTransactor) 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 (*LinkTokenTransactor) TransferFrom

func (_LinkToken *LinkTokenTransactor) 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 LinkTokenTransactorRaw

type LinkTokenTransactorRaw struct {
	Contract *LinkTokenTransactor // Generic write-only contract binding to access the raw methods on
}

LinkTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*LinkTokenTransactorRaw) Transact

func (_LinkToken *LinkTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*LinkTokenTransactorRaw) Transfer

func (_LinkToken *LinkTokenTransactorRaw) 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 LinkTokenTransactorSession

type LinkTokenTransactorSession struct {
	Contract     *LinkTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

LinkTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*LinkTokenTransactorSession) Approve

func (_LinkToken *LinkTokenTransactorSession) 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 (*LinkTokenTransactorSession) DecreaseApproval

func (_LinkToken *LinkTokenTransactorSession) 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 (*LinkTokenTransactorSession) IncreaseApproval

func (_LinkToken *LinkTokenTransactorSession) 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 (*LinkTokenTransactorSession) Transfer

func (_LinkToken *LinkTokenTransactorSession) 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 (*LinkTokenTransactorSession) TransferAndCall

func (_LinkToken *LinkTokenTransactorSession) 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 (*LinkTokenTransactorSession) TransferFrom

func (_LinkToken *LinkTokenTransactorSession) 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 LinkTokenTransfer

type LinkTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Data  []byte
	Raw   types.Log // Blockchain specific contextual infos
}

LinkTokenTransfer represents a Transfer event raised by the LinkToken contract.

type LinkTokenTransferIterator

type LinkTokenTransferIterator struct {
	Event *LinkTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LinkTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LinkToken contract.

func (*LinkTokenTransferIterator) Close

func (it *LinkTokenTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LinkTokenTransferIterator) Error

func (it *LinkTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LinkTokenTransferIterator) Next

func (it *LinkTokenTransferIterator) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL