Download contracts/src/StableToken.sol from UTSCybeR/nftbench: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/contracts/src/StableToken.sol
- Command line
-
hf download hf://datasets/UTSCybeR/nftbench/contracts/src/StableToken.sol
-
curl -L -o StableToken.sol https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/contracts/src/StableToken.sol
351 Bytes
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.20; | |
| import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| contract StableToken is ERC20 { | |
| constructor(uint256 supply) ERC20("USD Coin", "USDC") { | |
| _mint(msg.sender, supply); | |
| } | |
| function decimals() public pure override returns (uint8) { | |
| return 6; | |
| } | |
| } | |