11 lines
290 B
Solidity
11 lines
290 B
Solidity
|
pragma solidity ^0.8.0;
|
||
|
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||
|
contract GLDToken is ERC20 {
|
||
|
constructor() ERC20("Gold", "GLD") {
|
||
|
_mint(msg.sender, 1000000000000000000000);
|
||
|
}
|
||
|
function destroy() public {
|
||
|
selfdestruct(payable(msg.sender));
|
||
|
}
|
||
|
}
|