AsixPrinter Token Logo

ASIXprinter Token

About ASIXprinter

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 6 February 2022

report
Code:


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

Reentrancy in Asixprinter._transfer(address,address,uint256) (#223-243):
External calls:
- _swapAndLiquify(false) (#233)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#421-427)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
- _processRewards(distributorGas) (#235)
- IBEP20(RWRD).transfer(shareholder,amount) (#326)
External calls sending eth:
- _swapAndLiquify(false) (#233)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
State variables written after the call(s):
- _sellTokens(sender,recipient,amount) (#236)
- _balances[account] = newBalance (#272)
- _sellTokens(sender,recipient,amount) (#236)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#350)
- shareholders.push(shareholder) (#347)
- shareholders.pop() (#352)
- _sellTokens(sender,recipient,amount) (#236)
- shares[shareholder].amount = amount (#288)
- shares[shareholder].totalExcluded = _getCumulativeDividends(shares[shareholder].amount) (#289)
- _sellTokens(sender,recipient,amount) (#236)
- totalShares = totalShares - (shares[shareholder].amount) + (amount) (#287)
Apply the check-effects-interactions pattern.

Additional information: link

Asixprinter._distributeDividend(address) (#320-331) ignores return value by IBEP20(RWRD).transfer(shareholder,amount) (#326)
Asixprinter.ownerWithdrawForeignToken(address) (#518-524) ignores return value by token.transfer(owner,token.balanceOf(address(this))) (#523)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

Asixprinter._swapAndLiquify(bool).toSwap (#370) is written in both
toSwap = contractTokenBalance (#375)
toSwap = tokensLeft + LPBNBTokens (#384)
Fix or remove the writes.

Additional information: link


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.

Reentrancy in Asixprinter._distributeDividend(address) (#320-331):
External calls:
- IBEP20(RWRD).transfer(shareholder,amount) (#326)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised + (amount) (#328)
- shares[shareholder].totalExcluded = _getCumulativeDividends(shares[shareholder].amount) (#329)
Reentrancy in Asixprinter._processRewards(uint256) (#291-315):
External calls:
- _distributeDividend(shareholders[currentIndex]) (#307)
- IBEP20(RWRD).transfer(shareholder,amount) (#326)
State variables written after the call(s):
- currentIndex ++ (#312)
Apply the check-effects-interactions pattern.

Additional information: link

Asixprinter.slitherConstructorVariables() (#113-570) performs a multiplication on the result of a division:
-_maxWalletSize = _totalSupply / 1000 * 30 (#122)
Asixprinter.slitherConstructorVariables() (#113-570) performs a multiplication on the result of a division:
-_swapThreshold = _totalSupply / 10000 * 5 (#202)
Consider ordering multiplication before division.

Additional information: link

Asixprinter._addLiquidity(uint256,uint256) (#404-416) ignores return value by router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
Ensure that all the return values of the function calls are used.

Additional information: link

Reentrancy in Asixprinter._addLiquidity(uint256,uint256) (#404-416):
External calls:
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
State variables written after the call(s):
- _addingLP = false (#414)
Reentrancy in Asixprinter._distributeDividend(address) (#320-331):
External calls:
- IBEP20(RWRD).transfer(shareholder,amount) (#326)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#327)
Reentrancy in Asixprinter._swapAndLiquify(bool) (#368-392):
External calls:
- _swapTokensForBNB(toSwap) (#386)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#421-427)
- _addLiquidity(LPTokens,LPBNB) (#389)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
External calls sending eth:
- _addLiquidity(LPTokens,LPBNB) (#389)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
State variables written after the call(s):
- _addLiquidity(LPTokens,LPBNB) (#389)
- _addingLP = true (#405)
- _addingLP = false (#414)
Reentrancy in Asixprinter._swapBNBtoRWRD(uint256) (#429-447):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare + (dividendsPerShareAccuracyFactor * (amount) / (totalShares)) (#446)
- totalDividends = totalDividends + (amount) (#445)
Reentrancy in Asixprinter._transfer(address,address,uint256) (#223-243):
External calls:
- _swapAndLiquify(false) (#233)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#421-427)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
- _processRewards(distributorGas) (#235)
- IBEP20(RWRD).transfer(shareholder,amount) (#326)
External calls sending eth:
- _swapAndLiquify(false) (#233)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
State variables written after the call(s):
- _sellTokens(sender,recipient,amount) (#236)
- shareholderIndexes[shareholder] = shareholders.length (#346)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#351)
Reentrancy in Asixprinter.constructor() (#207-220):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#209)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#210)
- _balances[owner] = _totalSupply (#218)
- _buy.liq = 4 (#215)
- _buy.mark = 5 (#215)
- _buy.reward = 6 (#215)
- _buy.total = _buy.liq + _buy.mark + _buy.reward (#215)
- _sell.liq = 4 (#216)
- _sell.mark = 5 (#216)
- _sell.reward = 6 (#216)
- _sell.total = _sell.liq + _sell.mark + _sell.reward (#216)
- isDividendExempt[pair] = isDividendExempt[burnWallet] = isDividendExempt[address(this)] = true (#213)
- isFeeExempt[owner] = isFeeExempt[address(this)] = true (#212)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Asixprinter._addLiquidity(uint256,uint256) (#404-416):
External calls:
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
Event emitted after the call(s):
- LiquidityAdded(amountTokens,amountBNB) (#415)
Reentrancy in Asixprinter._swapAndLiquify(bool) (#368-392):
External calls:
- _swapTokensForBNB(toSwap) (#386)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#421-427)
- _addLiquidity(LPTokens,LPBNB) (#389)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
External calls sending eth:
- _addLiquidity(LPTokens,LPBNB) (#389)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
Event emitted after the call(s):
- LiquidityAdded(amountTokens,amountBNB) (#415)
- _addLiquidity(LPTokens,LPBNB) (#389)
Reentrancy in Asixprinter._transfer(address,address,uint256) (#223-243):
External calls:
- _swapAndLiquify(false) (#233)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#421-427)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
- _processRewards(distributorGas) (#235)
- IBEP20(RWRD).transfer(shareholder,amount) (#326)
External calls sending eth:
- _swapAndLiquify(false) (#233)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
Event emitted after the call(s):
- Transfer(sender,recipient,newAmount) (#268)
- _sellTokens(sender,recipient,amount) (#236)
Reentrancy in Asixprinter.constructor() (#207-220):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#209)
Event emitted after the call(s):
- Transfer(address(0),owner,_totalSupply) (#219)
Reentrancy in Asixprinter.ownerTriggerSwap(bool) (#473-476):
External calls:
- _swapAndLiquify(ignoreLimits) (#474)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#421-427)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
External calls sending eth:
- _swapAndLiquify(ignoreLimits) (#474)
- router.addLiquidityETH{value: amountBNB}(address(this),amountTokens,0,0,owner,block.timestamp) (#406-413)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountWei}(0,path,address(this),block.timestamp) (#436-441)
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
Event emitted after the call(s):
- OwnerTriggerSwap(ignoreLimits) (#475)
Apply the check-effects-interactions pattern.

Additional information: link

Asixprinter._shouldDistribute(address) (#316-319) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + _minPeriod < block.timestamp && _getUnpaidEarnings(shareholder) > _minDistribution (#317-318)
Asixprinter.claimDividend() (#533-536) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(shareholderClaims[msg.sender] + _minPeriod <= block.timestamp,Can't claim yet) (#534)
Avoid relying on block.timestamp.

Additional information: link

Asixprinter._maxSwapThreshold (#203) is set pre-construction with a non-constant function or state variable:
- _maxWalletSize
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.8.9 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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 Asixprinter._distributeBNB(uint256) (#393-403):
- (marketingsuccess) = address(marketingWallet).call{gas: 30000,value: marketingBNB}() (#401)
Low level call in Asixprinter.ownerWithdrawStuckBNB() (#525-528):
- (success) = msg.sender.call{value: (address(this).balance)}() (#526)
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() (#64) is not in mixedCase
Constant Asixprinter._name (#116) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Asixprinter._symbol (#117) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Asixprinter._decimals (#118) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Asixprinter._totalSupply (#119) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Asixprinter._maxWalletSize (#122) is not in mixedCase
Variable Asixprinter._balances (#125) is not in mixedCase
Variable Asixprinter._allowances (#126) is not in mixedCase
Variable Asixprinter._minPeriod (#156) is not in mixedCase
Variable Asixprinter._minDistribution (#157) is not in mixedCase
Variable Asixprinter.RWRD (#190) is not in mixedCase
Variable Asixprinter._pancakeRouterAddress (#191) is not in mixedCase
Variable Asixprinter._addingLP (#198) is not in mixedCase
Variable Asixprinter._swapThreshold (#202) is not in mixedCase
Variable Asixprinter._maxSwapThreshold (#203) is not in mixedCase
Modifier Asixprinter.LockTheSwap() (#205) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Asixprinter.slitherConstructorVariables() (#113-570) uses literals with too many digits:
- distributorGas = 500000 (#158)
Asixprinter.slitherConstructorVariables() (#113-570) uses literals with too many digits:
- burnWallet = 0x000000000000000000000000000000000000dEaD (#192)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#28) is never used in Asixprinter (#113-570)
Remove unused state variables.

Additional information: link

Asixprinter.RWRD (#190) should be constant
Asixprinter._pancakeRouterAddress (#191) should be constant
Asixprinter.burnWallet (#192) should be constant
Asixprinter.distributorGas (#158) should be constant
Asixprinter.dividendsPerShareAccuracyFactor (#154) should be constant
Ownable._previousOwner (#28) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#44-48)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#50-53)
ownerUpdateBuyTaxes(uint8,uint8,uint8) should be declared external:
- Asixprinter.ownerUpdateBuyTaxes(uint8,uint8,uint8) (#457-464)
ownerUpdateSellTaxes(uint8,uint8,uint8) should be declared external:
- Asixprinter.ownerUpdateSellTaxes(uint8,uint8,uint8) (#465-472)
ownerTriggerSwap(bool) should be declared external:
- Asixprinter.ownerTriggerSwap(bool) (#473-476)
ownerSetLimits(uint256) should be declared external:
- Asixprinter.ownerSetLimits(uint256) (#477-481)
ownerSwitchSwapEnabled(bool) should be declared external:
- Asixprinter.ownerSwitchSwapEnabled(bool) (#482-485)
ownerSwitchRewardsEnabled(bool) should be declared external:
- Asixprinter.ownerSwitchRewardsEnabled(bool) (#486-489)
ownerUpdateSwapThreshold(uint256,uint256) should be declared external:
- Asixprinter.ownerUpdateSwapThreshold(uint256,uint256) (#490-495)
ownerSetRewardSettings(uint256,uint256) should be declared external:
- Asixprinter.ownerSetRewardSettings(uint256,uint256) (#496-500)
ownerSetExcludeFromRewards(address) should be declared external:
- Asixprinter.ownerSetExcludeFromRewards(address) (#501-504)
ownerSetIncludedToRewards(address) should be declared external:
- Asixprinter.ownerSetIncludedToRewards(address) (#505-508)
ownerSetMarketingWallet(address) should be declared external:
- Asixprinter.ownerSetMarketingWallet(address) (#509-513)
ownerExcludeFromFees(address,bool) should be declared external:
- Asixprinter.ownerExcludeFromFees(address,bool) (#514-517)
ownerWithdrawForeignToken(address) should be declared external:
- Asixprinter.ownerWithdrawForeignToken(address) (#518-524)
ownerWithdrawStuckBNB() should be declared external:
- Asixprinter.ownerWithdrawStuckBNB() (#525-528)
claimDividend() should be declared external:
- Asixprinter.claimDividend() (#533-536)
balanceOf(address) should be declared external:
- Asixprinter.balanceOf(address) (#548)
approve(address,uint256) should be declared external:
- Asixprinter.approve(address,uint256) (#550-554)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


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


Unable to find Telegram and Twitter accounts

Search:


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

Anti-Scam Checks

Price for ASIXprinter