Files
openzeppelin-contracts/docs/modules/api/examples/token/ERC20/GLDToken.sol
github-actions edf6031131 Update docs
2024-10-21 14:27:36 +00:00

12 lines
295 B
Solidity

// contracts/GLDToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract GLDToken is ERC20 {
constructor(uint256 initialSupply) ERC20("Gold", "GLD") {
_mint(msg.sender, initialSupply);
}
}