Schrute Bucks Token Logo

SB [Schrute Bucks] Token

About SB

Listings

Not Found
Token 2 years

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

SchruteBucks._transfer(address,address,uint256) (#920-1068) uses a weak PRNG: "currentDay_scope_1 % _dipDay == 0 (#1002)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Reentrancy in SchruteBucks._transfer(address,address,uint256) (#920-1068):
External calls:
- swapTokensForBNB(contractTokenBalance) (#1028)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1087)
- swapAndSendFirstDividends(uniTokens) (#1029)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1115)
- dividendPayingTracker.distributeDividends(amount) (#1118)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1099-1105)
External calls sending eth:
- sendBNBToFee(address(this).balance) (#1033)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#1124)
- _buybackAddress.transfer(amount.mul(_buybackPercent).div(100)) (#1125)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1052)
- _rOwned[address(this)] = _rOwned[address(this)].add(rReflection) (#1186)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#1198)
- _rOwned[address(this)] = _rOwned[address(this)].add(rBuyback) (#1192)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1173)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1163)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1174)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1164)
- _tokenTransfer(from,to,amount,takeFee) (#1052)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1176)
Apply the check-effects-interactions pattern.

Additional information: link

SchruteBucks._transfer(address,address,uint256) (#920-1068) uses a dangerous strict equality:
- currentDay_scope_1 % _dipDay == 0 (#1002)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

SchruteBucks._transfer(address,address,uint256) (#920-1068) performs a multiplication on the result of a division:
-previousClose = previousClose.mul(9).div(10) (#1000)
-require(bool,string)(currentPrice_scope_0 > previousClose.mul(hundredMinusDipPercent).div(100),cannot sell 25% below previous closing price) (#1007)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in SchruteBucks.updateFirstDividendTracker(address) (#1390-1405):
External calls:
- newFirstDividendTracker.excludeFromDividends(address(newFirstDividendTracker)) (#1397)
- newFirstDividendTracker.excludeFromDividends(address(this)) (#1398)
- newFirstDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1399)
- newFirstDividendTracker.excludeFromDividends(address(deadAddress)) (#1400)
State variables written after the call(s):
- firstDividendTracker = newFirstDividendTracker (#1404)
Apply the check-effects-interactions pattern.

Additional information: link

SchruteBucks._transfer(address,address,uint256).claims (#1062) 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

SchruteBucks.claim() (#1457-1459) ignores return value by firstDividendTracker.processAccount(address(msg.sender),false) (#1458)
Ensure that all the return values of the function calls are used.

Additional information: link

SchruteBucks._approve(address,address,uint256).owner (#871) shadows:
- Ownable.owner() (#168-170) (function)
Rename the local variables that shadow another component.

Additional information: link

SchruteBucks.updateTaxFreeBlocks(uint256) (#1505-1507) should emit an event for:
- _taxFreeBlocks = taxFreeBlocks (#1506)
Emit an event for critical parameter changes.

Additional information: link

FIRSTDividendTracker.setDividendTokenAddress(address).newToken (#1547) lacks a zero-check on :
- dividendToken = newToken (#1548)
Check that the address is not zero.

Additional information: link

Variable 'SchruteBucks._transfer(address,address,uint256).iterations (#1062)' in SchruteBucks._transfer(address,address,uint256) (#920-1068) potentially used before declaration: ProcessedFirstDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1063)
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 SchruteBucks.transferFrom(address,address,uint256) (#812-816):
External calls:
- _transfer(sender,recipient,amount) (#813)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1115)
- dividendPayingTracker.distributeDividends(amount) (#1118)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1087)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1099-1105)
- firstDividendTracker.setBalance(address(from),balanceOf(from)) (#1056)
- firstDividendTracker.setBalance(address(to),balanceOf(to)) (#1057)
- firstDividendTracker.process(gas) (#1062-1066)
External calls sending eth:
- _transfer(sender,recipient,amount) (#813)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#1124)
- _buybackAddress.transfer(amount.mul(_buybackPercent).div(100)) (#1125)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#814)
- _allowances[owner][spender] = amount (#874)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SchruteBucks.updateFirstDividendTracker(address) (#1390-1405):
External calls:
- newFirstDividendTracker.excludeFromDividends(address(newFirstDividendTracker)) (#1397)
- newFirstDividendTracker.excludeFromDividends(address(this)) (#1398)
- newFirstDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1399)
- newFirstDividendTracker.excludeFromDividends(address(deadAddress)) (#1400)
Event emitted after the call(s):
- UpdateFirstDividendTracker(newAddress,address(firstDividendTracker)) (#1402)
Apply the check-effects-interactions pattern.

Additional information: link

FIRSTDividendTracker.canAutoClaim(uint256) (#1640-1646) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1641)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1645)
Avoid relying on block.timestamp.

Additional information: link

SchruteBucks.setFloor() (#1498-1502) compares to a boolean constant:
-require(bool,string)(randomizeFloor == true,must enable randomizeFloor) (#1499)
Remove the equality to the boolean constant.

Additional information: link

SafeMathInt.mul(int256,int256) (#75-83) is never used and should be removed
Remove unused functions.

Additional information: link

SchruteBucks._previousSellReflectionFee (#676) is set pre-construction with a non-constant function or state variable:
- _sellReflectionFee
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.6 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

Parameter FIRSTDividendTracker.getAccount(address)._account (#1582) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in SchruteBucks.transferFrom(address,address,uint256) (#812-816):
External calls:
- _transfer(sender,recipient,amount) (#813)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#1124)
- _buybackAddress.transfer(amount.mul(_buybackPercent).div(100)) (#1125)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#814)
- _allowances[owner][spender] = amount (#874)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#875)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#814)
Apply the check-effects-interactions pattern.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#386) is too similar to FIRSTDividendTracker.getAccount(address).withdrawableDividends (#1587)
Prevent variables from having similar names.

Additional information: link

FIRSTDividendTracker.getAccountAtIndex(uint256) (#1621-1638) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1632)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendPayingToken.lastAmount (#338) is never used in FIRSTDividendTracker (#1514-1724)
Remove unused state variables.

Additional information: link

SchruteBucks.deadAddress (#733) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

process(uint256) should be declared external:
- FIRSTDividendTracker.process(uint256) (#1665-1710)
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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for SB