Documentation ¶
Index ¶
- Variables
- type ITestnetERC20Token
- type ITestnetERC20TokenCaller
- type ITestnetERC20TokenCallerRaw
- type ITestnetERC20TokenCallerSession
- type ITestnetERC20TokenFilterer
- type ITestnetERC20TokenRaw
- func (_ITestnetERC20Token *ITestnetERC20TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ITestnetERC20Token *ITestnetERC20TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ITestnetERC20Token *ITestnetERC20TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ITestnetERC20TokenSession
- type ITestnetERC20TokenTransactor
- type ITestnetERC20TokenTransactorRaw
- type ITestnetERC20TokenTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ITestnetERC20TokenABI = ITestnetERC20TokenMetaData.ABI
ITestnetERC20TokenABI is the input ABI used to generate the binding from. Deprecated: Use ITestnetERC20TokenMetaData.ABI instead.
var ITestnetERC20TokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ITestnetERC20TokenMetaData contains all meta data concerning the ITestnetERC20Token contract.
Functions ¶
This section is empty.
Types ¶
type ITestnetERC20Token ¶
type ITestnetERC20Token struct { ITestnetERC20TokenCaller // Read-only binding to the contract ITestnetERC20TokenTransactor // Write-only binding to the contract ITestnetERC20TokenFilterer // Log filterer for contract events }
ITestnetERC20Token is an auto generated Go binding around an Ethereum contract.
func NewITestnetERC20Token ¶
func NewITestnetERC20Token(address common.Address, backend bind.ContractBackend) (*ITestnetERC20Token, error)
NewITestnetERC20Token creates a new instance of ITestnetERC20Token, bound to a specific deployed contract.
type ITestnetERC20TokenCaller ¶
type ITestnetERC20TokenCaller struct {
// contains filtered or unexported fields
}
ITestnetERC20TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewITestnetERC20TokenCaller ¶
func NewITestnetERC20TokenCaller(address common.Address, caller bind.ContractCaller) (*ITestnetERC20TokenCaller, error)
NewITestnetERC20TokenCaller creates a new read-only instance of ITestnetERC20Token, bound to a specific deployed contract.
type ITestnetERC20TokenCallerRaw ¶
type ITestnetERC20TokenCallerRaw struct {
Contract *ITestnetERC20TokenCaller // Generic read-only contract binding to access the raw methods on
}
ITestnetERC20TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ITestnetERC20TokenCallerRaw) Call ¶
func (_ITestnetERC20Token *ITestnetERC20TokenCallerRaw) 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 ITestnetERC20TokenCallerSession ¶
type ITestnetERC20TokenCallerSession struct { Contract *ITestnetERC20TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ITestnetERC20TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ITestnetERC20TokenFilterer ¶
type ITestnetERC20TokenFilterer struct {
// contains filtered or unexported fields
}
ITestnetERC20TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewITestnetERC20TokenFilterer ¶
func NewITestnetERC20TokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ITestnetERC20TokenFilterer, error)
NewITestnetERC20TokenFilterer creates a new log filterer instance of ITestnetERC20Token, bound to a specific deployed contract.
type ITestnetERC20TokenRaw ¶
type ITestnetERC20TokenRaw struct {
Contract *ITestnetERC20Token // Generic contract binding to access the raw methods on
}
ITestnetERC20TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ITestnetERC20TokenRaw) Call ¶
func (_ITestnetERC20Token *ITestnetERC20TokenRaw) 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 (*ITestnetERC20TokenRaw) Transact ¶
func (_ITestnetERC20Token *ITestnetERC20TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITestnetERC20TokenRaw) Transfer ¶
func (_ITestnetERC20Token *ITestnetERC20TokenRaw) 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 ITestnetERC20TokenSession ¶
type ITestnetERC20TokenSession struct { Contract *ITestnetERC20Token // 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 }
ITestnetERC20TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ITestnetERC20TokenSession) Decimals ¶
func (_ITestnetERC20Token *ITestnetERC20TokenSession) Decimals() (*types.Transaction, error)
Decimals is a paid mutator transaction binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint8)
func (*ITestnetERC20TokenSession) Mint ¶
func (_ITestnetERC20Token *ITestnetERC20TokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
type ITestnetERC20TokenTransactor ¶
type ITestnetERC20TokenTransactor struct {
// contains filtered or unexported fields
}
ITestnetERC20TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewITestnetERC20TokenTransactor ¶
func NewITestnetERC20TokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ITestnetERC20TokenTransactor, error)
NewITestnetERC20TokenTransactor creates a new write-only instance of ITestnetERC20Token, bound to a specific deployed contract.
func (*ITestnetERC20TokenTransactor) Decimals ¶
func (_ITestnetERC20Token *ITestnetERC20TokenTransactor) Decimals(opts *bind.TransactOpts) (*types.Transaction, error)
Decimals is a paid mutator transaction binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint8)
func (*ITestnetERC20TokenTransactor) Mint ¶
func (_ITestnetERC20Token *ITestnetERC20TokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
type ITestnetERC20TokenTransactorRaw ¶
type ITestnetERC20TokenTransactorRaw struct {
Contract *ITestnetERC20TokenTransactor // Generic write-only contract binding to access the raw methods on
}
ITestnetERC20TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ITestnetERC20TokenTransactorRaw) Transact ¶
func (_ITestnetERC20Token *ITestnetERC20TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITestnetERC20TokenTransactorRaw) Transfer ¶
func (_ITestnetERC20Token *ITestnetERC20TokenTransactorRaw) 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 ITestnetERC20TokenTransactorSession ¶
type ITestnetERC20TokenTransactorSession struct { Contract *ITestnetERC20TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ITestnetERC20TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ITestnetERC20TokenTransactorSession) Decimals ¶
func (_ITestnetERC20Token *ITestnetERC20TokenTransactorSession) Decimals() (*types.Transaction, error)
Decimals is a paid mutator transaction binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint8)
func (*ITestnetERC20TokenTransactorSession) Mint ¶
func (_ITestnetERC20Token *ITestnetERC20TokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)