Leafty Token Logo

LEAFTY Token

About LEAFTY

Listings

Token 11 months
CoinGecko 9 months
CoinMarketCap 9 months

Website

white paper

LEAFTY is a fully decentralized community-led project where fees contribute to the environment. Each transaction is taxed for 11% of its total value. 1% will be redistributed amongst all LEAFTY holders. While the other 10% is donated to non-profit organizations.

We only choose to donate to famous non-profit organizations that have proven to actively help our planet's environment. While feedback from the community is appreciated. For security reasons and to keep the trust of every holder we will never accept a non-profit environmental organization that has not been established for a long period of time as a candidate to receive the donations.

The other goal is to create awareness through smart partnerships with famous stars that line up with our vision. LEAFTY launched in September 2021 announced with Luis Suarez a famous football athlete and the first one to help us create awareness. By bringing the attention of the masses we will be able to generate larger amounts of donations that can achieve great progress in healing the environment.

Social

Laser Scorebeta Last Audit: 2 April 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

Leafty.swapBack() (#572-616) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Leafty._transferFrom(address,address,uint256) (#514-548):
External calls:
- swapBack() (#522)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
External calls sending eth:
- swapBack() (#522)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#530)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#533)
- finalAmount = takeFee(sender,recipient,amount) (#532)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#562)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#233-244) ignores return value by RewardToken.transfer(shareholder,amount) (#239)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

Leafty.swapBack().tmpSuccess (#600) is written in both
(tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
tmpSuccess = false (#603)
Fix or remove the writes.

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.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

Reentrancy in DividendDistributor.distributeDividend(address) (#233-244):
External calls:
- RewardToken.transfer(shareholder,amount) (#239)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#241)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#242)
Reentrancy in DividendDistributor.process(uint256) (#204-226):
External calls:
- distributeDividend(shareholders[currentIndex]) (#218)
- RewardToken.transfer(shareholder,amount) (#239)
State variables written after the call(s):
- currentIndex ++ (#223)
Reentrancy in DividendDistributor.setShare(address,uint256) (#167-182):
External calls:
- distributeDividend(shareholder) (#170)
- RewardToken.transfer(shareholder,amount) (#239)
State variables written after the call(s):
- shares[shareholder].amount = amount (#180)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#181)
Apply the check-effects-interactions pattern.

Additional information: link

Leafty.swapBack() (#572-616) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
Ensure that all the return values of the function calls are used.

Additional information: link

Leafty.constructor().owner (#397) shadows:
- Auth.owner (#280) (state variable)
Rename the local variables that shadow another component.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#162-165) should emit an event for:
- minPeriod = newMinPeriod (#163)
- minDistribution = newMinDistribution (#164)
Leafty.changeFees(uint256,uint256,uint256,uint256) (#472-480) should emit an event for:
- liquidityFee = newLiqFee (#473)
- rewardsFee = newRewardFee (#474)
- totalFee = liquidityFee.add(charityFee).add(rewardsFee) (#478)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#479)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#333) lacks a zero-check on :
- owner = adr (#334)
Leafty.changeFeeReceivers(address,address).newLiquidityReceiver (#482) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#483)
Leafty.changeFeeReceivers(address,address).newCharityWallet (#482) lacks a zero-check on :
- charityWallet = newCharityWallet (#484)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#233-244) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#239)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in Leafty._transferFrom(address,address,uint256) (#514-548):
External calls:
- swapBack() (#522)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
External calls sending eth:
- swapBack() (#522)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
State variables written after the call(s):
- launch() (#526)
- launchedAt = block.number (#454)
Reentrancy in Leafty.constructor() (#395-422):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#400)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#401)
- _balances[owner] = _totalSupply (#420)
- autoLiquidityReceiver = DEAD (#415)
- dividendDistributor = new DividendDistributor(address(router)) (#403)
- isDividendExempt[pair] = true (#408)
- isDividendExempt[owner] = true (#409)
- isDividendExempt[address(this)] = true (#410)
- isDividendExempt[DEAD] = true (#411)
- isDividendExempt[ZERO] = true (#412)
- isFeeExempt[owner] = true (#405)
- isFeeExempt[address(this)] = true (#406)
- totalFee = liquidityFee.add(charityFee).add(rewardsFee) (#417)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#418)
Reentrancy in DividendDistributor.deposit() (#184-202):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#192-197)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#201)
- totalDividends = totalDividends.add(amount) (#200)
Reentrancy in DividendDistributor.distributeDividend(address) (#233-244):
External calls:
- RewardToken.transfer(shareholder,amount) (#239)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#240)
Reentrancy in DividendDistributor.setShare(address,uint256) (#167-182):
External calls:
- distributeDividend(shareholder) (#170)
- RewardToken.transfer(shareholder,amount) (#239)
State variables written after the call(s):
- addShareholder(shareholder) (#174)
- shareholderIndexes[shareholder] = shareholders.length (#268)
- removeShareholder(shareholder) (#176)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#274)
- addShareholder(shareholder) (#174)
- shareholders.push(shareholder) (#269)
- removeShareholder(shareholder) (#176)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#273)
- shareholders.pop() (#275)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#179)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Leafty._transferFrom(address,address,uint256) (#514-548):
External calls:
- swapBack() (#522)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
- dividendDistributor.setShare(sender,_balances[sender]) (#537)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#541)
- dividendDistributor.process(distributorGas) (#544)
External calls sending eth:
- swapBack() (#522)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#546)
Reentrancy in Leafty._transferFrom(address,address,uint256) (#514-548):
External calls:
- swapBack() (#522)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
External calls sending eth:
- swapBack() (#522)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#563)
- finalAmount = takeFee(sender,recipient,amount) (#532)
Reentrancy in Leafty.constructor() (#395-422):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#400)
Event emitted after the call(s):
- Transfer(address(0),owner,_totalSupply) (#421)
Reentrancy in Leafty.swapBack() (#572-616):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#582-588)
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#598)
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#614)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#228-231) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#229-230)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#204-226) has costly operations inside a loop:
- currentIndex = 0 (#215)
DividendDistributor.distributeDividend(address) (#233-244) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#238)
DividendDistributor.process(uint256) (#204-226) has costly operations inside a loop:
- currentIndex ++ (#223)
Use a local variable to hold the loop computation result.

Additional information: link

Pragma version^0.7.4 (#3) 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 Leafty.swapBack() (#572-616):
- (tmpSuccess) = address(charityWallet).call{gas: 30000,value: amountBNBMarketing}() (#600)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#62) is not in mixedCase
Variable DividendDistributor._token (#118) is not in mixedCase
Variable DividendDistributor.RewardToken (#128) is not in mixedCase
Constant Leafty._name (#346) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Leafty._symbol (#347) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Leafty._decimals (#348) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Leafty.DEAD (#350) is not in mixedCase
Variable Leafty.ZERO (#351) is not in mixedCase
Variable Leafty.RewardToken (#353) is not in mixedCase
Variable Leafty._totalSupply (#355) is not in mixedCase
Variable Leafty._balances (#357) is not in mixedCase
Variable Leafty._allowances (#358) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#67) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#68)
Prevent variables from having similar names.

Additional information: link

Leafty.slitherConstructorVariables() (#342-621) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#350)
Leafty.slitherConstructorVariables() (#342-621) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#351)
Leafty.slitherConstructorVariables() (#342-621) uses literals with too many digits:
- _totalSupply = 21000000 * (10 ** _decimals) (#355)
Leafty.slitherConstructorVariables() (#342-621) uses literals with too many digits:
- distributorGas = 500000 (#381)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Leafty.RewardToken (#353) is never used in Leafty (#342-621)
Remove unused state variables.

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (#139) should be constant
DividendDistributor.routerAddress (#127) should be constant
Leafty.DEAD (#350) should be constant
Leafty.RewardToken (#353) should be constant
Leafty.ZERO (#351) should be constant
Leafty._totalSupply (#355) should be constant
Leafty.routerAddress (#352) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#305-307)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#312-314)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#333-337)
getCirculatingSupply() should be declared external:
- Leafty.getCirculatingSupply() (#432-434)
tradingStatus(bool) should be declared external:
- Leafty.tradingStatus(bool) (#568-570)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 11% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Token is deployed only at one blockchain


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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


Alexa traffic rank is relatively low

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for LEAFTY

News for LEAFTY