Pyramid Finance — The Most Growth Yield Farm On Binance Smart Chain!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PyramidToken._writeCheckpoint(address,uint32,uint256,uint256) (#1142-1160) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1152)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
ERC20.constructor(string,string).name (#463) shadows:
- ERC20.name() (#472-474) (function)
ERC20.constructor(string,string).symbol (#463) shadows:
- ERC20.symbol() (#480-482) (function)
Rename the local variables that shadow another component.
Additional information: link
PyramidToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1008-1049) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,PRM::delegateBySig: signature expired) (#1047)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#291-300) uses assembly
- INLINE ASM (#298)
Address._functionCallWithValue(address,bytes,uint256,string) (#384-405) uses assembly
- INLINE ASM (#397-400)
PyramidToken.getChainId() (#1167-1171) uses assembly
- INLINE ASM (#1169)
Do not use evm assembly.
Additional information: link
PyramidToken._transfer(address,address,uint256) (#852-863) compares to a boolean constant:
-transferBurnRate > 0 && _transferBurnExceptAddresses[sender] != true && _transferBurnExceptAddresses[recipient] != true && recipient != address(0) (#853)
PyramidToken.startFarming() (#1217-1222) compares to a boolean constant:
-require(bool,string)(farmingEnabled == false,Farming has been started already!) (#1218)
Remove the equality to the boolean constant.
Additional information: link
Redundant expression "this (#23)" inContext (#17-26)
Remove redundant statements if they congest code but offer no value.
Additional information: link
PyramidToken.setTransferBurnRate(uint256) (#1203-1206) should emit an event for:
- transferBurnRate = _tranferBurnRate (#1205)
Emit an event for critical parameter changes.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '^0.6.0', '^0.6.2']
- ^0.6.0 (#5)
- ^0.6.0 (#30)
- ^0.6.0 (#108)
- ^0.6.2 (#268)
- ^0.6.0 (#410)
- ^0.6.0 (#717)
- 0.6.12 (#785)
Use one Solidity version.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#384-405) is never used and should be removed
Address.functionCall(address,bytes) (#344-346) is never used and should be removed
Address.functionCall(address,bytes,string) (#354-356) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#369-371) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#379-382) is never used and should be removed
Address.isContract(address) (#291-300) is never used and should be removed
Address.sendValue(address,uint256) (#318-324) is never used and should be removed
Context._msgData() (#22-25) is never used and should be removed
ERC20._setupDecimals(uint8) (#694-696) is never used and should be removed
SafeMath.mod(uint256,uint256) (#244-246) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#260-263) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.0 (#5) allows old versions
Pragma version^0.6.0 (#30) allows old versions
Pragma version^0.6.0 (#108) allows old versions
Pragma version^0.6.2 (#268) allows old versions
Pragma version^0.6.0 (#410) allows old versions
Pragma version^0.6.0 (#717) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#318-324):
- (success) = recipient.call{value: amount}() (#322)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#384-405):
- (success,returndata) = target.call{value: weiValue}(data) (#388)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter PyramidToken.mint(address,uint256)._to (#866) is not in mixedCase
Parameter PyramidToken.mint(address,uint256)._amount (#866) is not in mixedCase
Parameter PyramidToken.totalBalanceOf(address)._holder (#871) is not in mixedCase
Parameter PyramidToken.lockOf(address)._holder (#875) is not in mixedCase
Parameter PyramidToken.lastUnlockBlock(address)._holder (#879) is not in mixedCase
Parameter PyramidToken.lock(address,uint256)._holder (#883) is not in mixedCase
Parameter PyramidToken.lock(address,uint256)._amount (#883) is not in mixedCase
Parameter PyramidToken.canUnlockAmount(address)._holder (#897) is not in mixedCase
Parameter PyramidToken.transferAll(address)._to (#926) is not in mixedCase
Parameter PyramidToken.setTransferBurnRate(uint256)._tranferBurnRate (#1203) is not in mixedCase
Parameter PyramidToken.addTransferBurnExceptAddress(address)._transferBurnExceptAddress (#1209) is not in mixedCase
Parameter PyramidToken.removeTransferBurnExceptAddress(address)._transferBurnExceptAddress (#1213) is not in mixedCase
Variable PyramidToken._initial_supply (#793) is not in mixedCase
Variable PyramidToken._delegates (#950) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable PyramidToken.setTransferBurnRate(uint256)._tranferBurnRate (#1203) is too similar to PyramidToken.transferBurnRate (#798)
Prevent variables from having similar names.
Additional information: link
PyramidToken._cap (#792) should be constant
PyramidToken._initial_supply (#793) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
symbol() should be declared external:
- ERC20.symbol() (#480-482)
decimals() should be declared external:
- ERC20.decimals() (#497-499)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#523-526)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#542-545)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#559-563)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#577-580)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#596-599)
owner() should be declared external:
- Ownable.owner() (#748-750)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#767-770)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#776-780)
cap() should be declared external:
- PyramidToken.cap() (#811-813)
circulatingSupply() should be declared external:
- PyramidToken.circulatingSupply() (#815-817)
totalLock() should be declared external:
- PyramidToken.totalLock() (#819-821)
mint(address,uint256) should be declared external:
- PyramidToken.mint(address,uint256) (#866-869)
totalBalanceOf(address) should be declared external:
- PyramidToken.totalBalanceOf(address) (#871-873)
lockOf(address) should be declared external:
- PyramidToken.lockOf(address) (#875-877)
lastUnlockBlock(address) should be declared external:
- PyramidToken.lastUnlockBlock(address) (#879-881)
lock(address,uint256) should be declared external:
- PyramidToken.lock(address,uint256) (#883-895)
unlock() should be declared external:
- PyramidToken.unlock() (#911-923)
transferAll(address) should be declared external:
- PyramidToken.transferAll(address) (#926-941)
burn(uint256) should be declared external:
- PyramidToken.burn(uint256) (#1178-1181)
burnFrom(address,uint256) should be declared external:
- PyramidToken.burnFrom(address,uint256) (#1194-1200)
setTransferBurnRate(uint256) should be declared external:
- PyramidToken.setTransferBurnRate(uint256) (#1203-1206)
addTransferBurnExceptAddress(address) should be declared external:
- PyramidToken.addTransferBurnExceptAddress(address) (#1209-1211)
removeTransferBurnExceptAddress(address) should be declared external:
- PyramidToken.removeTransferBurnExceptAddress(address) (#1213-1215)
startFarming() should be declared external:
- PyramidToken.startFarming() (#1217-1222)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Twitter account has less than 100 followers
Telegram account has relatively few subscribers
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts