Download third_party/real_code/rc07/sources/src/interfaces/IERC5192.sol from UTSCybeR/nftbench: direct link, hf CLI and curl.
- Browser
- Download file 756 Bytes
-
https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/third_party/real_code/rc07/sources/src/interfaces/IERC5192.sol
- Command line
-
hf download hf://datasets/UTSCybeR/nftbench/third_party/real_code/rc07/sources/src/interfaces/IERC5192.sol
-
curl -L -o IERC5192.sol https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/third_party/real_code/rc07/sources/src/interfaces/IERC5192.sol
756 Bytes
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.20; | |
| /// @title ERC-5192: Minimal Soulbound NFTs | |
| /// @dev See https://eips.ethereum.org/EIPS/eip-5192 | |
| interface IERC5192 { | |
| /// @notice Emitted when the locking status is changed to locked. | |
| /// @param tokenId The identifier for a token. | |
| event Locked(uint256 indexed tokenId); | |
| /// @notice Emitted when the locking status is changed to unlocked. | |
| /// @param tokenId The identifier for a token. | |
| event Unlocked(uint256 indexed tokenId); | |
| /// @notice Returns the locking status of an Soulbound Token | |
| /// @param tokenId The identifier for an SBT. | |
| /// @return True if the token is locked, false otherwise. | |
| function locked(uint256 tokenId) external view returns (bool); | |
| } | |