Kyle Token Logo

Drywall [Kyle] Token

About Drywall

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 2 March 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Kyle.swapBack(address) (#653-717) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Kyle._transferFrom(address,address,uint256) (#586-625):
External calls:
- swapBack(sender) (#593)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#671-677)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
External calls sending eth:
- swapBack(sender) (#593)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#602)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#610)
- finalAmount = takeFee(sender,recipient,amount) (#609)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#647)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#249-261) ignores return value by RewardToken.transfer(shareholder,amount) (#255)
DividendDistributor.rescueDividends(address) (#267-269) ignores return value by RewardToken.transfer(to,RewardToken.balanceOf(address(this))) (#268)
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.

Kyle.swapBack(address).tmpSuccess (#702) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
tmpSuccess = false (#704)
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.

Kyle.checkTxLimit(address,uint256) (#511-513) is never used and should be removed
Remove unused functions.

Additional information: link

Kyle._maxTxAmount (#385) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 20 / 1000
Kyle._walletMax (#386) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 30 / 1000
Kyle.swapThreshold (#423) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 2000
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

Pragma version^0.7.4 (#4) 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 Kyle.swapBack(address) (#653-717):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Kyle.swapBack(address) (#653-717) performs a multiplication on the result of a division:
-amountBNBMarketing = amountBNB.mul(marketingFee / 2).div(totalBNBFee) (#686)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#249-261):
External calls:
- RewardToken.transfer(shareholder,amount) (#255)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#257)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#258)
Reentrancy in DividendDistributor.process(uint256) (#220-242):
External calls:
- distributeDividend(shareholders[currentIndex]) (#234)
- RewardToken.transfer(shareholder,amount) (#255)
State variables written after the call(s):
- currentIndex ++ (#239)
Reentrancy in DividendDistributor.setShare(address,uint256) (#183-198):
External calls:
- distributeDividend(shareholder) (#186)
- RewardToken.transfer(shareholder,amount) (#255)
State variables written after the call(s):
- shares[shareholder].amount = amount (#196)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#197)
Apply the check-effects-interactions pattern.

Additional information: link

Kyle.swapBack(address) (#653-717) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#178-181) should emit an event for:
- minPeriod = newMinPeriod (#179)
- minDistribution = newMinDistribution (#180)
Kyle.changeTxLimit(uint256) (#507-509) should emit an event for:
- _maxTxAmount = newLimit (#508)
Kyle.changeFees(uint256,uint256,uint256) (#538-547) should emit an event for:
- liquidityFee = newLiqFee (#539)
- rewardsFee = newRewardFee (#540)
- marketingFee = newMarketingFee (#541)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#543)
- totalFeeIfSelling = totalFee (#544)
- totalFeeForPopcornPerk = liquidityFee.add(marketingFee / 1).add(rewardsFee) (#545)
- totalFeeForPopcornPerkIfSelling = totalFeeForPopcornPerk (#546)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#357) lacks a zero-check on :
- owner = adr (#358)
Kyle.changeFeeReceivers(address,address).newLiquidityReceiver (#549) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#550)
Kyle.changeFeeReceivers(address,address).newMarketingWallet (#549) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#551)
Check that the address is not zero.

Additional information: link

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

Additional information: link

Reentrancy in Kyle._transferFrom(address,address,uint256) (#586-625):
External calls:
- swapBack(sender) (#593)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#671-677)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
External calls sending eth:
- swapBack(sender) (#593)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
State variables written after the call(s):
- launch() (#597)
- launchedAt = block.number (#504)
Reentrancy in Kyle.constructor() (#431-463):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#434)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#435)
- _balances[msg.sender] = _totalSupply (#461)
- autoLiquidityReceiver = 0x7Da71D8df579597d4a21c07f7066f6eD44A284f3 (#451)
- dividendDistributor = new DividendDistributor(address(router)) (#437)
- isDividendExempt[pair] = true (#445)
- isDividendExempt[msg.sender] = true (#446)
- isDividendExempt[address(this)] = true (#447)
- isDividendExempt[DEAD] = true (#448)
- isDividendExempt[ZERO] = true (#449)
- isFeeExempt[msg.sender] = true (#439)
- isFeeExempt[address(this)] = true (#440)
- isTxLimitExempt[msg.sender] = true (#442)
- isTxLimitExempt[pair] = true (#443)
- marketingWallet = 0x2c82AE5DAFB6194044C7f087Ee53583bb77d2a3B (#452)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#455)
- totalFeeForPopcornPerk = liquidityFee.add(marketingFee / 2).add(rewardsFee) (#458)
- totalFeeForPopcornPerkIfSelling = totalFeeForPopcornPerk (#459)
- totalFeeIfSelling = totalFee (#456)
Reentrancy in DividendDistributor.deposit() (#200-218):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#208-213)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#217)
- totalDividends = totalDividends.add(amount) (#216)
Reentrancy in DividendDistributor.distributeDividend(address) (#249-261):
External calls:
- RewardToken.transfer(shareholder,amount) (#255)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#256)
Reentrancy in DividendDistributor.setShare(address,uint256) (#183-198):
External calls:
- distributeDividend(shareholder) (#186)
- RewardToken.transfer(shareholder,amount) (#255)
State variables written after the call(s):
- addShareholder(shareholder) (#190)
- shareholderIndexes[shareholder] = shareholders.length (#291)
- removeShareholder(shareholder) (#192)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#297)
- addShareholder(shareholder) (#190)
- shareholders.push(shareholder) (#292)
- removeShareholder(shareholder) (#192)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#296)
- shareholders.pop() (#298)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#195)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Kyle._transferFrom(address,address,uint256) (#586-625):
External calls:
- swapBack(sender) (#593)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#671-677)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
- dividendDistributor.setShare(sender,_balances[sender]) (#614)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#618)
- dividendDistributor.process(distributorGas) (#621)
External calls sending eth:
- swapBack(sender) (#593)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#623)
Reentrancy in Kyle._transferFrom(address,address,uint256) (#586-625):
External calls:
- swapBack(sender) (#593)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#671-677)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
External calls sending eth:
- swapBack(sender) (#593)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#648)
- finalAmount = takeFee(sender,recipient,amount) (#609)
Reentrancy in Kyle.constructor() (#431-463):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#434)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#462)
Reentrancy in Kyle.swapBack(address) (#653-717):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#671-677)
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#700)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#702)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#707-714)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#715)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#244-247) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#245-246)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#220-242) has costly operations inside a loop:
- currentIndex = 0 (#231)
DividendDistributor.distributeDividend(address) (#249-261) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#254)
DividendDistributor.process(uint256) (#220-242) has costly operations inside a loop:
- currentIndex ++ (#239)
Use a local variable to hold the loop computation result.

Additional information: link

Function IDEXRouter.WETH() (#75) is not in mixedCase
Parameter DividendDistributor.setRewardToken(address)._rewardToken (#271) is not in mixedCase
Variable DividendDistributor._token (#131) is not in mixedCase
Variable DividendDistributor.RewardToken (#141) is not in mixedCase
Parameter Kyle.popcornBalance(address)._addressToQuery (#480) is not in mixedCase
Parameter Kyle.setRewardToken(address)._rewardToken (#570) is not in mixedCase
Constant Kyle._name (#374) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Kyle._symbol (#375) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Kyle._decimals (#376) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Kyle.DEAD (#378) is not in mixedCase
Variable Kyle.ZERO (#379) is not in mixedCase
Variable Kyle.RewardToken (#381) is not in mixedCase
Variable Kyle._totalSupply (#384) is not in mixedCase
Variable Kyle._maxTxAmount (#385) is not in mixedCase
Variable Kyle._walletMax (#386) is not in mixedCase
Variable Kyle._balances (#389) is not in mixedCase
Variable Kyle._allowances (#390) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Kyle.swapBack(address) (#653-717) uses literals with too many digits:
- popcornBalance(sender) > 100000000 (#684)
Kyle.slitherConstructorVariables() (#370-722) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#378)
Kyle.slitherConstructorVariables() (#370-722) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#379)
Kyle.slitherConstructorVariables() (#370-722) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#384)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.popcorn (#143) is never used in DividendDistributor (#128-301)
Kyle.RewardToken (#381) is never used in Kyle (#370-722)
Remove unused state variables.

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (#155) should be constant
DividendDistributor.routerAddress (#140) should be constant
Kyle.DEAD (#378) should be constant
Kyle.RewardToken (#381) should be constant
Kyle.ZERO (#379) should be constant
Kyle._totalSupply (#384) should be constant
Kyle.popcorn (#382) should be constant
Kyle.restrictWhales (#387) should be constant
Kyle.routerAddress (#380) should be constant
Kyle.tradingOpen (#414) 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) (#329-331)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#336-338)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#357-361)
balanceOf(address) should be declared external:
- BEP20Interface.balanceOf(address) (#367)
getCirculatingSupply() should be declared external:
- Kyle.getCirculatingSupply() (#473-475)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


Token has only one trading pair

Contract has 5% buy tax and 6% sell tax.
Taxes are low and contract ownership is renounced.


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for Drywall