FOREST - Smart Contract Audit Report

Summary

FOREST is a deflationary token with frictionless fee redistribution and a charity apect.

We audited FOREST's token contract using code provided to us by the team, available below.

Overview of the Contract:
  • The initial total supply of the token is 100 billion.
  • No minting functions are present so the supply can only decrease over time.
  • Upon deployment, the team will receive all of the tokens.

  • Users who hold tokens will automatically receive a portion of the fees from a transaction tax.
  • The contract also implements a burn fee and charity fee on each transaction.
  • The funds collected from charity fee will be held in a wallet controlled by the team.
  • In addition, the contract implements a maximum amount of tokens that can be sent in a transaction. This is the total supply, however, so this has no impact on user functionality.
  • The owner has the ability to set the transaction fees at any time, though these fees are limitied to a maximum of 5% each.
  • The owner has the ability to exclude and include users from the fee mechanism.
  • The contract utilizes SafeMath libraries to prevent overflows.
Audit Findings Summary
  • No security issues were detected in the analysis.
  • As with any presale, ensure trust in the team prior to investing.
  • Further, ensure trust in the team as they control the charity wallet and can update tax fees.
  • Date: April 29th, 2021

Vulnerability CategoryNotesResult
Arbitrary Storage WriteN/APASS
Arbitrary JumpN/APASS
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

ERC20 Token Graph

Multi-file Token

												
($) = payable function
 # = non-constant function
  

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

 + [Int] IBEP20 
    - [Ext] totalSupply
    - [Ext] balanceOf
    - [Ext] transfer #
    - [Ext] allowance
    - [Ext] approve #
    - [Ext] transferFrom #

 + [Lib] SafeMath 
    - [Int] add
    - [Int] sub
    - [Int] sub
    - [Int] mul
    - [Int] div
    - [Int] div
    - [Int] mod
    - [Int] mod

 + [Lib] Address 
    - [Int] isContract
    - [Int] sendValue #
    - [Int] functionCall #
    - [Int] functionCall #
    - [Int] functionCallWithValue #
    - [Int] functionCallWithValue #
    - [Prv] _functionCallWithValue #

 +  Ownable (Context)
    - [Pub]  #
    - [Pub] owner
    - [Pub] renounceOwnership #
       - modifiers: onlyOwner
    - [Pub] transferOwnership #
       - modifiers: onlyOwner

 +  SaveThePlanet (Context, IBEP20, Ownable)
    - [Pub]  #
    - [Pub] name
    - [Pub] symbol
    - [Pub] decimals
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] allowance
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] increaseAllowance #
    - [Pub] decreaseAllowance #
    - [Pub] isExcluded
    - [Pub] isCharity
    - [Pub] totalFees
    - [Pub] totalBurn
    - [Pub] totalCharity
    - [Pub] deliver #
    - [Pub] reflectionFromToken
    - [Pub] tokenFromReflection
    - [Ext] excludeAccount #
       - modifiers: onlyOwner
    - [Ext] includeAccount #
       - modifiers: onlyOwner
    - [Ext] setAsCharityAccount #
       - modifiers: onlyOwner
    - [Ext] _setTaxFee #
       - modifiers: onlyOwner
    - [Ext] _setBurnFee #
       - modifiers: onlyOwner
    - [Ext] _setCharityFee #
       - modifiers: onlyOwner
    - [Prv] _approve #
    - [Prv] _transfer #
    - [Prv] _transferStandard #
    - [Prv] _standardTransferContent #
    - [Prv] _transferToExcluded #
    - [Prv] _excludedFromTransferContent #
    - [Prv] _transferFromExcluded #
    - [Prv] _excludedToTransferContent #
    - [Prv] _transferBothExcluded #
    - [Prv] _bothTransferContent #
    - [Prv] _reflectFee #
    - [Prv] _getValues
    - [Prv] _getTBasics
    - [Prv] getTTransferAmount
    - [Prv] _getRBasics
    - [Prv] _getRTransferAmount
    - [Prv] _getRate
    - [Prv] _getCurrentSupply
    - [Prv] _sendToCharity #
    - [Prv] removeAllFee #
    - [Prv] restoreAllFee #
    - [Prv] _getTaxFee
    - [Prv] _getMaxTxAmount