mockerc1155

package
v1.0.0-9 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Mockerc1155ABI = Mockerc1155MetaData.ABI

Mockerc1155ABI is the input ABI used to generate the binding from. Deprecated: Use Mockerc1155MetaData.ABI instead.

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

Mockerc1155MetaData contains all meta data concerning the Mockerc1155 contract.

Functions

This section is empty.

Types

type Mockerc1155

type Mockerc1155 struct {
	Mockerc1155Caller     // Read-only binding to the contract
	Mockerc1155Transactor // Write-only binding to the contract
	Mockerc1155Filterer   // Log filterer for contract events
}

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

func NewMockerc1155

func NewMockerc1155(address common.Address, backend bind.ContractBackend) (*Mockerc1155, error)

NewMockerc1155 creates a new instance of Mockerc1155, bound to a specific deployed contract.

type Mockerc1155ApprovalForAll

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

Mockerc1155ApprovalForAll represents a ApprovalForAll event raised by the Mockerc1155 contract.

type Mockerc1155ApprovalForAllIterator

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

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

func (*Mockerc1155ApprovalForAllIterator) Close

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

func (*Mockerc1155ApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewMockerc1155Caller

func NewMockerc1155Caller(address common.Address, caller bind.ContractCaller) (*Mockerc1155Caller, error)

NewMockerc1155Caller creates a new read-only instance of Mockerc1155, bound to a specific deployed contract.

func (*Mockerc1155Caller) BalanceOf

func (_Mockerc1155 *Mockerc1155Caller) 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 (*Mockerc1155Caller) BalanceOfBatch

func (_Mockerc1155 *Mockerc1155Caller) 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 (*Mockerc1155Caller) IsApprovedForAll

func (_Mockerc1155 *Mockerc1155Caller) 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 (*Mockerc1155Caller) SupportsInterface

func (_Mockerc1155 *Mockerc1155Caller) 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 (*Mockerc1155Caller) Uri

func (_Mockerc1155 *Mockerc1155Caller) Uri(opts *bind.CallOpts, arg0 *big.Int) (string, error)

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

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

type Mockerc1155CallerRaw

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

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

func (*Mockerc1155CallerRaw) Call

func (_Mockerc1155 *Mockerc1155CallerRaw) 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 Mockerc1155CallerSession

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

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

func (*Mockerc1155CallerSession) BalanceOf

func (_Mockerc1155 *Mockerc1155CallerSession) 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 (*Mockerc1155CallerSession) BalanceOfBatch

func (_Mockerc1155 *Mockerc1155CallerSession) 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 (*Mockerc1155CallerSession) IsApprovedForAll

func (_Mockerc1155 *Mockerc1155CallerSession) 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 (*Mockerc1155CallerSession) SupportsInterface

func (_Mockerc1155 *Mockerc1155CallerSession) 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 (*Mockerc1155CallerSession) Uri

func (_Mockerc1155 *Mockerc1155CallerSession) Uri(arg0 *big.Int) (string, error)

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

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

type Mockerc1155Filterer

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

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

func NewMockerc1155Filterer

func NewMockerc1155Filterer(address common.Address, filterer bind.ContractFilterer) (*Mockerc1155Filterer, error)

NewMockerc1155Filterer creates a new log filterer instance of Mockerc1155, bound to a specific deployed contract.

func (*Mockerc1155Filterer) FilterApprovalForAll

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

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

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

func (_Mockerc1155 *Mockerc1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Mockerc1155URIIterator, error)

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

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

func (*Mockerc1155Filterer) ParseApprovalForAll

func (_Mockerc1155 *Mockerc1155Filterer) ParseApprovalForAll(log types.Log) (*Mockerc1155ApprovalForAll, error)

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

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

func (*Mockerc1155Filterer) ParseTransferBatch

func (_Mockerc1155 *Mockerc1155Filterer) ParseTransferBatch(log types.Log) (*Mockerc1155TransferBatch, 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 (*Mockerc1155Filterer) ParseTransferSingle

func (_Mockerc1155 *Mockerc1155Filterer) ParseTransferSingle(log types.Log) (*Mockerc1155TransferSingle, 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 (*Mockerc1155Filterer) ParseURI

func (_Mockerc1155 *Mockerc1155Filterer) ParseURI(log types.Log) (*Mockerc1155URI, error)

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

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

func (*Mockerc1155Filterer) WatchApprovalForAll

func (_Mockerc1155 *Mockerc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Mockerc1155ApprovalForAll, 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 (*Mockerc1155Filterer) WatchTransferBatch

func (_Mockerc1155 *Mockerc1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Mockerc1155TransferBatch, 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 (*Mockerc1155Filterer) WatchTransferSingle

func (_Mockerc1155 *Mockerc1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Mockerc1155TransferSingle, 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 (*Mockerc1155Filterer) WatchURI

func (_Mockerc1155 *Mockerc1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Mockerc1155URI, 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 Mockerc1155Raw

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

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

func (*Mockerc1155Raw) Call

func (_Mockerc1155 *Mockerc1155Raw) 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 (*Mockerc1155Raw) Transact

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

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

func (*Mockerc1155Raw) Transfer

func (_Mockerc1155 *Mockerc1155Raw) 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 Mockerc1155Session

type Mockerc1155Session struct {
	Contract     *Mockerc1155      // 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
}

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

func (*Mockerc1155Session) BalanceOf

func (_Mockerc1155 *Mockerc1155Session) 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 (*Mockerc1155Session) BalanceOfBatch

func (_Mockerc1155 *Mockerc1155Session) 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 (*Mockerc1155Session) IsApprovedForAll

func (_Mockerc1155 *Mockerc1155Session) 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 (*Mockerc1155Session) Mint

func (_Mockerc1155 *Mockerc1155Session) Mint(tokenId *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xe7d3fe6b.

Solidity: function mint(uint256 tokenId, uint256 amount, address to) returns()

func (*Mockerc1155Session) SafeBatchTransferFrom

func (_Mockerc1155 *Mockerc1155Session) 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 (*Mockerc1155Session) SafeTransferFrom

func (_Mockerc1155 *Mockerc1155Session) 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 (*Mockerc1155Session) SetApprovalForAll

func (_Mockerc1155 *Mockerc1155Session) 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 (*Mockerc1155Session) SupportsInterface

func (_Mockerc1155 *Mockerc1155Session) 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 (*Mockerc1155Session) Uri

func (_Mockerc1155 *Mockerc1155Session) Uri(arg0 *big.Int) (string, error)

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

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

type Mockerc1155Transactor

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

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

func NewMockerc1155Transactor

func NewMockerc1155Transactor(address common.Address, transactor bind.ContractTransactor) (*Mockerc1155Transactor, error)

NewMockerc1155Transactor creates a new write-only instance of Mockerc1155, bound to a specific deployed contract.

func (*Mockerc1155Transactor) Mint

func (_Mockerc1155 *Mockerc1155Transactor) Mint(opts *bind.TransactOpts, tokenId *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xe7d3fe6b.

Solidity: function mint(uint256 tokenId, uint256 amount, address to) returns()

func (*Mockerc1155Transactor) SafeBatchTransferFrom

func (_Mockerc1155 *Mockerc1155Transactor) 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 (*Mockerc1155Transactor) SafeTransferFrom

func (_Mockerc1155 *Mockerc1155Transactor) 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 (*Mockerc1155Transactor) SetApprovalForAll

func (_Mockerc1155 *Mockerc1155Transactor) 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 Mockerc1155TransactorRaw

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

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

func (*Mockerc1155TransactorRaw) Transact

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

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

func (*Mockerc1155TransactorRaw) Transfer

func (_Mockerc1155 *Mockerc1155TransactorRaw) 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 Mockerc1155TransactorSession

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

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

func (*Mockerc1155TransactorSession) Mint

func (_Mockerc1155 *Mockerc1155TransactorSession) Mint(tokenId *big.Int, amount *big.Int, to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xe7d3fe6b.

Solidity: function mint(uint256 tokenId, uint256 amount, address to) returns()

func (*Mockerc1155TransactorSession) SafeBatchTransferFrom

func (_Mockerc1155 *Mockerc1155TransactorSession) 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 (*Mockerc1155TransactorSession) SafeTransferFrom

func (_Mockerc1155 *Mockerc1155TransactorSession) 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 (*Mockerc1155TransactorSession) SetApprovalForAll

func (_Mockerc1155 *Mockerc1155TransactorSession) 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 Mockerc1155TransferBatch

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

Mockerc1155TransferBatch represents a TransferBatch event raised by the Mockerc1155 contract.

type Mockerc1155TransferBatchIterator

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

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

func (*Mockerc1155TransferBatchIterator) Close

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

func (*Mockerc1155TransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

Mockerc1155TransferSingle represents a TransferSingle event raised by the Mockerc1155 contract.

type Mockerc1155TransferSingleIterator

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

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

func (*Mockerc1155TransferSingleIterator) Close

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

func (*Mockerc1155TransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

Mockerc1155URI represents a URI event raised by the Mockerc1155 contract.

type Mockerc1155URIIterator

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

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

func (*Mockerc1155URIIterator) Close

func (it *Mockerc1155URIIterator) Close() error

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

func (*Mockerc1155URIIterator) Error

func (it *Mockerc1155URIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Mockerc1155URIIterator) Next

func (it *Mockerc1155URIIterator) Next() bool

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

Jump to

Keyboard shortcuts

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