Pesabase Token Logo

PESA [Pesabase] Token

About PESA

Listings

Token 19 months
CoinGecko 19 months
CoinMarketCap 18 months
white paper

By tokenizing an existing company, we are able to expand marketing to reach more users for Pesabase. Each time someone sends money to their loved ones, a portion of their transaction fee goes as a buy on the chart - burning the supply and increasing the token price. Pesabase currently processes 200k USD per month through word of mouth marketing only. By using marketing funds from the token, our reach expands exponentially to more users. More users = more people sending money to their loved ones at a fraction of the price = more tokens bought = less supply.

Social

Laser Scorebeta Last Audit: 21 February 2023

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

Anti-Scam

Links

Pesabase.sendETHToFee(uint256) (#1413-1415) sends eth to arbitrary user
Dangerous calls:
- _marketingWallet.transfer(amount) (#1414)
Pesabase.swapBack() (#1337-1385) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Pesabase.getHour(uint256) (#1823-1825) uses a weak PRNG: "uint8((timestamp / 60 / 60) % 24) (#1824)"
Pesabase.getWeekday(uint256) (#1835-1837) uses a weak PRNG: "uint8((timestamp / DAY_IN_SECONDS + 4) % 7) (#1836)"
Pesabase.isLeapYear(uint16) (#1721-1732) uses a weak PRNG: "year % 100 != 0 (#1725)"
Pesabase.isLeapYear(uint16) (#1721-1732) uses a weak PRNG: "year % 400 != 0 (#1728)"
Pesabase.getSecond(uint256) (#1831-1833) uses a weak PRNG: "uint8(timestamp % 60) (#1832)"
Pesabase.getMinute(uint256) (#1827-1829) uses a weak PRNG: "uint8((timestamp / 60) % 60) (#1828)"
Pesabase.isLeapYear(uint16) (#1721-1732) uses a weak PRNG: "year % 4 != 0 (#1722)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Reentrancy in Pesabase.openTrading() (#1417-1435):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1422)
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#1423)
External calls sending eth:
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#1423)
State variables written after the call(s):
- tradingOpen = true (#1432)
Reentrancy in Pesabase._transfer(address,address,uint256) (#1286-1335):
External calls:
- swapBack() (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1392-1398)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
External calls sending eth:
- swapBack() (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _rOwned[sender] = _rOwned[sender].sub(tAmount) (#1595)
- _rOwned[recipient] = _rOwned[recipient].add(tAmount) (#1596)
- swapping = false (#1331)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- tokensForCharity += fees * charityFee / _totalFees (#1640)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- tokensForDev += fees * devFee / _totalFees (#1637)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- tokensForDream += fees * dreamFee / _totalFees (#1639)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- tokensForLiquidity += fees * liqFee / _totalFees (#1638)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- tokensForLoyalty += fees * loyaltyFee / _totalFees (#1641)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- tokensForMarketing += fees * mktgFee / _totalFees (#1636)
Apply the check-effects-interactions pattern.

Additional information: link


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

Pesabase.getDaysInMonth(uint8,uint16) (#1739-1752) uses a dangerous strict equality:
- month == 4 || month == 6 || month == 9 || month == 11 (#1743)
Pesabase.getDaysInMonth(uint8,uint16) (#1739-1752) uses a dangerous strict equality:
- month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12 (#1740)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.

Pesabase.swapBack().success (#1340) is written in both
(success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
(success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
Pesabase.swapBack().success (#1340) is written in both
(success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
(success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
Pesabase.swapBack().success (#1340) is written in both
(success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
(success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
Fix or remove the writes.

Additional information: link

ECDSA.tryRecover(bytes32,bytes) (#653-682) uses assembly
- INLINE ASM (#663-667)
- INLINE ASM (#674-677)
Do not use evm assembly.

Additional information: link

Pesabase._takeFees(address,uint256,bool) (#1600-1648) performs a multiplication on the result of a division:
-fees = amount.mul(_totalFees).div(100) (#1635)
-tokensForLiquidity += fees * liqFee / _totalFees (#1638)
Pesabase._takeFees(address,uint256,bool) (#1600-1648) performs a multiplication on the result of a division:
-fees = amount.mul(_totalFees).div(100) (#1635)
-tokensForLoyalty += fees * loyaltyFee / _totalFees (#1641)
Pesabase._takeFees(address,uint256,bool) (#1600-1648) performs a multiplication on the result of a division:
-fees = amount.mul(_totalFees).div(100) (#1635)
-tokensForMarketing += fees * mktgFee / _totalFees (#1636)
Pesabase._takeFees(address,uint256,bool) (#1600-1648) performs a multiplication on the result of a division:
-fees = amount.mul(_totalFees).div(100) (#1635)
-tokensForDream += fees * dreamFee / _totalFees (#1639)
Pesabase._takeFees(address,uint256,bool) (#1600-1648) performs a multiplication on the result of a division:
-fees = amount.mul(_totalFees).div(100) (#1635)
-tokensForDev += fees * devFee / _totalFees (#1637)
Pesabase._takeFees(address,uint256,bool) (#1600-1648) performs a multiplication on the result of a division:
-fees = amount.mul(_totalFees).div(100) (#1635)
-tokensForCharity += fees * charityFee / _totalFees (#1640)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in Pesabase.swapBack() (#1337-1385):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1354)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1392-1398)
State variables written after the call(s):
- tokensForCharity = 0 (#1370)
- tokensForDev = 0 (#1368)
- tokensForDream = 0 (#1369)
- tokensForLiquidity = 0 (#1366)
- tokensForLoyalty = 0 (#1371)
- tokensForMarketing = 0 (#1367)
Apply the check-effects-interactions pattern.

Additional information: link

Pesabase._transfer(address,address,uint256) (#1286-1335) uses tx.origin for authorization: require(bool,string)(cooldown[tx.origin] < block.number - 1 && cooldown[to] < block.number - 1,_transfer:: Transfer Delay enabled. Try again later.) (#1301)
Do not use tx.origin for authorization.

Additional information: link

Pesabase.openTrading() (#1417-1435) ignores return value by IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#1434)
Pesabase.openTrading() (#1417-1435) ignores return value by uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#1423)
Pesabase.addLiquidity(uint256,uint256) (#1401-1411) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
Ensure that all the return values of the function calls are used.

Additional information: link

Pesabase.allowance(address,address).owner (#1244) shadows:
- Ownable.owner() (#245-247) (function)
Pesabase._approve(address,address,uint256).owner (#1279) shadows:
- Ownable.owner() (#245-247) (function)
Rename the local variables that shadow another component.

Additional information: link

Pesabase.setBlocksToBlacklist(uint256) (#1531-1533) should emit an event for:
- blocksToBlacklist = blocks (#1532)
Pesabase.setMaxSellAmount(uint256) (#1448-1451) should emit an event for:
- _maxSellAmount = maxSell (#1450)
Pesabase.setSellFee(uint256,uint256,uint256,uint256,uint256,uint256) (#1521-1529) should emit an event for:
- _sellMarketingFee = sellMarketingFee (#1523)
- _sellLiquidityFee = sellLiquidityFee (#1524)
- _sellDevelopmentFee = sellDevelopmentFee (#1525)
- _sellDreamFee = sellDreamFee (#1526)
- _sellCharityFee = sellCharityFee (#1527)
- _sellLoyaltyFee = sellLoyaltyFee (#1528)
Pesabase.setBuyFee(uint256,uint256,uint256,uint256,uint256,uint256) (#1511-1519) should emit an event for:
- _buyMarketingFee = buyMarketingFee (#1513)
- _buyLiquidityFee = buyLiquidityFee (#1514)
- _buyDevelopmentFee = buyDevelopmentFee (#1515)
- _buyDreamFee = buyDreamFee (#1516)
- _buyCharityFee = buyCharityFee (#1517)
- _buyLoyaltyFee = buyLoyaltyFee (#1518)
Pesabase.setMaxWalletAmount(uint256) (#1453-1455) should emit an event for:
- _maxWalletAmount = maxToken (#1454)
Pesabase.setSunday(uint8) (#1839-1841) should emit an event for:
- _sunday = sunday (#1840)
Pesabase.setSwapTokensAtAmount(uint256) (#1457-1461) should emit an event for:
- swapTokensAtAmount = newAmount (#1460)
Pesabase.setSaturday(uint8) (#1843-1845) should emit an event for:
- _saturday = saturday (#1844)
Pesabase.setMarketOpeningTimeMin(uint8) (#1855-1857) should emit an event for:
- _openingTimeMin = openingTimeMin (#1856)
Pesabase.setMarketOpeningTimeHr(uint8) (#1847-1849) should emit an event for:
- _openingTimeHr = openingTimeHr (#1848)
Pesabase.setMarketClosingTimeHr(uint8) (#1851-1853) should emit an event for:
- _closingTimeHr = closingTimeHr (#1852)
Pesabase.setMaxBuyAmount(uint256) (#1443-1446) should emit an event for:
- _maxBuyAmount = maxBuy (#1445)
Emit an event for critical parameter changes.

Additional information: link

Pesabase.constructor(address,address,address,address,address,address).loyalty (#1198) lacks a zero-check on :
- _loyaltyWallet = address(loyalty) (#1204)
Pesabase.constructor(address,address,address,address,address,address).dev (#1198) lacks a zero-check on :
- _developmentWallet = address(dev) (#1200)
Pesabase.constructor(address,address,address,address,address,address).mktg (#1198) lacks a zero-check on :
- _marketingWallet = address(mktg) (#1199)
Pesabase.constructor(address,address,address,address,address,address).charity (#1198) lacks a zero-check on :
- _charityWallet = address(charity) (#1203)
Pesabase.constructor(address,address,address,address,address,address).lp (#1198) lacks a zero-check on :
- _liquidityWallet = address(lp) (#1201)
Pesabase.constructor(address,address,address,address,address,address).dream (#1198) lacks a zero-check on :
- _dreamWallet = address(dream) (#1202)
Check that the address is not zero.

Additional information: link

Variable 'ECDSA.tryRecover(bytes32,bytes).r (#658)' in ECDSA.tryRecover(bytes32,bytes) (#653-682) potentially used before declaration: r = mload(uint256)(signature + 0x20) (#675)
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 Pesabase.swapBack() (#1337-1385):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1354)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1392-1398)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1379)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
External calls sending eth:
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1379)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1379)
- _allowances[owner][spender] = amount (#1282)
Reentrancy in Pesabase.transferFrom(address,address,uint256) (#1253-1257):
External calls:
- _transfer(sender,recipient,amount) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1392-1398)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1255)
- _allowances[owner][spender] = amount (#1282)
Reentrancy in Pesabase._transfer(address,address,uint256) (#1286-1335):
External calls:
- swapBack() (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1392-1398)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
External calls sending eth:
- swapBack() (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyCharityFee = _buyPreviousCharityFee (#1570)
- _buyCharityFee = 0 (#1555)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyDevelopmentFee = _buyPreviousDevelopmentFee (#1568)
- _buyDevelopmentFee = 0 (#1553)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyDreamFee = _buyPreviousDreamFee (#1569)
- _buyDreamFee = 0 (#1554)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyLiquidityFee = _buyPreviousLiquidityFee (#1567)
- _buyLiquidityFee = 0 (#1552)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyLoyaltyFee = _buyPreviousLoyaltyFee (#1571)
- _buyLoyaltyFee = 0 (#1556)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyMarketingFee = _buyPreviousMarketingFee (#1566)
- _buyMarketingFee = 0 (#1551)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyPreviousCharityFee = _buyCharityFee (#1542)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyPreviousDevelopmentFee = _buyDevelopmentFee (#1540)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyPreviousDreamFee = _buyDreamFee (#1541)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyPreviousLiquidityFee = _buyLiquidityFee (#1539)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyPreviousLoyaltyFee = _buyLoyaltyFee (#1543)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _buyPreviousMarketingFee = _buyMarketingFee (#1538)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellCharityFee = _sellPreviousCharityFee (#1576)
- _sellCharityFee = 0 (#1561)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellDevelopmentFee = _sellPreviousDevelopmentFee (#1574)
- _sellDevelopmentFee = 0 (#1559)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellDreamFee = _sellPreviousDreamFee (#1575)
- _sellDreamFee = 0 (#1560)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellLiquidityFee = _sellPreviousLiquidityFee (#1573)
- _sellLiquidityFee = 0 (#1558)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellLoyaltyFee = _sellPreviousLoyaltyFee (#1577)
- _sellLoyaltyFee = 0 (#1562)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellMarketingFee = _sellPreviousMarketingFee (#1572)
- _sellMarketingFee = 0 (#1557)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellPreviousCharityFee = _sellCharityFee (#1548)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellPreviousDevelopmentFee = _sellDevelopmentFee (#1546)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellPreviousDreamFee = _sellDreamFee (#1547)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellPreviousLiquidityFee = _sellLiquidityFee (#1545)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellPreviousLoyaltyFee = _sellLoyaltyFee (#1549)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
- _sellPreviousMarketingFee = _sellMarketingFee (#1544)
Reentrancy in Pesabase.openTrading() (#1417-1435):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1422)
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#1423)
External calls sending eth:
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#1423)
State variables written after the call(s):
- _maxBuyAmount = 12e4 * 10 ** (_decimals) (#1428)
- _maxSellAmount = 12e4 * 10 ** (_decimals) (#1429)
- _maxWalletAmount = 6e5 * 10 ** (_decimals) (#1430)
- checkHolidays = true (#1427)
- cooldownEnabled = true (#1425)
- marketHoursEnabled = true (#1426)
- swapEnabled = true (#1424)
- swapTokensAtAmount = 12e3 * 10 ** (_decimals) (#1431)
- tradingActiveBlock = block.number (#1433)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Pesabase.swapBack() (#1337-1385):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1354)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1392-1398)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1379)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
External calls sending eth:
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1379)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1283)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1379)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1380)
Reentrancy in Pesabase._transfer(address,address,uint256) (#1286-1335):
External calls:
- swapBack() (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1392-1398)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
External calls sending eth:
- swapBack() (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#1597)
- _tokenTransfer(from,to,amount,takeFee,shouldSwap) (#1334)
Reentrancy in Pesabase.transferFrom(address,address,uint256) (#1253-1257):
External calls:
- _transfer(sender,recipient,amount) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1392-1398)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1254)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityWallet,block.timestamp) (#1403-1410)
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1283)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1255)
Apply the check-effects-interactions pattern.

Additional information: link

Pesabase._transfer(address,address,uint256) (#1286-1335) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(marketOpened(block.timestamp),Market is closed.) (#1296)
Pesabase.getDaysInMonth(uint8,uint16) (#1739-1752) uses timestamp for comparisons
Dangerous comparisons:
- month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12 (#1740)
- month == 4 || month == 6 || month == 9 || month == 11 (#1743)
Pesabase.isLeapYear(uint16) (#1721-1732) uses timestamp for comparisons
Dangerous comparisons:
- year % 4 != 0 (#1722)
- year % 100 != 0 (#1725)
- year % 400 != 0 (#1728)
Pesabase.getYear(uint256) (#1799-1821) uses timestamp for comparisons
Dangerous comparisons:
- secondsAccountedFor > timestamp (#1811)
Pesabase.parseTimestamp(uint256) (#1754-1797) uses timestamp for comparisons
Dangerous comparisons:
- secondsInMonth + secondsAccountedFor > timestamp (#1770)
- DAY_IN_SECONDS + secondsAccountedFor > timestamp (#1779)
Avoid relying on block.timestamp.

Additional information: link

SafeMath.tryDiv(uint256,uint256) (#372-377) is never used and should be removed
AccessControl._setRoleAdmin(bytes32,bytes32) (#1050-1054) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#384-389) is never used and should be removed
Strings.toHexString(uint256) (#573-584) is never used and should be removed
Strings.toString(uint256) (#548-568) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#330-336) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#525-534) is never used and should be removed
ECDSA.toEthSignedMessageHash(bytes) (#810-812) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#499-508) is never used and should be removed
ECDSA.toTypedDataHash(bytes32,bytes32) (#823-825) is never used and should be removed
Context._msgData() (#211-213) is never used and should be removed
SafeMath.mod(uint256,uint256) (#459-461) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#355-365) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#343-348) is never used and should be removed
ECDSA.recover(bytes32,uint8,bytes32,bytes32) (#777-786) is never used and should be removed
ECDSA.recover(bytes32,bytes32,bytes32) (#726-734) is never used and should be removed
Remove unused functions.

Additional information: link

Pesabase._sellPreviousLiquidityFee (#1132) is set pre-construction with a non-constant function or state variable:
- _sellLiquidityFee
Pesabase._buyPreviousLoyaltyFee (#1126) is set pre-construction with a non-constant function or state variable:
- _buyLoyaltyFee
Pesabase._buyPreviousLiquidityFee (#1120) is set pre-construction with a non-constant function or state variable:
- _buyLiquidityFee
Pesabase._sellPreviousLoyaltyFee (#1138) is set pre-construction with a non-constant function or state variable:
- _sellLoyaltyFee
Pesabase._buyPreviousDevelopmentFee (#1118) is set pre-construction with a non-constant function or state variable:
- _buyDevelopmentFee
Pesabase._buyPreviousMarketingFee (#1116) is set pre-construction with a non-constant function or state variable:
- _buyMarketingFee
Pesabase._sellPreviousCharityFee (#1136) is set pre-construction with a non-constant function or state variable:
- _sellCharityFee
Pesabase._sellPreviousMarketingFee (#1128) is set pre-construction with a non-constant function or state variable:
- _sellMarketingFee
Pesabase._buyPreviousDreamFee (#1122) is set pre-construction with a non-constant function or state variable:
- _buyDreamFee
Pesabase._sellPreviousDreamFee (#1134) is set pre-construction with a non-constant function or state variable:
- _sellDreamFee
Pesabase._buyPreviousCharityFee (#1124) is set pre-construction with a non-constant function or state variable:
- _buyCharityFee
Pesabase._sellPreviousDevelopmentFee (#1130) is set pre-construction with a non-constant function or state variable:
- _sellDevelopmentFee
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
solc-0.8.0 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

Low level call in Pesabase.swapBack() (#1337-1385):
- (success,None) = address(_developmentWallet).call{value: ethForDev}() (#1373)
- (success,None) = address(_dreamWallet).call{value: ethForDream}() (#1374)
- (success,None) = address(_charityWallet).call{value: ethForCharity}() (#1375)
- (success,None) = address(_loyaltyWallet).call{value: ethForLoyalty}() (#1376)
- (success,None) = address(_marketingWallet).call{value: address(this).balance}() (#1384)
Low level call in Pesabase.withdrawStuckETH() (#1662-1665):
- (success,None) = address(msg.sender).call{value: address(this).balance}() (#1664)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter Pesabase.metaApprove(bytes,address,uint256,uint256)._spender (#1859) is not in mixedCase
Struct Pesabase._DateTime (#1176-1184) is not in CapWords
Constant Pesabase._tTotal (#1114) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Pesabase._name (#1160) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Pesabase._symbol (#1161) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Router02.WETH() (#301) is not in mixedCase
Constant Pesabase._decimals (#1105) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Pesabase._maxWalletAmount (#1149) is not in mixedCase
Variable Pesabase._maxSellAmount (#1148) is not in mixedCase
Parameter Pesabase.metaApprove(bytes,address,uint256,uint256)._nonce (#1859) is not in mixedCase
Parameter Pesabase.metaApprove(bytes,address,uint256,uint256)._amount (#1859) is not in mixedCase
Variable Pesabase._maxBuyAmount (#1147) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Pesabase._tOwned (#1090) is never used in Pesabase (#1081-1872)
Pesabase.MINUTE_IN_SECONDS (#1103) is never used in Pesabase (#1081-1872)
Pesabase.HOUR_IN_SECONDS (#1102) is never used in Pesabase (#1081-1872)
Remove unused state variables.

Additional information: link

setCharityWallet(address) should be declared external:
- Pesabase.setCharityWallet(address) (#1491-1496)
setDevelopmentWallet(address) should be declared external:
- Pesabase.setDevelopmentWallet(address) (#1470-1475)
setSwapTokensAtAmount(uint256) should be declared external:
- Pesabase.setSwapTokensAtAmount(uint256) (#1457-1461)
transfer(address,uint256) should be declared external:
- Pesabase.transfer(address,uint256) (#1239-1242)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#264-266)
setMarketingWallet(address) should be declared external:
- Pesabase.setMarketingWallet(address) (#1463-1468)
setMaxWalletAmount(uint256) should be declared external:
- Pesabase.setMaxWalletAmount(uint256) (#1453-1455)
name() should be declared external:
- Pesabase.name() (#1219-1221)
transferFrom(address,address,uint256) should be declared external:
- Pesabase.transferFrom(address,address,uint256) (#1253-1257)
setMaxSellAmount(uint256) should be declared external:
- Pesabase.setMaxSellAmount(uint256) (#1448-1451)
setBlocksToBlacklist(uint256) should be declared external:
- Pesabase.setBlocksToBlacklist(uint256) (#1531-1533)
manualswap() should be declared external:
- Pesabase.manualswap() (#1652-1655)
totalSupply() should be declared external:
- Pesabase.totalSupply() (#1231-1233)
setLoyaltyWallet(address) should be declared external:
- Pesabase.setLoyaltyWallet(address) (#1498-1503)
metaApprove(bytes,address,uint256,uint256) should be declared external:
- Pesabase.metaApprove(bytes,address,uint256,uint256) (#1859-1870)
allowance(address,address) should be declared external:
- Pesabase.allowance(address,address) (#1244-1246)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#272-275)
setDreamWallet(address) should be declared external:
- Pesabase.setDreamWallet(address) (#1484-1489)
excludeFromFee(address[],bool) should be declared external:
- Pesabase.excludeFromFee(address[],bool) (#1505-1509)
manualsend() should be declared external:
- Pesabase.manualsend() (#1657-1660)
decimals() should be declared external:
- Pesabase.decimals() (#1227-1229)
grantRole(bytes32,address) should be declared external:
- AccessControl.grantRole(bytes32,address) (#986-988)
setMaxBuyAmount(uint256) should be declared external:
- Pesabase.setMaxBuyAmount(uint256) (#1443-1446)
symbol() should be declared external:
- Pesabase.symbol() (#1223-1225)
revokeRole(bytes32,address) should be declared external:
- AccessControl.revokeRole(bytes32,address) (#999-1001)
setBots(address[],bool) should be declared external:
- Pesabase.setBots(address[],bool) (#1437-1441)
setLiquidityWallet(address) should be declared external:
- Pesabase.setLiquidityWallet(address) (#1477-1482)
renounceRole(bytes32,address) should be declared external:
- AccessControl.renounceRole(bytes32,address) (#1017-1021)
approve(address,uint256) should be declared external:
- Pesabase.approve(address,uint256) (#1248-1251)
Use the external attribute for functions never called from the contract.

Additional information: link


Contract ownership is semi-renounced (passed to a contract)

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Token is deployed only at one blockchain

Contract has 6% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Unable to find token contract audit


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token has a considerable age, but social accounts / website are missing or have few users


Token has relatively low CoinGecko rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for PESA

News for PESA