ERC1155Contract

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERC1155ContractABI = ERC1155ContractMetaData.ABI

ERC1155ContractABI is the input ABI used to generate the binding from. Deprecated: Use ERC1155ContractMetaData.ABI instead.

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

ERC1155ContractMetaData contains all meta data concerning the ERC1155Contract contract.

Functions

This section is empty.

Types

type ERC1155Contract

type ERC1155Contract struct {
	ERC1155ContractCaller     // Read-only binding to the contract
	ERC1155ContractTransactor // Write-only binding to the contract
	ERC1155ContractFilterer   // Log filterer for contract events
}

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

func NewERC1155Contract

func NewERC1155Contract(address common.Address, backend bind.ContractBackend) (*ERC1155Contract, error)

NewERC1155Contract creates a new instance of ERC1155Contract, bound to a specific deployed contract.

type ERC1155ContractApprovalForAll

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

ERC1155ContractApprovalForAll represents a ApprovalForAll event raised by the ERC1155Contract contract.

type ERC1155ContractApprovalForAllIterator

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

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

func (*ERC1155ContractApprovalForAllIterator) Close

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

func (*ERC1155ContractApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155ContractApprovalForAllIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC1155ContractCaller

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

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

func NewERC1155ContractCaller

func NewERC1155ContractCaller(address common.Address, caller bind.ContractCaller) (*ERC1155ContractCaller, error)

NewERC1155ContractCaller creates a new read-only instance of ERC1155Contract, bound to a specific deployed contract.

func (*ERC1155ContractCaller) BalanceOf

func (_ERC1155Contract *ERC1155ContractCaller) 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 (*ERC1155ContractCaller) BalanceOfBatch

func (_ERC1155Contract *ERC1155ContractCaller) 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 (*ERC1155ContractCaller) IsApprovedForAll

func (_ERC1155Contract *ERC1155ContractCaller) 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 (*ERC1155ContractCaller) SupportsInterface

func (_ERC1155Contract *ERC1155ContractCaller) 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 (*ERC1155ContractCaller) Uri

func (_ERC1155Contract *ERC1155ContractCaller) Uri(opts *bind.CallOpts, arg0 *big.Int) (string, error)

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

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

type ERC1155ContractCallerRaw

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

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

func (*ERC1155ContractCallerRaw) Call

func (_ERC1155Contract *ERC1155ContractCallerRaw) 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 ERC1155ContractCallerSession

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

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

func (*ERC1155ContractCallerSession) BalanceOf

func (_ERC1155Contract *ERC1155ContractCallerSession) 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 (*ERC1155ContractCallerSession) BalanceOfBatch

func (_ERC1155Contract *ERC1155ContractCallerSession) 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 (*ERC1155ContractCallerSession) IsApprovedForAll

func (_ERC1155Contract *ERC1155ContractCallerSession) 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 (*ERC1155ContractCallerSession) SupportsInterface

func (_ERC1155Contract *ERC1155ContractCallerSession) 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 (*ERC1155ContractCallerSession) Uri

func (_ERC1155Contract *ERC1155ContractCallerSession) Uri(arg0 *big.Int) (string, error)

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

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

type ERC1155ContractFilterer

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

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

func NewERC1155ContractFilterer

func NewERC1155ContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1155ContractFilterer, error)

NewERC1155ContractFilterer creates a new log filterer instance of ERC1155Contract, bound to a specific deployed contract.

func (*ERC1155ContractFilterer) FilterApprovalForAll

