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.
1 parent 5e5a145 commit 94b5c7dCopy full SHA for 94b5c7d
contracts/mocks/PolyTokenFaucet.sol
@@ -22,10 +22,10 @@ contract PolyTokenFaucet {
22
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
23
24
constructor() public {
25
- totalSupply_ = 1000000;
26
decimals = 18;
27
- balances[msg.sender] = 1000000;
28
- emit Transfer(address(0), msg.sender, 1000000);
+ totalSupply_ = 1000000 * uint256(10)**decimals;
+ balances[msg.sender] = totalSupply_;
+ emit Transfer(address(0), msg.sender, totalSupply_);
29
}
30
31
/* Token faucet - Not part of the ERC20 standard */
0 commit comments