First-of-its-kind Universal Rewards Protocol empowering its community with a cyclical economic model from a decentralized tax system. Powered by its ecosystem of NFTs, DAO, Play-To-Earn, Hardware Wallet and AltApps & Services. Building commerce of the largest modern scale on an Alternate Universe (Metaverse).
The mother of all soon to be built Apps & Services for Web 3.0 that will generate revenue of rewards back to its community.
Binance Smart Chain rewards token that gives you absolute control over which rewarded coin you receive! Simply by holding Altswitch (ALTS) in your wallet, you gain access to rewards from any of the listed coins on the Binance Smartchain. Take part of the privilege to the unlimited potential of this pioneering smart chain project and be an active member of our community!
There are few projects that offer both actual utility and rewards. This fundamental gap in the crypto space has led to the inception of what is now known today as the Mother of all soon-to-be built apps and services for the Metaverse and Web 3.0 that generates revenue which goes back to its community in the form of dividends; AltSwitch ($ALTS).
AltSwitch has been under extensive development since Q1 of 2021 and is constantly being refined with the ultimate goal of becoming a key figure in the establishment of Web 3.0 and the eventual Metaverse while implementing a cyclical economic model by rewarding taxes back to its community. The project was founded by its CEO BitMax, who then set up an experienced team of individuals who specialize in their respective roles in the organization.
The organizational structure of AltSwitch was set up in such a way that each member of the core team handles their area of expertise. In this way, each member can focus on their area of the project while simultaneously collaborating on areas that require a broader skill set to achieve the best results.
One distinct feature of AltSwitch as a universal rewards token is that it allows its holders to choose and modify their rewards to any cryptocurrency under the Binance Smart Chain (Bitcoin, Ethereum, Solana, etc). The advantage of this key feature is that it remains relevant and timeless as it is not bound/limited to one single cryptocurrency and its price movement.
Simply by holding ALTS investors can enjoy rewards as early as now from the transaction volume and enjoy even greater rewards once utilities are established which will also drive volume as the governing token to transact between utilities will be ALTS. This makes steady accumulation the best approach towards earning more in passive income. These rewards are also automatically distributed by the smart contract which eliminates human error as well as providing the most convenience.
In the long run, the project aims to become a Decentralized Autonomous Organization (DAO) platform that democratizes development efforts and once implemented it will become a platform that allows other developers to build smart contracts on top of the existing technology infrastructure on a plug and play basis for such things as apps, e-stores, and services.
These developments are all aimed towards ultimately becoming a key figure in the realm of Web 3.0 and the Metaverse, where a decentralized tax system is in play and a cyclical economic model that both rewards its community and perpetually sustains it. This is the grand vision of the project and the team behind it.
This project is definitely a major game changer in the crypto space as a first-of-its kind universal rewards protocol in passive income generation. It even outperforms the conventional income generating mediums in the crypto space like ASIC and GPU mining rigs as these come with a hefty up front cost and limited hashrates. In comparison, this project also outperforms other rewards protocols in terms of flexibility as they are hardcoded to provide rewards in either a single cryptocurrency or a limited pool of cryptocurrencies that may no longer be relevant in the coming years as technology progresses and competition overtakes current cryptocurrencies. This is something that the project’s development team anticipates hence, why interoperability is a direction that will be undertaken to keep the project relevant and timeless.
As a commitment to delivering on its goals for the community, AltSwitch’s liquidity is locked for 5 years. This is to reassure investors that the team is dedicated to providing all of the projects proposed developments as well as its vision towards a decentralized tax system that sustains its ecosystem and empowers its community for the long term.
AltSwitch is guided and propelled by its core values from its inception and will continue to progress and operate under this foundation. As with its initials A-L-T-S-W-I-T-C-H, these core values are Authenticity, Longevity, Transparency, Security, Wide Range, Integrity, Technology, Customer Centeredness, and Humanity. All of this combined is what makes AltSwitch a project that people will be able to rely on to deliver on its promises in the years to come. So if you were waiting for the perfect time to seize this opportunity, the time is now; invest and be a Switcher today.
AltSwitch.addLiquidity(uint256,uint256) (#1617-1632) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in AltSwitch._transfer(address,address,uint256) (#1473-1559):
External calls:
- swapAndLiquify(contractTokenBalance) (#1518)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1607-1613)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1518)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- address(operationsWallet).transfer(operationAmt) (#1582)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1542)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#613)
- _balances[recipient] = _balances[recipient].add(amount) (#614)
- super._transfer(from,to,amount) (#1545)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#613)
- _balances[recipient] = _balances[recipient].add(amount) (#614)
- swapping = false (#1519)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#895-922):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#904)
State variables written after the call(s):
- rawBNBWithdrawnDividends[user] = rawBNBWithdrawnDividends[user].sub(_withdrawableDividend) (#908)
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#907)
Reentrancy in AltSwitch.buyBackTokensWithNoFees() (#1409-1437):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(msg.sender),block.timestamp + 360) (#1427-1432)
State variables written after the call(s):
- _isExcludedFromFees[msg.sender] = prevExclusion (#1434)
Reentrancy in DividendPayingToken.swapETHForTokens(address,uint256) (#766-809):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#785-795)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#800)
State variables written after the call(s):
- rawBNBWithdrawnDividends[recipient] = rawBNBWithdrawnDividends[recipient].sub(ethAmount) (#804)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
SafeMathInt.MAX_INT256 (#211) is never used in SafeMathInt (#209-267)
Remove unused state variables.
Additional information: link
AltSwitch.swapAndLiquify(uint256) (#1561-1594) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellLiquidityFee) (#1572)
-bnbToAddLiquidityWith = unitBalance * sellLiquidityFee (#1573)
AltSwitch.swapAndLiquify(uint256) (#1561-1594) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellLiquidityFee) (#1572)
-operationAmt = unitBalance * 2 * sellOperationFee (#1580)
AltSwitch.swapAndLiquify(uint256) (#1561-1594) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellLiquidityFee) (#1572)
-dividends = unitBalance * 2 * sellRewardsFee (#1585)
Consider ordering multiplication before division.
Additional information: link
AltSwitch.constructor() (#1095-1126) uses literals with too many digits:
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#1112)
AltSwitch.updateGasForProcessing(uint256) (#1254-1259) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,AltSwitch: gasForProcessing must be between 200,000 and 500,000) (#1255)
AltSwitch.slitherConstructorVariables() (#1006-1640) uses literals with too many digits:
- gasForProcessing = 300000 (#1051)
ALTSDividendTracker.getAccountAtIndex(uint256) (#1818-1835) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1829)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Reentrancy in AltSwitch.updateDividendTracker(address) (#1149-1164):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1156)
- newDividendTracker.excludeFromDividends(address(this)) (#1157)
- newDividendTracker.excludeFromDividends(owner()) (#1158)
- newDividendTracker.excludeFromDividends(address(router)) (#1159)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1163)
Apply the check-effects-interactions pattern.
Additional information: link
AltSwitch.isContract(address) (#1281-1290) uses assembly
- INLINE ASM (#1288)
Do not use evm assembly.
Additional information: link
DividendPayingToken.swapETHForTokens(address,uint256).swapSuccess (#771) is a local variable never initialized
AltSwitch._transfer(address,address,uint256).iterations (#1553) is a local variable never initialized
AltSwitch._transfer(address,address,uint256).claims (#1553) is a local variable never initialized
AltSwitch._transfer(address,address,uint256).lastProcessedIndex (#1553) 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
AltSwitch.claim() (#1440-1442) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1441)
AltSwitch._transfer(address,address,uint256) (#1473-1559) ignores return value by dividendTracker.process(gas) (#1553-1557)
AltSwitch.addLiquidity(uint256,uint256) (#1617-1632) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string,uint8)._name (#752) shadows:
- ERC20._name (#433) (state variable)
DividendPayingToken.constructor(string,string,uint8)._symbol (#752) shadows:
- ERC20._symbol (#434) (state variable)
DividendPayingToken.constructor(string,string,uint8)._decimals (#752) shadows:
- ERC20._decimals (#435) (state variable)
DividendPayingToken.dividendOf(address)._owner (#928) shadows:
- Ownable._owner (#56) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#935) shadows:
- Ownable._owner (#56) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#942) shadows:
- Ownable._owner (#56) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#952) shadows:
- Ownable._owner (#56) (state variable)
Rename the local variables that shadow another component.
Additional information: link
AltSwitch.updateSwapTokensAtAmount(uint256) (#1140-1142) should emit an event for:
- swapTokensAtAmount = newAmount * 10 ** 9 (#1141)
AltSwitch.setAntiDump(uint256,uint256) (#1202-1205) should emit an event for:
- maxSellPercentage = _maxSellPercent (#1203)
- sellIncreaseFactor = _sellIncreaseFactor (#1204)
AltSwitch.updateFees(uint256,uint256,uint256) (#1239-1244) should emit an event for:
- RewardsFee = _rewards (#1240)
- liquidityFee = _liquidity (#1241)
- operationFee = _operation (#1242)
- totalFees = RewardsFee + liquidityFee + operationFee (#1243)
AltSwitch.updateSellFees(uint256,uint256,uint256) (#1246-1251) should emit an event for:
- sellRewardsFee = _rewards (#1247)
- sellLiquidityFee = _liquidity (#1248)
- sellOperationFee = _operation (#1249)
- sellTotalFees = sellRewardsFee + sellLiquidityFee + sellOperationFee (#1250)
Emit an event for critical parameter changes.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#895-922) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#904)
DividendPayingToken.swapETHForTokens(address,uint256) (#766-809) has external calls inside a loop: path[0] = swapRouter.WETH() (#781)
DividendPayingToken.swapETHForTokens(address,uint256) (#766-809) has external calls inside a loop: swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#785-795)
DividendPayingToken.swapETHForTokens(address,uint256) (#766-809) has external calls inside a loop: (success) = recipient.call{gas: 3000,value: ethAmount}() (#800)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'AltSwitch._transfer(address,address,uint256).iterations (#1553)' in AltSwitch._transfer(address,address,uint256) (#1473-1559) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1554)
Variable 'AltSwitch._transfer(address,address,uint256).lastProcessedIndex (#1553)' in AltSwitch._transfer(address,address,uint256) (#1473-1559) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1554)
Variable 'AltSwitch._transfer(address,address,uint256).claims (#1553)' in AltSwitch._transfer(address,address,uint256) (#1473-1559) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1554)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in AltSwitch.constructor() (#1095-1126):
External calls:
- pair = IFactory(router.factory()).createPair(address(this),router.WETH()) (#1104)
- _setAutomatedMarketMakerPair(pair,true) (#1106)
- dividendTracker.excludeFromDividends(_pair) (#1457)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1109)
- dividendTracker.excludeFromDividends(address(this)) (#1110)
- dividendTracker.excludeFromDividends(owner()) (#1111)
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#1112)
- dividendTracker.excludeFromDividends(address(router)) (#1113)
State variables written after the call(s):
- _mint(owner(),1e9 * (10 ** 9)) (#1125)
- _balances[account] = _balances[account].add(amount) (#633)
- excludeFromFees(owner(),true) (#1116)
- _isExcludedFromFees[account] = excluded (#1185)
- excludeFromFees(address(this),true) (#1117)
- _isExcludedFromFees[account] = excluded (#1185)
- excludeFromFees(address(dividendTracker),true) (#1118)
- _isExcludedFromFees[account] = excluded (#1185)
- excludeFromFees(address(operationsWallet),true) (#1119)
- _isExcludedFromFees[account] = excluded (#1185)
- _mint(owner(),1e9 * (10 ** 9)) (#1125)
- _totalSupply = _totalSupply.add(amount) (#632)
Reentrancy in ALTSDividendTracker.processAccount(address,bool) (#1909-1919):
External calls:
- amount = _withdrawDividendOfUser(account) (#1910)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#904)
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#785-795)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#800)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1913)
Reentrancy in AltSwitch.swapAndLiquify(uint256) (#1561-1594):
External calls:
- swapTokensForEth(toSwap) (#1569)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1607-1613)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
- _allowances[owner][spender] = amount (#679)
Reentrancy in DividendPayingToken.swapETHForTokens(address,uint256) (#766-809):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#785-795)
State variables written after the call(s):
- rawBNBWithdrawnDividends[recipient] = rawBNBWithdrawnDividends[recipient].add(ethAmount) (#799)
Reentrancy in DividendPayingToken.swapETHForTokens(address,uint256) (#766-809):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#785-795)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#800)
State variables written after the call(s):
- withdrawnDividends[recipient] = withdrawnDividends[recipient].sub(ethAmount) (#803)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in AltSwitch._setAutomatedMarketMakerPair(address,bool) (#1452-1460):
External calls:
- dividendTracker.excludeFromDividends(_pair) (#1457)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1459)
Reentrancy in AltSwitch._transfer(address,address,uint256) (#1473-1559):
External calls:
- swapAndLiquify(contractTokenBalance) (#1518)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1607-1613)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1518)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- address(operationsWallet).transfer(operationAmt) (#1582)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#615)
- super._transfer(from,address(this),fees) (#1542)
- Transfer(sender,recipient,amount) (#615)
- super._transfer(from,to,amount) (#1545)
Reentrancy in AltSwitch._transfer(address,address,uint256) (#1473-1559):
External calls:
- swapAndLiquify(contractTokenBalance) (#1518)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1607-1613)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1547)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1548)
- dividendTracker.process(gas) (#1553-1557)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1518)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- address(operationsWallet).transfer(operationAmt) (#1582)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1554)
Reentrancy in AltSwitch.buyBackTokensWithNoFees() (#1409-1437):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(msg.sender),block.timestamp + 360) (#1427-1432)
Event emitted after the call(s):
- BuyBackWithNoFees(msg.sender,ethAmount) (#1435)
Reentrancy in AltSwitch.constructor() (#1095-1126):
External calls:
- pair = IFactory(router.factory()).createPair(address(this),router.WETH()) (#1104)
- _setAutomatedMarketMakerPair(pair,true) (#1106)
- dividendTracker.excludeFromDividends(_pair) (#1457)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1459)
- _setAutomatedMarketMakerPair(pair,true) (#1106)
Reentrancy in AltSwitch.constructor() (#1095-1126):
External calls:
- pair = IFactory(router.factory()).createPair(address(this),router.WETH()) (#1104)
- _setAutomatedMarketMakerPair(pair,true) (#1106)
- dividendTracker.excludeFromDividends(_pair) (#1457)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1109)
- dividendTracker.excludeFromDividends(address(this)) (#1110)
- dividendTracker.excludeFromDividends(owner()) (#1111)
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#1112)
- dividendTracker.excludeFromDividends(address(router)) (#1113)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1186)
- excludeFromFees(owner(),true) (#1116)
- ExcludeFromFees(account,excluded) (#1186)
- excludeFromFees(address(this),true) (#1117)
- ExcludeFromFees(account,excluded) (#1186)
- excludeFromFees(address(operationsWallet),true) (#1119)
- ExcludeFromFees(account,excluded) (#1186)
- excludeFromFees(address(dividendTracker),true) (#1118)
- Transfer(address(0),account,amount) (#634)
- _mint(owner(),1e9 * (10 ** 9)) (#1125)
Reentrancy in ALTSDividendTracker.processAccount(address,bool) (#1909-1919):
External calls:
- amount = _withdrawDividendOfUser(account) (#1910)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#904)
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#785-795)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#800)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1914)
Reentrancy in AltSwitch.processDividendTracker(uint256) (#1445-1448):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1446)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1447)
Reentrancy in AltSwitch.swapAndLiquify(uint256) (#1561-1594):
External calls:
- swapTokensForEth(toSwap) (#1569)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1607-1613)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#680)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
Reentrancy in AltSwitch.swapAndLiquify(uint256) (#1561-1594):
External calls:
- swapTokensForEth(toSwap) (#1569)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1607-1613)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- address(operationsWallet).transfer(operationAmt) (#1582)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1590)
Reentrancy in AltSwitch.updateDividendTracker(address) (#1149-1164):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1156)
- newDividendTracker.excludeFromDividends(address(this)) (#1157)
- newDividendTracker.excludeFromDividends(owner()) (#1158)
- newDividendTracker.excludeFromDividends(address(router)) (#1159)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1161)
Apply the check-effects-interactions pattern.
Additional information: link
AltSwitch._transfer(address,address,uint256) (#1473-1559) uses timestamp for comparisons
Dangerous comparisons:
- newCycle = block.timestamp - userSellPerCycle[from].firstSellTime >= 86400 (#1489)
- require(bool,string)(_holderLastTransferTimestamp[to] < block.timestamp,_transfer:: Transfer Delay enabled. Please try again later.) (#1507)
ALTSDividendTracker.getAccount(address) (#1773-1816) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1813-1815)
ALTSDividendTracker.canAutoClaim(uint256) (#1837-1843) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1838)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1842)
Avoid relying on block.timestamp.
Additional information: link
DividendPayingToken.setRewardToken(address,address,address) (#828-846) compares to a boolean constant:
-userHasCustomRewardToken[holder] == true (#829)
AltSwitch.setRewardTokenWithCustomAMM(address,address) (#1386-1394) compares to a boolean constant:
-require(bool,string)(isAMMWhitelisted(ammContractAddress) == true,AltSwitch: setRewardToken:: AMM is not whitelisted!) (#1391)
Remove the equality to the boolean constant.
Additional information: link
Address.sendValue(address,uint256) (#36-41) is never used and should be removed
Context._msgData() (#49-52) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#962-968) is never used and should be removed
SafeMath.div(uint256,uint256) (#366-368) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#382-388) is never used and should be removed
SafeMath.mod(uint256,uint256) (#402-404) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#418-421) is never used and should be removed
SafeMathInt.abs(int256) (#257-260) is never used and should be removed
SafeMathInt.div(int256,int256) (#228-234) is never used and should be removed
SafeMathInt.mul(int256,int256) (#216-223) is never used and should be removed
Remove unused functions.
Additional information: link
AltSwitch.totalFees (#1043) is set pre-construction with a non-constant function or state variable:
- RewardsFee + liquidityFee + operationFee
AltSwitch.sellTotalFees (#1048) is set pre-construction with a non-constant function or state variable:
- sellRewardsFee + sellLiquidityFee + sellOperationFee
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.10 (#11) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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 Address.sendValue(address,uint256) (#36-41):
- (success) = recipient.call{value: amount}() (#39)
Low level call in DividendPayingToken.swapETHForTokens(address,uint256) (#766-809):
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#800)
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#895-922):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#904)
Low level call in AltSwitch.swapAndLiquify(uint256) (#1561-1594):
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IRouter.WETH() (#100) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#928) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#935) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#942) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#952) is not in mixedCase
Constant DividendPayingToken.magnitude (#717) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter AltSwitch.setAntiDump(uint256,uint256)._maxSellPercent (#1202) is not in mixedCase
Parameter AltSwitch.setAntiDump(uint256,uint256)._sellIncreaseFactor (#1202) is not in mixedCase
Parameter AltSwitch.updateFees(uint256,uint256,uint256)._rewards (#1239) is not in mixedCase
Parameter AltSwitch.updateFees(uint256,uint256,uint256)._liquidity (#1239) is not in mixedCase
Parameter AltSwitch.updateFees(uint256,uint256,uint256)._operation (#1239) is not in mixedCase
Parameter AltSwitch.updateSellFees(uint256,uint256,uint256)._rewards (#1246) is not in mixedCase
Parameter AltSwitch.updateSellFees(uint256,uint256,uint256)._liquidity (#1246) is not in mixedCase
Parameter AltSwitch.updateSellFees(uint256,uint256,uint256)._operation (#1246) is not in mixedCase
Variable AltSwitch._isBot (#1019) is not in mixedCase
Variable AltSwitch.RewardsFee (#1040) is not in mixedCase
Parameter ALTSDividendTracker.getAccount(address)._account (#1773) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#50)" inContext (#44-53)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in AltSwitch._transfer(address,address,uint256) (#1473-1559):
External calls:
- swapAndLiquify(contractTokenBalance) (#1518)
- address(operationsWallet).transfer(operationAmt) (#1582)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1518)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- address(operationsWallet).transfer(operationAmt) (#1582)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1542)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#613)
- _balances[recipient] = _balances[recipient].add(amount) (#614)
- super._transfer(from,to,amount) (#1545)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#613)
- _balances[recipient] = _balances[recipient].add(amount) (#614)
- swapping = false (#1519)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1554)
- Transfer(sender,recipient,amount) (#615)
- super._transfer(from,to,amount) (#1545)
- Transfer(sender,recipient,amount) (#615)
- super._transfer(from,address(this),fees) (#1542)
Reentrancy in AltSwitch.swapAndLiquify(uint256) (#1561-1594):
External calls:
- address(operationsWallet).transfer(operationAmt) (#1582)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1577)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1623-1630)
- address(operationsWallet).transfer(operationAmt) (#1582)
- (success) = address(dividendTracker).call{value: dividends}() (#1587)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1590)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#896) is too similar to ALTSDividendTracker.getAccount(address).withdrawableDividends (#1778)
Prevent variables from having similar names.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#73-75)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#77-80)
name() should be declared external:
- ERC20.name() (#455-457)
symbol() should be declared external:
- ERC20.symbol() (#463-465)
decimals() should be declared external:
- ERC20.decimals() (#480-482)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#506-509)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#514-516)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#525-528)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#543-551)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#565-568)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#584-587)
withdrawDividend() should be declared external:
- ALTSDividendTracker.withdrawDividend() (#1733-1735)
- DividendPayingToken.withdrawDividend() (#889-891)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#928-930)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#942-944)
updateDividendTracker(address) should be declared external:
- AltSwitch.updateDividendTracker(address) (#1149-1164)
getUserCurrentRewardToken(address) should be declared external:
- AltSwitch.getUserCurrentRewardToken(address) (#1292-1294)
getUserHasCustomRewardToken(address) should be declared external:
- AltSwitch.getUserHasCustomRewardToken(address) (#1296-1298)
getRewardTokenSelectionCount(address) should be declared external:
- AltSwitch.getRewardTokenSelectionCount(address) (#1300-1302)
isExcludedFromFees(address) should be declared external:
- AltSwitch.isExcludedFromFees(address) (#1324-1326)
withdrawableDividendOf(address) should be declared external:
- AltSwitch.withdrawableDividendOf(address) (#1328-1330)
dividendTokenBalanceOf(address) should be declared external:
- AltSwitch.dividendTokenBalanceOf(address) (#1332-1334)
getBNBAvailableForHolderBuyBack(address) should be declared external:
- AltSwitch.getBNBAvailableForHolderBuyBack(address) (#1366-1368)
setRewardToken(address) should be declared external:
- AltSwitch.setRewardToken(address) (#1377-1383)
setRewardTokenWithCustomAMM(address,address) should be declared external:
- AltSwitch.setRewardTokenWithCustomAMM(address,address) (#1386-1394)
unsetRewardToken() should be declared external:
- AltSwitch.unsetRewardToken() (#1397-1400)
activateContract() should be declared external:
- AltSwitch.activateContract() (#1403-1406)
recoverContractBNB(uint256) should be declared external:
- AltSwitch.recoverContractBNB(uint256) (#1635-1639)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1651-1653)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1655-1660)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1662-1664)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1668-1670)
getAccountAtIndex(uint256) should be declared external:
- ALTSDividendTracker.getAccountAtIndex(uint256) (#1818-1835)
process(uint256) should be declared external:
- ALTSDividendTracker.process(uint256) (#1862-1907)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Unable to find token on CoinHunt
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
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Unable to find Youtube account