Versions in this module Expand all Collapse all v1 v1.58.0 Jul 31, 2024 Changes in this version + var Erc1155ABI = Erc1155MetaData.ABI + var Erc1155Bin = Erc1155MetaData.Bin + var Erc1155MetaData = &bind.MetaData + var TransferBulkTopic []byte = []byte + var TransferSingleTopic []byte = []byte + type Erc1155 struct + func DeployErc1155(auth *bind.TransactOpts, backend bind.ContractBackend, uri_ string) (common.Address, *types.Transaction, *Erc1155, error) + func NewErc1155(address common.Address, backend bind.ContractBackend) (*Erc1155, error) + type Erc1155ApprovalForAll struct + Account common.Address + Approved bool + Operator common.Address + Raw types.Log + type Erc1155ApprovalForAllIterator struct + Event *Erc1155ApprovalForAll + func (it *Erc1155ApprovalForAllIterator) Close() error + func (it *Erc1155ApprovalForAllIterator) Error() error + func (it *Erc1155ApprovalForAllIterator) Next() bool + type Erc1155Caller struct + func NewErc1155Caller(address common.Address, caller bind.ContractCaller) (*Erc1155Caller, error) + 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) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error) + func (_Erc1155 *Erc1155Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) + func (_Erc1155 *Erc1155Caller) Uri(opts *bind.CallOpts, arg0 *big.Int) (string, error) + type Erc1155CallerRaw struct + Contract *Erc1155Caller + func (_Erc1155 *Erc1155CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type Erc1155CallerSession struct + CallOpts bind.CallOpts + Contract *Erc1155Caller + 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) IsApprovedForAll(account common.Address, operator common.Address) (bool, error) + func (_Erc1155 *Erc1155CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error) + func (_Erc1155 *Erc1155CallerSession) Uri(arg0 *big.Int) (string, error) + type Erc1155Filterer struct + func NewErc1155Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc1155Filterer, error) + func (_Erc1155 *Erc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Erc1155ApprovalForAllIterator, 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) 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) 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 Erc1155Raw struct + Contract *Erc1155 + 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 struct + CallOpts bind.CallOpts + Contract *Erc1155 + TransactOpts bind.TransactOpts + 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) IsApprovedForAll(account common.Address, operator common.Address) (bool, 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) SupportsInterface(interfaceId [4]byte) (bool, error) + func (_Erc1155 *Erc1155Session) Uri(arg0 *big.Int) (string, error) + type Erc1155Transactor struct + func NewErc1155Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc1155Transactor, 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) + type Erc1155TransactorRaw struct + Contract *Erc1155Transactor + func (_Erc1155 *Erc1155TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Erc1155 *Erc1155TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type Erc1155TransactorSession struct + Contract *Erc1155Transactor + TransactOpts bind.TransactOpts + 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) + type Erc1155TransferBatch struct + From common.Address + Ids []*big.Int + Operator common.Address + Raw types.Log + To common.Address + Values []*big.Int + type Erc1155TransferBatchIterator struct + Event *Erc1155TransferBatch + func (it *Erc1155TransferBatchIterator) Close() error + func (it *Erc1155TransferBatchIterator) Error() error + func (it *Erc1155TransferBatchIterator) Next() bool + type Erc1155TransferSingle struct + From common.Address + Id *big.Int + Operator common.Address + Raw types.Log + To common.Address + Value *big.Int + type Erc1155TransferSingleIterator struct + Event *Erc1155TransferSingle + func (it *Erc1155TransferSingleIterator) Close() error + func (it *Erc1155TransferSingleIterator) Error() error + func (it *Erc1155TransferSingleIterator) Next() bool + type Erc1155URI struct + Id *big.Int + Raw types.Log + Value string + type Erc1155URIIterator struct + Event *Erc1155URI + func (it *Erc1155URIIterator) Close() error + func (it *Erc1155URIIterator) Error() error + func (it *Erc1155URIIterator) Next() bool