Coding Journey: Personal log

ERC20 turns five

I only realized when recommending a community member read the EIP and noticed the date. I had to check the date of the original issue: https://github.com/ethereum/eips/issues/20

Always be closing

Whilst I am not a maintainer, this is great advice.

Copy paste

The forum has this awesome widget for copying a block of code (top right corner of code below).
I keep looking for it when I use the documentation: https://docs.openzeppelin.com/learn/developing-smart-contracts#first-contract

// contracts/Box.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

contract Box {
    uint256 private value;

    // Emitted when the stored value changes
    event ValueChanged(uint256 newValue);

    // Stores a new value in the contract
    function store(uint256 newValue) public {
        value = newValue;
        emit ValueChanged(newValue);
    }

    // Reads the last stored value
    function retrieve() public view returns (uint256) {
        return value;
    }
}

Grateful