VOYR - Smart Contract Audit Report
Summary
VOYR is a new token with frictionless fee redistribution and charity contribution on each transfer.
Overview of the Contract:Audit Findings Summary
- The total supply of the token is set to 1 trillion.
- No mint functions are present. A burn function allows the team to burn tokens in the their control.
- ~50% of the token's supply has been burned.
- ~44%% of the token's supply is held in the four Gnosis safe contract-wallets.
- The next largest holder has 1.4.%
- This contract allows users to purchase tokens at a pre-determined price.
- Users can only particiipate once in the presale.
- Sold tokens come from the owner's (team's) address.
- Users who purchase tokens will pay in BNB and immediately recieve locked tokens upon payment.
- Locked tokens will slowly become unlocked over time.
- The team can update the token's purchase price and withdraw unpurchased tokens from the contract any time time.
- The owner can enable and disable the sale at any time and provide locked tokens manually to users.
- Users who hold tokens will automatically receive a portion the fees from a transaction tax on each transfer.
- Another portion of the fees will be sent to the charity wallet.
- A third portion of the fee will be sent to the 'operations wallet'.
- The final portion of the fee charged on transactions is stored in the contract and, once a threshold value is met, used to fund PancakeSwap liqudity.
- Liquidity-adds are funded by selling half of the tokens collected as fees, pairing the received BNB with the token, and adding it as liquidity to the BNB pair.
- There is a transfer limit on the number of tokens which can be sent in a transaction which can be updated by the owner to any value.
- The owner can update the tax rates to any amount at any time and exclude / include users from transfer fees.
- The owner can also withdraw any BNB in the contract.
- Some functions could have been declared external instead of public to save some gas, but as this is already deployed this is merely informational.
- The contract utilizes Solidity 0.8.4 to prevent overflow issues.
- No security issues were identified in our analysis.
- Ensure trust in the team as they have substantial control in the ecosystem and hold a portion of the supply.
- Date: June 1st, 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 |
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 |
($) = payable function
# = non-constant function
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Lib] SafeMath
- [Int] add
- [Int] sub
- [Int] sub
- [Int] mul
- [Int] div
- [Int] div
- [Int] mod
- [Int] mod
+ Context
- [Int] _msgSender
- [Int] _msgData
+ [Lib] Address
- [Int] isContract
- [Int] sendValue #
- [Int] functionCall #
- [Int] functionCall #
- [Int] functionCallWithValue #
- [Int] functionCallWithValue #
- [Prv] _functionCallWithValue #
+ Ownable (Context)
- [Pub] #
- [Pub] owner
- [Pub] transferOwnership #
- modifiers: onlyOwner
- [Pub] geUnlockTime
- [Pub] lock #
- modifiers: onlyOwner
- [Pub] unlock #
+ [Int] IPancakeSwapV2Factory
- [Ext] feeTo
- [Ext] feeToSetter
- [Ext] getPair
- [Ext] allPairs
- [Ext] allPairsLength
- [Ext] createPair #
- [Ext] setFeeTo #
- [Ext] setFeeToSetter #
+ [Int] IPancakeSwapV2Pair
- [Ext] name
- [Ext] symbol
- [Ext] decimals
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] allowance
- [Ext] approve #
- [Ext] transfer #
- [Ext] transferFrom #
- [Ext] DOMAIN_SEPARATOR
- [Ext] PERMIT_TYPEHASH
- [Ext] nonces
- [Ext] permit #
- [Ext] MINIMUM_LIQUIDITY
- [Ext] factory
- [Ext] token0
- [Ext] token1
- [Ext] getReserves
- [Ext] price0CumulativeLast
- [Ext] price1CumulativeLast
- [Ext] kLast
- [Ext] mint #
- [Ext] burn #
- [Ext] swap #
- [Ext] skim #
- [Ext] sync #
- [Ext] initialize #
+ [Int] IPancakeSwapV2Router01
- [Ext] factory
- [Ext] WETH
- [Ext] addLiquidity #
- [Ext] addLiquidityBNB ($)
- [Ext] removeLiquidity #
- [Ext] removeLiquidityBNB #
- [Ext] removeLiquidityWithPermit #
- [Ext] removeLiquidityBNBWithPermit #
- [Ext] swapExactTokensForTokens #
- [Ext] swapTokensForExactTokens #
- [Ext] swapExactBNBForTokens ($)
- [Ext] swapTokensForExactBNB #
- [Ext] swapExactTokensForBNB #
- [Ext] swapBNBForExactTokens ($)
- [Ext] quote
- [Ext] getAmountOut
- [Ext] getAmountIn
- [Ext] getAmountsOut
- [Ext] getAmountsIn
+ [Int] IPancakeSwapV2Router02 (IPancakeSwapV2Router01)
- [Ext] removeLiquidityBNBSupportingFeeOnTransferTokens #
- [Ext] removeLiquidityBNBWithPermitSupportingFeeOnTransferTokens #
- [Ext] swapExactTokensForTokensSupportingFeeOnTransferTokens #
- [Ext] swapExactBNBForTokensSupportingFeeOnTransferTokens ($)
- [Ext] swapExactTokensForBNBSupportingFeeOnTransferTokens #
+ VOYR_Token (Context, IERC20, Ownable)
- [Pub] #
- [Pub] name
- [Pub] symbol
- [Pub] decimals
- [Pub] totalSupply
- [Pub] balanceOf
- [Pub] transfer #
- [Pub] allowance
- [Pub] approve #
- [Pub] transferFrom #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
- [Pub] isExcludedFromReward
- [Pub] totalFees
- [Pub] toggleSafeSale #
- modifiers: onlyOwner
- [Pub] getLockedWalletDetails
- [Prv] getTokenLockAccessible
- [Prv] getTokenLockAmount
- [Pub] acceptPresaleUnlockPayment ($)
- [Pub] acceptPresalePayment ($)
- [Pub] manualPresaleAssignment #
- modifiers: onlyOwner
- [Pub] assignManualLock #
- modifiers: onlyOwner
- [Prv] assignTokenLock #
- [Pub] getTokenLockAddresses
- [Pub] checkWalletPresaleUnlock
- [Pub] getPresaleDetails
- [Pub] reflectionFromToken
- [Pub] tokenFromReflection
- [Pub] excludeFromReward #
- modifiers: onlyOwner
- [Ext] includeInReward #
- modifiers: onlyOwner
- [Pub] excludeFromFee #
- modifiers: onlyOwner
- [Pub] includeInFee #
- modifiers: onlyOwner
- [Pub] isExcludedFromFee
- [Ext] setTaxFeePercent #
- modifiers: onlyOwner
- [Ext] setLiquidityFeePercent #
- modifiers: onlyOwner
- [Ext] setOperationsFeePercent #
- modifiers: onlyOwner
- [Ext] setOperationsWallet #
- modifiers: onlyOwner
- [Ext] setCharityFeePercent #
- modifiers: onlyOwner
- [Ext] setCharityWallet #
- modifiers: onlyOwner
- [Ext] setMaxTxPercent #
- modifiers: onlyOwner
- [Pub] setSwapAndLiquifyEnabled #
- modifiers: onlyOwner
- [Ext] ($)
- [Prv] _reflectFee #
- [Prv] _takeOperationsFee #
- [Prv] _takeCharityFee #
- [Prv] _getValues
- [Prv] _getTValues
- [Prv] _getRValues
- [Prv] _getRate
- [Prv] _getCurrentSupply
- [Prv] _takeLiquidity #
- [Prv] removeAllFee #
- [Prv] restoreAllFee #
- [Prv] _approve #
- [Prv] _transfer #
- [Prv] _tokenTransfer #
- [Prv] _transferStandard #
- [Prv] _transferToExcluded #
- [Prv] _transferBothExcluded #
- [Prv] _transferFromExcluded #
- [Prv] swapAndLiquify #
- modifiers: lockTheSwap
- [Prv] swapTokensForBNB #
- [Prv] addLiquidity #
- [Pub] withdraw #
- modifiers: onlyOwner
- [Pub] burn #
- modifiers: onlyOwner