Download contracts/src/Settings15.sol from UTSCybeR/nftbench: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/contracts/src/Settings15.sol
- Command line
-
hf download hf://datasets/UTSCybeR/nftbench/contracts/src/Settings15.sol
-
curl -L -o Settings15.sol https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/contracts/src/Settings15.sol
447 Bytes
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.20; | |
| contract Settings15 { | |
| address public immutable controller; | |
| address public operator; | |
| constructor() { controller = msg.sender; } | |
| function setOperator(address value) external { | |
| require(msg.sender == controller, "only controller"); | |
| operator = value; | |
| } | |
| function description() external pure returns (string memory) { return "Marketplace operator"; } | |
| } | |