GoldPera V2 - Audit Report

Summary

Earnbase Audit Report GoldPera V2 is a decentralized and Elastic Supply token based on Binance Smart Chain. Rebasing Protocol is built on adaptable, fair, safe, and sustainable core values, compatible with Smart Contract. It has novel features such as token burn and add liquidity to pool automatically from a percent of every transaction. Pegged price can be changed as per community once Governance is launched.

We audited GoldPera V2's contracts deployed at the mainnet addresses below.

    Token Contract:
  • The total supply of the token is 1,000,000,000 and it cannot be altered.
  • The GoldPera token cannot be minted by any function.
  • No address has the minter role and the governance has been transfered to address(0). This means it is no longer possible for the GoldPera token to be minted.

  • Rebase Protocol:
  • Every 24 hour there is a change in supply called a 'rebase'. The rebase is automatically triggered by an online dashboard.

  • UniLpRewards:
  • This contract allows users to stake Uniswap LP tokens in order to earn rewards in ENB.
  • The owner-appointed rewards distributor must manually add reward tokens to the contract and call notifyRewardAmount(). This also allows the reward rate to be set by the team. At this time there are about 9,000 tokens in the contract for rewards.
  • Users can claim rewards at any time by calling getReward(). Rewards are not automatically claimed before withdrawing. When unstaking, users should call exit() to withdraw and claim rewards in the same call.
  • The owner can set the rewards distributor address and update the reward period duration. The duraiton can only be updated while a reward period is not active.
  • The owner can pause staking, but cannot pause withdrawls or rewards.
  • The owner can transfer ERC20 tokens out of the contract, but the staked LP token cannot be transferred.

  • Best Practices:
  • Usage of ReentrancyGuard in applicable functions to prevent re-entrancy attacks.
  • Utilization of SafeMath to prevent overflows and ensure safe transfers.
  • The token properly follows the ERC20 standard.


  • Audit Findings Summary:
  • No security issues from outside attackers were identified.
  • Date: 30 -09-2021

Name

Address

Description


GoldPera V2 (Token)


0x0e51A41C8cB0e2574F01cCc4ed79fCAB50E944F0


Function Graph.   Inheritance Chart.


EcosystemRewardsVesting


0xc89dc40fd7d308763ec1e7a8df13a8d00676e547


Function Graph.   Inheritance Chart.


ENBGovernance


0x2a941559be456cf42a95c459a31765a2bfadc16d


Function Graph.   Inheritance Chart.


TokenVesting


0x4cD26a54D007b14Df6fBd8F6eA73217154400f60
0xd5141A7F18584B3cd33808501e3811de673DEA62


Function Graph.   Inheritance Chart.


UniLpRewards


0xb7918f5808257e4b7e5e303c33f7bb0364b620aa


Function Graph.   Inheritance Chart.


External Threats - Audit 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
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