TransferSingle
event TransferSingle(address operator, address from, address to, uint256 id, uint256 value)
TransferBatch
event TransferBatch(address operator, address from, address to, uint256[] ids, uint256[] values)
ApprovalForAll
event ApprovalForAll(address account, address operator, bool approved)
URI
event URI(string value, uint256 id)
name
function name() external pure returns (string)
symbol
function symbol() external pure returns (string)
uri
function uri(uint256 _id) external view returns (string)
setBaseURI
function setBaseURI(string _value) external
totalSupply
function totalSupply(uint256 id) public view virtual returns (uint256)
balanceOf
function balanceOf(address account, uint256 id) public view returns (uint256)
_See {IERC1155-balanceOf}.
Requirements:
account
cannot be the zero address._
balanceOfBatch
function balanceOfBatch(address[] accounts, uint256[] ids) public view returns (uint256[])
_See {IERC1155-balanceOfBatch}.
Requirements:
accounts
and ids
must have the same length._
balanceOfOwner
function balanceOfOwner(address account) public view returns (struct ItemBalancesIO[] output_)
setApprovalForAll
function setApprovalForAll(address operator, bool approved) public
See {IERC1155-setApprovalForAll}.
isApprovedForAll
function isApprovedForAll(address account, address operator) public view returns (bool)
See {IERC1155-isApprovedForAll}.
safeTransferFrom
function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) public
See {IERC1155-safeTransferFrom}.
safeBatchTransferFrom
function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) public
See {IERC1155-safeBatchTransferFrom}.
onERC1155Received
function onERC1155Received(address, address, uint256, uint256, bytes) external returns (bytes4)
onERC1155BatchReceived
function onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) external returns (bytes4)