Update docs
This commit is contained in:
11
docs/modules/api/examples/token/ERC20/GLDToken.sol
Normal file
11
docs/modules/api/examples/token/ERC20/GLDToken.sol
Normal file
@ -0,0 +1,11 @@
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user