Documentation ¶
Index ¶
- Variables
- type Erc1155
- type Erc1155ApprovalForAll
- type Erc1155ApprovalForAllIterator
- type Erc1155Caller
- func (_Erc1155 *Erc1155Caller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155Caller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Erc1155 *Erc1155Caller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Erc1155 *Erc1155Caller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Erc1155 *Erc1155Caller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155Caller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_Erc1155 *Erc1155Caller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Erc1155 *Erc1155Caller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155Caller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Erc1155 *Erc1155Caller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Erc1155 *Erc1155Caller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Erc1155 *Erc1155Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Erc1155 *Erc1155Caller) Uri(opts *bind.CallOpts, arg0 *big.Int) (string, error)
- type Erc1155CallerRaw
- type Erc1155CallerSession
- func (_Erc1155 *Erc1155CallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155CallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Erc1155 *Erc1155CallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Erc1155 *Erc1155CallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Erc1155 *Erc1155CallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155CallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Erc1155 *Erc1155CallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Erc1155 *Erc1155CallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155CallerSession) MINTERROLE() ([32]byte, error)
- func (_Erc1155 *Erc1155CallerSession) PAUSERROLE() ([32]byte, error)
- func (_Erc1155 *Erc1155CallerSession) Paused() (bool, error)
- func (_Erc1155 *Erc1155CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Erc1155 *Erc1155CallerSession) Uri(arg0 *big.Int) (string, error)
- type Erc1155Filterer
- func (_Erc1155 *Erc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Erc1155ApprovalForAllIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterPaused(opts *bind.FilterOpts) (*Erc1155PausedIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*Erc1155RoleAdminChangedIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*Erc1155RoleGrantedIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*Erc1155RoleRevokedIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*Erc1155TransferBatchIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, ...) (*Erc1155TransferSingleIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Erc1155URIIterator, error)
- func (_Erc1155 *Erc1155Filterer) FilterUnpaused(opts *bind.FilterOpts) (*Erc1155UnpausedIterator, error)
- func (_Erc1155 *Erc1155Filterer) ParseApprovalForAll(log types.Log) (*Erc1155ApprovalForAll, error)
- func (_Erc1155 *Erc1155Filterer) ParsePaused(log types.Log) (*Erc1155Paused, error)
- func (_Erc1155 *Erc1155Filterer) ParseRoleAdminChanged(log types.Log) (*Erc1155RoleAdminChanged, error)
- func (_Erc1155 *Erc1155Filterer) ParseRoleGranted(log types.Log) (*Erc1155RoleGranted, error)
- func (_Erc1155 *Erc1155Filterer) ParseRoleRevoked(log types.Log) (*Erc1155RoleRevoked, error)
- func (_Erc1155 *Erc1155Filterer) ParseTransferBatch(log types.Log) (*Erc1155TransferBatch, error)
- func (_Erc1155 *Erc1155Filterer) ParseTransferSingle(log types.Log) (*Erc1155TransferSingle, error)
- func (_Erc1155 *Erc1155Filterer) ParseURI(log types.Log) (*Erc1155URI, error)
- func (_Erc1155 *Erc1155Filterer) ParseUnpaused(log types.Log) (*Erc1155Unpaused, error)
- func (_Erc1155 *Erc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc1155ApprovalForAll, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *Erc1155Paused) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *Erc1155RoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *Erc1155RoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *Erc1155RoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Erc1155TransferBatch, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Erc1155TransferSingle, ...) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Erc1155URI, id []*big.Int) (event.Subscription, error)
- func (_Erc1155 *Erc1155Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *Erc1155Unpaused) (event.Subscription, error)
- type Erc1155Paused
- type Erc1155PausedIterator
- type Erc1155Raw
- func (_Erc1155 *Erc1155Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Erc1155 *Erc1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Erc1155RoleAdminChanged
- type Erc1155RoleAdminChangedIterator
- type Erc1155RoleGranted
- type Erc1155RoleGrantedIterator
- type Erc1155RoleRevoked
- type Erc1155RoleRevokedIterator
- type Erc1155Session
- func (_Erc1155 *Erc1155Session) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)
- func (_Erc1155 *Erc1155Session) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)
- func (_Erc1155 *Erc1155Session) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) DEFAULTADMINROLE() ([32]byte, error)
- func (_Erc1155 *Erc1155Session) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Erc1155 *Erc1155Session) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Erc1155 *Erc1155Session) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Erc1155 *Erc1155Session) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Erc1155 *Erc1155Session) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)
- func (_Erc1155 *Erc1155Session) MINTERROLE() ([32]byte, error)
- func (_Erc1155 *Erc1155Session) Mint(to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) MintBatch(to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) PAUSERROLE() ([32]byte, error)
- func (_Erc1155 *Erc1155Session) Pause() (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) Paused() (bool, error)
- func (_Erc1155 *Erc1155Session) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Erc1155 *Erc1155Session) Unpause() (*types.Transaction, error)
- func (_Erc1155 *Erc1155Session) Uri(arg0 *big.Int) (string, error)
- type Erc1155Transactor
- func (_Erc1155 *Erc1155Transactor) Burn(opts *bind.TransactOpts, account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) BurnBatch(opts *bind.TransactOpts, account common.Address, ids []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) Mint(opts *bind.TransactOpts, to common.Address, id *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) MintBatch(opts *bind.TransactOpts, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type Erc1155TransactorRaw
- type Erc1155TransactorSession
- func (_Erc1155 *Erc1155TransactorSession) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) Mint(to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) MintBatch(to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) Pause() (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Erc1155 *Erc1155TransactorSession) Unpause() (*types.Transaction, error)
- type Erc1155TransferBatch
- type Erc1155TransferBatchIterator
- type Erc1155TransferSingle
- type Erc1155TransferSingleIterator
- type Erc1155URI
- type Erc1155URIIterator
- type Erc1155Unpaused
- type Erc1155UnpausedIterator
Constants ¶
This section is empty.
Variables ¶
var Erc1155ABI = Erc1155MetaData.ABI
Erc1155ABI is the input ABI used to generate the binding from. Deprecated: Use Erc1155MetaData.ABI instead.
var Erc1155MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"burnBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"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\":\"mintBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"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\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
Erc1155MetaData contains all meta data concerning the Erc1155 contract.
Functions ¶
This section is empty.
Types ¶
type Erc1155 ¶
type Erc1155 struct { Erc1155Caller // Read-only binding to the contract Erc1155Transactor // Write-only binding to the contract Erc1155Filterer // Log filterer for contract events }
Erc1155 is an auto generated Go binding around an Ethereum contract.
func NewErc1155 ¶
NewErc1155 creates a new instance of Erc1155, bound to a specific deployed contract.
type Erc1155ApprovalForAll ¶
type Erc1155ApprovalForAll struct { Account common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
Erc1155ApprovalForAll represents a ApprovalForAll event raised by the Erc1155 contract.
type Erc1155ApprovalForAllIterator ¶
type Erc1155ApprovalForAllIterator struct { Event *Erc1155ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Erc1155 contract.
func (*Erc1155ApprovalForAllIterator) Close ¶
func (it *Erc1155ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155ApprovalForAllIterator) Error ¶
func (it *Erc1155ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155ApprovalForAllIterator) Next ¶
func (it *Erc1155ApprovalForAllIterator) 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 Erc1155Caller ¶
type Erc1155Caller struct {
// contains filtered or unexported fields
}
Erc1155Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewErc1155Caller ¶
func NewErc1155Caller(address common.Address, caller bind.ContractCaller) (*Erc1155Caller, error)
NewErc1155Caller creates a new read-only instance of Erc1155, bound to a specific deployed contract.
func (*Erc1155Caller) BalanceOf ¶
func (_Erc1155 *Erc1155Caller) 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 (*Erc1155Caller) BalanceOfBatch ¶
func (_Erc1155 *Erc1155Caller) 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 (*Erc1155Caller) DEFAULTADMINROLE ¶
func (_Erc1155 *Erc1155Caller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*Erc1155Caller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*Erc1155Caller) GetRoleMember ¶
func (_Erc1155 *Erc1155Caller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*Erc1155Caller) GetRoleMemberCount ¶
func (_Erc1155 *Erc1155Caller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*Erc1155Caller) HasRole ¶
func (_Erc1155 *Erc1155Caller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*Erc1155Caller) IsApprovedForAll ¶
func (_Erc1155 *Erc1155Caller) 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 (*Erc1155Caller) MINTERROLE ¶
func (_Erc1155 *Erc1155Caller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*Erc1155Caller) PAUSERROLE ¶
func (_Erc1155 *Erc1155Caller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*Erc1155Caller) Paused ¶
func (_Erc1155 *Erc1155Caller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*Erc1155Caller) SupportsInterface ¶
func (_Erc1155 *Erc1155Caller) 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 Erc1155CallerRaw ¶
type Erc1155CallerRaw struct {
Contract *Erc1155Caller // Generic read-only contract binding to access the raw methods on
}
Erc1155CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Erc1155CallerRaw) Call ¶
func (_Erc1155 *Erc1155CallerRaw) 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 Erc1155CallerSession ¶
type Erc1155CallerSession struct { Contract *Erc1155Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Erc1155CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Erc1155CallerSession) BalanceOf ¶
func (_Erc1155 *Erc1155CallerSession) 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 (*Erc1155CallerSession) BalanceOfBatch ¶
func (_Erc1155 *Erc1155CallerSession) 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 (*Erc1155CallerSession) DEFAULTADMINROLE ¶
func (_Erc1155 *Erc1155CallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*Erc1155CallerSession) GetRoleAdmin ¶
func (_Erc1155 *Erc1155CallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*Erc1155CallerSession) GetRoleMember ¶
func (_Erc1155 *Erc1155CallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*Erc1155CallerSession) GetRoleMemberCount ¶
func (_Erc1155 *Erc1155CallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*Erc1155CallerSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*Erc1155CallerSession) IsApprovedForAll ¶
func (_Erc1155 *Erc1155CallerSession) 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 (*Erc1155CallerSession) MINTERROLE ¶
func (_Erc1155 *Erc1155CallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*Erc1155CallerSession) PAUSERROLE ¶
func (_Erc1155 *Erc1155CallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*Erc1155CallerSession) Paused ¶
func (_Erc1155 *Erc1155CallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*Erc1155CallerSession) SupportsInterface ¶
func (_Erc1155 *Erc1155CallerSession) 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 Erc1155Filterer ¶
type Erc1155Filterer struct {
// contains filtered or unexported fields
}
Erc1155Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewErc1155Filterer ¶
func NewErc1155Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc1155Filterer, error)
NewErc1155Filterer creates a new log filterer instance of Erc1155, bound to a specific deployed contract.
func (*Erc1155Filterer) FilterApprovalForAll ¶
func (_Erc1155 *Erc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Erc1155ApprovalForAllIterator, 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 (*Erc1155Filterer) FilterPaused ¶
func (_Erc1155 *Erc1155Filterer) FilterPaused(opts *bind.FilterOpts) (*Erc1155PausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*Erc1155Filterer) FilterRoleAdminChanged ¶
func (_Erc1155 *Erc1155Filterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*Erc1155RoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*Erc1155Filterer) FilterRoleGranted ¶
func (_Erc1155 *Erc1155Filterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*Erc1155RoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*Erc1155Filterer) FilterRoleRevoked ¶
func (_Erc1155 *Erc1155Filterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*Erc1155RoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*Erc1155Filterer) FilterTransferBatch ¶
func (_Erc1155 *Erc1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc1155TransferBatchIterator, 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 (*Erc1155Filterer) FilterTransferSingle ¶
func (_Erc1155 *Erc1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc1155TransferSingleIterator, 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 (*Erc1155Filterer) FilterURI ¶
func (_Erc1155 *Erc1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Erc1155URIIterator, error)
FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
func (*Erc1155Filterer) FilterUnpaused ¶
func (_Erc1155 *Erc1155Filterer) FilterUnpaused(opts *bind.FilterOpts) (*Erc1155UnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*Erc1155Filterer) ParseApprovalForAll ¶
func (_Erc1155 *Erc1155Filterer) ParseApprovalForAll(log types.Log) (*Erc1155ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)
func (*Erc1155Filterer) ParsePaused ¶
func (_Erc1155 *Erc1155Filterer) ParsePaused(log types.Log) (*Erc1155Paused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*Erc1155Filterer) ParseRoleAdminChanged ¶
func (_Erc1155 *Erc1155Filterer) ParseRoleAdminChanged(log types.Log) (*Erc1155RoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*Erc1155Filterer) ParseRoleGranted ¶
func (_Erc1155 *Erc1155Filterer) ParseRoleGranted(log types.Log) (*Erc1155RoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*Erc1155Filterer) ParseRoleRevoked ¶
func (_Erc1155 *Erc1155Filterer) ParseRoleRevoked(log types.Log) (*Erc1155RoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*Erc1155Filterer) ParseTransferBatch ¶
func (_Erc1155 *Erc1155Filterer) ParseTransferBatch(log types.Log) (*Erc1155TransferBatch, 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 (*Erc1155Filterer) ParseTransferSingle ¶
func (_Erc1155 *Erc1155Filterer) ParseTransferSingle(log types.Log) (*Erc1155TransferSingle, 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 (*Erc1155Filterer) ParseURI ¶
func (_Erc1155 *Erc1155Filterer) ParseURI(log types.Log) (*Erc1155URI, error)
ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.
Solidity: event URI(string value, uint256 indexed id)
func (*Erc1155Filterer) ParseUnpaused ¶
func (_Erc1155 *Erc1155Filterer) ParseUnpaused(log types.Log) (*Erc1155Unpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*Erc1155Filterer) WatchApprovalForAll ¶
func (_Erc1155 *Erc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc1155ApprovalForAll, 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 (*Erc1155Filterer) WatchPaused ¶
func (_Erc1155 *Erc1155Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *Erc1155Paused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*Erc1155Filterer) WatchRoleAdminChanged ¶
func (_Erc1155 *Erc1155Filterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *Erc1155RoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*Erc1155Filterer) WatchRoleGranted ¶
func (_Erc1155 *Erc1155Filterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *Erc1155RoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*Erc1155Filterer) WatchRoleRevoked ¶
func (_Erc1155 *Erc1155Filterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *Erc1155RoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*Erc1155Filterer) WatchTransferBatch ¶
func (_Erc1155 *Erc1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Erc1155TransferBatch, 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 (*Erc1155Filterer) WatchTransferSingle ¶
func (_Erc1155 *Erc1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Erc1155TransferSingle, 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 (*Erc1155Filterer) WatchURI ¶
func (_Erc1155 *Erc1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Erc1155URI, 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)
func (*Erc1155Filterer) WatchUnpaused ¶
func (_Erc1155 *Erc1155Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *Erc1155Unpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type Erc1155Paused ¶
type Erc1155Paused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
Erc1155Paused represents a Paused event raised by the Erc1155 contract.
type Erc1155PausedIterator ¶
type Erc1155PausedIterator struct { Event *Erc1155Paused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Erc1155 contract.
func (*Erc1155PausedIterator) Close ¶
func (it *Erc1155PausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155PausedIterator) Error ¶
func (it *Erc1155PausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155PausedIterator) Next ¶
func (it *Erc1155PausedIterator) 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 Erc1155Raw ¶
type Erc1155Raw struct {
Contract *Erc1155 // Generic contract binding to access the raw methods on
}
Erc1155Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Erc1155Raw) Call ¶
func (_Erc1155 *Erc1155Raw) 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 (*Erc1155Raw) Transact ¶
func (_Erc1155 *Erc1155Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Erc1155Raw) Transfer ¶
func (_Erc1155 *Erc1155Raw) 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 Erc1155RoleAdminChanged ¶
type Erc1155RoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
Erc1155RoleAdminChanged represents a RoleAdminChanged event raised by the Erc1155 contract.
type Erc1155RoleAdminChangedIterator ¶
type Erc1155RoleAdminChangedIterator struct { Event *Erc1155RoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155RoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Erc1155 contract.
func (*Erc1155RoleAdminChangedIterator) Close ¶
func (it *Erc1155RoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155RoleAdminChangedIterator) Error ¶
func (it *Erc1155RoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155RoleAdminChangedIterator) Next ¶
func (it *Erc1155RoleAdminChangedIterator) 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 Erc1155RoleGranted ¶
type Erc1155RoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
Erc1155RoleGranted represents a RoleGranted event raised by the Erc1155 contract.
type Erc1155RoleGrantedIterator ¶
type Erc1155RoleGrantedIterator struct { Event *Erc1155RoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155RoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Erc1155 contract.
func (*Erc1155RoleGrantedIterator) Close ¶
func (it *Erc1155RoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155RoleGrantedIterator) Error ¶
func (it *Erc1155RoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155RoleGrantedIterator) Next ¶
func (it *Erc1155RoleGrantedIterator) 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 Erc1155RoleRevoked ¶
type Erc1155RoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
Erc1155RoleRevoked represents a RoleRevoked event raised by the Erc1155 contract.
type Erc1155RoleRevokedIterator ¶
type Erc1155RoleRevokedIterator struct { Event *Erc1155RoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155RoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Erc1155 contract.
func (*Erc1155RoleRevokedIterator) Close ¶
func (it *Erc1155RoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155RoleRevokedIterator) Error ¶
func (it *Erc1155RoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155RoleRevokedIterator) Next ¶
func (it *Erc1155RoleRevokedIterator) 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 Erc1155Session ¶
type Erc1155Session struct { Contract *Erc1155 // 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 }
Erc1155Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Erc1155Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
Solidity: function balanceOf(address account, uint256 id) view returns(uint256)
func (*Erc1155Session) BalanceOfBatch ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) Burn ¶
func (_Erc1155 *Erc1155Session) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xf5298aca.
Solidity: function burn(address account, uint256 id, uint256 value) returns()
func (*Erc1155Session) BurnBatch ¶
func (_Erc1155 *Erc1155Session) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.
Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()
func (*Erc1155Session) DEFAULTADMINROLE ¶
func (_Erc1155 *Erc1155Session) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*Erc1155Session) GetRoleAdmin ¶
func (_Erc1155 *Erc1155Session) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*Erc1155Session) GetRoleMember ¶
func (_Erc1155 *Erc1155Session) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*Erc1155Session) GetRoleMemberCount ¶
func (_Erc1155 *Erc1155Session) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*Erc1155Session) GrantRole ¶
func (_Erc1155 *Erc1155Session) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*Erc1155Session) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*Erc1155Session) IsApprovedForAll ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) MINTERROLE ¶
func (_Erc1155 *Erc1155Session) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*Erc1155Session) Mint ¶
func (_Erc1155 *Erc1155Session) Mint(to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x731133e9.
Solidity: function mint(address to, uint256 id, uint256 amount, bytes data) returns()
func (*Erc1155Session) MintBatch ¶
func (_Erc1155 *Erc1155Session) MintBatch(to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)
MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.
Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()
func (*Erc1155Session) PAUSERROLE ¶
func (_Erc1155 *Erc1155Session) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*Erc1155Session) Pause ¶
func (_Erc1155 *Erc1155Session) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*Erc1155Session) Paused ¶
func (_Erc1155 *Erc1155Session) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*Erc1155Session) RenounceRole ¶
func (_Erc1155 *Erc1155Session) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*Erc1155Session) RevokeRole ¶
func (_Erc1155 *Erc1155Session) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*Erc1155Session) SafeBatchTransferFrom ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) SafeTransferFrom ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) SetApprovalForAll ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) SupportsInterface ¶
func (_Erc1155 *Erc1155Session) 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 (*Erc1155Session) Unpause ¶
func (_Erc1155 *Erc1155Session) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type Erc1155Transactor ¶
type Erc1155Transactor struct {
// contains filtered or unexported fields
}
Erc1155Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewErc1155Transactor ¶
func NewErc1155Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc1155Transactor, error)
NewErc1155Transactor creates a new write-only instance of Erc1155, bound to a specific deployed contract.
func (*Erc1155Transactor) Burn ¶
func (_Erc1155 *Erc1155Transactor) Burn(opts *bind.TransactOpts, account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xf5298aca.
Solidity: function burn(address account, uint256 id, uint256 value) returns()
func (*Erc1155Transactor) BurnBatch ¶
func (_Erc1155 *Erc1155Transactor) BurnBatch(opts *bind.TransactOpts, account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.
Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()
func (*Erc1155Transactor) GrantRole ¶
func (_Erc1155 *Erc1155Transactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*Erc1155Transactor) Mint ¶
func (_Erc1155 *Erc1155Transactor) Mint(opts *bind.TransactOpts, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x731133e9.
Solidity: function mint(address to, uint256 id, uint256 amount, bytes data) returns()
func (*Erc1155Transactor) MintBatch ¶
func (_Erc1155 *Erc1155Transactor) MintBatch(opts *bind.TransactOpts, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)
MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.
Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()
func (*Erc1155Transactor) Pause ¶
func (_Erc1155 *Erc1155Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*Erc1155Transactor) RenounceRole ¶
func (_Erc1155 *Erc1155Transactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*Erc1155Transactor) RevokeRole ¶
func (_Erc1155 *Erc1155Transactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*Erc1155Transactor) SafeBatchTransferFrom ¶
func (_Erc1155 *Erc1155Transactor) 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 (*Erc1155Transactor) SafeTransferFrom ¶
func (_Erc1155 *Erc1155Transactor) 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 (*Erc1155Transactor) SetApprovalForAll ¶
func (_Erc1155 *Erc1155Transactor) 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()
func (*Erc1155Transactor) Unpause ¶
func (_Erc1155 *Erc1155Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type Erc1155TransactorRaw ¶
type Erc1155TransactorRaw struct {
Contract *Erc1155Transactor // Generic write-only contract binding to access the raw methods on
}
Erc1155TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Erc1155TransactorRaw) Transact ¶
func (_Erc1155 *Erc1155TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Erc1155TransactorRaw) Transfer ¶
func (_Erc1155 *Erc1155TransactorRaw) 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 Erc1155TransactorSession ¶
type Erc1155TransactorSession struct { Contract *Erc1155Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Erc1155TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Erc1155TransactorSession) Burn ¶
func (_Erc1155 *Erc1155TransactorSession) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xf5298aca.
Solidity: function burn(address account, uint256 id, uint256 value) returns()
func (*Erc1155TransactorSession) BurnBatch ¶
func (_Erc1155 *Erc1155TransactorSession) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)
BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.
Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()
func (*Erc1155TransactorSession) GrantRole ¶
func (_Erc1155 *Erc1155TransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*Erc1155TransactorSession) Mint ¶
func (_Erc1155 *Erc1155TransactorSession) Mint(to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x731133e9.
Solidity: function mint(address to, uint256 id, uint256 amount, bytes data) returns()
func (*Erc1155TransactorSession) MintBatch ¶
func (_Erc1155 *Erc1155TransactorSession) MintBatch(to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)
MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.
Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()
func (*Erc1155TransactorSession) Pause ¶
func (_Erc1155 *Erc1155TransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*Erc1155TransactorSession) RenounceRole ¶
func (_Erc1155 *Erc1155TransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*Erc1155TransactorSession) RevokeRole ¶
func (_Erc1155 *Erc1155TransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*Erc1155TransactorSession) SafeBatchTransferFrom ¶
func (_Erc1155 *Erc1155TransactorSession) 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 (*Erc1155TransactorSession) SafeTransferFrom ¶
func (_Erc1155 *Erc1155TransactorSession) 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 (*Erc1155TransactorSession) SetApprovalForAll ¶
func (_Erc1155 *Erc1155TransactorSession) 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 (*Erc1155TransactorSession) Unpause ¶
func (_Erc1155 *Erc1155TransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type Erc1155TransferBatch ¶
type Erc1155TransferBatch struct { Operator common.Address From common.Address To common.Address Ids []*big.Int Values []*big.Int Raw types.Log // Blockchain specific contextual infos }
Erc1155TransferBatch represents a TransferBatch event raised by the Erc1155 contract.
type Erc1155TransferBatchIterator ¶
type Erc1155TransferBatchIterator struct { Event *Erc1155TransferBatch // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155TransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Erc1155 contract.
func (*Erc1155TransferBatchIterator) Close ¶
func (it *Erc1155TransferBatchIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155TransferBatchIterator) Error ¶
func (it *Erc1155TransferBatchIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155TransferBatchIterator) Next ¶
func (it *Erc1155TransferBatchIterator) 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 Erc1155TransferSingle ¶
type Erc1155TransferSingle struct { Operator common.Address From common.Address To common.Address Id *big.Int Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc1155TransferSingle represents a TransferSingle event raised by the Erc1155 contract.
type Erc1155TransferSingleIterator ¶
type Erc1155TransferSingleIterator struct { Event *Erc1155TransferSingle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155TransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Erc1155 contract.
func (*Erc1155TransferSingleIterator) Close ¶
func (it *Erc1155TransferSingleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155TransferSingleIterator) Error ¶
func (it *Erc1155TransferSingleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155TransferSingleIterator) Next ¶
func (it *Erc1155TransferSingleIterator) 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 Erc1155URI ¶
type Erc1155URI struct { Value string Id *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc1155URI represents a URI event raised by the Erc1155 contract.
type Erc1155URIIterator ¶
type Erc1155URIIterator struct { Event *Erc1155URI // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155URIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Erc1155 contract.
func (*Erc1155URIIterator) Close ¶
func (it *Erc1155URIIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155URIIterator) Error ¶
func (it *Erc1155URIIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155URIIterator) Next ¶
func (it *Erc1155URIIterator) 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 Erc1155Unpaused ¶
type Erc1155Unpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
Erc1155Unpaused represents a Unpaused event raised by the Erc1155 contract.
type Erc1155UnpausedIterator ¶
type Erc1155UnpausedIterator struct { Event *Erc1155Unpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc1155UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Erc1155 contract.
func (*Erc1155UnpausedIterator) Close ¶
func (it *Erc1155UnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc1155UnpausedIterator) Error ¶
func (it *Erc1155UnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc1155UnpausedIterator) Next ¶
func (it *Erc1155UnpausedIterator) 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.