supply

package
v0.60.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IERC1155SupplyABI = IERC1155SupplyMetaData.ABI

IERC1155SupplyABI is the input ABI used to generate the binding from. Deprecated: Use IERC1155SupplyMetaData.ABI instead.

View Source
var IERC1155SupplyMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_id\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"balanceOfBatch\",\"inputs\":[{\"name\":\"_owners\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_ids\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isApprovedForAll\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_operator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"isOperator\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"safeBatchTransferFrom\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_ids\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"_amounts\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"safeTransferFrom\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setApprovalForAll\",\"inputs\":[{\"name\":\"_operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_approved\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tokenSupply\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"ApprovalForAll\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_approved\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TransferBatch\",\"inputs\":[{\"name\":\"_operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_ids\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"},{\"name\":\"_amounts\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TransferSingle\",\"inputs\":[{\"name\":\"_operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_id\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"InvalidArrayLength\",\"inputs\":[]}]",
}

IERC1155SupplyMetaData contains all meta data concerning the IERC1155Supply contract.

Functions

This section is empty.

Types

type IERC1155Supply

type IERC1155Supply struct {
	IERC1155SupplyCaller     // Read-only binding to the contract
	IERC1155SupplyTransactor // Write-only binding to the contract
	IERC1155SupplyFilterer   // Log filterer for contract events
}

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

func NewIERC1155Supply

func NewIERC1155Supply(address common.Address, backend bind.ContractBackend) (*IERC1155Supply, error)

NewIERC1155Supply creates a new instance of IERC1155Supply, bound to a specific deployed contract.

type IERC1155SupplyApprovalForAll

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

IERC1155SupplyApprovalForAll represents a ApprovalForAll event raised by the IERC1155Supply contract.

type IERC1155SupplyApprovalForAllIterator

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

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

func (*IERC1155SupplyApprovalForAllIterator) Close

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

func (*IERC1155SupplyApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC1155SupplyApprovalForAllIterator) 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 IERC1155SupplyCaller

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

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

func NewIERC1155SupplyCaller

func NewIERC1155SupplyCaller(address common.Address, caller bind.ContractCaller) (*IERC1155SupplyCaller, error)

NewIERC1155SupplyCaller creates a new read-only instance of IERC1155Supply, bound to a specific deployed contract.

func (*IERC1155SupplyCaller) BalanceOf

func (_IERC1155Supply *IERC1155SupplyCaller) 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 (*IERC1155SupplyCaller) BalanceOfBatch

func (_IERC1155Supply *IERC1155SupplyCaller) 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 (*IERC1155SupplyCaller) IsApprovedForAll

func (_IERC1155Supply *IERC1155SupplyCaller) 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 isOperator)

func (*IERC1155SupplyCaller) SupportsInterface

func (_IERC1155Supply *IERC1155SupplyCaller) 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 (*IERC1155SupplyCaller) TokenSupply

