Ethernaut solution 5: Token
Let's take a look into the contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
contract Token {
mapping(address => uint) balances;
uint public totalSupply;
constructor(uint _initialSupply) public {
balances[msg.sender] = tot...
blog.kevinbravo.me6 min read