Documentation ¶
Index ¶
- Variables
- type Erc1155
- type Erc1155ApprovalForAll
- type Erc1155ApprovalForAllIterator
- type Erc1155Caller
- func (_Erc1155 *Erc1155Caller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155Caller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Erc1155 *Erc1155Caller) GetTokensToBurnForNFT(opts *bind.CallOpts, id *big.Int) ([3]*big.Int, error)
- func (_Erc1155 *Erc1155Caller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155Caller) JustTokenAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Erc1155 *Erc1155Caller) NominatedOwner(opts *bind.CallOpts) (common.Address, error)
- func (_Erc1155 *Erc1155Caller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Erc1155 *Erc1155Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Erc1155 *Erc1155Caller) TotalSupply(opts *bind.CallOpts, _id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155Caller) Uri(opts *bind.CallOpts, _tokenId *big.Int) (string, error)
- func (_Erc1155 *Erc1155Caller) WinTokenAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Erc1155 *Erc1155Caller) YouTokenAddress(opts *bind.CallOpts) (common.Address, error)
- type Erc1155CallerRaw
- type Erc1155CallerSession
- func (_Erc1155 *Erc1155CallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155CallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Erc1155 *Erc1155CallerSession) GetTokensToBurnForNFT(id *big.Int) ([3]*big.Int, error)
- func (_Erc1155 *Erc1155CallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155CallerSession) JustTokenAddress() (common.Address, error)
- func (_Erc1155 *Erc1155CallerSession) NominatedOwner() (common.Address, error)
- func (_Erc1155 *Erc1155CallerSession) Owner() (common.Address, error)
- func (_Erc1155 *Erc1155CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Erc1155 *Erc1155CallerSession) TotalSupply(_id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155CallerSession) Uri(_tokenId *big.Int) (string, error)
- func (_Erc1155 *Erc1155CallerSession) WinTokenAddress() (common.Address, error)
- func (_Erc1155 *Erc1155CallerSession) YouTokenAddress() (common.Address, error)
- type Erc1155Filterer
- func (_Erc1155 *Erc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Erc1155ApprovalForAllIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterOwnerChanged(opts *bind.FilterOpts) (*Erc1155OwnerChangedIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterOwnerNominated(opts *bind.FilterOpts) (*Erc1155OwnerNominatedIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*Erc1155TransferBatchIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*Erc1155TransferSingleIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Erc1155URIIterator, error)
- func (_Erc1155 *Erc1155Filterer) ParseApprovalForAll(log types.Log) (*Erc1155ApprovalForAll, error)
- func (_Erc1155 *Erc1155Filterer) ParseOwnerChanged(log types.Log) (*Erc1155OwnerChanged, error)
- func (_Erc1155 *Erc1155Filterer) ParseOwnerNominated(log types.Log) (*Erc1155OwnerNominated, error)
- func (_Erc1155 *Erc1155Filterer) ParseTransferBatch(log types.Log) (*Erc1155TransferBatch, error)
- func (_Erc1155 *Erc1155Filterer) ParseTransferSingle(log types.Log) (*Erc1155TransferSingle, error)
- func (_Erc1155 *Erc1155Filterer) ParseURI(log types.Log) (*Erc1155URI, error)
- func (_Erc1155 *Erc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc1155ApprovalForAll, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *Erc1155OwnerChanged) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *Erc1155OwnerNominated) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Erc1155TransferBatch, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Erc1155TransferSingle, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Erc1155URI, id []*big.Int) (event.Subscription, error)
- type Erc1155OwnerChanged
- type Erc1155OwnerChangedIterator
- type Erc1155OwnerNominated
- type Erc1155OwnerNominatedIterator
- type Erc1155Raw
- func (_Erc1155 *Erc1155Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Erc1155 *Erc1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Erc1155Session
- func (_Erc1155 *Erc1155Session) AcceptOwnership() (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155Session) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Erc1155 *Erc1155Session) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) BurnNReceiveNFT(_id *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) Create(_to common.Address, _initialSupply *big.Int, _Uri string, _data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) CreateToFarm(_initialSupply *big.Int, _Uri string, _data []byte, youTokensToBurn *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) GetTokensToBurnForNFT(id *big.Int) ([3]*big.Int, error)
- func (_Erc1155 *Erc1155Session) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155Session) JustTokenAddress() (common.Address, error)
- func (_Erc1155 *Erc1155Session) Mint(_id *big.Int, _quantity *big.Int, _data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) NominateNewOwner(_owner common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) NominatedOwner() (common.Address, error)
- func (_Erc1155 *Erc1155Session) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) Owner() (common.Address, error)
- func (_Erc1155 *Erc1155Session) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SetBaseMetadataURI(_newBaseMetadataURI string) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Erc1155 *Erc1155Session) TotalSupply(_id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155Session) Uri(_tokenId *big.Int) (string, error)
- func (_Erc1155 *Erc1155Session) WinTokenAddress() (common.Address, error)
- func (_Erc1155 *Erc1155Session) YouTokenAddress() (common.Address, error)
- type Erc1155Transactor
- func (_Erc1155 *Erc1155Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) Burn(opts *bind.TransactOpts, account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) BurnBatch(opts *bind.TransactOpts, account common.Address, ids []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) BurnNReceiveNFT(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) Create(opts *bind.TransactOpts, _to common.Address, _initialSupply *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) CreateToFarm(opts *bind.TransactOpts, _initialSupply *big.Int, _Uri string, _data []byte, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) Mint(opts *bind.TransactOpts, _id *big.Int, _quantity *big.Int, _data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) NominateNewOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SetBaseMetadataURI(opts *bind.TransactOpts, _newBaseMetadataURI string) (*types.Transaction, error)
- type Erc1155TransactorRaw
- type Erc1155TransactorSession
- func (_Erc1155 *Erc1155TransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) BurnNReceiveNFT(_id *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) Create(_to common.Address, _initialSupply *big.Int, _Uri string, _data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) CreateToFarm(_initialSupply *big.Int, _Uri string, _data []byte, youTokensToBurn *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) Mint(_id *big.Int, _quantity *big.Int, _data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) NominateNewOwner(_owner common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SetBaseMetadataURI(_newBaseMetadataURI string) (*types.Transaction, error)
- type Erc1155TransferBatch
- type Erc1155TransferBatchIterator
- type Erc1155TransferSingle
- type Erc1155TransferSingleIterator
- type Erc1155URI
- type Erc1155URIIterator
Constants ¶
This section is empty.
Variables ¶
var Erc1155ABI = Erc1155MetaData.ABI
Erc1155ABI is the input ABI used to generate the binding from. Deprecated: Use Erc1155MetaData.ABI instead.
var Erc1155MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uri_\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_youTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_justTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_winTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerNominated\",\"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\":[],\"name\":\"JustTokenAddress\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WinTokenAddress\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"YouTokenAddress\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"burnBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"burnNReceiveNFT\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_initialSupply\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_Uri\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"create\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_initialSupply\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_Uri\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"youTokensToBurn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"justTokensToBurn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winTokensToBurn\",\"type\":\"uint256\"}],\"name\":\"createToFarm\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getTokensToBurnForNFT\",\"outputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"\",\"type\":\"uint256[3]\"}],\"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\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_quantity\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"nominateNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nominatedOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"string\",\"name\":\"_newBaseMetadataURI\",\"type\":\"string\"}],\"name\":\"setBaseMetadataURI\",\"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\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
Erc1155MetaData contains all meta data concerning the Erc1155 contract.
Functions ¶
This section is empty.
Types ¶
type Erc1155 ¶
type Erc1155 struct { Erc1155Caller // Read-only binding to the contract Erc1155Transactor // Write-only binding to the contract Erc1155Filterer // Log filterer for contract events }
Erc1155 is an auto generated Go binding around an Ethereum contract.
func NewErc1155 ¶
NewErc1155 creates a new instance of Erc1155, bound to a specific deployed contract.
type Erc1155ApprovalForAll ¶
type Erc1155ApprovalForAll struct { Account common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
Erc1155ApprovalForAll represents a ApprovalForAll event raised by the Erc1155 contract.
type Erc1155ApprovalForAllIterator ¶
type Erc1155ApprovalForAllIterator struct { Event *Erc1155ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Erc1155 contract.
func (*Erc1155ApprovalForAllIterator) Close ¶
func (it *Erc1155ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155ApprovalForAllIterator) Error ¶
func (it *Erc1155ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155ApprovalForAllIterator) Next ¶
func (it *Erc1155ApprovalForAllIterator) 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 Erc1155Caller ¶
type Erc1155Caller struct {
// contains filtered or unexported fields
}
Erc1155Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewErc1155Caller ¶
func NewErc1155Caller(address common.Address, caller bind.ContractCaller) (*Erc1155Caller, error)
NewErc1155Caller creates a new read-only instance of Erc1155, bound to a specific deployed contract.
func (*Erc1155Caller) BalanceOf ¶
func (_Erc1155 *Erc1155Caller) 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 (*Erc1155Caller) BalanceOfBatch ¶
func (_Erc1155 *Erc1155Caller) 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 (*Erc1155Caller) GetTokensToBurnForNFT ¶
func (_Erc1155 *Erc1155Caller) GetTokensToBurnForNFT(opts *bind.CallOpts, id *big.Int) ([3]*big.Int, error)
GetTokensToBurnForNFT is a free data retrieval call binding the contract method 0xa53d2929.
Solidity: function getTokensToBurnForNFT(uint256 id) view returns(uint256[3])
func (*Erc1155Caller) IsApprovedForAll ¶
func (_Erc1155 *Erc1155Caller) 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 (*Erc1155Caller) JustTokenAddress ¶
JustTokenAddress is a free data retrieval call binding the contract method 0xb9c29221.
Solidity: function JustTokenAddress() view returns(address)
func (*Erc1155Caller) NominatedOwner ¶
NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.
Solidity: function nominatedOwner() view returns(address)
func (*Erc1155Caller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Erc1155Caller) SupportsInterface ¶
func (_Erc1155 *Erc1155Caller) 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 (*Erc1155Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0xbd85b039.
Solidity: function totalSupply(uint256 _id) view returns(uint256)
func (*Erc1155Caller) Uri ¶
Uri is a free data retrieval call binding the contract method 0x0e89341c.
Solidity: function uri(uint256 _tokenId) view returns(string)
func (*Erc1155Caller) WinTokenAddress ¶
WinTokenAddress is a free data retrieval call binding the contract method 0x4766ac77.
Solidity: function WinTokenAddress() view returns(address)
func (*Erc1155Caller) YouTokenAddress ¶
YouTokenAddress is a free data retrieval call binding the contract method 0x89add238.
Solidity: function YouTokenAddress() view returns(address)
type Erc1155CallerRaw ¶
type Erc1155CallerRaw struct {
Contract *Erc1155Caller // Generic read-only contract binding to access the raw methods on
}
Erc1155CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Erc1155CallerRaw) Call ¶
func (_Erc1155 *Erc1155CallerRaw) 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 Erc1155CallerSession ¶
type Erc1155CallerSession struct { Contract *Erc1155Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Erc1155CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Erc1155CallerSession) BalanceOf ¶
func (_Erc1155 *Erc1155CallerSession) 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 (*Erc1155CallerSession) BalanceOfBatch ¶
func (_Erc1155 *Erc1155CallerSession) 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 (*Erc1155CallerSession) GetTokensToBurnForNFT ¶
GetTokensToBurnForNFT is a free data retrieval call binding the contract method 0xa53d2929.
Solidity: function getTokensToBurnForNFT(uint256 id) view returns(uint256[3])
func (*Erc1155CallerSession) IsApprovedForAll ¶
func (_Erc1155 *Erc1155CallerSession) 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 (*Erc1155CallerSession) JustTokenAddress ¶
func (_Erc1155 *Erc1155CallerSession) JustTokenAddress() (common.Address, error)
JustTokenAddress is a free data retrieval call binding the contract method 0xb9c29221.
Solidity: function JustTokenAddress() view returns(address)
func (*Erc1155CallerSession) NominatedOwner ¶
func (_Erc1155 *Erc1155CallerSession) NominatedOwner() (common.Address, error)
NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.
Solidity: function nominatedOwner() view returns(address)
func (*Erc1155CallerSession) Owner ¶
func (_Erc1155 *Erc1155CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Erc1155CallerSession) SupportsInterface ¶
func (_Erc1155 *Erc1155CallerSession) 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 (*Erc1155CallerSession) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0xbd85b039.
Solidity: function totalSupply(uint256 _id) view returns(uint256)
func (*Erc1155CallerSession) Uri ¶
func (_Erc1155 *Erc1155CallerSession) Uri(_tokenId *big.Int) (string, error)
Uri is a free data retrieval call binding the contract method 0x0e89341c.
Solidity: function uri(uint256 _tokenId) view returns(string)
func (*Erc1155CallerSession) WinTokenAddress ¶
func (_Erc1155 *Erc1155CallerSession) WinTokenAddress() (common.Address, error)
WinTokenAddress is a free data retrieval call binding the contract method 0x4766ac77.
Solidity: function WinTokenAddress() view returns(address)
func (*Erc1155CallerSession) YouTokenAddress ¶
func (_Erc1155 *Erc1155CallerSession) YouTokenAddress() (common.Address, error)
YouTokenAddress is a free data retrieval call binding the contract method 0x89add238.
Solidity: function YouTokenAddress() view returns(address)
type Erc1155Filterer ¶
type Erc1155Filterer struct {
// contains filtered or unexported fields
}
Erc1155Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewErc1155Filterer ¶
func NewErc1155Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc1155Filterer, error)
NewErc1155Filterer creates a new log filterer instance of Erc1155, bound to a specific deployed contract.
func (*Erc1155Filterer) FilterApprovalForAll ¶
func (_Erc1155 *Erc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Erc1155ApprovalForAllIterator, 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 (*Erc1155Filterer) FilterOwnerChanged ¶
func (_Erc1155 *Erc1155Filterer) FilterOwnerChanged(opts *bind.FilterOpts) (*Erc1155OwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*Erc1155Filterer) FilterOwnerNominated ¶
func (_Erc1155 *Erc1155Filterer) FilterOwnerNominated(opts *bind.FilterOpts) (*Erc1155OwnerNominatedIterator, error)
FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*Erc1155Filterer) FilterTransferBatch ¶
func (_Erc1155 *Erc1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc1155TransferBatchIterator, 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 (*Erc1155Filterer) FilterTransferSingle ¶
func (_Erc1155 *Erc1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc1155TransferSingleIterator, 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 (*Erc1155Filterer) FilterURI ¶
func (_Erc1155 *Erc1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Erc1155URIIterator, error)
FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
func (*Erc1155Filterer) ParseApprovalForAll ¶
func (_Erc1155 *Erc1155Filterer) ParseApprovalForAll(log types.Log) (*Erc1155ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)
func (*Erc1155Filterer) ParseOwnerChanged ¶
func (_Erc1155 *Erc1155Filterer) ParseOwnerChanged(log types.Log) (*Erc1155OwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*Erc1155Filterer) ParseOwnerNominated ¶
func (_Erc1155 *Erc1155Filterer) ParseOwnerNominated(log types.Log) (*Erc1155OwnerNominated, error)
ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*Erc1155Filterer) ParseTransferBatch ¶
func (_Erc1155 *Erc1155Filterer) ParseTransferBatch(log types.Log) (*Erc1155TransferBatch, 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 (*Erc1155Filterer) ParseTransferSingle ¶
func (_Erc1155 *Erc1155Filterer) ParseTransferSingle(log types.Log) (*Erc1155TransferSingle, 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 (*Erc1155Filterer) ParseURI ¶
func (_Erc1155 *Erc1155Filterer) ParseURI(log types.Log) (*Erc1155URI, error)
ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
func (*Erc1155Filterer) WatchApprovalForAll ¶
func (_Erc1155 *Erc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc1155ApprovalForAll, 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 (*Erc1155Filterer) WatchOwnerChanged ¶
func (_Erc1155 *Erc1155Filterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *Erc1155OwnerChanged) (event.Subscription, error)
WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*Erc1155Filterer) WatchOwnerNominated ¶
func (_Erc1155 *Erc1155Filterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *Erc1155OwnerNominated) (event.Subscription, error)
WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*Erc1155Filterer) WatchTransferBatch ¶
func (_Erc1155 *Erc1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Erc1155TransferBatch, 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 (*Erc1155Filterer) WatchTransferSingle ¶
func (_Erc1155 *Erc1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Erc1155TransferSingle, 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 (*Erc1155Filterer) WatchURI ¶
func (_Erc1155 *Erc1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Erc1155URI, 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 Erc1155OwnerChanged ¶
type Erc1155OwnerChanged struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
Erc1155OwnerChanged represents a OwnerChanged event raised by the Erc1155 contract.
type Erc1155OwnerChangedIterator ¶
type Erc1155OwnerChangedIterator struct { Event *Erc1155OwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155OwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Erc1155 contract.
func (*Erc1155OwnerChangedIterator) Close ¶
func (it *Erc1155OwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155OwnerChangedIterator) Error ¶
func (it *Erc1155OwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155OwnerChangedIterator) Next ¶
func (it *Erc1155OwnerChangedIterator) 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 Erc1155OwnerNominated ¶
type Erc1155OwnerNominated struct { NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
Erc1155OwnerNominated represents a OwnerNominated event raised by the Erc1155 contract.
type Erc1155OwnerNominatedIterator ¶
type Erc1155OwnerNominatedIterator struct { Event *Erc1155OwnerNominated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155OwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the Erc1155 contract.
func (*Erc1155OwnerNominatedIterator) Close ¶
func (it *Erc1155OwnerNominatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155OwnerNominatedIterator) Error ¶
func (it *Erc1155OwnerNominatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155OwnerNominatedIterator) Next ¶
func (it *Erc1155OwnerNominatedIterator) 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 Erc1155Raw ¶
type Erc1155Raw struct {
Contract *Erc1155 // Generic contract binding to access the raw methods on
}
Erc1155Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Erc1155Raw) Call ¶
func (_Erc1155 *Erc1155Raw) 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 (*Erc1155Raw) Transact ¶
func (_Erc1155 *Erc1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Erc1155Raw) Transfer ¶
func (_Erc1155 *Erc1155Raw) 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 Erc1155Session ¶
type Erc1155Session struct { Contract *Erc1155 // 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 }
Erc1155Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Erc1155Session) AcceptOwnership ¶
func (_Erc1155 *Erc1155Session) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*Erc1155Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address account, uint256 id) view returns(uint256)
func (*Erc1155Session) BalanceOfBatch ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) Burn ¶
func (_Erc1155 *Erc1155Session) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xf5298aca.
Solidity: function burn(address account, uint256 id, uint256 value) returns()
func (*Erc1155Session) BurnBatch ¶
func (_Erc1155 *Erc1155Session) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.
Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()
func (*Erc1155Session) BurnNReceiveNFT ¶
func (_Erc1155 *Erc1155Session) BurnNReceiveNFT(_id *big.Int) (*types.Transaction, error)
BurnNReceiveNFT is a paid mutator transaction binding the contract method 0xf2b399ee.
Solidity: function burnNReceiveNFT(uint256 _id) returns(bool)
func (*Erc1155Session) Create ¶
func (_Erc1155 *Erc1155Session) Create(_to common.Address, _initialSupply *big.Int, _Uri string, _data []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0xe38e3b24.
Solidity: function create(address _to, uint256 _initialSupply, string _Uri, bytes _data) returns(uint256)
func (*Erc1155Session) CreateToFarm ¶
func (_Erc1155 *Erc1155Session) CreateToFarm(_initialSupply *big.Int, _Uri string, _data []byte, youTokensToBurn *big.Int, justTokensToBurn *big.Int, winTokensToBurn *big.Int) (*types.Transaction, error)
CreateToFarm is a paid mutator transaction binding the contract method 0x116ed561.
Solidity: function createToFarm(uint256 _initialSupply, string _Uri, bytes _data, uint256 youTokensToBurn, uint256 justTokensToBurn, uint256 winTokensToBurn) returns(uint256)
func (*Erc1155Session) GetTokensToBurnForNFT ¶
GetTokensToBurnForNFT is a free data retrieval call binding the contract method 0xa53d2929.
Solidity: function getTokensToBurnForNFT(uint256 id) view returns(uint256[3])
func (*Erc1155Session) IsApprovedForAll ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) JustTokenAddress ¶
func (_Erc1155 *Erc1155Session) JustTokenAddress() (common.Address, error)
JustTokenAddress is a free data retrieval call binding the contract method 0xb9c29221.
Solidity: function JustTokenAddress() view returns(address)
func (*Erc1155Session) Mint ¶
func (_Erc1155 *Erc1155Session) Mint(_id *big.Int, _quantity *big.Int, _data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x08dc9f42.
Solidity: function mint(uint256 _id, uint256 _quantity, bytes _data) returns()
func (*Erc1155Session) NominateNewOwner ¶
func (_Erc1155 *Erc1155Session) NominateNewOwner(_owner common.Address) (*types.Transaction, error)
NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.
Solidity: function nominateNewOwner(address _owner) returns()
func (*Erc1155Session) NominatedOwner ¶
func (_Erc1155 *Erc1155Session) NominatedOwner() (common.Address, error)
NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.
Solidity: function nominatedOwner() view returns(address)
func (*Erc1155Session) OnERC1155BatchReceived ¶
func (_Erc1155 *Erc1155Session) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*Erc1155Session) OnERC1155Received ¶
func (_Erc1155 *Erc1155Session) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*Erc1155Session) Owner ¶
func (_Erc1155 *Erc1155Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Erc1155Session) SafeBatchTransferFrom ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) SafeTransferFrom ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) SetApprovalForAll ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) SetBaseMetadataURI ¶
func (_Erc1155 *Erc1155Session) SetBaseMetadataURI(_newBaseMetadataURI string) (*types.Transaction, error)
SetBaseMetadataURI is a paid mutator transaction binding the contract method 0x7e518ec8.
Solidity: function setBaseMetadataURI(string _newBaseMetadataURI) returns()
func (*Erc1155Session) SupportsInterface ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0xbd85b039.
Solidity: function totalSupply(uint256 _id) view returns(uint256)
func (*Erc1155Session) Uri ¶
func (_Erc1155 *Erc1155Session) Uri(_tokenId *big.Int) (string, error)
Uri is a free data retrieval call binding the contract method 0x0e89341c.
Solidity: function uri(uint256 _tokenId) view returns(string)
func (*Erc1155Session) WinTokenAddress ¶
func (_Erc1155 *Erc1155Session) WinTokenAddress() (common.Address, error)
WinTokenAddress is a free data retrieval call binding the contract method 0x4766ac77.
Solidity: function WinTokenAddress() view returns(address)
func (*Erc1155Session) YouTokenAddress ¶
func (_Erc1155 *Erc1155Session) YouTokenAddress() (common.Address, error)
YouTokenAddress is a free data retrieval call binding the contract method 0x89add238.
Solidity: function YouTokenAddress() view returns(address)
type Erc1155Transactor ¶
type Erc1155Transactor struct {
// contains filtered or unexported fields
}
Erc1155Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewErc1155Transactor ¶
func NewErc1155Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc1155Transactor, error)
NewErc1155Transactor creates a new write-only instance of Erc1155, bound to a specific deployed contract.
func (*Erc1155Transactor) AcceptOwnership ¶
func (_Erc1155 *Erc1155Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*Erc1155Transactor) Burn ¶
func (_Erc1155 *Erc1155Transactor) Burn(opts *bind.TransactOpts, account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xf5298aca.
Solidity: function burn(address account, uint256 id, uint256 value) returns()
func (*Erc1155Transactor) BurnBatch ¶
func (_Erc1155 *Erc1155Transactor) BurnBatch(opts *bind.TransactOpts, account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.
Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()
func (*Erc1155Transactor) BurnNReceiveNFT ¶
func (_Erc1155 *Erc1155Transactor) BurnNReceiveNFT(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)
BurnNReceiveNFT is a paid mutator transaction binding the contract method 0xf2b399ee.
Solidity: function burnNReceiveNFT(uint256 _id) returns(bool)
func (*Erc1155Transactor) Create ¶
func (_Erc1155 *Erc1155Transactor) Create(opts *bind.TransactOpts, _to common.Address, _initialSupply *big.Int, _Uri string, _data []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0xe38e3b24.
Solidity: function create(address _to, uint256 _initialSupply, string _Uri, bytes _data) returns(uint256)
func (*Erc1155Transactor) CreateToFarm ¶
func (_Erc1155 *Erc1155Transactor) CreateToFarm(opts *bind.TransactOpts, _initialSupply *big.Int, _Uri string, _data []byte, youTokensToBurn *big.Int, justTokensToBurn *big.Int, winTokensToBurn *big.Int) (*types.Transaction, error)
CreateToFarm is a paid mutator transaction binding the contract method 0x116ed561.
Solidity: function createToFarm(uint256 _initialSupply, string _Uri, bytes _data, uint256 youTokensToBurn, uint256 justTokensToBurn, uint256 winTokensToBurn) returns(uint256)
func (*Erc1155Transactor) Mint ¶
func (_Erc1155 *Erc1155Transactor) Mint(opts *bind.TransactOpts, _id *big.Int, _quantity *big.Int, _data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x08dc9f42.
Solidity: function mint(uint256 _id, uint256 _quantity, bytes _data) returns()
func (*Erc1155Transactor) NominateNewOwner ¶
func (_Erc1155 *Erc1155Transactor) NominateNewOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.
Solidity: function nominateNewOwner(address _owner) returns()
func (*Erc1155Transactor) OnERC1155BatchReceived ¶
func (_Erc1155 *Erc1155Transactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*Erc1155Transactor) OnERC1155Received ¶
func (_Erc1155 *Erc1155Transactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*Erc1155Transactor) SafeBatchTransferFrom ¶
func (_Erc1155 *Erc1155Transactor) 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 (*Erc1155Transactor) SafeTransferFrom ¶
func (_Erc1155 *Erc1155Transactor) 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 (*Erc1155Transactor) SetApprovalForAll ¶
func (_Erc1155 *Erc1155Transactor) 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()
func (*Erc1155Transactor) SetBaseMetadataURI ¶
func (_Erc1155 *Erc1155Transactor) SetBaseMetadataURI(opts *bind.TransactOpts, _newBaseMetadataURI string) (*types.Transaction, error)
SetBaseMetadataURI is a paid mutator transaction binding the contract method 0x7e518ec8.
Solidity: function setBaseMetadataURI(string _newBaseMetadataURI) returns()
type Erc1155TransactorRaw ¶
type Erc1155TransactorRaw struct {
Contract *Erc1155Transactor // Generic write-only contract binding to access the raw methods on
}
Erc1155TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Erc1155TransactorRaw) Transact ¶
func (_Erc1155 *Erc1155TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Erc1155TransactorRaw) Transfer ¶
func (_Erc1155 *Erc1155TransactorRaw) 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 Erc1155TransactorSession ¶
type Erc1155TransactorSession struct { Contract *Erc1155Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Erc1155TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Erc1155TransactorSession) AcceptOwnership ¶
func (_Erc1155 *Erc1155TransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*Erc1155TransactorSession) Burn ¶
func (_Erc1155 *Erc1155TransactorSession) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xf5298aca.
Solidity: function burn(address account, uint256 id, uint256 value) returns()
func (*Erc1155TransactorSession) BurnBatch ¶
func (_Erc1155 *Erc1155TransactorSession) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.
Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()
func (*Erc1155TransactorSession) BurnNReceiveNFT ¶
func (_Erc1155 *Erc1155TransactorSession) BurnNReceiveNFT(_id *big.Int) (*types.Transaction, error)
BurnNReceiveNFT is a paid mutator transaction binding the contract method 0xf2b399ee.
Solidity: function burnNReceiveNFT(uint256 _id) returns(bool)
func (*Erc1155TransactorSession) Create ¶
func (_Erc1155 *Erc1155TransactorSession) Create(_to common.Address, _initialSupply *big.Int, _Uri string, _data []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0xe38e3b24.
Solidity: function create(address _to, uint256 _initialSupply, string _Uri, bytes _data) returns(uint256)
func (*Erc1155TransactorSession) CreateToFarm ¶
func (_Erc1155 *Erc1155TransactorSession) CreateToFarm(_initialSupply *big.Int, _Uri string, _data []byte, youTokensToBurn *big.Int, justTokensToBurn *big.Int, winTokensToBurn *big.Int) (*types.Transaction, error)
CreateToFarm is a paid mutator transaction binding the contract method 0x116ed561.
Solidity: function createToFarm(uint256 _initialSupply, string _Uri, bytes _data, uint256 youTokensToBurn, uint256 justTokensToBurn, uint256 winTokensToBurn) returns(uint256)
func (*Erc1155TransactorSession) Mint ¶
func (_Erc1155 *Erc1155TransactorSession) Mint(_id *big.Int, _quantity *big.Int, _data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x08dc9f42.
Solidity: function mint(uint256 _id, uint256 _quantity, bytes _data) returns()
func (*Erc1155TransactorSession) NominateNewOwner ¶
func (_Erc1155 *Erc1155TransactorSession) NominateNewOwner(_owner common.Address) (*types.Transaction, error)
NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.
Solidity: function nominateNewOwner(address _owner) returns()
func (*Erc1155TransactorSession) OnERC1155BatchReceived ¶
func (_Erc1155 *Erc1155TransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*Erc1155TransactorSession) OnERC1155Received ¶
func (_Erc1155 *Erc1155TransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*Erc1155TransactorSession) SafeBatchTransferFrom ¶
func (_Erc1155 *Erc1155TransactorSession) 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 (*Erc1155TransactorSession) SafeTransferFrom ¶
func (_Erc1155 *Erc1155TransactorSession) 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 (*Erc1155TransactorSession) SetApprovalForAll ¶
func (_Erc1155 *Erc1155TransactorSession) 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 (*Erc1155TransactorSession) SetBaseMetadataURI ¶
func (_Erc1155 *Erc1155TransactorSession) SetBaseMetadataURI(_newBaseMetadataURI string) (*types.Transaction, error)
SetBaseMetadataURI is a paid mutator transaction binding the contract method 0x7e518ec8.
Solidity: function setBaseMetadataURI(string _newBaseMetadataURI) returns()
type Erc1155TransferBatch ¶
type Erc1155TransferBatch struct { Operator common.Address From common.Address To common.Address Ids []*big.Int Values []*big.Int Raw types.Log // Blockchain specific contextual infos }
Erc1155TransferBatch represents a TransferBatch event raised by the Erc1155 contract.
type Erc1155TransferBatchIterator ¶
type Erc1155TransferBatchIterator struct { Event *Erc1155TransferBatch // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155TransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Erc1155 contract.
func (*Erc1155TransferBatchIterator) Close ¶
func (it *Erc1155TransferBatchIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155TransferBatchIterator) Error ¶
func (it *Erc1155TransferBatchIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155TransferBatchIterator) Next ¶
func (it *Erc1155TransferBatchIterator) 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 Erc1155TransferSingle ¶
type Erc1155TransferSingle struct { Operator common.Address From common.Address To common.Address Id *big.Int Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc1155TransferSingle represents a TransferSingle event raised by the Erc1155 contract.
type Erc1155TransferSingleIterator ¶
type Erc1155TransferSingleIterator struct { Event *Erc1155TransferSingle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155TransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Erc1155 contract.
func (*Erc1155TransferSingleIterator) Close ¶
func (it *Erc1155TransferSingleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155TransferSingleIterator) Error ¶
func (it *Erc1155TransferSingleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155TransferSingleIterator) Next ¶
func (it *Erc1155TransferSingleIterator) 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 Erc1155URI ¶
type Erc1155URI struct { Value string Id *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc1155URI represents a URI event raised by the Erc1155 contract.
type Erc1155URIIterator ¶
type Erc1155URIIterator struct { Event *Erc1155URI // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155URIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Erc1155 contract.
func (*Erc1155URIIterator) Close ¶
func (it *Erc1155URIIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155URIIterator) Error ¶
func (it *Erc1155URIIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155URIIterator) Next ¶
func (it *Erc1155URIIterator) 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.