Pellet Food Token Logo

PELLET [Pellet Food] Token

About PELLET

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 4 February 2022

report
Code:


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

PelletFood.lockToBuyOrSellForTime(uint256,uint256,address) (#667-684) uses a dangerous strict equality:
- lastBuyOrSellTime == 0 (#669)
PelletFood.lockToBuyOrSellForTime(uint256,uint256,address) (#667-684) uses a dangerous strict equality:
- crashTime == fifteenMinutesLock (#673)
PelletFood.lockToBuyOrSellForTime(uint256,uint256,address) (#667-684) uses a dangerous strict equality:
- crashTime == 0 (#675)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

PelletFood.excludeFromAll(address) (#790-802) ignores return value by tokenHoldersEnumSet.remove(account) (#801)
PelletFood._tokenTransfer(address,address,uint256,bool) (#942-1006) ignores return value by tokenHoldersEnumSet.add(recipient) (#1001)
PelletFood._tokenTransfer(address,address,uint256,bool) (#942-1006) ignores return value by tokenHoldersEnumSet.remove(sender) (#1004)
PelletFood.addLiquidity(uint256,uint256) (#1009-1020) ignores return value by PancakeSwapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1011-1018)
Ensure that all the return values of the function calls are used.

Additional information: link

PelletFood.allowance(address,address).owner (#735) shadows:
- Ownable.owner() (#246-248) (function)
PelletFood._approve(address,address,uint256).owner (#923) shadows:
- Ownable.owner() (#246-248) (function)
Rename the local variables that shadow another component.

Additional information: link

PelletFood.setSellPerSecond(uint256) (#690-692) should emit an event for:
- sellPerSecond = timeBetweenPurchasesSell (#691)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in PelletFood.constructor() (#619-643):
External calls:
- pancakeswapV2Pair = IUniswapV2Factory(_PancakeSwapV2Router.factory()).createPair(address(this),_PancakeSwapV2Router.WETH()) (#623-624)
State variables written after the call(s):
- PancakeSwapV2Router = _PancakeSwapV2Router (#626)
- _excluded.push(address(this)) (#637)
- _excluded.push(pancakeswapV2Pair) (#640)
- _isExcluded[address(this)] = true (#636)
- _isExcluded[pancakeswapV2Pair] = true (#639)
- _isExcludedFromFee[owner()] = true (#628)
- _isExcludedFromFee[address(this)] = true (#629)
- _isExcludedFromFee[address(_PancakeSwapV2RouterUniswap)] = true (#630)
- _isExcludedFromFee[address(0xe853889c8c7a03C1f7935B87355Dc58eCd3d92B0)] = true (#631)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in PelletFood.addLiquidity(uint256,uint256) (#1009-1020):
External calls:
- PancakeSwapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1011-1018)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,bnbAmount) (#1019)
Reentrancy in PelletFood.constructor() (#619-643):
External calls:
- pancakeswapV2Pair = IUniswapV2Factory(_PancakeSwapV2Router.factory()).createPair(address(this),_PancakeSwapV2Router.WETH()) (#623-624)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#642)
Apply the check-effects-interactions pattern.

Additional information: link

PelletFood.lockToBuyOrSellForTime(uint256,uint256,address) (#667-684) uses timestamp for comparisons
Dangerous comparisons:
- lastBuyOrSellTime == 0 (#669)
- crashTime == fifteenMinutesLock (#673)
- crashTime == 0 (#675)
- crashTime <= lockTime (#680)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#135-141) uses assembly
- INLINE ASM (#137-139)
Address._verifyCallResult(bool,bytes,string) (#213-232) uses assembly
- INLINE ASM (#224-227)
EnumerableSet.values(EnumerableSet.AddressSet) (#499-508) uses assembly
- INLINE ASM (#503-505)
Do not use evm assembly.

Additional information: link

PelletFood.includeInReward(address) (#804-815) has costly operations inside a loop:
- _excluded.pop() (#811)
Use a local variable to hold the loop computation result.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#213-232) is never used and should be removed
Address.functionCall(address,bytes) (#150-152) is never used and should be removed
Address.functionCall(address,bytes,string) (#154-160) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#162-168) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#170-181) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#198-200) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#202-211) is never used and should be removed
Address.functionStaticCall(address,bytes) (#183-185) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#187-196) is never used and should be removed
Address.isContract(address) (#135-141) is never used and should be removed
Address.sendValue(address,uint256) (#143-148) is never used and should be removed
Context._msgData() (#127-130) is never used and should be removed
EnumerableSet._at(EnumerableSet.Set,uint256) (#467-469) is never used and should be removed
EnumerableSet._length(EnumerableSet.Set) (#463-465) is never used and should be removed
EnumerableSet._values(EnumerableSet.Set) (#471-473) is never used and should be removed
EnumerableSet.at(EnumerableSet.AddressSet,uint256) (#495-497) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (#487-489) is never used and should be removed
EnumerableSet.length(EnumerableSet.AddressSet) (#491-493) is never used and should be removed
EnumerableSet.values(EnumerableSet.AddressSet) (#499-508) is never used and should be removed
PelletFood.addLiquidity(uint256,uint256) (#1009-1020) is never used and should be removed
SafeMath.add(uint256,uint256) (#68-70) is never used and should be removed
SafeMath.div(uint256,uint256) (#80-82) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#99-108) is never used and should be removed
SafeMath.mod(uint256,uint256) (#84-86) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#110-119) is never used and should be removed
SafeMath.mul(uint256,uint256) (#76-78) is never used and should be removed
SafeMath.sub(uint256,uint256) (#72-74) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#30-36) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#54-59) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#61-66) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#45-52) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#38-43) is never used and should be removed
Remove unused functions.

Additional information: link

PelletFood._rTotal (#537) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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.0 (#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

Low level call in Address.sendValue(address,uint256) (#143-148):
- (success) = recipient.call{value: amount}() (#146)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#170-181):
- (success,returndata) = target.call{value: value}(data) (#179)
Low level call in Address.functionStaticCall(address,bytes,string) (#187-196):
- (success,returndata) = target.staticcall(data) (#194)
Low level call in Address.functionDelegateCall(address,bytes,string) (#202-211):
- (success,returndata) = target.delegatecall(data) (#209)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Router01.WETH() (#269) is not in mixedCase
Struct PelletFood.feeRatesStruct (#557-562) is not in CapWords
Struct PelletFood.balances (#564-567) is not in CapWords
Struct PelletFood.valuesFromGetValues (#587-599) is not in CapWords
Function PelletFood.TrandingOn(bool) (#720-722) is not in mixedCase
Parameter PelletFood.TrandingOn(bool)._enable (#720) is not in mixedCase
Parameter PelletFood.settransform(bool)._enable (#731) is not in mixedCase
Parameter PelletFood.setSwapAndLiquifyEnabled(bool)._enabled (#829) is not in mixedCase
Constant PelletFood._decimals (#527) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PelletFood._name (#530) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PelletFood._symbol (#531) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PelletFood._PancakeSwapV1RouterUniswap (#533) is not in mixedCase
Variable PelletFood._PancakeSwapV2RouterUniswap (#534) is not in mixedCase
Variable PelletFood._lastWallet (#541) is not in mixedCase
Variable PelletFood.PancakeSwapV2Router (#601) is not in mixedCase
Variable PelletFood.Trading (#605) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#128)" inContext (#122-131)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#274) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#275)
Variable PelletFood._PancakeSwapV1RouterUniswap (#533) is too similar to PelletFood._PancakeSwapV2RouterUniswap (#534)
Prevent variables from having similar names.

Additional information: link

PelletFood.slitherConstructorVariables() (#511-1028) uses literals with too many digits:
- _tTotal = 150000000000 * 10 ** _decimals (#536)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

PelletFood._PancakeSwapV1RouterUniswap (#533) should be constant
PelletFood._PancakeSwapV2RouterUniswap (#534) should be constant
PelletFood.fifteenMinutesLock (#539) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#255-258)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#260-264)
getFromLastSell(address) should be declared external:
- PelletFood.getFromLastSell(address) (#649-651)
setBuyRates(uint256,uint256,uint256,uint256) should be declared external:
- PelletFood.setBuyRates(uint256,uint256,uint256,uint256) (#653-658)
setSellRates(uint256,uint256,uint256,uint256) should be declared external:
- PelletFood.setSellRates(uint256,uint256,uint256,uint256) (#660-665)
setSellPerSecond(uint256) should be declared external:
- PelletFood.setSellPerSecond(uint256) (#690-692)
name() should be declared external:
- PelletFood.name() (#694-696)
symbol() should be declared external:
- PelletFood.symbol() (#698-700)
decimals() should be declared external:
- PelletFood.decimals() (#702-704)
totalSupply() should be declared external:
- PelletFood.totalSupply() (#706-708)
transfer(address,uint256) should be declared external:
- PelletFood.transfer(address,uint256) (#715-718)
TrandingOn(bool) should be declared external:
- PelletFood.TrandingOn(bool) (#720-722)
addWhitelist(address[]) should be declared external:
- PelletFood.addWhitelist(address[]) (#725-729)
settransform(bool) should be declared external:
- PelletFood.settransform(bool) (#731-733)
allowance(address,address) should be declared external:
- PelletFood.allowance(address,address) (#735-737)
approve(address,uint256) should be declared external:
- PelletFood.approve(address,uint256) (#739-742)
transferFrom(address,address,uint256) should be declared external:
- PelletFood.transferFrom(address,address,uint256) (#744-748)
increaseAllowance(address,uint256) should be declared external:
- PelletFood.increaseAllowance(address,uint256) (#750-753)
decreaseAllowance(address,uint256) should be declared external:
- PelletFood.decreaseAllowance(address,uint256) (#755-758)
isExcludedFromReward(address) should be declared external:
- PelletFood.isExcludedFromReward(address) (#760-762)
reflectionFromToken(uint256,bool) should be declared external:
- PelletFood.reflectionFromToken(uint256,bool) (#764-773)
excludeFromReward(address) should be declared external:
- PelletFood.excludeFromReward(address) (#781-788)
excludeFromAll(address) should be declared external:
- PelletFood.excludeFromAll(address) (#790-802)
excludeFromFee(address) should be declared external:
- PelletFood.excludeFromFee(address) (#817-819)
includeInFee(address) should be declared external:
- PelletFood.includeInFee(address) (#821-823)
isExcludedFromFee(address) should be declared external:
- PelletFood.isExcludedFromFee(address) (#825-827)
setSwapAndLiquifyEnabled(bool) should be declared external:
- PelletFood.setSwapAndLiquifyEnabled(bool) (#829-832)
withdraw() should be declared external:
- PelletFood.withdraw() (#1022-1025)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive.


Unable to find Telegram and Twitter accounts

Search:


Unable to find website, listings and other project-related information


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for PELLET