Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PENNY.byToken(bytes[],uint256[],address[],address[],uint256[],string[],bytes32) (#358-396) contains a tautology or contradiction:
- require(bool,string)(details[0] >= 0 && details[0] < 8,Invalid Type) (#369)
PENNY._stakeProcess(address,uint256[],bytes) (#403-467) contains a tautology or contradiction:
- require(bool,string)(info[1] >= 0 && info[1] < 4,Invalid Method) (#409)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
PENNY._tax(address,uint256) (#273-292) performs a multiplication on the result of a division:
-totalTax = (amount * taxPercent) / (100 * 1e18) (#276)
-stakeTax = (totalTax * ((_genConfig[stakeTax] * 100) / taxPercent)) / 100 (#277)
PENNY._tax(address,uint256) (#273-292) performs a multiplication on the result of a division:
-totalTax = (amount * taxPercent) / (100 * 1e18) (#276)
-marketingTax = (totalTax * ((_general._marketingTax * 100) / taxPercent)) / 100 (#278)
PENNY._tax(address,uint256) (#273-292) performs a multiplication on the result of a division:
-totalTax = (amount * taxPercent) / (100 * 1e18) (#276)
-burnTax = (totalTax * ((_genConfig[burnTax] * 100) / taxPercent)) / 100 (#279)
PENNY._tax(address,uint256) (#273-292) performs a multiplication on the result of a division:
-totalTax = (amount * taxPercent) / (100 * 1e18) (#276)
-protocolTax = (totalTax * ((_genConfig[protocolTax] * 100) / taxPercent)) / 100 (#280)
PENNY._stakeProcess(address,uint256[],bytes) (#403-467) performs a multiplication on the result of a division:
-tempReward = (((_user[staker].collateral * 1e18) / (_general._totalStake + info[3])) * ((_general._stakePool + info[4]) - _user[staker].stakePool)) / 1e18 (#413)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in PENNY.byToken(bytes[],uint256[],address[],address[],uint256[],string[],bytes32) (#358-396):
External calls:
- _transferMulti(accounts[0],recipient,amount,1,address(0)) (#379)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#242)
- _transferMulti(accounts[0],recipient,amount,2,accounts[1]) (#381)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#242)
State variables written after the call(s):
- _user[accounts[0]].nonce += 1 (#394)
Reentrancy in PENNY.transfer(address,uint256) (#325-332):
External calls:
- _antiBot(_msgSender(),recipient,amount) (#327)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#242)
State variables written after the call(s):
- _tax(_msgSender(),amount) (#329)
- _general._stakePool += stakeTax (#285)
- _general._marketingPool += marketingTax (#286)
- _general._burnPool += burnTax (#287)
- _general._protocolPool += protocolTax + (totalTax - stakeTax - marketingTax - burnTax - protocolTax) (#288)
- _general._totalSupply -= (stakeTax + burnTax) (#289)
Reentrancy in PENNY.transferFrom(address,address,uint256) (#339-346):
External calls:
- _antiBot(sender,recipient,amount) (#341)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#242)
State variables written after the call(s):
- _tax(sender,amount) (#343)
- _general._stakePool += stakeTax (#285)
- _general._marketingPool += marketingTax (#286)
- _general._burnPool += burnTax (#287)
- _general._protocolPool += protocolTax + (totalTax - stakeTax - marketingTax - burnTax - protocolTax) (#288)
- _general._totalSupply -= (stakeTax + burnTax) (#289)
Apply the check-effects-interactions pattern.
Additional information: link
PENNY._transferMulti(address,address[],uint256[],uint8,address).g (#299) is a local variable never initialized
PENNY._transferMulti(address,address[],uint256[],uint8,address).i (#314) is a local variable never initialized
PENNY.voteAllDetails(string[11]).g (#233) is a local variable never initialized
PENNY._stakeProcess(address,uint256[],bytes).tempReward (#404) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Reentrancy in PENNY.transfer(address,uint256) (#325-332):
External calls:
- _antiBot(_msgSender(),recipient,amount) (#327)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#242)
State variables written after the call(s):
- _tax(_msgSender(),amount) (#329)
- _allowances[sender][spender] = amount (#321)
- _transfer(_msgSender(),recipient,amount,1,address(0)) (#330)
- _allowances[sender][spender] = amount (#321)
- _tax(_msgSender(),amount) (#329)
- _user[sender]._balances -= amount (#260)
- _user[recipient]._balances += amount (#267)
- _transfer(_msgSender(),recipient,amount,1,address(0)) (#330)
- _user[sender]._balances -= amount (#260)
- _user[recipient]._balances += amount (#267)
Reentrancy in PENNY.transferFrom(address,address,uint256) (#339-346):
External calls:
- _antiBot(sender,recipient,amount) (#341)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#242)
State variables written after the call(s):
- _tax(sender,amount) (#343)
- _allowances[sender][spender] = amount (#321)
- _transfer(sender,recipient,amount,2,_msgSender()) (#344)
- _allowances[sender][spender] = amount (#321)
- _tax(sender,amount) (#343)
- _user[sender]._balances -= amount (#260)
- _user[recipient]._balances += amount (#267)
- _transfer(sender,recipient,amount,2,_msgSender()) (#344)
- _user[sender]._balances -= amount (#260)
- _user[recipient]._balances += amount (#267)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PENNY.transfer(address,uint256) (#325-332):
External calls:
- _antiBot(_msgSender(),recipient,amount) (#327)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#242)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#322)
- _tax(_msgSender(),amount) (#329)
- Approval(sender,spender,amount) (#322)
- _transfer(_msgSender(),recipient,amount,1,address(0)) (#330)
- Tax(account,stakeTax,burnTax,marketingTax,protocolTax,totalTax) (#290)
- _tax(_msgSender(),amount) (#329)
- Transfer(sender,recipient,amount) (#270)
- _tax(_msgSender(),amount) (#329)
- Transfer(sender,recipient,amount) (#270)
- _transfer(_msgSender(),recipient,amount,1,address(0)) (#330)
Reentrancy in PENNY.transferFrom(address,address,uint256) (#339-346):
External calls:
- _antiBot(sender,recipient,amount) (#341)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#242)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#322)
- _tax(sender,amount) (#343)
- Approval(sender,spender,amount) (#322)
- _transfer(sender,recipient,amount,2,_msgSender()) (#344)
- Tax(account,stakeTax,burnTax,marketingTax,protocolTax,totalTax) (#290)
- _tax(sender,amount) (#343)
- Transfer(sender,recipient,amount) (#270)
- _tax(sender,amount) (#343)
- Transfer(sender,recipient,amount) (#270)
- _transfer(sender,recipient,amount,2,_msgSender()) (#344)
Apply the check-effects-interactions pattern.
Additional information: link
PENNY._transfer(address,address,uint256,uint8,address) (#246-271) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(! _general._isPaused,Contract is Paused) (#247)
PENNY._approve(address,address,uint256) (#319-323) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(! _general._isPaused,Contract is Paused) (#320)
PENNY.byToken(bytes[],uint256[],address[],address[],uint256[],string[],bytes32) (#358-396) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_msgSender() == _general._validatorAdd,Only Validator Allowed) (#367)
PENNY._stakeProcess(address,uint256[],bytes) (#403-467) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(! _general._isPaused,Contract is Paused) (#405)
- require(bool,string)(block.timestamp >= (_user[staker].stakeDate + _genConfig[stakeLocktime]),Stake collateral claim date not reached) (#449)
PENNY._propose(address,string,string,uint256,address) (#474-494) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)((date - _vote[cycle][config].startDate) > _genConfig[propDuration],Old Active) (#478)
PENNY.burn(uint256) (#544-548) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(! _general._isPaused,Contract is Paused) (#545)
PENNY.swapOut(uint256,uint256,uint256) (#557-561) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(! _general._isPaused,Contract is Paused) (#558)
PENNY._tokenIn(address,bytes32,uint256,uint256,uint256,uint256,bytes) (#578-589) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(! _general._isPaused,Contract is Paused) (#579)
PENNY.protocolUpdate(uint256[],address[2],string,uint256[2]) (#591-625) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_msgSender() == _general._validatorAdd,Only Validator Allowed) (#592)
Avoid relying on block.timestamp.
Additional information: link
PENNY._splitSignature(bytes) (#526-537) uses assembly
- INLINE ASM (#531-535)
Do not use evm assembly.
Additional information: link
Pragma version0.8.10 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 is not recommended for deployment
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
Variable PENNY._general (#139) is not in mixedCase
Variable PENNY._user (#143) is not in mixedCase
Variable PENNY._swapIn (#147) is not in mixedCase
Variable PENNY._swapOut (#149) is not in mixedCase
Variable PENNY._userVote (#151) is not in mixedCase
Variable PENNY._vote (#153) is not in mixedCase
Variable PENNY._voteCycle (#155) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
PENNY.constructor() (#159-187) uses literals with too many digits:
- _genConfig[propStakeAmount] = 100000000000 * 1e18 (#168)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _general._totalSupply = 50000000000000 * 1e18 (#174)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _transfer(address(0),0x6F3ba2ffDaA7cDA012fbCd407438B4007d850573,5000000000000 * 1e18,0,address(0)) (#176)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _transfer(address(0),0xa24174E5B35b978026c78f773c40425C2CF741B2,2500000000000 * 1e18,0,address(0)) (#177)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _transfer(address(0),0x34c7936c916A82B89d1bA6897c8C01fB7aA0eDCd,17500000000000 * 1e18,0,address(0)) (#178)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _transfer(address(0),0xE0831D61e5E7b3fc543E25216D8983c8e59fae35,5000000000000 * 1e18,0,address(0)) (#179)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _transfer(address(0),0x4f18B00c9Ab136378D15d39cE98CBFd63DF1Ba4c,5000000000000 * 1e18,0,address(0)) (#180)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _transfer(address(0),0xC9DB9D0B8D4e232Be7a50f743aF2a3027B53320c,2500000000000 * 1e18,0,address(0)) (#181)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _transfer(address(0),0xe7565364AB8A0feAfc6bE2E6626B0b69Dc218aec,7500000000000 * 1e18,0,address(0)) (#182)
PENNY.constructor() (#159-187) uses literals with too many digits:
- _transfer(address(0),0x2B71cB2b59ae57CAdaCDE3B3FdC5DE9588bcc974,5000000000000 * 1e18,0,address(0)) (#183)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PENNY.baseChainId (#157) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- PENNY.name() (#189-191)
symbol() should be declared external:
- PENNY.symbol() (#193-195)
decimals() should be declared external:
- PENNY.decimals() (#197-199)
totalSupply() should be declared external:
- PENNY.totalSupply() (#201-203)
balanceOf(address) should be declared external:
- PENNY.balanceOf(address) (#205-207)
allowance(address,address) should be declared external:
- PENNY.allowance(address,address) (#209-211)
isPaused() should be declared external:
- PENNY.isPaused() (#213-215)
generalDetails() should be declared external:
- PENNY.generalDetails() (#217-228)
voteAllDetails(string[11]) should be declared external:
- PENNY.voteAllDetails(string[11]) (#230-238)
transfer(address,uint256) should be declared external:
- PENNY.transfer(address,uint256) (#325-332)
approve(address,uint256) should be declared external:
- PENNY.approve(address,uint256) (#334-337)
transferFrom(address,address,uint256) should be declared external:
- PENNY.transferFrom(address,address,uint256) (#339-346)
transferMulti(address[],uint256[]) should be declared external:
- PENNY.transferMulti(address[],uint256[]) (#348-351)
transferMultiFrom(address,address[],uint256[]) should be declared external:
- PENNY.transferMultiFrom(address,address[],uint256[]) (#353-356)
byToken(bytes[],uint256[],address[],address[],uint256[],string[],bytes32) should be declared external:
- PENNY.byToken(bytes[],uint256[],address[],address[],uint256[],string[],bytes32) (#358-396)
stake(uint256[],bytes) should be declared external:
- PENNY.stake(uint256[],bytes) (#398-401)
propose(string,string,uint256,address) should be declared external:
- PENNY.propose(string,string,uint256,address) (#469-472)
vote(string) should be declared external:
- PENNY.vote(string) (#496-499)
burn(uint256) should be declared external:
- PENNY.burn(uint256) (#544-548)
swapOut(uint256,uint256,uint256) should be declared external:
- PENNY.swapOut(uint256,uint256,uint256) (#557-561)
swapIn(bytes32,uint256,uint256,uint256,uint256,bytes) should be declared external:
- PENNY.swapIn(bytes32,uint256,uint256,uint256,uint256,bytes) (#573-576)
protocolUpdate(uint256[],address[2],string,uint256[2]) should be declared external:
- PENNY.protocolUpdate(uint256[],address[2],string,uint256[2]) (#591-625)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts