Doge Pay Coin Token Logo

DogePay [Doge Pay Coin] Token

About DogePay

Listings

Token 2 years
white paper

World’s Best Reward Coin

DogePay gives you endless USDT. All Doge fans can invest in DogePay to automatically receive USDT in their wallets for each transaction. DogePay is an adorable conception of Father Doge, designed on the high-speed BSC blockchain to offer you passive income.

Social

Laser Scorebeta Last Audit: 18 February 2022

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

Reentrancy in MegaReward._transferFrom(address,address,uint256) (#572-613):
External calls:
- swapBack() (#582)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#647-653)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
External calls sending eth:
- swapBack() (#582)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#590)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#598)
- finalAmount = takeFee(sender,recipient,amount) (#597)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#627)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#239-250) ignores return value by RewardToken.transfer(shareholder,amount) (#245)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

Reentrancy in DividendDistributor.distributeDividend(address) (#239-250):
External calls:
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#247)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#248)
Reentrancy in DividendDistributor.process(uint256) (#210-232):
External calls:
- distributeDividend(shareholders[currentIndex]) (#224)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- currentIndex ++ (#229)
Reentrancy in DividendDistributor.setShare(address,uint256) (#173-188):
External calls:
- distributeDividend(shareholder) (#176)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shares[shareholder].amount = amount (#186)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#187)
Apply the check-effects-interactions pattern.

Additional information: link

MegaReward.swapBack() (#637-676) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#168-171) should emit an event for:
- minPeriod = newMinPeriod (#169)
- minDistribution = newMinDistribution (#170)
MegaReward.changeFees(uint256,uint256,uint256) (#532-539) should emit an event for:
- liquidityFee = newLiqFee (#533)
- rewardsFee = newRewardFee (#534)
- totalFee = liquidityFee.add(rewardsFee) (#537)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#538)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#339) lacks a zero-check on :
- owner = adr (#340)
MegaReward.changeFeeReceivers(address).newLiquidityReceiver (#541) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#542)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#239-250) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#245)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MegaReward._transferFrom(address,address,uint256) (#572-613):
External calls:
- swapBack() (#582)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#647-653)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
External calls sending eth:
- swapBack() (#582)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
State variables written after the call(s):
- launch() (#586)
- launchedAt = block.number (#498)
Reentrancy in MegaReward.constructor() (#408-433):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#411)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = 2 ** 256 - 1 (#412)
- _balances[msg.sender] = _totalSupply (#431)
- dividendDistributor = new DividendDistributor(address(router)) (#414)
- isDividendExempt[pair] = true (#422)
- isDividendExempt[msg.sender] = true (#423)
- isDividendExempt[address(this)] = true (#424)
- isDividendExempt[DEAD] = true (#425)
- isDividendExempt[ZERO] = true (#426)
- isFeeExempt[msg.sender] = true (#416)
- isFeeExempt[address(this)] = true (#417)
- isTxLimitExempt[msg.sender] = true (#419)
- isTxLimitExempt[pair] = true (#420)
- totalFee = liquidityFee.add(rewardsFee) (#428)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#429)
Reentrancy in DividendDistributor.deposit() (#190-208):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#198-203)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#207)
- totalDividends = totalDividends.add(amount) (#206)
Reentrancy in DividendDistributor.distributeDividend(address) (#239-250):
External calls:
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#246)
Reentrancy in DividendDistributor.setShare(address,uint256) (#173-188):
External calls:
- distributeDividend(shareholder) (#176)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- addShareholder(shareholder) (#180)
- shareholderIndexes[shareholder] = shareholders.length (#274)
- removeShareholder(shareholder) (#182)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#280)
- addShareholder(shareholder) (#180)
- shareholders.push(shareholder) (#275)
- removeShareholder(shareholder) (#182)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#279)
- shareholders.pop() (#281)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#185)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MegaReward._transferFrom(address,address,uint256) (#572-613):
External calls:
- swapBack() (#582)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#647-653)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
- dividendDistributor.setShare(sender,_balances[sender]) (#602)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#606)
- dividendDistributor.process(distributorGas) (#609)
External calls sending eth:
- swapBack() (#582)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#611)
Reentrancy in MegaReward._transferFrom(address,address,uint256) (#572-613):
External calls:
- swapBack() (#582)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#647-653)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
External calls sending eth:
- swapBack() (#582)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#628)
- finalAmount = takeFee(sender,recipient,amount) (#597)
Reentrancy in MegaReward.constructor() (#408-433):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#411)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#432)
Reentrancy in MegaReward.swapBack() (#637-676):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#647-653)
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#662)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#666-673)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#674)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#234-237) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#235-236)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#210-232) has costly operations inside a loop:
- currentIndex = 0 (#221)
DividendDistributor.distributeDividend(address) (#239-250) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#244)
DividendDistributor.process(uint256) (#210-232) has costly operations inside a loop:
- currentIndex ++ (#229)
MegaReward._burn(address,uint256) (#460-466) has costly operations inside a loop:
- _totalSupply = _totalSupply.sub(amount) (#464)
Use a local variable to hold the loop computation result.

Additional information: link

MegaReward._maxTxAmount (#363) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 2 / 200
MegaReward._walletMax (#364) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 3 / 100
MegaReward.swapThreshold (#400) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 4000
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 version0.8.10 (#5) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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

Function IDEXRouter.WETH() (#64) is not in mixedCase
Variable DividendDistributor._token (#120) is not in mixedCase
Variable DividendDistributor.RewardToken (#133) is not in mixedCase
Constant MegaReward._name (#352) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MegaReward._symbol (#353) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MegaReward._decimals (#354) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MegaReward.DEAD (#356) is not in mixedCase
Variable MegaReward.ZERO (#357) is not in mixedCase
Variable MegaReward.RewardToken (#360) is not in mixedCase
Variable MegaReward._totalSupply (#362) is not in mixedCase
Variable MegaReward._maxTxAmount (#363) is not in mixedCase
Variable MegaReward._walletMax (#364) is not in mixedCase
Variable MegaReward._balances (#368) is not in mixedCase
Variable MegaReward._allowances (#369) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "index (#440)" inMegaReward (#348-681)
Redundant expression "index (#470)" inMegaReward (#348-681)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#69) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#70)
Prevent variables from having similar names.

Additional information: link

MegaReward.slitherConstructorVariables() (#348-681) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#356)
MegaReward.slitherConstructorVariables() (#348-681) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#357)
MegaReward.slitherConstructorVariables() (#348-681) uses literals with too many digits:
- distributorGas = 500000 (#392)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

MegaReward.RewardToken (#360) is never used in MegaReward (#348-681)
Remove unused state variables.

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (#145) should be constant
DividendDistributor.routerAddress (#132) should be constant
MegaReward.DEAD (#356) should be constant
MegaReward.RewardToken (#360) should be constant
MegaReward.ZERO (#357) should be constant
MegaReward.burnPercentage (#378) should be constant
MegaReward.routerAddress (#359) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#311-313)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#318-320)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#339-343)
burn() should be declared external:
- MegaReward.burn() (#468-474)
getCirculatingSupply() should be declared external:
- MegaReward.getCirculatingSupply() (#476-478)
tradingStatus(bool) should be declared external:
- MegaReward.tradingStatus(bool) (#633-635)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Average 30d PancakeSwap volume 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.


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

Contract has 10% buy tax and 15% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


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


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


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

Price for DogePay

News for DogePay