token-gallery-contracts/contracts/IERC1155TransferEvents.sol

16 lines
625 B
Solidity

// SPDX-License-Identifier: Proprietary
pragma solidity ^0.7.2;
interface IERC1155TransferEvents {
/**
* @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);
}