Skip to content

Commit c40bb51

Browse files
Merge pull request #6 from BTC415/dev
[fix] fixed gas optimized variables issue
2 parents 23deee4 + 8a9ec0a commit c40bb51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/ECT.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ pragma solidity ^0.8.28;
44
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
55

66
contract ECT is ERC20 {
7-
uint256 private _totalSupply = 100_000_000_000;
7+
uint256 private constant _totalSupply = 100_000_000_000;
88

99
constructor() ERC20("ERC20 Token", "ECT") {
1010
_mint(msg.sender, _totalSupply * 10 ** decimals());
1111
}
12-
}
12+
}

0 commit comments

Comments
 (0)