GoldPera V2 - Audit Report


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




GoldPera V2 (Token)


Function Graph.   Inheritance Chart.



Function Graph.   Inheritance Chart.



Function Graph.   Inheritance Chart.



Function Graph.   Inheritance Chart.



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