Documentation ¶
Index ¶
- Variables
- type Erc1155
- type Erc1155Approval
- type Erc1155ApprovalForAll
- type Erc1155ApprovalForAllIterator
- type Erc1155ApprovalIterator
- type Erc1155Caller
- func (_Erc1155 *Erc1155Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Erc1155 *Erc1155Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type Erc1155CallerRaw
- type Erc1155CallerSession
- func (_Erc1155 *Erc1155CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Erc1155 *Erc1155CallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155CallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155CallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type Erc1155Filterer
- func (_Erc1155 *Erc1155Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*Erc1155ApprovalIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Erc1155ApprovalForAllIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*Erc1155TransferIterator, error)
- func (_Erc1155 *Erc1155Filterer) ParseApproval(log types.Log) (*Erc1155Approval, error)
- func (_Erc1155 *Erc1155Filterer) ParseApprovalForAll(log types.Log) (*Erc1155ApprovalForAll, error)
- func (_Erc1155 *Erc1155Filterer) ParseTransfer(log types.Log) (*Erc1155Transfer, error)
- func (_Erc1155 *Erc1155Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc1155Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc1155ApprovalForAll, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc1155Transfer, from []common.Address, ...) (event.Subscription, error)
- 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) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Erc1155 *Erc1155Session) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155Session) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155Session) Mint(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SetApprovalForAll(to common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Erc1155 *Erc1155Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type Erc1155Transactor
- func (_Erc1155 *Erc1155Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) Mint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, to common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type Erc1155TransactorRaw
- type Erc1155TransactorSession
- func (_Erc1155 *Erc1155TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) Mint(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SetApprovalForAll(to common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type Erc1155Transfer
- type Erc1155TransferIterator
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: "[{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"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 Erc1155Approval ¶
type Erc1155Approval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc1155Approval represents a Approval event raised by the Erc1155 contract.
type Erc1155ApprovalForAll ¶
type Erc1155ApprovalForAll struct { Owner 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 Erc1155ApprovalIterator ¶
type Erc1155ApprovalIterator struct { Event *Erc1155Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Erc1155 contract.
func (*Erc1155ApprovalIterator) Close ¶
func (it *Erc1155ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155ApprovalIterator) Error ¶
func (it *Erc1155ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155ApprovalIterator) Next ¶
func (it *Erc1155ApprovalIterator) 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, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*Erc1155Caller) GetApproved ¶
func (_Erc1155 *Erc1155Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*Erc1155Caller) IsApprovedForAll ¶
func (_Erc1155 *Erc1155Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*Erc1155Caller) OwnerOf ¶
func (_Erc1155 *Erc1155Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) 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)
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 ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*Erc1155CallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*Erc1155CallerSession) IsApprovedForAll ¶
func (_Erc1155 *Erc1155CallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*Erc1155CallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) 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)
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) FilterApproval ¶
func (_Erc1155 *Erc1155Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*Erc1155ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*Erc1155Filterer) FilterApprovalForAll ¶
func (_Erc1155 *Erc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Erc1155ApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*Erc1155Filterer) FilterTransfer ¶
func (_Erc1155 *Erc1155Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*Erc1155TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*Erc1155Filterer) ParseApproval ¶
func (_Erc1155 *Erc1155Filterer) ParseApproval(log types.Log) (*Erc1155Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
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 owner, address indexed operator, bool approved)
func (*Erc1155Filterer) ParseTransfer ¶
func (_Erc1155 *Erc1155Filterer) ParseTransfer(log types.Log) (*Erc1155Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*Erc1155Filterer) WatchApproval ¶
func (_Erc1155 *Erc1155Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc1155Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*Erc1155Filterer) WatchApprovalForAll ¶
func (_Erc1155 *Erc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc1155ApprovalForAll, owner []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 owner, address indexed operator, bool approved)
func (*Erc1155Filterer) WatchTransfer ¶
func (_Erc1155 *Erc1155Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc1155Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
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) Approve ¶
func (_Erc1155 *Erc1155Session) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*Erc1155Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*Erc1155Session) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*Erc1155Session) IsApprovedForAll ¶
func (_Erc1155 *Erc1155Session) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*Erc1155Session) Mint ¶
func (_Erc1155 *Erc1155Session) Mint(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 tokenId) returns()
func (*Erc1155Session) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*Erc1155Session) SafeTransferFrom ¶
func (_Erc1155 *Erc1155Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*Erc1155Session) SafeTransferFrom0 ¶
func (_Erc1155 *Erc1155Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*Erc1155Session) SetApprovalForAll ¶
func (_Erc1155 *Erc1155Session) SetApprovalForAll(to common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address to, bool approved) 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) TransferFrom ¶
func (_Erc1155 *Erc1155Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
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) Approve ¶
func (_Erc1155 *Erc1155Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*Erc1155Transactor) Mint ¶
func (_Erc1155 *Erc1155Transactor) Mint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 tokenId) returns()
func (*Erc1155Transactor) SafeTransferFrom ¶
func (_Erc1155 *Erc1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*Erc1155Transactor) SafeTransferFrom0 ¶
func (_Erc1155 *Erc1155Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*Erc1155Transactor) SetApprovalForAll ¶
func (_Erc1155 *Erc1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, to common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address to, bool approved) returns()
func (*Erc1155Transactor) TransferFrom ¶
func (_Erc1155 *Erc1155Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) 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) Approve ¶
func (_Erc1155 *Erc1155TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*Erc1155TransactorSession) Mint ¶
func (_Erc1155 *Erc1155TransactorSession) Mint(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 tokenId) returns()
func (*Erc1155TransactorSession) SafeTransferFrom ¶
func (_Erc1155 *Erc1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*Erc1155TransactorSession) SafeTransferFrom0 ¶
func (_Erc1155 *Erc1155TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*Erc1155TransactorSession) SetApprovalForAll ¶
func (_Erc1155 *Erc1155TransactorSession) SetApprovalForAll(to common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address to, bool approved) returns()
func (*Erc1155TransactorSession) TransferFrom ¶
func (_Erc1155 *Erc1155TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type Erc1155Transfer ¶
type Erc1155Transfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc1155Transfer represents a Transfer event raised by the Erc1155 contract.
type Erc1155TransferIterator ¶
type Erc1155TransferIterator struct { Event *Erc1155Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Erc1155 contract.
func (*Erc1155TransferIterator) Close ¶
func (it *Erc1155TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155TransferIterator) Error ¶
func (it *Erc1155TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155TransferIterator) Next ¶
func (it *Erc1155TransferIterator) 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.