Pyraveum is a layer 1 blockchain project, which uses consensus PoAS(Proof Of Authority and Stake) combining 2 consensus into one and streamlines use
Reentrancy in PYRAVEUM._transfer(address,address,uint256) (#652-690):
External calls:
- swapAndLiquify(contractTokenBalance) (#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#674)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#677)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#685)
- finalAmount = takeFee(sender,recipient,amount) (#679-680)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#770)
Apply the check-effects-interactions pattern.
Additional information: link
PYRAVEUM.addLiquidity(uint256,uint256) (#743-756) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
PYRAVEUM.setBuyTaxes(uint256,uint256,uint256) (#550-556) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#555)
PYRAVEUM.setSelTaxes(uint256,uint256,uint256) (#558-564) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#563)
PYRAVEUM.setDistributionSettings(uint256,uint256,uint256) (#566-572) should emit an event for:
- _liquidityShare = newLiquidityShare (#567)
- _teamShare = newTeamShare (#569)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#571)
PYRAVEUM.setMaxTxAmount(uint256) (#574-576) should emit an event for:
- _maxTxAmount = maxTxAmount (#575)
PYRAVEUM.setWalletLimit(uint256) (#586-588) should emit an event for:
- _walletMax = newLimit (#587)
PYRAVEUM.setNumTokensBeforeSwap(uint256) (#590-592) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#591)
Emit an event for critical parameter changes.
Additional information: link
PYRAVEUM.setMarketingWalletAddress(address).newAddress (#594) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#595)
PYRAVEUM.setTeamWalletAddress(address).newAddress (#598) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#599)
Check that the address is not zero.
Additional information: link
Reentrancy in PYRAVEUM.changeRouterVersion(address) (#619-636):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#627-628)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#635)
- isWalletLimitExempt[address(uniswapPair)] = true (#634)
- uniswapPair = newPairAddress (#631)
- uniswapV2Router = _uniswapV2Router (#632)
Reentrancy in PYRAVEUM.constructor() (#456-485):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#461-462)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#465)
- _balances[_msgSender()] = _totalSupply (#483)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#472)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#470)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#471)
- isExcludedFromFee[owner()] = true (#467)
- isExcludedFromFee[address(this)] = true (#468)
- isMarketPair[address(uniswapPair)] = true (#481)
- isTxLimitExempt[owner()] = true (#478)
- isTxLimitExempt[address(this)] = true (#479)
- isWalletLimitExempt[owner()] = true (#474)
- isWalletLimitExempt[address(uniswapPair)] = true (#475)
- isWalletLimitExempt[address(this)] = true (#476)
- uniswapV2Router = _uniswapV2Router (#464)
Reentrancy in PYRAVEUM.swapAndLiquify(uint256) (#699-721):
External calls:
- swapTokensForEth(tokensForSwap) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#714)
- recipient.transfer(amount) (#616)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#717)
- recipient.transfer(amount) (#616)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- _allowances[owner][spender] = amount (#534)
Reentrancy in PYRAVEUM.transferFrom(address,address,uint256) (#646-650):
External calls:
- _transfer(sender,recipient,amount) (#647)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
External calls sending eth:
- _transfer(sender,recipient,amount) (#647)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#648)
- _allowances[owner][spender] = amount (#534)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PYRAVEUM._transfer(address,address,uint256) (#652-690):
External calls:
- swapAndLiquify(contractTokenBalance) (#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#674)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#771)
- finalAmount = takeFee(sender,recipient,amount) (#679-680)
- Transfer(sender,recipient,finalAmount) (#687)
Reentrancy in PYRAVEUM.constructor() (#456-485):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#461-462)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#484)
Reentrancy in PYRAVEUM.swapAndLiquify(uint256) (#699-721):
External calls:
- swapTokensForEth(tokensForSwap) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#714)
- recipient.transfer(amount) (#616)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#717)
- recipient.transfer(amount) (#616)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#535)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
Reentrancy in PYRAVEUM.swapTokensForEth(uint256) (#723-741):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#740)
Reentrancy in PYRAVEUM.transferFrom(address,address,uint256) (#646-650):
External calls:
- _transfer(sender,recipient,amount) (#647)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#732-738)
External calls sending eth:
- _transfer(sender,recipient,amount) (#647)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#535)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#648)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#88-97) uses assembly
- INLINE ASM (#95)
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) uses assembly
- INLINE ASM (#133-136)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) is never used and should be removed
Address.functionCall(address,bytes) (#107-109) is never used and should be removed
Address.functionCall(address,bytes,string) (#111-113) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#115-117) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#119-122) is never used and should be removed
Address.isContract(address) (#88-97) is never used and should be removed
Address.sendValue(address,uint256) (#99-105) is never used and should be removed
Context._msgData() (#15-18) is never used and should be removed
SafeMath.mod(uint256,uint256) (#76-78) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#80-83) is never used and should be removed
Remove unused functions.
Additional information: link
PYRAVEUM._totalSupply (#420) is set pre-construction with a non-constant function or state variable:
- 120000000 * 10 ** _decimals
PYRAVEUM._maxTxAmount (#421) is set pre-construction with a non-constant function or state variable:
- 1200000 * 10 ** _decimals
PYRAVEUM._walletMax (#422) is set pre-construction with a non-constant function or state variable:
- 1200000 * 10 ** _decimals
PYRAVEUM.minimumTokensBeforeSwap (#423) is set pre-construction with a non-constant function or state variable:
- 100 * 10 ** _decimals
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
Low level call in Address.sendValue(address,uint256) (#99-105):
- (success) = recipient.call{value: amount}() (#103)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#124-141):
- (success,returndata) = target.call{value: weiValue}(data) (#127)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#214) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#215) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#231) is not in mixedCase
Function IUniswapV2Router01.WETH() (#250) is not in mixedCase
Parameter PYRAVEUM.setSwapAndLiquifyEnabled(bool)._enabled (#602) is not in mixedCase
Variable PYRAVEUM._balances (#396) is not in mixedCase
Variable PYRAVEUM._buyLiquidityFee (#404) is not in mixedCase
Variable PYRAVEUM._buyMarketingFee (#405) is not in mixedCase
Variable PYRAVEUM._buyTeamFee (#406) is not in mixedCase
Variable PYRAVEUM._sellLiquidityFee (#408) is not in mixedCase
Variable PYRAVEUM._sellMarketingFee (#409) is not in mixedCase
Variable PYRAVEUM._sellTeamFee (#410) is not in mixedCase
Variable PYRAVEUM._liquidityShare (#412) is not in mixedCase
Variable PYRAVEUM._marketingShare (#413) is not in mixedCase
Variable PYRAVEUM._teamShare (#414) is not in mixedCase
Variable PYRAVEUM._totalTaxIfBuying (#416) is not in mixedCase
Variable PYRAVEUM._totalTaxIfSelling (#417) is not in mixedCase
Variable PYRAVEUM._totalDistributionShares (#418) is not in mixedCase
Variable PYRAVEUM._maxTxAmount (#421) is not in mixedCase
Variable PYRAVEUM._walletMax (#422) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#16)" inContext (#9-19)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in PYRAVEUM._transfer(address,address,uint256) (#652-690):
External calls:
- swapAndLiquify(contractTokenBalance) (#674)
- recipient.transfer(amount) (#616)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#674)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#677)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#685)
- finalAmount = takeFee(sender,recipient,amount) (#679-680)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#770)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#771)
- finalAmount = takeFee(sender,recipient,amount) (#679-680)
- Transfer(sender,recipient,finalAmount) (#687)
Reentrancy in PYRAVEUM.swapAndLiquify(uint256) (#699-721):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#714)
- recipient.transfer(amount) (#616)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#717)
- recipient.transfer(amount) (#616)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#714)
- recipient.transfer(amount) (#616)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#717)
- recipient.transfer(amount) (#616)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
- _allowances[owner][spender] = amount (#534)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#535)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#720)
Reentrancy in PYRAVEUM.transferFrom(address,address,uint256) (#646-650):
External calls:
- _transfer(sender,recipient,amount) (#647)
- recipient.transfer(amount) (#616)
External calls sending eth:
- _transfer(sender,recipient,amount) (#647)
- recipient.transfer(amount) (#616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#648)
- _allowances[owner][spender] = amount (#534)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#535)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#648)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#255) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#256)
Prevent variables from having similar names.
Additional information: link
Ownable.waiveOwnership() (#166-169) uses literals with too many digits:
- OwnershipTransferred(_owner,address(0x000000000000000000000000000000000000dEaD)) (#167)
PYRAVEUM.slitherConstructorVariables() (#383-778) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#394)
PYRAVEUM.slitherConstructorVariables() (#383-778) uses literals with too many digits:
- _totalSupply = 120000000 * 10 ** _decimals (#420)
PYRAVEUM.slitherConstructorVariables() (#383-778) uses literals with too many digits:
- _maxTxAmount = 1200000 * 10 ** _decimals (#421)
PYRAVEUM.slitherConstructorVariables() (#383-778) uses literals with too many digits:
- _walletMax = 1200000 * 10 ** _decimals (#422)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable.asdasd (#146) is never used in PYRAVEUM (#383-778)
Ownable._lockTime (#147) is never used in PYRAVEUM (#383-778)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#147) should be constant
Ownable.asdasd (#146) should be constant
PYRAVEUM._decimals (#390) should be constant
PYRAVEUM._name (#388) should be constant
PYRAVEUM._symbol (#389) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#166-169)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-175)
getTime() should be declared external:
- Ownable.getTime() (#177-179)
name() should be declared external:
- PYRAVEUM.name() (#487-489)
symbol() should be declared external:
- PYRAVEUM.symbol() (#491-493)
decimals() should be declared external:
- PYRAVEUM.decimals() (#495-497)
totalSupply() should be declared external:
- PYRAVEUM.totalSupply() (#499-501)
allowance(address,address) should be declared external:
- PYRAVEUM.allowance(address,address) (#507-509)
increaseAllowance(address,uint256) should be declared external:
- PYRAVEUM.increaseAllowance(address,uint256) (#511-514)
decreaseAllowance(address,uint256) should be declared external:
- PYRAVEUM.decreaseAllowance(address,uint256) (#516-519)
minimumTokensBeforeSwapAmount() should be declared external:
- PYRAVEUM.minimumTokensBeforeSwapAmount() (#521-523)
approve(address,uint256) should be declared external:
- PYRAVEUM.approve(address,uint256) (#525-528)
setMarketPairStatus(address,bool) should be declared external:
- PYRAVEUM.setMarketPairStatus(address,bool) (#538-540)
setIsExcludedFromFee(address,bool) should be declared external:
- PYRAVEUM.setIsExcludedFromFee(address,bool) (#546-548)
setSwapAndLiquifyEnabled(bool) should be declared external:
- PYRAVEUM.setSwapAndLiquifyEnabled(bool) (#602-605)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- PYRAVEUM.setSwapAndLiquifyByLimitOnly(bool) (#607-609)
getCirculatingSupply() should be declared external:
- PYRAVEUM.getCirculatingSupply() (#611-613)
changeRouterVersion(address) should be declared external:
- PYRAVEUM.changeRouterVersion(address) (#619-636)
transfer(address,uint256) should be declared external:
- PYRAVEUM.transfer(address,uint256) (#641-644)
transferFrom(address,address,uint256) should be declared external:
- PYRAVEUM.transferFrom(address,address,uint256) (#646-650)
Use the external attribute for functions never called from the contract.
Additional information: link
PYRAVEUM.addLiquidity(uint256,uint256) (#743-756) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Ensure that all the return values of the function calls are used.
Additional information: link
PYRAVEUM.allowance(address,address).owner (#507) shadows:
- Ownable.owner() (#157-159) (function)
PYRAVEUM._approve(address,address,uint256).owner (#530) shadows:
- Ownable.owner() (#157-159) (function)
Rename the local variables that shadow another component.
Additional information: link
Contract has 10% buy tax and 13% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Twitter 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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts