erc1155

package
v0.0.0-...-cc46cae Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_erc1155_proto protoreflect.FileDescriptor
View Source
var IERC1155ABI = IERC1155MetaData.ABI

IERC1155ABI is the input ABI used to generate the binding from. Deprecated: Use IERC1155MetaData.ABI instead.

View Source
var IERC1155FuncSigs = IERC1155MetaData.Sigs

Deprecated: Use IERC1155MetaData.Sigs instead. IERC1155FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC1155MetaData = &bind.MetaData{
	ABI: "[{\"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\"}]",
	Sigs: map[string]string{
		"00fdd58e": "balanceOf(address,uint256)",
		"4e1273f4": "balanceOfBatch(address[],uint256[])",
		"e985e9c5": "isApprovedForAll(address,address)",
		"2eb2c2d6": "safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)",
		"f242432a": "safeTransferFrom(address,address,uint256,uint256,bytes)",
		"a22cb465": "setApprovalForAll(address,bool)",
		"01ffc9a7": "supportsInterface(bytes4)",
	},
}

IERC1155MetaData contains all meta data concerning the IERC1155 contract.

View Source
var IERC165ABI = IERC165MetaData.ABI

IERC165ABI is the input ABI used to generate the binding from. Deprecated: Use IERC165MetaData.ABI instead.

View Source
var IERC165FuncSigs = IERC165MetaData.Sigs

Deprecated: Use IERC165MetaData.Sigs instead. IERC165FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC165MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"01ffc9a7": "supportsInterface(bytes4)",
	},
}

IERC165MetaData contains all meta data concerning the IERC165 contract.

Functions

This section is empty.

Types

type ApprovalForAll

type ApprovalForAll struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Account     []byte                 `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Operator    []byte                 `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
	Approved    bool                   `protobuf:"varint,4,opt,name=approved,proto3" json:"approved,omitempty"`
	BlockNumber uint64                 `protobuf:"varint,5,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	LogIndex    uint64                 `protobuf:"varint,6,opt,name=logIndex,proto3" json:"logIndex,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,7,opt,name=txHash,proto3" json:"txHash,omitempty"`
	// contains filtered or unexported fields
}

func (*ApprovalForAll) Descriptor deprecated

func (*ApprovalForAll) Descriptor() ([]byte, []int)

Deprecated: Use ApprovalForAll.ProtoReflect.Descriptor instead.

func (*ApprovalForAll) GetAccount

func (x *ApprovalForAll) GetAccount() []byte

func (*ApprovalForAll) GetApproved

func (x *ApprovalForAll) GetApproved() bool

func (*ApprovalForAll) GetBlockNumber

func (x *ApprovalForAll) GetBlockNumber() uint64

func (*ApprovalForAll) GetLogIndex

func (x *ApprovalForAll) GetLogIndex() uint64

func (*ApprovalForAll) GetOperator

func (x *ApprovalForAll) GetOperator() []byte

func (*ApprovalForAll) GetTs

func (x *ApprovalForAll) GetTs() *timestamppb.Timestamp

func (*ApprovalForAll) GetTxHash

func (x *ApprovalForAll) GetTxHash() []byte

func (*ApprovalForAll) ProtoMessage

func (*ApprovalForAll) ProtoMessage()

func (*ApprovalForAll) ProtoReflect

func (x *ApprovalForAll) ProtoReflect() protoreflect.Message

func (*ApprovalForAll) Reset

func (x *ApprovalForAll) Reset()

func (*ApprovalForAll) String

func (x *ApprovalForAll) String() string

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

func NewIERC1155(address common.Address, backend bind.ContractBackend) (*IERC1155, error)

NewIERC1155 creates a new instance of IERC1155, bound to a specific deployed contract.

type IERC1155ApprovalForAll

type IERC1155ApprovalForAll struct {
	Account  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

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

func (*IERC1155ApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC1155ApprovalForAllIterator) 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 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, 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 (*IERC1155Caller) BalanceOfBatch

func (_IERC1155 *IERC1155Caller) 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 (*IERC1155Caller) IsApprovedForAll

func (_IERC1155 *IERC1155Caller) 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 (*IERC1155Caller) SupportsInterface

func (_IERC1155 *IERC1155Caller) 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 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(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 (*IERC1155CallerSession) BalanceOfBatch

func (_IERC1155 *IERC1155CallerSession) 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 (*IERC1155CallerSession) IsApprovedForAll

func (_IERC1155 *IERC1155CallerSession) 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 (*IERC1155CallerSession) SupportsInterface

func (_IERC1155 *IERC1155CallerSession) 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 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, account []common.Address, operator []common.Address) (*IERC1155ApprovalForAllIterator, 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 (*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 account, 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, 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 (*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

func (_IERC1155 *IERC1155Session) 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 (*IERC1155Session) BalanceOfBatch

func (_IERC1155 *IERC1155Session) 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 (*IERC1155Session) IsApprovedForAll

func (_IERC1155 *IERC1155Session) 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 (*IERC1155Session) SafeBatchTransferFrom

func (_IERC1155 *IERC1155Session) 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 (*IERC1155Session) SafeTransferFrom

func (_IERC1155 *IERC1155Session) 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 (*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()

func (*IERC1155Session) SupportsInterface

func (_IERC1155 *IERC1155Session) 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 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, 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 (*IERC1155Transactor) SafeTransferFrom

func (_IERC1155 *IERC1155Transactor) 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 (*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, 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 (*IERC1155TransactorSession) SafeTransferFrom

func (_IERC1155 *IERC1155TransactorSession) 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 (*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

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

func (*IERC1155TransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

func (*IERC1155TransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type IERC165

type IERC165 struct {
	IERC165Caller     // Read-only binding to the contract
	IERC165Transactor // Write-only binding to the contract
	IERC165Filterer   // Log filterer for contract events
}

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

func NewIERC165

func NewIERC165(address common.Address, backend bind.ContractBackend) (*IERC165, error)

NewIERC165 creates a new instance of IERC165, bound to a specific deployed contract.

type IERC165Caller

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

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

func NewIERC165Caller

func NewIERC165Caller(address common.Address, caller bind.ContractCaller) (*IERC165Caller, error)

NewIERC165Caller creates a new read-only instance of IERC165, bound to a specific deployed contract.

func (*IERC165Caller) SupportsInterface

func (_IERC165 *IERC165Caller) 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 IERC165CallerRaw

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

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

func (*IERC165CallerRaw) Call

func (_IERC165 *IERC165CallerRaw) 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 IERC165CallerSession

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

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

func (*IERC165CallerSession) SupportsInterface

func (_IERC165 *IERC165CallerSession) 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 IERC165Filterer

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

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

func NewIERC165Filterer

func NewIERC165Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC165Filterer, error)

NewIERC165Filterer creates a new log filterer instance of IERC165, bound to a specific deployed contract.

type IERC165Raw

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

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

func (*IERC165Raw) Call

func (_IERC165 *IERC165Raw) 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 (*IERC165Raw) Transact

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

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

func (*IERC165Raw) Transfer

func (_IERC165 *IERC165Raw) 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 IERC165Session

type IERC165Session struct {
	Contract     *IERC165          // 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
}

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

func (*IERC165Session) SupportsInterface

func (_IERC165 *IERC165Session) 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 IERC165Transactor

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

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

func NewIERC165Transactor

func NewIERC165Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC165Transactor, error)

NewIERC165Transactor creates a new write-only instance of IERC165, bound to a specific deployed contract.

type IERC165TransactorRaw

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

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

func (*IERC165TransactorRaw) Transact

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

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

func (*IERC165TransactorRaw) Transfer

func (_IERC165 *IERC165TransactorRaw) 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 IERC165TransactorSession

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

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

type SmartContract

type SmartContract struct{}

func (*SmartContract) Message

func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, evLog types.Log, timestamp *timestamppb.Timestamp) proto.Message

type TransferBatch

type TransferBatch struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Operator    []byte                 `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	From        []byte                 `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To          []byte                 `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Ids         [][]byte               `protobuf:"bytes,5,rep,name=ids,proto3" json:"ids,omitempty"`       // uint256
	Values      [][]byte               `protobuf:"bytes,6,rep,name=values,proto3" json:"values,omitempty"` // uint256
	BlockNumber uint64                 `protobuf:"varint,7,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	LogIndex    uint64                 `protobuf:"varint,8,opt,name=logIndex,proto3" json:"logIndex,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,9,opt,name=txHash,proto3" json:"txHash,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferBatch) Descriptor deprecated

func (*TransferBatch) Descriptor() ([]byte, []int)

Deprecated: Use TransferBatch.ProtoReflect.Descriptor instead.

func (*TransferBatch) GetBlockNumber

