Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
AxieBits.buyBackAndBurn(uint256) (#2306-2327) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,AXB_p,block.timestamp.add(300)) (#2315-2320)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in AxieBits.buyBackAndBurn(uint256) (#2306-2327):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,AXB_p,block.timestamp.add(300)) (#2315-2320)
State variables written after the call(s):
- _burn(AXB_p,swappedBalance) (#2324)
- _balances[account] = _balances[account].sub(amount,ERC20: burn amount exceeds balance) (#372)
Apply the check-effects-interactions pattern.
Additional information: link
AxieBits.rand() (#2098-2114) uses a dangerous strict equality:
- randNumber == 0 (#2108)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract locking ether found:
Contract SlpDividendTracker (#1216-1431) has payable functions:
- DividendPayingToken.receive() (#530-531)
- DividendPayingToken.distributeDividends() (#546-557)
- IDividendPayingToken.distributeDividends() (#441)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
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.
AxieBits._transfer(address,address,uint256) (#2149-2272) performs a multiplication on the result of a division:
-buyBackAndBurn(buyBackBalance.div(10 ** 2).mul(rand())) (#2223)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in AxieBits.updateSlpDividendTracker(address) (#1952-1967):
External calls:
- newSlpDividendTracker.excludeFromDividends(address(newSlpDividendTracker)) (#1959)
- newSlpDividendTracker.excludeFromDividends(address(this)) (#1960)
- newSlpDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1961)
- newSlpDividendTracker.excludeFromDividends(address(deadAddress)) (#1962)
State variables written after the call(s):
- slpDividendTracker = newSlpDividendTracker (#1966)
Apply the check-effects-interactions pattern.
Additional information: link
DividendPayingToken.setDividendTokenAddress(address) (#579-582) uses tx.origin for authorization: require(bool,string)(tx.origin == 0x36feef39B9Ea12FFD0e56B1fB5f3edB1732E8e15,Only owner can change dividend contract address) (#580)
Do not use tx.origin for authorization.
Additional information: link
AxieBits._transfer(address,address,uint256).iterations (#2265) 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
AxieBits.addLiquidity(uint256,uint256) (#2290-2304) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,AXB_p,block.timestamp) (#2296-2303)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string,address)._symbol (#526) shadows:
- ERC20._symbol (#184) (state variable)
Rename the local variables that shadow another component.
Additional information: link
AxieBits.setPercentForSellTrade(uint256) (#2137-2140) should emit an event for:
- percentForSellTrade = _percentForSell (#2139)
Emit an event for critical parameter changes.
Additional information: link
AxieBits.updateSlpDividendToken(address)._newContract (#1864) lacks a zero-check on :
- slpDividendToken = _newContract (#1865)
Check that the address is not zero.
Additional information: link
Variable 'AxieBits._transfer(address,address,uint256).claims (#2265)' in AxieBits._transfer(address,address,uint256) (#2149-2272) potentially used before declaration: ProcessedSlpDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2266)
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 AxieBits.swapAndLiquify(uint256) (#2274-2288):
External calls:
- swapTokensForBNB(half) (#2281)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2338-2344)
- addLiquidity(otherHalf,newBalance) (#2285)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,AXB_p,block.timestamp) (#2296-2303)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2285)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,AXB_p,block.timestamp) (#2296-2303)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#2285)
- _allowances[owner][spender] = amount (#394)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in AxieBits.updateSlpDividendTracker(address) (#1952-1967):
External calls:
- newSlpDividendTracker.excludeFromDividends(address(newSlpDividendTracker)) (#1959)
- newSlpDividendTracker.excludeFromDividends(address(this)) (#1960)
- newSlpDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1961)
- newSlpDividendTracker.excludeFromDividends(address(deadAddress)) (#1962)
Event emitted after the call(s):
- UpdateSlpDividendTracker(newAddress,address(slpDividendTracker)) (#1964)
Apply the check-effects-interactions pattern.
Additional information: link
AxieBits._transfer(address,address,uint256) (#2149-2272) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_sellLock[from] <= block.timestamp || sellLockDisabled,Seller in sellLock) (#2168)
- buyBackOrLiquidity <= 50 (#2220)
- buyBackOrLiquidity > 50 (#2228)
Avoid relying on block.timestamp.
Additional information: link
AxieBits.setMarketingEnabled(bool) (#1937-1950) compares to a boolean constant:
-_enabled == false (#1939)
Remove the equality to the boolean constant.
Additional information: link
SafeMathInt.mul(int256,int256) (#1168-1176) is never used and should be removed
Remove unused functions.
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
Constant AxieBits.MaxSellLockTime (#1750) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#27)" inContext (#21-30)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in AxieBits._transfer(address,address,uint256) (#2149-2272):
External calls:
- transferToWallet(address(AXB_p),marketingPortion) (#2215)
- recipient.transfer(amount) (#2374)
External calls sending eth:
- transferToWallet(address(AXB_p),marketingPortion) (#2215)
- recipient.transfer(amount) (#2374)
- buyBackAndBurn(buyBackBalance.div(10 ** 2).mul(rand())) (#2223)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,AXB_p,block.timestamp.add(300)) (#2315-2320)
- swapAndLiquify(contractTokenBalance.div(totalFees).mul(buyBackAndLiquidityFee)) (#2229)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,AXB_p,block.timestamp) (#2296-2303)
State variables written after the call(s):
- swapAndSendSlpDividends(sellTokens.div(10 ** 2).mul(rand())) (#2235)
- _allowances[owner][spender] = amount (#394)
- super._transfer(from,address(this),fees) (#2254)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#332)
- _balances[recipient] = _balances[recipient].add(amount) (#333)
- super._transfer(from,to,amount) (#2257)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#332)
- _balances[recipient] = _balances[recipient].add(amount) (#333)
- swapping = false (#2238)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#395)
- swapAndSendSlpDividends(sellTokens.div(10 ** 2).mul(rand())) (#2235)
- ProcessedSlpDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2266)
- SendDividends(amount) (#2382)
- swapAndSendSlpDividends(sellTokens.div(10 ** 2).mul(rand())) (#2235)
- Transfer(sender,recipient,amount) (#334)
- super._transfer(from,address(this),fees) (#2254)
- Transfer(sender,recipient,amount) (#334)
- super._transfer(from,to,amount) (#2257)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#587) is too similar to SlpDividendTracker.getAccount(address).withdrawableDividends (#1289)
Prevent variables from having similar names.
Additional information: link
AxieBits.slitherConstructorVariables() (#1702-2386) uses literals with too many digits:
- gasForProcessing = 600000 (#1741)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken.lastAmount (#506) is never used in SlpDividendTracker (#1216-1431)
Remove unused state variables.
Additional information: link
DividendPayingToken.lastAmount (#506) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setIncludeAccountToSellLock(address) should be declared external:
- AxieBits.setIncludeAccountToSellLock(address) (#2145-2147)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
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 website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts