erc1155Supply

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Erc1155SupplyABI = Erc1155SupplyMetaData.ABI

Erc1155SupplyABI is the input ABI used to generate the binding from. Deprecated: Use Erc1155SupplyMetaData.ABI instead.

View Source
var Erc1155SupplyMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"exists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

Erc1155SupplyMetaData contains all meta data concerning the Erc1155Supply contract.

Functions

This section is empty.

Types

type Erc1155Supply

type Erc1155Supply struct {
	Erc1155SupplyCaller     // Read-only binding to the contract
	Erc1155SupplyTransactor // Write-only binding to the contract
	Erc1155SupplyFilterer   // Log filterer for contract events
}

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

func NewErc1155Supply

func NewErc1155Supply(address common.Address, backend bind.ContractBackend) (*Erc1155Supply, error)

NewErc1155Supply creates a new instance of Erc1155Supply, bound to a specific deployed contract.

type Erc1155SupplyApprovalForAll

type Erc1155SupplyApprovalForAll struct {
	Account  common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

Erc1155SupplyApprovalForAll represents a ApprovalForAll event raised by the Erc1155Supply contract.

type Erc1155SupplyApprovalForAllIterator

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

Erc1155SupplyApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Erc1155Supply contract.

func (*Erc1155SupplyApprovalForAllIterator) Close

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

func (*Erc1155SupplyApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc1155SupplyApprovalForAllIterator) Next

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 Erc1155SupplyCaller

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

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

func NewErc1155SupplyCaller

func NewErc1155SupplyCaller(address common.Address, caller bind.ContractCaller) (*Erc1155SupplyCaller, error)

NewErc1155SupplyCaller creates a new read-only instance of Erc1155Supply, bound to a specific deployed contract.

func (*Erc1155SupplyCaller) BalanceOf

func (_Erc1155Supply *Erc1155SupplyCaller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)

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

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

func (*Erc1155SupplyCaller) BalanceOfBatch

func (_Erc1155Supply *Erc1155SupplyCaller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*Erc1155SupplyCaller) Exists

func (_Erc1155Supply *Erc1155SupplyCaller) Exists(opts *bind.CallOpts, id *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 id) view returns(bool)

func (*Erc1155SupplyCaller) IsApprovedForAll

func (_Erc1155Supply *Erc1155SupplyCaller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*Erc1155SupplyCaller) SupportsInterface

func (_Erc1155Supply *Erc1155SupplyCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc1155SupplyCaller) TotalSupply

func (_Erc1155Supply *Erc1155SupplyCaller) TotalSupply(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

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

Solidity: function totalSupply(uint256 id) view returns(uint256)

func (*Erc1155SupplyCaller) Uri

func (_Erc1155Supply *Erc1155SupplyCaller) Uri(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

type Erc1155SupplyCallerRaw

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

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

func (*Erc1155SupplyCallerRaw) Call

func (_Erc1155Supply *Erc1155SupplyCallerRaw) 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 Erc1155SupplyCallerSession

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

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

func (*Erc1155SupplyCallerSession) BalanceOf

func (_Erc1155Supply *Erc1155SupplyCallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

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

func (*Erc1155SupplyCallerSession) BalanceOfBatch

func (_Erc1155Supply *Erc1155SupplyCallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*Erc1155SupplyCallerSession) Exists

func (_Erc1155Supply *Erc1155SupplyCallerSession) Exists(id *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 id) view returns(bool)

func (*Erc1155SupplyCallerSession) IsApprovedForAll

func (_Erc1155Supply *Erc1155SupplyCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*Erc1155SupplyCallerSession) SupportsInterface

func (_Erc1155Supply *Erc1155SupplyCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc1155SupplyCallerSession) TotalSupply

func (_Erc1155Supply *Erc1155SupplyCallerSession) TotalSupply(id *big.Int) (*big.Int, error)

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

Solidity: function totalSupply(uint256 id) view returns(uint256)

func (*Erc1155SupplyCallerSession) Uri

func (_Erc1155Supply *Erc1155SupplyCallerSession) Uri(arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

type Erc1155SupplyFilterer

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

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

func NewErc1155SupplyFilterer

func NewErc1155SupplyFilterer(address common.Address, filterer bind.ContractFilterer) (*Erc1155SupplyFilterer, error)

NewErc1155SupplyFilterer creates a new log filterer instance of Erc1155Supply, bound to a specific deployed contract.

func (*Erc1155SupplyFilterer) FilterApprovalForAll

func (_Erc1155Supply *Erc1155SupplyFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Erc1155SupplyApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*Erc1155SupplyFilterer) FilterTransferBatch

func (_Erc1155Supply *Erc1155SupplyFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc1155SupplyTransferBatchIterator, error)

FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*Erc1155SupplyFilterer) FilterTransferSingle

func (_Erc1155Supply *Erc1155SupplyFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc1155SupplyTransferSingleIterator, error)

FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*Erc1155SupplyFilterer) FilterURI

func (_Erc1155Supply *Erc1155SupplyFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Erc1155SupplyURIIterator, error)

FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*Erc1155SupplyFilterer) ParseApprovalForAll

func (_Erc1155Supply *Erc1155SupplyFilterer) ParseApprovalForAll(log types.Log) (*Erc1155SupplyApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*Erc1155SupplyFilterer) ParseTransferBatch

func (_Erc1155Supply *Erc1155SupplyFilterer) ParseTransferBatch(log types.Log) (*Erc1155SupplyTransferBatch, error)

ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*Erc1155SupplyFilterer) ParseTransferSingle

func (_Erc1155Supply *Erc1155SupplyFilterer) ParseTransferSingle(log types.Log) (*Erc1155SupplyTransferSingle, error)

ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*Erc1155SupplyFilterer) ParseURI

