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 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
Flash Loans N/A PASS
Integer Over/Underflow N/A PASS
Multiple Sends N/A PASS
Oracles 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

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]  ($)