func (x *TransferBatch) GetBlockNumber() uint64

func (*TransferBatch) GetFrom

func (x *TransferBatch) GetFrom() []byte

func (*TransferBatch) GetIds

func (x *TransferBatch) GetIds() [][]byte

func (*TransferBatch) GetLogIndex

func (x *TransferBatch) GetLogIndex() uint64

func (*TransferBatch) GetOperator

func (x *TransferBatch) GetOperator() []byte

func (*TransferBatch) GetTo

func (x *TransferBatch) GetTo() []byte

func (*TransferBatch) GetTs

func (x *TransferBatch) GetTs() *timestamppb.Timestamp

func (*TransferBatch) GetTxHash

func (x *TransferBatch) GetTxHash() []byte

func (*TransferBatch) GetValues

func (x *TransferBatch) GetValues() [][]byte

func (*TransferBatch) ProtoMessage

func (*TransferBatch) ProtoMessage()

func (*TransferBatch) ProtoReflect

func (x *TransferBatch) ProtoReflect() protoreflect.Message

func (*TransferBatch) Reset

func (x *TransferBatch) Reset()

func (*TransferBatch) String

func (x *TransferBatch) String() string

type TransferSingle

type TransferSingle struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Operator    []byte                 `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	From        []byte                 `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To          []byte                 `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Id          []byte                 `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`       // uint256
	Value       []byte                 `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` // uint256
	BlockNumber uint64                 `protobuf:"varint,7,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	LogIndex    uint64                 `protobuf:"varint,8,opt,name=logIndex,proto3" json:"logIndex,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,9,opt,name=txHash,proto3" json:"txHash,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferSingle) Descriptor deprecated

func (*TransferSingle) Descriptor() ([]byte, []int)

Deprecated: Use TransferSingle.ProtoReflect.Descriptor instead.

func (*TransferSingle) GetBlockNumber

func (x *TransferSingle) GetBlockNumber() uint64

func (*TransferSingle) GetFrom

func (x *TransferSingle) GetFrom() []byte

func (*TransferSingle) GetId

func (x *TransferSingle) GetId() []byte

func (*TransferSingle) GetLogIndex

func (x *TransferSingle) GetLogIndex() uint64

func (*TransferSingle) GetOperator

func (x *TransferSingle) GetOperator() []byte

func (*TransferSingle) GetTo

func (x *TransferSingle) GetTo() []byte

func (*TransferSingle) GetTs

func (x *TransferSingle) GetTs() *timestamppb.Timestamp

func (*TransferSingle) GetTxHash

func (x *TransferSingle) GetTxHash() []byte

func (*TransferSingle) GetValue

func (x *TransferSingle) GetValue() []byte

func (*TransferSingle) ProtoMessage

func (*TransferSingle) ProtoMessage()

func (*TransferSingle) ProtoReflect

func (x *TransferSingle) ProtoReflect() protoreflect.Message

func (*TransferSingle) Reset

func (x *TransferSingle) Reset()

func (*TransferSingle) String

func (x *TransferSingle) String() string

type URI

type URI struct {
	Ts          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Value       string                 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Id          []byte                 `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // uint256
	BlockNumber uint64                 `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	LogIndex    uint64                 `protobuf:"varint,5,opt,name=logIndex,proto3" json:"logIndex,omitempty"`
	TxHash      []byte                 `protobuf:"bytes,6,opt,name=txHash,proto3" json:"txHash,omitempty"`
	// contains filtered or unexported fields
}

func (*URI) Descriptor deprecated

func (*URI) Descriptor() ([]byte, []int)

Deprecated: Use URI.ProtoReflect.Descriptor instead.

func (*URI) GetBlockNumber

func (x *URI) GetBlockNumber() uint64

func (*URI) GetId

func (x *URI) GetId() []byte

func (*URI) GetLogIndex

func (x *URI) GetLogIndex() uint64

func (*URI) GetTs

func (x *URI) GetTs() *timestamppb.Timestamp

func (*URI) GetTxHash

func (x *URI) GetTxHash() []byte

func (*URI) GetValue

func (x *URI) GetValue() string

func (*URI) ProtoMessage

func (*URI) ProtoMessage()

func (*URI) ProtoReflect

func (x *URI) ProtoReflect() protoreflect.Message

func (*URI) Reset

func (x *URI) Reset()

func (*URI) String

func (x *URI) String() string

Jump to

Keyboard shortcuts

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