func (_Erc1155Supply *Erc1155SupplyFilterer) ParseURI(log types.Log) (*Erc1155SupplyURI, error)

ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*Erc1155SupplyFilterer) WatchApprovalForAll

func (_Erc1155Supply *Erc1155SupplyFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc1155SupplyApprovalForAll, account []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*Erc1155SupplyFilterer) WatchTransferBatch

func (_Erc1155Supply *Erc1155SupplyFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Erc1155SupplyTransferBatch, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*Erc1155SupplyFilterer) WatchTransferSingle

func (_Erc1155Supply *Erc1155SupplyFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Erc1155SupplyTransferSingle, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*Erc1155SupplyFilterer) WatchURI

func (_Erc1155Supply *Erc1155SupplyFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Erc1155SupplyURI, id []*big.Int) (event.Subscription, error)

WatchURI is a free log subscription operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

type Erc1155SupplyRaw

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

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

func (*Erc1155SupplyRaw) Call

func (_Erc1155Supply *Erc1155SupplyRaw) 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 (*Erc1155SupplyRaw) Transact

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

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

func (*Erc1155SupplyRaw) Transfer

func (_Erc1155Supply *Erc1155SupplyRaw) 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 Erc1155SupplySession

type Erc1155SupplySession struct {
	Contract     *Erc1155Supply    // 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
}

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

func (*Erc1155SupplySession) BalanceOf

func (_Erc1155Supply *Erc1155SupplySession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

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

func (*Erc1155SupplySession) BalanceOfBatch

func (_Erc1155Supply *Erc1155SupplySession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*Erc1155SupplySession) Exists

func (_Erc1155Supply *Erc1155SupplySession) Exists(id *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 id) view returns(bool)

func (*Erc1155SupplySession) IsApprovedForAll

func (_Erc1155Supply *Erc1155SupplySession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*Erc1155SupplySession) SafeBatchTransferFrom

func (_Erc1155Supply *Erc1155SupplySession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*Erc1155SupplySession) SafeTransferFrom

func (_Erc1155Supply *Erc1155SupplySession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*Erc1155SupplySession) SetApprovalForAll

func (_Erc1155Supply *Erc1155SupplySession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*Erc1155SupplySession) SupportsInterface

func (_Erc1155Supply *Erc1155SupplySession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc1155SupplySession) TotalSupply

func (_Erc1155Supply *Erc1155SupplySession) TotalSupply(id *big.Int) (*big.Int, error)

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

Solidity: function totalSupply(uint256 id) view returns(uint256)

func (*Erc1155SupplySession) Uri

func (_Erc1155Supply *Erc1155SupplySession) Uri(arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

type Erc1155SupplyTransactor

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

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

func NewErc1155SupplyTransactor

func NewErc1155SupplyTransactor(address common.Address, transactor bind.ContractTransactor) (*Erc1155SupplyTransactor, error)

NewErc1155SupplyTransactor creates a new write-only instance of Erc1155Supply, bound to a specific deployed contract.

func (*Erc1155SupplyTransactor) SafeBatchTransferFrom

func (_Erc1155Supply *Erc1155SupplyTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*Erc1155SupplyTransactor) SafeTransferFrom

func (_Erc1155Supply *Erc1155SupplyTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*Erc1155SupplyTransactor) SetApprovalForAll

func (_Erc1155Supply *Erc1155SupplyTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

type Erc1155SupplyTransactorRaw

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

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

func (*Erc1155SupplyTransactorRaw) Transact

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

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

func (*Erc1155SupplyTransactorRaw) Transfer

func (_Erc1155Supply *Erc1155SupplyTransactorRaw) 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 Erc1155SupplyTransactorSession

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

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

func (*Erc1155SupplyTransactorSession) SafeBatchTransferFrom

func (_Erc1155Supply *Erc1155SupplyTransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*Erc1155SupplyTransactorSession) SafeTransferFrom

func (_Erc1155Supply *Erc1155SupplyTransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*Erc1155SupplyTransactorSession) SetApprovalForAll

func (_Erc1155Supply *Erc1155SupplyTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

type Erc1155SupplyTransferBatch

type Erc1155SupplyTransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Values   []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

Erc1155SupplyTransferBatch represents a TransferBatch event raised by the Erc1155Supply contract.

type Erc1155SupplyTransferBatchIterator

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

Erc1155SupplyTransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Erc1155Supply contract.

func (*Erc1155SupplyTransferBatchIterator) Close

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

func (*Erc1155SupplyTransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc1155SupplyTransferBatchIterator) Next

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 Erc1155SupplyTransferSingle

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

Erc1155SupplyTransferSingle represents a TransferSingle event raised by the Erc1155Supply contract.

type Erc1155SupplyTransferSingleIterator

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

Erc1155SupplyTransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Erc1155Supply contract.

func (*Erc1155SupplyTransferSingleIterator) Close

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

func (*Erc1155SupplyTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc1155SupplyTransferSingleIterator) Next

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 Erc1155SupplyURI

type Erc1155SupplyURI struct {
	Value string
	Id    *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

Erc1155SupplyURI represents a URI event raised by the Erc1155Supply contract.

type Erc1155SupplyURIIterator

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

Erc1155SupplyURIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Erc1155Supply contract.

func (*Erc1155SupplyURIIterator) Close

func (it *Erc1155SupplyURIIterator) Close() error

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

func (*Erc1155SupplyURIIterator) Error

func (it *Erc1155SupplyURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc1155SupplyURIIterator) Next

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