We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23deee4 + 8a9ec0a commit c40bb51Copy full SHA for c40bb51
contracts/ECT.sol
@@ -4,9 +4,9 @@ pragma solidity ^0.8.28;
4
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
5
6
contract ECT is ERC20 {
7
- uint256 private _totalSupply = 100_000_000_000;
+ uint256 private constant _totalSupply = 100_000_000_000;
8
9
constructor() ERC20("ERC20 Token", "ECT") {
10
_mint(msg.sender, _totalSupply * 10 ** decimals());
11
}
12
-}
+}
0 commit comments