Our Usage

  • For the Tokens assignment, we will use the ITokenCC.sol interface:
    interface ITokenCC is IERC20Metadata, IERC165 {
    
        // inherits from IERC20Metadata (name(), symbol(), decimals())
    
        // inherits from IERC20 (6 functions)
    
        // inherits from IERC165 (supportsInterface())
    
        function requestFunds() external;
    
    }
    
  • Our TokenCC code contract will implement that interface
  • The contract line will be:
    contract TokenCC is ITokenCC, ERC20 {