IERC1155

Events

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 owner, address operator, bool approved)

URI

event URI(string value, uint256 id)

Functions

balanceOf

function balanceOf(address owner, uint256 id) public view returns (uint256)

balanceOfBatch

function balanceOfBatch(address[] owners, uint256[] ids) public view returns (uint256[])

setApprovalForAll

function setApprovalForAll(address operator, bool approved) external

isApprovedForAll

function isApprovedForAll(address owner, address operator) external view returns (bool)

safeTransferFrom

function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data) external

safeBatchTransferFrom

function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data) external

Last updated