BUBBLE GUM Token Logo

BEGM [BUBBLE GUM] Token

About BEGM

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 2 January 2022

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

BEGMToken.ceil(uint256,uint256) (#686-688) performs a multiplication on the result of a division:
-((a + m - 1) / m) * m (#687)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in BEGMToken._transfer(address,address,uint256) (#605-642):
External calls:
- BP.protect(sender,recipient,amount) (#618)
State variables written after the call(s):
- _balances[poolWallet] = _balances[poolWallet] + poolFee (#625)
- _balances[marketingWallet] = _balances[marketingWallet] + marketingFee (#633)
- _balances[sender] = _balances[sender] - amount (#639)
- _balances[recipient] = _balances[recipient] + tokensToTransfer (#640)
Apply the check-effects-interactions pattern.

Additional information: link

BEGMToken.balanceOf(address).owner (#516) shadows:
- Ownable.owner() (#391-393) (function)
BEGMToken.allowance(address,address).owner (#529) shadows:
- Ownable.owner() (#391-393) (function)
BEGMToken._approve(address,address,uint256).owner (#548) shadows:
- Ownable.owner() (#391-393) (function)
Rename the local variables that shadow another component.

Additional information: link

BEGMToken.setPoolReward(uint256) (#666-669) should emit an event for:
- _poolReward = reward (#668)
BEGMToken.setMarketingReward(uint256) (#671-674) should emit an event for:
- _marketingReward = reward (#673)
Emit an event for critical parameter changes.

Additional information: link

Ownable.constructor().msgSender (#383) lacks a zero-check on :
- _owner = msgSender (#384)
BEGMToken.constructor(address,address)._uniswapV2Pair (#477) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#480)
BEGMToken.constructor(address,address).marketingWallet_ (#471) lacks a zero-check on :
- marketingWallet = marketingWallet_ (#483)
BEGMToken.setPoolWallet(address).poolWallet_ (#658) lacks a zero-check on :
- poolWallet = poolWallet_ (#659)
BEGMToken.setMarketingWallet(address).marketingWallet_ (#662) lacks a zero-check on :
- marketingWallet = marketingWallet_ (#663)
Check that the address is not zero.

Additional information: link

BEGMToken._transfer(address,address,uint256) (#605-642) has external calls inside a loop: BP.protect(sender,recipient,amount) (#618)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in BEGMToken.constructor(address,address) (#469-484):
External calls:
- _uniswapV2Pair = IPancakeFactory(_pancakeV2Router.factory()).createPair(address(this),_pancakeV2Router.WETH()) (#477)
State variables written after the call(s):
- isExcludedFromFee[msg.sender] = true (#482)
- isPairAddress[_uniswapV2Pair] = true (#479)
- marketingWallet = marketingWallet_ (#483)
- pancakeV2Router = _pancakeV2Router (#481)
- uniswapV2Pair = _uniswapV2Pair (#480)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BEGMToken._transfer(address,address,uint256) (#605-642):
External calls:
- BP.protect(sender,recipient,amount) (#618)
Event emitted after the call(s):
- Transfer(sender,poolWallet,poolFee) (#628)
- Transfer(sender,marketingWallet,marketingFee) (#636)
- Transfer(sender,recipient,tokensToTransfer) (#641)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#29-40) uses assembly
- INLINE ASM (#36-38)
Address._functionCallWithValue(address,bytes,uint256,string) (#137-163) uses assembly
- INLINE ASM (#155-158)
Do not use evm assembly.

Additional information: link

BEGMToken.setBotProtectionDisableForever() (#495-498) compares to a boolean constant:
-require(bool)(BPDisabledForever == false) (#496)
BEGMToken._transfer(address,address,uint256) (#605-642) compares to a boolean constant:
-isExcludedFromFee[sender] != true (#623)
BEGMToken._transfer(address,address,uint256) (#605-642) compares to a boolean constant:
-isExcludedFromFee[sender] != true && (isPairAddress[sender] || isPairAddress[recipient]) (#631)
Remove the equality to the boolean constant.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#137-163) is never used and should be removed
Address.functionCall(address,bytes) (#84-86) is never used and should be removed
Address.functionCall(address,bytes,string) (#94-100) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#113-119) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#127-135) is never used and should be removed
Address.isContract(address) (#29-40) is never used and should be removed
Address.sendValue(address,uint256) (#58-64) is never used and should be removed
BEGMToken._mint(address,uint256) (#652-656) is never used and should be removed
Context._msgData() (#355-358) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.0 (#4) 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

Low level call in Address.sendValue(address,uint256) (#58-64):
- (success) = recipient.call{value: amount}() (#62)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#137-163):
- (success,returndata) = target.call{value: weiValue}(data) (#146)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IPancakeRouter01.WETH() (#184) is not in mixedCase
Parameter BEGMToken.setBPAddrss(address)._bp (#486) is not in mixedCase
Parameter BEGMToken.setBpEnabled(bool)._enabled (#491) is not in mixedCase
Variable BEGMToken.BP (#446) is not in mixedCase
Variable BEGMToken.BPDisabledForever (#448) is not in mixedCase
Constant BEGMToken._name (#458) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BEGMToken._symbol (#459) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BEGMToken._decimals (#460) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#356)" inContext (#346-359)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#189) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#190)
Prevent variables from having similar names.

Additional information: link

BEGMToken.slitherConstructorVariables() (#438-690) uses literals with too many digits:
- _totalSupply = 100000000 * 10 ** uint256(_decimals) (#462)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BEGMToken._totalSupply (#462) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#391-393)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#410-413)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#419-421)
name() should be declared external:
- BEGMToken.name() (#500-502)
symbol() should be declared external:
- BEGMToken.symbol() (#504-506)
decimals() should be declared external:
- BEGMToken.decimals() (#508-510)
totalSupply() should be declared external:
- BEGMToken.totalSupply() (#512-514)
balanceOf(address) should be declared external:
- BEGMToken.balanceOf(address) (#516-518)
allowance(address,address) should be declared external:
- BEGMToken.allowance(address,address) (#529-536)
approve(address,uint256) should be declared external:
- BEGMToken.approve(address,uint256) (#538-545)
increaseAllowance(address,uint256) should be declared external:
- BEGMToken.increaseAllowance(address,uint256) (#559-570)
decreaseAllowance(address,uint256) should be declared external:
- BEGMToken.decreaseAllowance(address,uint256) (#572-583)
transferFrom(address,address,uint256) should be declared external:
- BEGMToken.transferFrom(address,address,uint256) (#585-593)
multiTransfer(address[],uint256[]) should be declared external:
- BEGMToken.multiTransfer(address[],uint256[]) (#644-650)
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


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for BEGM