func (_IERC1155Supply *IERC1155SupplyCaller) TokenSupply(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

TokenSupply is a free data retrieval call binding the contract method 0x2693ebf2.

Solidity: function tokenSupply(uint256 ) view returns(uint256)

func (*IERC1155SupplyCaller) TotalSupply

func (_IERC1155Supply *IERC1155SupplyCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC1155SupplyCallerRaw

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

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

func (*IERC1155SupplyCallerRaw) Call

func (_IERC1155Supply *IERC1155SupplyCallerRaw) 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 IERC1155SupplyCallerSession

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

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

func (*IERC1155SupplyCallerSession) BalanceOf

func (_IERC1155Supply *IERC1155SupplyCallerSession) 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 (*IERC1155SupplyCallerSession) BalanceOfBatch

func (_IERC1155Supply *IERC1155SupplyCallerSession) 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 (*IERC1155SupplyCallerSession) IsApprovedForAll

func (_IERC1155Supply *IERC1155SupplyCallerSession) 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 isOperator)

func (*IERC1155SupplyCallerSession) SupportsInterface

func (_IERC1155Supply *IERC1155SupplyCallerSession) 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 (*IERC1155SupplyCallerSession) TokenSupply

func (_IERC1155Supply *IERC1155SupplyCallerSession) TokenSupply(arg0 *big.Int) (*big.Int, error)

TokenSupply is a free data retrieval call binding the contract method 0x2693ebf2.

Solidity: function tokenSupply(uint256 ) view returns(uint256)

func (*IERC1155SupplyCallerSession) TotalSupply

func (_IERC1155Supply *IERC1155SupplyCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC1155SupplyFilterer

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

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

func NewIERC1155SupplyFilterer

func NewIERC1155SupplyFilterer(address common.Address, filterer bind.ContractFilterer) (*IERC1155SupplyFilterer, error)

NewIERC1155SupplyFilterer creates a new log filterer instance of IERC1155Supply, bound to a specific deployed contract.

func (*IERC1155SupplyFilterer) FilterApprovalForAll

func (_IERC1155Supply *IERC1155SupplyFilterer) FilterApprovalForAll(opts *bind.FilterOpts, _owner []common.Address, _operator []common.Address) (*IERC1155SupplyApprovalForAllIterator, 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 (*IERC1155SupplyFilterer) FilterTransferBatch

func (_IERC1155Supply *IERC1155SupplyFilterer) FilterTransferBatch(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, _to []common.Address) (*IERC1155SupplyTransferBatchIterator, 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[] _amounts)

func (*IERC1155SupplyFilterer) FilterTransferSingle

func (_IERC1155Supply *IERC1155SupplyFilterer) FilterTransferSingle(opts *bind.FilterOpts, _operator []common.Address, _from []common.Address, _to []common.Address) (*IERC1155SupplyTransferSingleIterator, 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 _amount)

func (*IERC1155SupplyFilterer) ParseApprovalForAll

func (_IERC1155Supply *IERC1155SupplyFilterer) ParseApprovalForAll(log types.Log) (*IERC1155SupplyApprovalForAll, error)

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

Solidity: event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved)

func (*IERC1155SupplyFilterer) ParseTransferBatch

func (_IERC1155Supply *IERC1155SupplyFilterer) ParseTransferBatch(log types.Log) (*IERC1155SupplyTransferBatch, 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[] _amounts)

func (*IERC1155SupplyFilterer) ParseTransferSingle

func (_IERC1155Supply *IERC1155SupplyFilterer) ParseTransferSingle(log types.Log) (*IERC1155SupplyTransferSingle, 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 _amount)

func (*IERC1155SupplyFilterer) WatchApprovalForAll

func (_IERC1155Supply *IERC1155SupplyFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *IERC1155SupplyApprovalForAll, _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 (*IERC1155SupplyFilterer) WatchTransferBatch

func (_IERC1155Supply *IERC1155SupplyFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *IERC1155SupplyTransferBatch, _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[] _amounts)

func (*IERC1155SupplyFilterer) WatchTransferSingle

func (_IERC1155Supply *IERC1155SupplyFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *IERC1155SupplyTransferSingle, _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 _amount)

type IERC1155SupplyRaw

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

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

func (*IERC1155SupplyRaw) Call

func (_IERC1155Supply *IERC1155SupplyRaw) 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 (*IERC1155SupplyRaw) Transact

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

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

func (*IERC1155SupplyRaw) Transfer

func (_IERC1155Supply *IERC1155SupplyRaw) 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 IERC1155SupplySession

type IERC1155SupplySession struct {
	Contract     *IERC1155Supply   // 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
}

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

func (*IERC1155SupplySession) BalanceOf

func (_IERC1155Supply *IERC1155SupplySession) 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 (*IERC1155SupplySession) BalanceOfBatch

func (_IERC1155Supply *IERC1155SupplySession) 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 (*IERC1155SupplySession) IsApprovedForAll

func (_IERC1155Supply *IERC1155SupplySession) 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 isOperator)

func (*IERC1155SupplySession) SafeBatchTransferFrom

func (_IERC1155Supply *IERC1155SupplySession) 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 (*IERC1155SupplySession) SafeTransferFrom

func (_IERC1155Supply *IERC1155SupplySession) 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 (*IERC1155SupplySession) SetApprovalForAll

func (_IERC1155Supply *IERC1155SupplySession) 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 (*IERC1155SupplySession) SupportsInterface

func (_IERC1155Supply *IERC1155SupplySession) 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 (*IERC1155SupplySession) TokenSupply

func (_IERC1155Supply *IERC1155SupplySession) TokenSupply(arg0 *big.Int) (*big.Int, error)

TokenSupply is a free data retrieval call binding the contract method 0x2693ebf2.

Solidity: function tokenSupply(uint256 ) view returns(uint256)

func (*IERC1155SupplySession) TotalSupply

func (_IERC1155Supply *IERC1155SupplySession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC1155SupplyTransactor

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

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

func NewIERC1155SupplyTransactor

func NewIERC1155SupplyTransactor(address common.Address, transactor bind.ContractTransactor) (*IERC1155SupplyTransactor, error)

NewIERC1155SupplyTransactor creates a new write-only instance of IERC1155Supply, bound to a specific deployed contract.

func (*IERC1155SupplyTransactor) SafeBatchTransferFrom

func (_IERC1155Supply *IERC1155SupplyTransactor) 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 (*IERC1155SupplyTransactor) SafeTransferFrom

func (_IERC1155Supply *IERC1155SupplyTransactor) 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 (*IERC1155SupplyTransactor) SetApprovalForAll

func (_IERC1155Supply *IERC1155SupplyTransactor) 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 IERC1155SupplyTransactorRaw

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

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

func (*IERC1155SupplyTransactorRaw) Transact

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

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

func (*IERC1155SupplyTransactorRaw) Transfer

func (_IERC1155Supply *IERC1155SupplyTransactorRaw) 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 IERC1155SupplyTransactorSession

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

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

func (*IERC1155SupplyTransactorSession) SafeBatchTransferFrom

func (_IERC1155Supply *IERC1155SupplyTransactorSession) 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 (*IERC1155SupplyTransactorSession) SafeTransferFrom

func (_IERC1155Supply *IERC1155SupplyTransactorSession) 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 (*IERC1155SupplyTransactorSession) SetApprovalForAll

func (_IERC1155Supply *IERC1155SupplyTransactorSession) 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 IERC1155SupplyTransferBatch

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

IERC1155SupplyTransferBatch represents a TransferBatch event raised by the IERC1155Supply contract.

type IERC1155SupplyTransferBatchIterator

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

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

func (*IERC1155SupplyTransferBatchIterator) Close

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

func (*IERC1155SupplyTransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC1155SupplyTransferBatchIterator) 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 IERC1155SupplyTransferSingle

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

IERC1155SupplyTransferSingle represents a TransferSingle event raised by the IERC1155Supply contract.

type IERC1155SupplyTransferSingleIterator

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

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

func (*IERC1155SupplyTransferSingleIterator) Close

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

func (*IERC1155SupplyTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC1155SupplyTransferSingleIterator) 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.

Jump to

Keyboard shortcuts

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