DLINK Token - Smart Contract Audit Report

Summary

DLINK Token Audit Report DLINK intends to build a platform enabling flash loans to equalize DeFi markets.

For this audit we reviewed the project's token contract, deployed at 0x7f5a49c8b2cc62bf11b1e9f73a1dbf2e7220a97b on the Binance Smart Chain. .

Notes of the Contract:

  • The initial total supply is 1 billion tokens.
  • There is no way for tokens to be minted after deployment.
  • No ownership-restricted functions are present.
  • There is a 1% burn on all transactions of the token.
  • The team has sent ~58% of the token's supply to a presale platform.
  • The team still holds ~41% of the token's supply. We advise locking or burning a large majority of these tokens.

  • Some functions could be declared external instead of public, and basePercent can be set constant to save a minimal amount of gas. As this is already deployed, this is merely informational
  • The token contract complies with the BEP20 standard.
  • Utilization of SafeMath to prevent overflows.
Audit Findings Summary:
  • No issues from external attackers were identified.
  • As with any presale, ensure trust in the team prior to investing.
  • Further, ensure trust in the team as they hold ~41% of the total supply.
  • Date: April 9th, 2021.

External Threat Results

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
Integer Over/UnderflowN/APASS
Multiple SendsN/APASS
SuicideN/APASS
State Change External CallsN/APass
Unchecked RetvalN/APASS
User Supplied AssertionN/APASS
Critical Solidity CompilerN/APASS
Overall Contract Safety PASS

Inheritence Chart

Multi-file Token

Function Graph

ERC20 Token Graph

Functions Overview


 ($) = payable function
 # = non-constant function
 
 Int = Internal
 Ext = External
 Pub = Public

 +  ERC20Interface 
    - [Pub] allowance
    - [Pub] approve #
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] transferFrom #

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

 +  DLINK (ERC20Interface)
    - [Pub]  #
    - [Pub] balanceOf
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] allowance
    - [Pub] findBurnPercent
    - [Pub] transfer #
    - [Pub] totalSupply
    - [Pub] foo