Documentation ¶
Index ¶
- Variables
- type Binding
- type BindingCaller
- type BindingCallerRaw
- type BindingCallerSession
- type BindingFilterer
- type BindingRaw
- func (_Binding *BindingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Binding *BindingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Binding *BindingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BindingSession
- type BindingTransactor
- type BindingTransactorRaw
- type BindingTransactorSession
Constants ¶
This section is empty.
Variables ¶
var BindingABI = BindingMetaData.ABI
BindingABI is the input ABI used to generate the binding from. Deprecated: Use BindingMetaData.ABI instead.
var BindingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"batch\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"createToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
BindingMetaData contains all meta data concerning the Binding contract.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct { BindingCaller // Read-only binding to the contract BindingTransactor // Write-only binding to the contract BindingFilterer // Log filterer for contract events }
Binding is an auto generated Go binding around an Ethereum contract.
func NewBinding ¶
NewBinding creates a new instance of Binding, bound to a specific deployed contract.
type BindingCaller ¶
type BindingCaller struct {
// contains filtered or unexported fields
}
BindingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBindingCaller ¶
func NewBindingCaller(address common.Address, caller bind.ContractCaller) (*BindingCaller, error)
NewBindingCaller creates a new read-only instance of Binding, bound to a specific deployed contract.
type BindingCallerRaw ¶
type BindingCallerRaw struct {
Contract *BindingCaller // Generic read-only contract binding to access the raw methods on
}
BindingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BindingCallerRaw) Call ¶
func (_Binding *BindingCallerRaw) 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 BindingCallerSession ¶
type BindingCallerSession struct { Contract *BindingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BindingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BindingFilterer ¶
type BindingFilterer struct {
// contains filtered or unexported fields
}
BindingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBindingFilterer ¶
func NewBindingFilterer(address common.Address, filterer bind.ContractFilterer) (*BindingFilterer, error)
NewBindingFilterer creates a new log filterer instance of Binding, bound to a specific deployed contract.
type BindingRaw ¶
type BindingRaw struct {
Contract *Binding // Generic contract binding to access the raw methods on
}
BindingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BindingRaw) Call ¶
func (_Binding *BindingRaw) 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 (*BindingRaw) Transact ¶
func (_Binding *BindingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BindingRaw) Transfer ¶
func (_Binding *BindingRaw) 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 BindingSession ¶
type BindingSession struct { Contract *Binding // 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 }
BindingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BindingSession) CreateToken ¶
func (_Binding *BindingSession) CreateToken(owner common.Address, name string, symbol string, uri string, max *big.Int, price *big.Int, batch *big.Int, arg7 []byte) (*types.Transaction, error)
CreateToken is a paid mutator transaction binding the contract method 0x3d774115.
Solidity: function createToken(address owner, string name, string symbol, string uri, uint256 max, uint256 price, uint256 batch, bytes ) returns(address)
type BindingTransactor ¶
type BindingTransactor struct {
// contains filtered or unexported fields
}
BindingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBindingTransactor ¶
func NewBindingTransactor(address common.Address, transactor bind.ContractTransactor) (*BindingTransactor, error)
NewBindingTransactor creates a new write-only instance of Binding, bound to a specific deployed contract.
func (*BindingTransactor) CreateToken ¶
func (_Binding *BindingTransactor) CreateToken(opts *bind.TransactOpts, owner common.Address, name string, symbol string, uri string, max *big.Int, price *big.Int, batch *big.Int, arg7 []byte) (*types.Transaction, error)
CreateToken is a paid mutator transaction binding the contract method 0x3d774115.
Solidity: function createToken(address owner, string name, string symbol, string uri, uint256 max, uint256 price, uint256 batch, bytes ) returns(address)
type BindingTransactorRaw ¶
type BindingTransactorRaw struct {
Contract *BindingTransactor // Generic write-only contract binding to access the raw methods on
}
BindingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BindingTransactorRaw) Transact ¶
func (_Binding *BindingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BindingTransactorRaw) Transfer ¶
func (_Binding *BindingTransactorRaw) 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 BindingTransactorSession ¶
type BindingTransactorSession struct { Contract *BindingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BindingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BindingTransactorSession) CreateToken ¶
func (_Binding *BindingTransactorSession) CreateToken(owner common.Address, name string, symbol string, uri string, max *big.Int, price *big.Int, batch *big.Int, arg7 []byte) (*types.Transaction, error)
CreateToken is a paid mutator transaction binding the contract method 0x3d774115.
Solidity: function createToken(address owner, string name, string symbol, string uri, uint256 max, uint256 price, uint256 batch, bytes ) returns(address)