BTC Mania Token Logo

BTCMania [BTC Mania] Token

About BTCMania

Listings

Not Found
Token 11 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

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...)

BTCMania.swapBack() (#684-732) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBReflection}() (#711)
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#718)
- address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#719)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BTCManiaDividendDistributor.setShare(address,uint256) (#299-314):
External calls:
- distributeDividend(shareholder) (#301)
- rewardtoken.transfer(shareholder,amount) (#385)
External calls sending eth:
- distributeDividend(shareholder) (#301)
- address(shareholder).transfer(amount) (#383)
State variables written after the call(s):
- rewardshares[address(rewardtoken)][shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#313)
- shares[shareholder].amount = amount (#311)
Apply the check-effects-interactions pattern.

Additional information: link

BTCMania.claimtokensback(IBEP20) (#638-641) ignores return value by tokenAddress.transfer(marketingFeeReceiver,tokenAddress.balanceOf(address(this))) (#640)
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.

BTCMania.swapBack() (#684-732) ignores return value by address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#719)
Ensure that the return value of a low-level call is checked or logged.

Additional information: link

BTCMania.swapBack() (#684-732) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#722-729)
Ensure that all the return values of the function calls are used.

Additional information: link

BTCMania.setDistributorSettings(uint256) (#766-769) should emit an event for:
- distributorGas = gas (#768)
Emit an event for critical parameter changes.

Additional information: link

BTCMania.setFeeReceivers(address,address,address).devWallet (#734) lacks a zero-check on :
- devFeeReceiver = devWallet (#737)
Check that the address is not zero.

Additional information: link

Reentrancy in BTCManiaDividendDistributor.setShare(address,uint256) (#299-314):
External calls:
- distributeDividend(shareholder) (#301)
- rewardtoken.transfer(shareholder,amount) (#385)
External calls sending eth:
- distributeDividend(shareholder) (#301)
- address(shareholder).transfer(amount) (#383)
State variables written after the call(s):
- addShareholder(shareholder) (#305)
- shareholderIndexes[shareholder] = shareholders.length (#414)
- removeShareholder(shareholder) (#307)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#420)
- addShareholder(shareholder) (#305)
- shareholders.push(shareholder) (#415)
- removeShareholder(shareholder) (#307)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#419)
- shareholders.pop() (#421)
- totalShares -= (shares[shareholder].amount) (#310)
- totalShares += (amount) (#312)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BTCMania.swapBack() (#684-732):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#695-701)
- distributor.deposit{value: amountBNBReflection}() (#711)
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#718)
- address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#719)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#722-729)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#711)
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#718)
- address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#719)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#722-729)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#730)
Apply the check-effects-interactions pattern.

Additional information: link

BTCManiaDividendDistributor.shouldDistribute(address) (#368-371) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#369-370)
Avoid relying on block.timestamp.

Additional information: link

BTCManiaDividendDistributor.process(uint256) (#342-366) has costly operations inside a loop:
- currentIndex ++ (#363)
Use a local variable to hold the loop computation result.

Additional information: link

BTCMania.swapThreshold (#481) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 100000
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.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 BTCMania.swapBack() (#684-732):
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#718)
- address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#719)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BTCMania._allowances (#443) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in BTCManiaDividendDistributor.setShare(address,uint256) (#299-314):
External calls:
- distributeDividend(shareholder) (#301)
- address(shareholder).transfer(amount) (#383)
State variables written after the call(s):
- rewardshares[address(rewardtoken)][shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#313)
- addShareholder(shareholder) (#305)
- shareholderIndexes[shareholder] = shareholders.length (#414)
- removeShareholder(shareholder) (#307)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#420)
- addShareholder(shareholder) (#305)
- shareholders.push(shareholder) (#415)
- removeShareholder(shareholder) (#307)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#419)
- shareholders.pop() (#421)
- shares[shareholder].amount = amount (#311)
- totalShares -= (shares[shareholder].amount) (#310)
- totalShares += (amount) (#312)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

BTCMania.slitherConstructorVariables() (#425-780) uses literals with too many digits:
- swapThreshold = _totalSupply / 100000 (#481)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BTCManiaDividendDistributor.adminAccounts (#204) is never used in BTCManiaDividendDistributor (#199-423)
Remove unused state variables.

Additional information: link

BTCManiaDividendDistributor.dividendsPerShareAccuracyFactor (#231) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

getCirculatingSupply() should be declared external:
- BTCMania.getCirculatingSupply() (#771-773)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 Telegram and Twitter accounts


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

Price for BTCMania