func (_ERC1155Contract *ERC1155ContractFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*ERC1155ContractApprovalForAllIterator, 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 (*ERC1155ContractFilterer) FilterTransferBatch

func (_ERC1155Contract *ERC1155ContractFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC1155ContractTransferBatchIterator, 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 (*ERC1155ContractFilterer) FilterTransferSingle

func (_ERC1155Contract *ERC1155ContractFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC1155ContractTransferSingleIterator, 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 (*ERC1155ContractFilterer) FilterURI

func (_ERC1155Contract *ERC1155ContractFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*ERC1155ContractURIIterator, error)

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

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

func (*ERC1155ContractFilterer) ParseApprovalForAll

func (_ERC1155Contract *ERC1155ContractFilterer) ParseApprovalForAll(log types.Log) (*ERC1155ContractApprovalForAll, error)

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

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

func (*ERC1155ContractFilterer) ParseTransferBatch

func (_ERC1155Contract *ERC1155ContractFilterer) ParseTransferBatch(log types.Log) (*ERC1155ContractTransferBatch, 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 (*ERC1155ContractFilterer) ParseTransferSingle

func (_ERC1155Contract *ERC1155ContractFilterer) ParseTransferSingle(log types.Log) (*ERC1155ContractTransferSingle, 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 (*ERC1155ContractFilterer) ParseURI

func (_ERC1155Contract *ERC1155ContractFilterer) ParseURI(log types.Log) (*ERC1155ContractURI, error)

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

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

func (*ERC1155ContractFilterer) WatchApprovalForAll

func (_ERC1155Contract *ERC1155ContractFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC1155ContractApprovalForAll, 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 (*ERC1155ContractFilterer) WatchTransferBatch

func (_ERC1155Contract *ERC1155ContractFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *ERC1155ContractTransferBatch, 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 (*ERC1155ContractFilterer) WatchTransferSingle

func (_ERC1155Contract *ERC1155ContractFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *ERC1155ContractTransferSingle, 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 (*ERC1155ContractFilterer) WatchURI

func (_ERC1155Contract *ERC1155ContractFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *ERC1155ContractURI, 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 ERC1155ContractRaw

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

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

func (*ERC1155ContractRaw) Call

func (_ERC1155Contract *ERC1155ContractRaw) 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 (*ERC1155ContractRaw) Transact

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

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

func (*ERC1155ContractRaw) Transfer

func (_ERC1155Contract *ERC1155ContractRaw) 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 ERC1155ContractSession

type ERC1155ContractSession struct {
	Contract     *ERC1155Contract  // 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
}

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

func (*ERC1155ContractSession) BalanceOf

func (_ERC1155Contract *ERC1155ContractSession) 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 (*ERC1155ContractSession) BalanceOfBatch

func (_ERC1155Contract *ERC1155ContractSession) 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 (*ERC1155ContractSession) IsApprovedForAll

func (_ERC1155Contract *ERC1155ContractSession) 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 (*ERC1155ContractSession) SafeBatchTransferFrom

func (_ERC1155Contract *ERC1155ContractSession) 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 (*ERC1155ContractSession) SafeTransferFrom

func (_ERC1155Contract *ERC1155ContractSession) 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 (*ERC1155ContractSession) SetApprovalForAll

func (_ERC1155Contract *ERC1155ContractSession) 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 (*ERC1155ContractSession) SupportsInterface

func (_ERC1155Contract *ERC1155ContractSession) 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 (*ERC1155ContractSession) Uri

func (_ERC1155Contract *ERC1155ContractSession) Uri(arg0 *big.Int) (string, error)

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

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

type ERC1155ContractTransactor

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

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

func NewERC1155ContractTransactor

func NewERC1155ContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1155ContractTransactor, error)

NewERC1155ContractTransactor creates a new write-only instance of ERC1155Contract, bound to a specific deployed contract.

func (*ERC1155ContractTransactor) SafeBatchTransferFrom

func (_ERC1155Contract *ERC1155ContractTransactor) 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 (*ERC1155ContractTransactor) SafeTransferFrom

func (_ERC1155Contract *ERC1155ContractTransactor) 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 (*ERC1155ContractTransactor) SetApprovalForAll

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

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

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

type ERC1155ContractTransactorRaw

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

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

func (*ERC1155ContractTransactorRaw) Transact

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

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

func (*ERC1155ContractTransactorRaw) Transfer

func (_ERC1155Contract *ERC1155ContractTransactorRaw) 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 ERC1155ContractTransactorSession

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

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

func (*ERC1155ContractTransactorSession) SafeBatchTransferFrom

func (_ERC1155Contract *ERC1155ContractTransactorSession) 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 (*ERC1155ContractTransactorSession) SafeTransferFrom

func (_ERC1155Contract *ERC1155ContractTransactorSession) 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 (*ERC1155ContractTransactorSession) SetApprovalForAll

func (_ERC1155Contract *ERC1155ContractTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

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

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

type ERC1155ContractTransferBatch

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

ERC1155ContractTransferBatch represents a TransferBatch event raised by the ERC1155Contract contract.

type ERC1155ContractTransferBatchIterator

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

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

func (*ERC1155ContractTransferBatchIterator) Close

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

func (*ERC1155ContractTransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155ContractTransferBatchIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC1155ContractTransferSingle

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

ERC1155ContractTransferSingle represents a TransferSingle event raised by the ERC1155Contract contract.

type ERC1155ContractTransferSingleIterator

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

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

func (*ERC1155ContractTransferSingleIterator) Close

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

func (*ERC1155ContractTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155ContractTransferSingleIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC1155ContractURI

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

ERC1155ContractURI represents a URI event raised by the ERC1155Contract contract.

type ERC1155ContractURIIterator

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

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

func (*ERC1155ContractURIIterator) Close

func (it *ERC1155ContractURIIterator) Close() error

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

func (*ERC1155ContractURIIterator) Error

func (it *ERC1155ContractURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155ContractURIIterator) Next

func (it *ERC1155ContractURIIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL