Philanthropy Finance (PhiFi) is born from the necessity to create a healthier and balanced type of financial ecosystem. One where the profits are shared among its participants in a fair way; where the profits also are used to improve the world we live in.
- rewards holders in pegged BTC
- own community DEX
- Mobile App
- NFT charity marketplace
- DeFi Platform
- Donations (child) charities & adoption
- NFT charity marketplace & charity token (also for Bridge)
- Charity Bridge
- Constant development of new features related to market sentiment
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Philanthropy_Finance.swapBack() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#695-735) sends eth to arbitrary user
Dangerous calls:
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#722)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Philanthropy_Finance._transferFrom(address,address,uint256) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#609-658):
External calls:
- swapBack() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#644)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#705-711)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#721)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#722)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#725-732)
External calls sending eth:
- swapBack() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#644)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#721)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#722)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#725-732)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#646)
- _balances[recipient] = _balances[recipient].add(amountReceived) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#649)
- amountReceived = takeFee(sender,amount) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#648)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#686)
Apply the check-effects-interactions pattern.
Additional information: link
Philanthropy_Finance.recoverTokens(address,uint256) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#920-927) ignores return value by token.transfer(msg.sender,amountToRecover) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#926)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract name (Philanthropy_Finance) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Philanthropy_Finance.swapBack() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#695-735) performs a multiplication on the result of a division:
-amountBNBLiquidity = receivedBNB.mul(liquidityFee / 2).div(swapPercent) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#717)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in BTC_DISTRIBUTOR.setShare(address,uint256) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#357-371):
External calls:
- distributeDividend(shareholder) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#359)
- BTC.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#430)
State variables written after the call(s):
- shares[shareholder].amount = amount (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#369)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#370)
Apply the check-effects-interactions pattern.
Additional information: link
Philanthropy_Finance.swapBack() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#695-735) ignores return value by address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#722)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
Philanthropy_Finance.unBlacklistMultipleWallets(address[]).i (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#910) 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
Philanthropy_Finance.swapBack() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#695-735) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#725-732)
Ensure that all the return values of the function calls are used.
Additional information: link
Philanthropy_Finance.setBTCDistributorSettings(uint256) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#857-860) should emit an event for:
- distributorGas = gas (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#859)
Emit an event for critical parameter changes.
Additional information: link
Philanthropy_Finance.recoverETH().recipient (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#934) lacks a zero-check on :
- recipient.transfer(address(this).balance) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#936)
Check that the address is not zero.
Additional information: link
Reentrancy in BTC_DISTRIBUTOR.setShare(address,uint256) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#357-371):
External calls:
- distributeDividend(shareholder) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#359)
- BTC.transfer(shareholder,amount) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#430)
State variables written after the call(s):
- addShareholder(shareholder) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#363)
- shareholderIndexes[shareholder] = shareholders.length (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#457)
- removeShareholder(shareholder) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#365)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#463)
- addShareholder(shareholder) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#363)
- shareholders.push(shareholder) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#458)
- removeShareholder(shareholder) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#365)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#462)
- shareholders.pop() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#464)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#368)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Philanthropy_Finance.swapBack() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#695-735):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#705-711)
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#721)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#722)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#725-732)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection.add(balanceBefore)}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#721)
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#722)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#725-732)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#733)
Apply the check-effects-interactions pattern.
Additional information: link
Philanthropy_Finance._transferFrom(address,address,uint256) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#609-658) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(isExcludedFromTransactionlock[sender] || block.timestamp >= _transactionCheckpoint[sender] + _transactionLockTime,Wait for transaction cool down time to end before making a transaction) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#618-619)
- require(bool,string)(isExcludedFromTransactionlock[recipient] || block.timestamp >= _transactionCheckpoint[recipient] + _transactionLockTime,Wait for transaction cool down time to end before making a transaction) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#620-621)
Avoid relying on block.timestamp.
Additional information: link
Philanthropy_Finance.unBlacklistSingleWallet(address) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#899-903) compares to a boolean constant:
-isBlacklisted[account] == false (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#900)
Remove the equality to the boolean constant.
Additional information: link
BTC_DISTRIBUTOR.process(uint256) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#393-417) has costly operations inside a loop:
- currentIndex ++ (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#414)
Use a local variable to hold the loop computation result.
Additional information: link
Philanthropy_Finance.restoreAllFee() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#807-812) is never used and should be removed
Remove unused functions.
Additional information: link
Philanthropy_Finance.minTokensBeforeSwapThreshold (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#530) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 20000
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
solc-0.8.5 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 Philanthropy_Finance.swapBack() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#695-735):
- address(externalAddress).call{gas: 30000,value: amountBNBExternal}() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#722)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Philanthropy_Finance._maxTxAmount (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#529) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#182)" inContext (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#176-185)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IPANCAKERouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#254) is too similar to IPANCAKERouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#255)
Prevent variables from having similar names.
Additional information: link
Philanthropy_Finance.slitherConstructorVariables() (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#468-939) uses literals with too many digits:
- _maxTxAmount = 5000000 * 10 ** 6 * 10 ** _decimals (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#529)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Philanthropy_Finance.zeroAddress (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#473) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setIsExcludedFromTransactionCooldown(address,bool) should be declared external:
- Philanthropy_Finance.setIsExcludedFromTransactionCooldown(address,bool) (crytic-export/etherscan-contracts/0x97e8987885c4bb46e883fa1a9d5eb060b155448f.bscscan.com-Philanthropy_Finance.sol#872-874)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
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 Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account