TokenOther

package
v0.73.9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenOtherABI = TokenOtherMetaData.ABI

TokenOtherABI is the input ABI used to generate the binding from. Deprecated: Use TokenOtherMetaData.ABI instead.

View Source
var TokenOtherMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TokenOtherMetaData contains all meta data concerning the TokenOther contract.

Functions

This section is empty.

Types

type TokenOther

type TokenOther struct {
	TokenOtherCaller     // Read-only binding to the contract
	TokenOtherTransactor // Write-only binding to the contract
	TokenOtherFilterer   // Log filterer for contract events
}

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

func NewTokenOther

func NewTokenOther(address common.Address, backend bind.ContractBackend) (*TokenOther, error)

NewTokenOther creates a new instance of TokenOther, bound to a specific deployed contract.

type TokenOtherApproval

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

TokenOtherApproval represents a Approval event raised by the TokenOther contract.

type TokenOtherApprovalIterator

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

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

func (*TokenOtherApprovalIterator) Close

func (it *TokenOtherApprovalIterator) Close() error

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

func (*TokenOtherApprovalIterator) Error

func (it *TokenOtherApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenOtherApprovalIterator) Next

func (it *TokenOtherApprovalIterator) 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 TokenOtherCaller

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

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

func NewTokenOtherCaller

func NewTokenOtherCaller(address common.Address, caller bind.ContractCaller) (*TokenOtherCaller, error)

NewTokenOtherCaller creates a new read-only instance of TokenOther, bound to a specific deployed contract.

func (*TokenOtherCaller) Allowance

func (_TokenOther *TokenOtherCaller) 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)

func (*TokenOtherCaller) BalanceOf

func (_TokenOther *TokenOtherCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*TokenOtherCaller) Decimals

func (_TokenOther *TokenOtherCaller) 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 (*TokenOtherCaller) Name

func (_TokenOther *TokenOtherCaller) 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 (*TokenOtherCaller) Symbol

func (_TokenOther *TokenOtherCaller) 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 (*TokenOtherCaller) TotalSupply

func (_TokenOther *TokenOtherCaller) 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 TokenOtherCallerRaw

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

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

func (*TokenOtherCallerRaw) Call

func (_TokenOther *TokenOtherCallerRaw) 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 TokenOtherCallerSession

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

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

func (*TokenOtherCallerSession) Allowance

func (_TokenOther *TokenOtherCallerSession) 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)

func (*TokenOtherCallerSession) BalanceOf

func (_TokenOther *TokenOtherCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*TokenOtherCallerSession) Decimals

func (_TokenOther *TokenOtherCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TokenOtherCallerSession) Name

func (_TokenOther *TokenOtherCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TokenOtherCallerSession) Symbol

func (_TokenOther *TokenOtherCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TokenOtherCallerSession) TotalSupply

func (_TokenOther *TokenOtherCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type TokenOtherFilterer

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

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

func NewTokenOtherFilterer

func NewTokenOtherFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenOtherFilterer, error)

NewTokenOtherFilterer creates a new log filterer instance of TokenOther, bound to a specific deployed contract.

func (*TokenOtherFilterer) FilterApproval

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

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

func (_TokenOther *TokenOtherFilterer) ParseApproval(log types.Log) (*TokenOtherApproval, error)

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

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

func (*TokenOtherFilterer) ParseTransfer

func (_TokenOther *TokenOtherFilterer) ParseTransfer(log types.Log) (*TokenOtherTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*TokenOtherFilterer) WatchApproval

func (_TokenOther *TokenOtherFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenOtherApproval, 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 (*TokenOtherFilterer) WatchTransfer

func (_TokenOther *TokenOtherFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenOtherTransfer, 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 TokenOtherRaw

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

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

func (*TokenOtherRaw) Call

func (_TokenOther *TokenOtherRaw) 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 (*TokenOtherRaw) Transact

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

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

func (*TokenOtherRaw) Transfer

func (_TokenOther *TokenOtherRaw) 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 TokenOtherSession

type TokenOtherSession struct {
	Contract     *TokenOther       // 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
}

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

func (*TokenOtherSession) Allowance

func (_TokenOther *TokenOtherSession) 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)

func (*TokenOtherSession) Approve

func (_TokenOther *TokenOtherSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*TokenOtherSession) BalanceOf

func (_TokenOther *TokenOtherSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) view returns(uint256)

func (*TokenOtherSession) Decimals

func (_TokenOther *TokenOtherSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TokenOtherSession) Name

func (_TokenOther *TokenOtherSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TokenOtherSession) Symbol

func (_TokenOther *TokenOtherSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TokenOtherSession) TotalSupply

func (_TokenOther *TokenOtherSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TokenOtherSession) Transfer

func (_TokenOther *TokenOtherSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*TokenOtherSession) TransferFrom

func (_TokenOther *TokenOtherSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type TokenOtherTransactor

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

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

func NewTokenOtherTransactor

func NewTokenOtherTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenOtherTransactor, error)

NewTokenOtherTransactor creates a new write-only instance of TokenOther, bound to a specific deployed contract.

func (*TokenOtherTransactor) Approve

func (_TokenOther *TokenOtherTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*TokenOtherTransactor) Transfer

func (_TokenOther *TokenOtherTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*TokenOtherTransactor) TransferFrom

func (_TokenOther *TokenOtherTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type TokenOtherTransactorRaw

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

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

func (*TokenOtherTransactorRaw) Transact

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

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

func (*TokenOtherTransactorRaw) Transfer

func (_TokenOther *TokenOtherTransactorRaw) 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 TokenOtherTransactorSession

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

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

func (*TokenOtherTransactorSession) Approve

func (_TokenOther *TokenOtherTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*TokenOtherTransactorSession) Transfer

func (_TokenOther *TokenOtherTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*TokenOtherTransactorSession) TransferFrom

func (_TokenOther *TokenOtherTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type TokenOtherTransfer

type TokenOtherTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

TokenOtherTransfer represents a Transfer event raised by the TokenOther contract.

type TokenOtherTransferIterator

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

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

func (*TokenOtherTransferIterator) Close

func (it *TokenOtherTransferIterator) Close() error

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

func (*TokenOtherTransferIterator) Error

func (it *TokenOtherTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenOtherTransferIterator) Next

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