ecoCREDIT - Audit Report

Summary

ecoCREDIT Audit Report ecoCREDIT ($ECO) is a new ERC-20 token on the Polygon Network.

We reviewed the ecoCREDIT contract at 0x21FDB8e43d84420AfbD6351D645F50c9138DAae0 on the Polygon mainnet.

Notes on the Contract:
  • The total supply of the token is set to 100 million $ECO [100,000,000].
  • No minting functions are accessible beyond deployment.
  • Any user can burn their tokens to reduce the total supply.
  • At the time of writing this report, 100% of the total supply belongs to the deployer.

  • The contract complies with the ERC-20 token standard.
  • There are no fees associated with transferring tokens.
  • No ownership-restricted functions are present.
  • As the contract is implemented with Solidity v0.8.7, it is protected from overflows/underflows.
  • Some gas optimizations can be achieved by declaring functions external instead of public. As this is already deployed, this is merely informational.

Audit Findings Summary
  • No external threats were identified.
  • Please ensure trust in the team prior to investing as they currently own 100% of the total supply.
  • Date: January 7th, 2022

Audit Results

Vulnerability CategoryNotesResult
Arbitrary Storage WriteN/APASS
Arbitrary JumpN/APASS
Centralization of ControlThe team currently owns 100% of the total supply.PASS
Delegate Call to Untrusted ContractN/APASS
Dependence on Predictable VariablesN/APASS
Deprecated OpcodesN/APASS
Ether ThiefN/APASS
ExceptionsN/APASS
External CallsN/APASS
Flash LoansN/APASS
Integer Over/UnderflowN/APASS
Multiple SendsN/APASS
OraclesN/APASS
SuicideN/APASS
State Change External CallsN/APASS
Unchecked RetvalN/APASS
User Supplied AssertionN/APASS
Critical Solidity CompilerN/APASS
Overall Contract Safety PASS

Function Graph

ERC20 Token Graph


Inheritance Chart

Multi-file Token


Functions Overview


 ($) = payable function
 # = non-constant function
 
 + [Int] IERC20 
    - [Ext] totalSupply
    - [Ext] balanceOf
    - [Ext] transfer #
    - [Ext] allowance
    - [Ext] approve #
    - [Ext] transferFrom #

 + [Int] IERC20Metadata (IERC20)
    - [Ext] name
    - [Ext] symbol
    - [Ext] decimals

 +  Context 
    - [Int] _msgSender
    - [Int] _msgData

 +  ERC20 (Context, IERC20, IERC20Metadata)
    - [Pub]  #
    - [Pub] name
    - [Pub] symbol
    - [Pub] decimals
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] allowance
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] increaseAllowance #
    - [Pub] decreaseAllowance #
    - [Int] _transfer #
    - [Int] _mint #
    - [Int] _burn #
    - [Int] _approve #
    - [Int] _beforeTokenTransfer #
    - [Int] _afterTokenTransfer #

 +  ERC20Burnable (Context, ERC20)
    - [Pub] burn #
    - [Pub] burnFrom #

 +  ecoCREDIT (ERC20, ERC20Burnable)
    - [Pub]  #
       - modifiers: ERC20