Documentation ¶
Index ¶
- Variables
- type Ierc1155
- type Ierc1155ApprovalForAll
- type Ierc1155ApprovalForAllIterator
- type Ierc1155Caller
- func (_Ierc1155 *Ierc1155Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address, _id *big.Int) (*big.Int, error)
- func (_Ierc1155 *Ierc1155Caller) BalanceOfBatch(opts *bind.CallOpts, _owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
- func (_Ierc1155 *Ierc1155Caller) IsApprovedForAll(opts *bind.CallOpts, _owner common.Address, _operator common.Address) (bool, error)
- type Ierc1155CallerRaw
- type Ierc1155CallerSession
- func (_Ierc1155 *Ierc1155CallerSession) BalanceOf(_owner common.Address, _id *big.Int) (*big.Int, error)
- func (_Ierc1155 *Ierc1155CallerSession) BalanceOfBatch(_owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
- func (_Ierc1155 *Ierc1155CallerSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)
- type Ierc1155Filterer
- func (_Ierc1155 *Ierc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, _owner []common.Address, _operator []common.Address) (*Ierc1155ApprovalForAllIterator, error)
- func (_Ierc1155 *Ierc1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, ...) (*Ierc1155TransferBatchIterator, error)
- func (_Ierc1155 *Ierc1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, ...) (*Ierc1155TransferSingleIterator, error)
- func (_Ierc1155 *Ierc1155Filterer) FilterURI(opts *bind.FilterOpts, _id []*big.Int) (*Ierc1155URIIterator, error)
- func (_Ierc1155 *Ierc1155Filterer) ParseApprovalForAll(log types.Log) (*Ierc1155ApprovalForAll, error)
- func (_Ierc1155 *Ierc1155Filterer) ParseTransferBatch(log types.Log) (*Ierc1155TransferBatch, error)
- func (_Ierc1155 *Ierc1155Filterer) ParseTransferSingle(log types.Log) (*Ierc1155TransferSingle, error)
- func (_Ierc1155 *Ierc1155Filterer) ParseURI(log types.Log) (*Ierc1155URI, error)
- func (_Ierc1155 *Ierc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Ierc1155ApprovalForAll, ...) (event.Subscription, error)
- func (_Ierc1155 *Ierc1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Ierc1155TransferBatch, ...) (event.Subscription, error)
- func (_Ierc1155 *Ierc1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Ierc1155TransferSingle, ...) (event.Subscription, error)
- func (_Ierc1155 *Ierc1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Ierc1155URI, _id []*big.Int) (event.Subscription, error)
- type Ierc1155Raw
- func (_Ierc1155 *Ierc1155Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ierc1155 *Ierc1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ierc1155 *Ierc1155Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Ierc1155Session
- func (_Ierc1155 *Ierc1155Session) BalanceOf(_owner common.Address, _id *big.Int) (*big.Int, error)
- func (_Ierc1155 *Ierc1155Session) BalanceOfBatch(_owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
- func (_Ierc1155 *Ierc1155Session) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)
- func (_Ierc1155 *Ierc1155Session) SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _values []*big.Int, ...) (*types.Transaction, error)
- func (_Ierc1155 *Ierc1155Session) SafeTransferFrom(_from common.Address, _to common.Address, _id *big.Int, _value *big.Int, ...) (*types.Transaction, error)
- func (_Ierc1155 *Ierc1155Session) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)
- type Ierc1155Transactor
- func (_Ierc1155 *Ierc1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_Ierc1155 *Ierc1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_Ierc1155 *Ierc1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, _operator common.Address, _approved bool) (*types.Transaction, error)
- type Ierc1155TransactorRaw
- type Ierc1155TransactorSession
- func (_Ierc1155 *Ierc1155TransactorSession) SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _values []*big.Int, ...) (*types.Transaction, error)
- func (_Ierc1155 *Ierc1155TransactorSession) SafeTransferFrom(_from common.Address, _to common.Address, _id *big.Int, _value *big.Int, ...) (*types.Transaction, error)
- func (_Ierc1155 *Ierc1155TransactorSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)
- type Ierc1155TransferBatch
- type Ierc1155TransferBatchIterator
- type Ierc1155TransferSingle
- type Ierc1155TransferSingleIterator
- type Ierc1155URI
- type Ierc1155URIIterator
Constants ¶
This section is empty.
Variables ¶
var Ierc1155ABI = Ierc1155MetaData.ABI
Ierc1155ABI is the input ABI used to generate the binding from. Deprecated: Use Ierc1155MetaData.ABI instead.
var Ierc1155MetaData = &bind.MetaData{
ABI: "[{\"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\"},{\"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\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_owners\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"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\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"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\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Ierc1155MetaData contains all meta data concerning the Ierc1155 contract.
Functions ¶
This section is empty.
Types ¶
type Ierc1155 ¶
type Ierc1155 struct { Ierc1155Caller // Read-only binding to the contract Ierc1155Transactor // Write-only binding to the contract Ierc1155Filterer // Log filterer for contract events }
Ierc1155 is an auto generated Go binding around an Ethereum contract.
func NewIerc1155 ¶
NewIerc1155 creates a new instance of Ierc1155, bound to a specific deployed contract.
type Ierc1155ApprovalForAll ¶
type Ierc1155ApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
Ierc1155ApprovalForAll represents a ApprovalForAll event raised by the Ierc1155 contract.
type Ierc1155ApprovalForAllIterator ¶
type Ierc1155ApprovalForAllIterator struct { Event *Ierc1155ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Ierc1155ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Ierc1155 contract.
func (*Ierc1155ApprovalForAllIterator) Close ¶
func (it *Ierc1155ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Ierc1155ApprovalForAllIterator) Error ¶
func (it *Ierc1155ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Ierc1155ApprovalForAllIterator) Next ¶
func (it *Ierc1155ApprovalForAllIterator) 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 Ierc1155Caller ¶
type Ierc1155Caller struct {
// contains filtered or unexported fields
}
Ierc1155Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIerc1155Caller ¶
func NewIerc1155Caller(address common.Address, caller bind.ContractCaller) (*Ierc1155Caller, error)
NewIerc1155Caller creates a new read-only instance of Ierc1155, bound to a specific deployed contract.
func (*Ierc1155Caller) BalanceOf ¶
func (_Ierc1155 *Ierc1155Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address, _id *big.Int) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address _owner, uint256 _id) view returns(uint256)
func (*Ierc1155Caller) BalanceOfBatch ¶
func (_Ierc1155 *Ierc1155Caller) BalanceOfBatch(opts *bind.CallOpts, _owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] _owners, uint256[] _ids) view returns(uint256[])
func (*Ierc1155Caller) IsApprovedForAll ¶
func (_Ierc1155 *Ierc1155Caller) 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)
type Ierc1155CallerRaw ¶
type Ierc1155CallerRaw struct {
Contract *Ierc1155Caller // Generic read-only contract binding to access the raw methods on
}
Ierc1155CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Ierc1155CallerRaw) Call ¶
func (_Ierc1155 *Ierc1155CallerRaw) 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 Ierc1155CallerSession ¶
type Ierc1155CallerSession struct { Contract *Ierc1155Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Ierc1155CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Ierc1155CallerSession) BalanceOf ¶
func (_Ierc1155 *Ierc1155CallerSession) BalanceOf(_owner common.Address, _id *big.Int) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address _owner, uint256 _id) view returns(uint256)
func (*Ierc1155CallerSession) BalanceOfBatch ¶
func (_Ierc1155 *Ierc1155CallerSession) BalanceOfBatch(_owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] _owners, uint256[] _ids) view returns(uint256[])
func (*Ierc1155CallerSession) IsApprovedForAll ¶
func (_Ierc1155 *Ierc1155CallerSession) 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)
type Ierc1155Filterer ¶
type Ierc1155Filterer struct {
// contains filtered or unexported fields
}
Ierc1155Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIerc1155Filterer ¶
func NewIerc1155Filterer(address common.Address, filterer bind.ContractFilterer) (*Ierc1155Filterer, error)
NewIerc1155Filterer creates a new log filterer instance of Ierc1155, bound to a specific deployed contract.
func (*Ierc1155Filterer) FilterApprovalForAll ¶
func (_Ierc1155 *Ierc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, _owner []common.Address, _operator []common.Address) (*Ierc1155ApprovalForAllIterator, 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 (*Ierc1155Filterer) FilterTransferBatch ¶
func (_Ierc1155 *Ierc1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, _to []common.Address) (*Ierc1155TransferBatchIterator, 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 (*Ierc1155Filterer) FilterTransferSingle ¶
func (_Ierc1155 *Ierc1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, _to []common.Address) (*Ierc1155TransferSingleIterator, 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 (*Ierc1155Filterer) FilterURI ¶
func (_Ierc1155 *Ierc1155Filterer) FilterURI(opts *bind.FilterOpts, _id []*big.Int) (*Ierc1155URIIterator, error)
FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string _value, uint256 indexed _id)
func (*Ierc1155Filterer) ParseApprovalForAll ¶
func (_Ierc1155 *Ierc1155Filterer) ParseApprovalForAll(log types.Log) (*Ierc1155ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)
func (*Ierc1155Filterer) ParseTransferBatch ¶
func (_Ierc1155 *Ierc1155Filterer) ParseTransferBatch(log types.Log) (*Ierc1155TransferBatch, 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 (*Ierc1155Filterer) ParseTransferSingle ¶
func (_Ierc1155 *Ierc1155Filterer) ParseTransferSingle(log types.Log) (*Ierc1155TransferSingle, 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 (*Ierc1155Filterer) ParseURI ¶
func (_Ierc1155 *Ierc1155Filterer) ParseURI(log types.Log) (*Ierc1155URI, error)
ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string _value, uint256 indexed _id)
func (*Ierc1155Filterer) WatchApprovalForAll ¶
func (_Ierc1155 *Ierc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Ierc1155ApprovalForAll, _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 (*Ierc1155Filterer) WatchTransferBatch ¶
func (_Ierc1155 *Ierc1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Ierc1155TransferBatch, _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 (*Ierc1155Filterer) WatchTransferSingle ¶
func (_Ierc1155 *Ierc1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Ierc1155TransferSingle, _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 (*Ierc1155Filterer) WatchURI ¶
func (_Ierc1155 *Ierc1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Ierc1155URI, _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 Ierc1155Raw ¶
type Ierc1155Raw struct {
Contract *Ierc1155 // Generic contract binding to access the raw methods on
}
Ierc1155Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Ierc1155Raw) Call ¶
func (_Ierc1155 *Ierc1155Raw) 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 (*Ierc1155Raw) Transact ¶
func (_Ierc1155 *Ierc1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Ierc1155Raw) Transfer ¶
func (_Ierc1155 *Ierc1155Raw) 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 Ierc1155Session ¶
type Ierc1155Session struct { Contract *Ierc1155 // 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 }
Ierc1155Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Ierc1155Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address _owner, uint256 _id) view returns(uint256)
func (*Ierc1155Session) BalanceOfBatch ¶
func (_Ierc1155 *Ierc1155Session) BalanceOfBatch(_owners []common.Address, _ids []*big.Int) ([]*big.Int, error)
BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.
Solidity: function balanceOfBatch(address[] _owners, uint256[] _ids) view returns(uint256[])
func (*Ierc1155Session) IsApprovedForAll ¶
func (_Ierc1155 *Ierc1155Session) 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 (*Ierc1155Session) SafeBatchTransferFrom ¶
func (_Ierc1155 *Ierc1155Session) SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _values []*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[] _values, bytes _data) returns()
func (*Ierc1155Session) SafeTransferFrom ¶
func (_Ierc1155 *Ierc1155Session) SafeTransferFrom(_from common.Address, _to common.Address, _id *big.Int, _value *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 _value, bytes _data) returns()
func (*Ierc1155Session) SetApprovalForAll ¶
func (_Ierc1155 *Ierc1155Session) 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 Ierc1155Transactor ¶
type Ierc1155Transactor struct {
// contains filtered or unexported fields
}
Ierc1155Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIerc1155Transactor ¶
func NewIerc1155Transactor(address common.Address, transactor bind.ContractTransactor) (*Ierc1155Transactor, error)
NewIerc1155Transactor creates a new write-only instance of Ierc1155, bound to a specific deployed contract.
func (*Ierc1155Transactor) SafeBatchTransferFrom ¶
func (_Ierc1155 *Ierc1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _ids []*big.Int, _values []*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[] _values, bytes _data) returns()
func (*Ierc1155Transactor) SafeTransferFrom ¶
func (_Ierc1155 *Ierc1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _id *big.Int, _value *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 _value, bytes _data) returns()
func (*Ierc1155Transactor) SetApprovalForAll ¶
func (_Ierc1155 *Ierc1155Transactor) 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 Ierc1155TransactorRaw ¶
type Ierc1155TransactorRaw struct {
Contract *Ierc1155Transactor // Generic write-only contract binding to access the raw methods on
}
Ierc1155TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Ierc1155TransactorRaw) Transact ¶
func (_Ierc1155 *Ierc1155TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Ierc1155TransactorRaw) Transfer ¶
func (_Ierc1155 *Ierc1155TransactorRaw) 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 Ierc1155TransactorSession ¶
type Ierc1155TransactorSession struct { Contract *Ierc1155Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Ierc1155TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Ierc1155TransactorSession) SafeBatchTransferFrom ¶
func (_Ierc1155 *Ierc1155TransactorSession) SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _values []*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[] _values, bytes _data) returns()
func (*Ierc1155TransactorSession) SafeTransferFrom ¶
func (_Ierc1155 *Ierc1155TransactorSession) SafeTransferFrom(_from common.Address, _to common.Address, _id *big.Int, _value *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 _value, bytes _data) returns()
func (*Ierc1155TransactorSession) SetApprovalForAll ¶
func (_Ierc1155 *Ierc1155TransactorSession) 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 Ierc1155TransferBatch ¶
type Ierc1155TransferBatch struct { Operator common.Address From common.Address To common.Address Ids []*big.Int Values []*big.Int Raw types.Log // Blockchain specific contextual infos }
Ierc1155TransferBatch represents a TransferBatch event raised by the Ierc1155 contract.
type Ierc1155TransferBatchIterator ¶
type Ierc1155TransferBatchIterator struct { Event *Ierc1155TransferBatch // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Ierc1155TransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Ierc1155 contract.
func (*Ierc1155TransferBatchIterator) Close ¶
func (it *Ierc1155TransferBatchIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Ierc1155TransferBatchIterator) Error ¶
func (it *Ierc1155TransferBatchIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Ierc1155TransferBatchIterator) Next ¶
func (it *Ierc1155TransferBatchIterator) 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 Ierc1155TransferSingle ¶
type Ierc1155TransferSingle struct { Operator common.Address From common.Address To common.Address Id *big.Int Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Ierc1155TransferSingle represents a TransferSingle event raised by the Ierc1155 contract.
type Ierc1155TransferSingleIterator ¶
type Ierc1155TransferSingleIterator struct { Event *Ierc1155TransferSingle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Ierc1155TransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Ierc1155 contract.
func (*Ierc1155TransferSingleIterator) Close ¶
func (it *Ierc1155TransferSingleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Ierc1155TransferSingleIterator) Error ¶
func (it *Ierc1155TransferSingleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Ierc1155TransferSingleIterator) Next ¶
func (it *Ierc1155TransferSingleIterator) 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 Ierc1155URI ¶
type Ierc1155URI struct { Value string Id *big.Int Raw types.Log // Blockchain specific contextual infos }
Ierc1155URI represents a URI event raised by the Ierc1155 contract.
type Ierc1155URIIterator ¶
type Ierc1155URIIterator struct { Event *Ierc1155URI // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Ierc1155URIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Ierc1155 contract.
func (*Ierc1155URIIterator) Close ¶
func (it *Ierc1155URIIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Ierc1155URIIterator) Error ¶
func (it *Ierc1155URIIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Ierc1155URIIterator) Next ¶
func (it *Ierc1155URIIterator) 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.