Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PFK.addLiquidity(uint256,uint256) (#1365-1377) sends eth to arbitrary user
Dangerous calls:
- DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1368-1375)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in PaybackReward._withdrawDividendOfUser(address) (#382-398):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#387)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#390)
Apply the check-effects-interactions pattern.
Additional information: link
PFK._totalSupply (#1037) shadows:
- ERC20._totalSupply (#181)
Remove the state variable shadowing.
Additional information: link
PFK.changeCooldownSettings(bool,uint8) (#1243-1247) contains a tautology or contradiction:
- require(bool,string)(newInterval <= 600,Exceeds the limit) (#1244)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
PFK._transfer(address,address,uint256).lastProcessedIndex (#1322) 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
PFK.addLiquidity(uint256,uint256) (#1365-1377) ignores return value by DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1368-1375)
Ensure that all the return values of the function calls are used.
Additional information: link
PaybackReward.constructor(string,string)._symbol (#357) shadows:
- ERC20._symbol (#184) (state variable)
Rename the local variables that shadow another component.
Additional information: link
PFK.changeCooldownSettings(bool,uint8) (#1243-1247) should emit an event for:
- cooldownTimerInterval = newInterval (#1246)
Emit an event for critical parameter changes.
Additional information: link
PFK.setMarketingWallet(address).wallet (#1135) lacks a zero-check on :
- walletMarketingTeam = wallet (#1136)
Check that the address is not zero.
Additional information: link
Variable 'PFK._transfer(address,address,uint256).claims (#1322)' in PFK._transfer(address,address,uint256) (#1253-1327) potentially used before declaration: ProcessedPaybackTrack(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1323)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in PFKPaybackTrack.processAccount(address,bool) (#765-775):
External calls:
- amount = _withdrawDividendOfUser(account) (#766)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#387)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#769)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PFK.swapBack(uint256) (#1329-1363):
External calls:
- DEXV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1339-1345)
- addLiquidity(tokensTPFK,bnbForLiquidity) (#1354)
- DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1368-1375)
- (success) = address(PaybackTrack).call{value: bnbForReflection}() (#1358)
External calls sending eth:
- addLiquidity(tokensTPFK,bnbForLiquidity) (#1354)
- DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1368-1375)
- address(walletMarketingTeam).transfer(bnbForMarketing) (#1356)
- (success) = address(PaybackTrack).call{value: bnbForReflection}() (#1358)
Event emitted after the call(s):
- transferDividends(tokensToLiquify.mul(payBackPercent).div(TotalFees),bnbForReflection) (#1361)
Apply the check-effects-interactions pattern.
Additional information: link
PFK._transfer(address,address,uint256) (#1253-1327) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[from] < block.timestamp,Please wait for cooldown between buys) (#1271)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#68-75) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.7 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
Low level call in PFK.swapBack(uint256) (#1329-1363):
- (success) = address(PaybackTrack).call{value: bnbForReflection}() (#1358)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable PFK._isExcludedFromFees (#1017) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#127)" inContext (#121-130)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in PFK.swapBack(uint256) (#1329-1363):
External calls:
- address(walletMarketingTeam).transfer(bnbForMarketing) (#1356)
External calls sending eth:
- addLiquidity(tokensTPFK,bnbForLiquidity) (#1354)
- DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1368-1375)
- address(walletMarketingTeam).transfer(bnbForMarketing) (#1356)
- (success) = address(PaybackTrack).call{value: bnbForReflection}() (#1358)
Event emitted after the call(s):
- transferDividends(tokensToLiquify.mul(payBackPercent).div(TotalFees),bnbForReflection) (#1361)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#852) is too similar to IDEXV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#853)
Prevent variables from having similar names.
Additional information: link
PFK.slitherConstructorVariables() (#982-1384) uses literals with too many digits:
- swapTokensAtAmount = 1000000 * (10 ** 9) (#1013)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PFK._presalerCollected (#1020) is never used in PFK (#982-1384)
Remove unused state variables.
Additional information: link
PFK.payBackPercent (#1007) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
dividendTokenBalanceOf(address) should be declared external:
- PFK.dividendTokenBalanceOf(address) (#1175-1177)
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