DLINK Token - Smart Contract Audit Report
Summary
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:Audit Findings Summary:
- 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.
- 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 Category | Notes | Result |
|---|---|---|
| Arbitrary Storage Write | N/A | PASS |
| Arbitrary Jump | N/A | PASS |
| Delegate Call to Untrusted Contract | N/A | PASS |
| Dependence on Predictable Variables | N/A | PASS |
| Deprecated Opcodes | N/A | PASS |
| Ether Thief | N/A | PASS |
| Exceptions | N/A | PASS |
| External Calls | N/A | PASS |
| Integer Over/Underflow | N/A | PASS |
| Multiple Sends | N/A | PASS |
| Suicide | N/A | PASS |
| State Change External Calls | N/A | Pass |
| Unchecked Retval | N/A | PASS |
| User Supplied Assertion | N/A | PASS |
| Critical Solidity Compiler | N/A | PASS |
| Overall Contract Safety | PASS |
Inheritence Chart

Function 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