BASKETBALL LEGENDS Token Logo

BBL [BASKETBALL LEGENDS] Token

About BBL

Listings

Token 8 months
CoinMarketCap 7 months
white paper

Basketball Legends is a NFT Play-to-Earn game inspired on Basketball leagues.The project purpose is to unite FUN & PROFIT to the players by giving them the oportunity to build their own Basketball Team and play.

Social

Laser Scorebeta Last Audit: 7 January 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

Authorized.safeWithdraw() (contracts/Authorized.sol#33-36) sends eth to arbitrary user
Dangerous calls:
- address(_msgSender()).transfer(contractBalance) (contracts/Authorized.sol#35)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

BasketballToken._name (contracts/BasketballToken.sol#18) shadows:
- ERC20._name (@openzeppelin/contracts/token/ERC20/ERC20.sol#41)
BasketballToken._symbol (contracts/BasketballToken.sol#19) shadows:
- ERC20._symbol (@openzeppelin/contracts/token/ERC20/ERC20.sol#42)
Remove the state variable shadowing.

Additional information: link

Reentrancy in BasketballToken.constructor() (contracts/BasketballToken.sol#118-167):
External calls:
- WBNB_BBL_PAIR = address(PancakeFactory(router.factory()).createPair(WBNB,address(this))) (contracts/BasketballToken.sol#120)
- swapHelper.safeApprove(WBNB,address(this),type()(uint256).max) (contracts/BasketballToken.sol#161)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#258)
- _mint(ownerWallet,maxSupply) (contracts/BasketballToken.sol#163)
Apply the check-effects-interactions pattern.

Additional information: link

Authorized.safeApprove(address,address,uint256) (contracts/Authorized.sol#29-31) ignores return value by ERC20(token).approve(spender,amount) (contracts/Authorized.sol#30)
SwapHelper.safeApprove(address,address,uint256) (contracts/SwapHelper.sol#11) ignores return value by ERC20(token).approve(spender,amount) (contracts/SwapHelper.sol#11)
Ensure that all the return values of the function calls are used.

Additional information: link

BasketballToken.setDevWallet(address).wallet (contracts/BasketballToken.sol#87) lacks a zero-check on :
- devWallet = wallet (contracts/BasketballToken.sol#88)
BasketballToken.setAdministrationWallet(address).account (contracts/BasketballToken.sol#114) lacks a zero-check on :
- administrationWallet = account (contracts/BasketballToken.sol#114)
BasketballToken.setWBNB_BBL_PAIR(address).newPair (contracts/BasketballToken.sol#394) lacks a zero-check on :
- WBNB_BBL_PAIR = newPair (contracts/BasketballToken.sol#394)
BasketballToken.setWBNB_BUSD_Pair(address).newPair (contracts/BasketballToken.sol#395) lacks a zero-check on :
- WBNB_BUSD_PAIR = newPair (contracts/BasketballToken.sol#395)
Check that the address is not zero.

Additional information: link

Reentrancy in BasketballToken.constructor() (contracts/BasketballToken.sol#118-167):
External calls:
- WBNB_BBL_PAIR = address(PancakeFactory(router.factory()).createPair(WBNB,address(this))) (contracts/BasketballToken.sol#120)
State variables written after the call(s):
- administrationWallet = 0xc4c7e6Ba1b4627f943e05f8C771a5786CDd3aeFe (contracts/BasketballToken.sol#154)
- devWallet = 0xAFbA5af54B9D0914b7B7709C46FdF13Fe5937E4E (contracts/BasketballToken.sol#153)
- exemptAmountLimit[WBNB_BBL_PAIR] = true (contracts/BasketballToken.sol#124)
- exemptAmountLimit[address(this)] = true (contracts/BasketballToken.sol#131)
- exemptAmountLimit[DEAD] = true (contracts/BasketballToken.sol#136)
- exemptAmountLimit[ZERO] = true (contracts/BasketballToken.sol#142)
- exemptAmountLimit[ownerWallet] = true (contracts/BasketballToken.sol#149)
- exemptAmountLimit[administrationWallet] = true (contracts/BasketballToken.sol#158)
- exemptFee[address(this)] = true (contracts/BasketballToken.sol#129)
- exemptFee[DEAD] = true (contracts/BasketballToken.sol#138)
- exemptFee[ownerWallet] = true (contracts/BasketballToken.sol#147)
- exemptFee[administrationWallet] = true (contracts/BasketballToken.sol#156)
- exemptOperatePausedToken[ownerWallet] = true (contracts/BasketballToken.sol#151)
- exemptStaker[WBNB_BBL_PAIR] = true (contracts/BasketballToken.sol#126)
- exemptStaker[address(this)] = true (contracts/BasketballToken.sol#132)
- exemptStaker[DEAD] = true (contracts/BasketballToken.sol#137)
- exemptStaker[ZERO] = true (contracts/BasketballToken.sol#143)
- exemptStaker[ownerWallet] = true (contracts/BasketballToken.sol#150)
- exemptTxLimit[WBNB_BBL_PAIR] = true (contracts/BasketballToken.sol#125)
- exemptTxLimit[address(this)] = true (contracts/BasketballToken.sol#130)
- exemptTxLimit[DEAD] = true (contracts/BasketballToken.sol#135)
- exemptTxLimit[ZERO] = true (contracts/BasketballToken.sol#141)
- exemptTxLimit[ownerWallet] = true (contracts/BasketballToken.sol#148)
- exemptTxLimit[administrationWallet] = true (contracts/BasketballToken.sol#157)
- liquidityPool = WBNB_BBL_PAIR (contracts/BasketballToken.sol#121)
- swapHelper = new SwapHelper() (contracts/BasketballToken.sol#160)
Reentrancy in BasketballToken.constructor() (contracts/BasketballToken.sol#118-167):
External calls:
- WBNB_BBL_PAIR = address(PancakeFactory(router.factory()).createPair(WBNB,address(this))) (contracts/BasketballToken.sol#120)
- swapHelper.safeApprove(WBNB,address(this),type()(uint256).max) (contracts/BasketballToken.sol#161)
State variables written after the call(s):
- _mint(ownerWallet,maxSupply) (contracts/BasketballToken.sol#163)
- _balances[account] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#257)
- _mint(ownerWallet,maxSupply) (contracts/BasketballToken.sol#163)
- _totalSupply += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#256)
- feeAdministrationWallet = 9100 (contracts/BasketballToken.sol#165)
- pausedToken = true (contracts/BasketballToken.sol#166)
Apply the check-effects-interactions pattern.

Additional information: link

BasketballToken.isReversed(address,address) (contracts/BasketballToken.sol#308-319) uses assembly
- INLINE ASM (contracts/BasketballToken.sol#311-316)
BasketballToken.tokenTransfer(address,address,uint256) (contracts/BasketballToken.sol#322-332) uses assembly
- INLINE ASM (contracts/BasketballToken.sol#324-330)
BasketballToken.tokenTransferFrom(address,address,address,uint256) (contracts/BasketballToken.sol#335-346) uses assembly
- INLINE ASM (contracts/BasketballToken.sol#337-344)
BasketballToken.swapToken(address,uint256,uint256,address) (contracts/BasketballToken.sol#349-362) uses assembly
- INLINE ASM (contracts/BasketballToken.sol#351-360)
BasketballToken.getTokenBalanceOf(address,address) (contracts/BasketballToken.sol#365-375) uses assembly
- INLINE ASM (contracts/BasketballToken.sol#367-373)
BasketballToken.getTokenReserves(address) (contracts/BasketballToken.sol#378-388) uses assembly
- INLINE ASM (contracts/BasketballToken.sol#380-386)
Do not use evm assembly.

Additional information: link

Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.5']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#3)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- ^0.8.0 (@openzeppelin/contracts/utils/Strings.sol#3)
- ^0.8.5 (contracts/Authorized.sol#3)
- ^0.8.5 (contracts/BasketballToken.sol#3)
- ^0.8.5 (contracts/IPancake.sol#3)
- ^0.8.5 (contracts/SwapHelper.sol#3)
Use one Solidity version.

Additional information: link

BasketballToken.walletHolder(address) (contracts/BasketballToken.sol#390-392) is never used and should be removed
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#20-22) is never used and should be removed
ERC20._afterTokenTransfer(address,address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#350-354) is never used and should be removed
ERC20._beforeTokenTransfer(address,address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#330-334) is never used and should be removed
ERC20._transfer(address,address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#220-240) is never used and should be removed
Strings.toHexString(uint256) (@openzeppelin/contracts/utils/Strings.sol#39-50) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Strings.sol#3) allows old versions
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

Variable ERC20._balances (@openzeppelin/contracts/token/ERC20/ERC20.sol#35) is not in mixedCase
Function BasketballToken.setWBNB_BBL_PAIR(address) (contracts/BasketballToken.sol#394) is not in mixedCase
Function BasketballToken.setWBNB_BUSD_Pair(address) (contracts/BasketballToken.sol#395) is not in mixedCase
Function BasketballToken.getWBNB_BBL_PAIR() (contracts/BasketballToken.sol#396) is not in mixedCase
Function BasketballToken.getWBNB_BUSD_Pair() (contracts/BasketballToken.sol#397) is not in mixedCase
Constant BasketballToken._name (contracts/BasketballToken.sol#18) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BasketballToken._symbol (contracts/BasketballToken.sol#19) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BasketballToken.decimal (contracts/BasketballToken.sol#22) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BasketballToken.decimalBUSD (contracts/BasketballToken.sol#23) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BasketballToken.maxSupply (contracts/BasketballToken.sol#24) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BasketballToken._maxTxAmount (contracts/BasketballToken.sol#26) is not in mixedCase
Variable BasketballToken._maxAccountAmount (contracts/BasketballToken.sol#27) is not in mixedCase
Variable BasketballToken.WBNB_BUSD_PAIR (contracts/BasketballToken.sol#56) is not in mixedCase
Variable BasketballToken.WBNB_BBL_PAIR (contracts/BasketballToken.sol#57) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

BasketballToken.isReversed(address,address) (contracts/BasketballToken.sol#308-319) uses literals with too many digits:
- mstore(uint256,uint256)(emptyPointer_isReversed_asm_0,0x0dfe168100000000000000000000000000000000000000000000000000000000) (contracts/BasketballToken.sol#313)
BasketballToken.tokenTransfer(address,address,uint256) (contracts/BasketballToken.sol#322-332) uses literals with too many digits:
- mstore(uint256,uint256)(emptyPointer_tokenTransfer_asm_0,0xa9059cbb00000000000000000000000000000000000000000000000000000000) (contracts/BasketballToken.sol#326)
BasketballToken.tokenTransferFrom(address,address,address,uint256) (contracts/BasketballToken.sol#335-346) uses literals with too many digits:
- mstore(uint256,uint256)(emptyPointer_tokenTransferFrom_asm_0,0x23b872dd00000000000000000000000000000000000000000000000000000000) (contracts/BasketballToken.sol#339)
BasketballToken.swapToken(address,uint256,uint256,address) (contracts/BasketballToken.sol#349-362) uses literals with too many digits:
- mstore(uint256,uint256)(emptyPointer_swapToken_asm_0,0x022c0d9f00000000000000000000000000000000000000000000000000000000) (contracts/BasketballToken.sol#353)
BasketballToken.getTokenBalanceOf(address,address) (contracts/BasketballToken.sol#365-375) uses literals with too many digits:
- mstore(uint256,uint256)(emptyPointer_getTokenBalanceOf_asm_0,0x70a0823100000000000000000000000000000000000000000000000000000000) (contracts/BasketballToken.sol#369)
BasketballToken.getTokenReserves(address) (contracts/BasketballToken.sol#378-388) uses literals with too many digits:
- mstore(uint256,uint256)(emptyPointer_getTokenReserves_asm_0,0x0902f1ac00000000000000000000000000000000000000000000000000000000) (contracts/BasketballToken.sol#382)
BasketballToken.slitherConstructorConstantVariables() (contracts/BasketballToken.sol#12-399) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (contracts/BasketballToken.sol#13)
BasketballToken.slitherConstructorConstantVariables() (contracts/BasketballToken.sol#12-399) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (contracts/BasketballToken.sol#14)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#53-55)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#61-64)
name() should be declared external:
- ERC20.name() (@openzeppelin/contracts/token/ERC20/ERC20.sol#61-63)
symbol() should be declared external:
- ERC20.symbol() (@openzeppelin/contracts/token/ERC20/ERC20.sol#69-71)
decimals() should be declared external:
- BasketballToken.decimals() (contracts/BasketballToken.sol#174-176)
- ERC20.decimals() (@openzeppelin/contracts/token/ERC20/ERC20.sol#86-88)
totalSupply() should be declared external:
- ERC20.totalSupply() (@openzeppelin/contracts/token/ERC20/ERC20.sol#93-95)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (@openzeppelin/contracts/token/ERC20/ERC20.sol#100-102)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#112-115)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (@openzeppelin/contracts/token/ERC20/ERC20.sol#120-122)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#131-134)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#149-163)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#177-180)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#196-204)
setDevWallet(address) should be declared external:
- BasketballToken.setDevWallet(address) (contracts/BasketballToken.sol#87-89)
setExemptOperatePausedToken(address,bool) should be declared external:
- BasketballToken.setExemptOperatePausedToken(address,bool) (contracts/BasketballToken.sol#106)
setExemptFee(address,bool) should be declared external:
- BasketballToken.setExemptFee(address,bool) (contracts/BasketballToken.sol#107)
setExemptFeeReceiver(address,bool) should be declared external:
- BasketballToken.setExemptFeeReceiver(address,bool) (contracts/BasketballToken.sol#108)
setExemptTxLimit(address,bool) should be declared external:
- BasketballToken.setExemptTxLimit(address,bool) (contracts/BasketballToken.sol#109)
setExemptAmountLimit(address,bool) should be declared external:
- BasketballToken.setExemptAmountLimit(address,bool) (contracts/BasketballToken.sol#110)
setExemptStaker(address,bool) should be declared external:
- BasketballToken.setExemptStaker(address,bool) (contracts/BasketballToken.sol#111)
setAdministrationWallet(address) should be declared external:
- BasketballToken.setAdministrationWallet(address) (contracts/BasketballToken.sol#114)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap volume is low.


Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.


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 number of swaps.


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Young tokens have high risks of price dump / death


Young tokens have high risks of scam / price dump / death


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


Token has relatively low CoinMarketCap rank

Price for BBL

News for BBL