PRIVA Token - Smart Contract Audit Report

Summary

PRIVA Token Audit Report PRIVA intends to build an open-source decentralized social network.

For this audit we reviewed the project's token contract, deployed at 0xa82e4aa4c8d0859b1dd333145b6dd488f23e9782 on the Ethereum Mainnet; and 0xd0f4afa85a667d27837e9c07c81169869c16dd16 on the Binance Smart Chain.

Notes of the Contract:
  • The total supply of the token is 10 million.
  • No minting or burning functions are present, but the circulating supply can be reduced by sending tokens to the burn address.
  • 20% of the token's supply is on the Binance Smart Chain.
  • 79.9%% of the token's total supply is locked and will vest to the team in 2, 3, 5, and 12 months.
  • Liquidity has not yet been added.
  • The BSC token is exactly equal to the ERC20 token and they can be moved across chains using Burgerswap.
  • No ownership-protected functions are present.
  • The contract inclues the approveAndCall() function which enables additional use cases like cross-chain swaps via BurgerSwap.
  • The contract utilizes SafeMath to prevent overflow issues.

Audit Findings Summary
  • No issues from external attackers were identified.
  • As with any presale, ensure trust in the team prior to investing. The team is anonymous.
  • Further, ensure trust in the team as they will be vested a large number of tokens over time.
  • Date: May 11th, 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

Details: PRIVA Token Contract (ETH)



ERC20 Token Graph

Multi-file Token


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

 +  SafeMath 
    - [Pub] safeAdd
    - [Pub] safeSub
    - [Pub] safeMul
    - [Pub] safeDiv

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

 +  ApproveAndCallFallBack 
    - [Pub] receiveApproval #

 +  PRIVA (ERC20Interface, SafeMath)
    - [Pub]  #
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] allowance
    - [Pub] approveAndCall #
    - [Pub]  ($)
							

Details: PRIVA Bridged Token Contract (BSC)



ERC20 Token Graph

Multi-file Token


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

 +  SafeMath 
    - [Pub] safeAdd
    - [Pub] safeSub
    - [Pub] safeMul
    - [Pub] safeDiv

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

 +  ApproveAndCallFallBack 
    - [Pub] receiveApproval #

 +  PRIVA (ERC20Interface, SafeMath)
    - [Pub]  #
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] allowance
    - [Pub] approveAndCall #
    - [Pub]  ($)