DollarMoon has 1 public audit report from CertiK; dated 30 May 2023; no critical findings reported. It also holds 1 deployed contract on 1 chain.
Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Statuses are the security firms’ own
15 findings are still open or acknowledged in the firms’ reports: 4 high, 1 medium, 10 low (10 open, 5 acknowledged).
Centralization Risks in DollarMoon.sol
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
Initial Token Distribution
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
Lost Reward Of Dividend Tracker
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
No Lower limit for `maxSellTransactionAmount`
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
Potential Out-of-Gas Exception
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
`uniswapV2Router` Not Excluded After Update
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
Exclude Dead Address from Dividends
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
Missing Emit Events
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
Missing Error Messages
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
Potential Sandwich Attacks
Dollarmoon - Audit 1 · CertiK · 30 May 2023 · Report ↗
Newest first
| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| Dollarmoon - Audit 1 | Security firm: CertiK | Date: | Scope: 1 address on BNB Chain | None open | Findings: 4 high · 1 medium · 10 low 5 acknowledged · 10 open | skynet.certik.com ↗ |
Statuses are the security firm’s own, from each report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 4 | 0 |
| Medium | 0 | 1 | 0 |
| Low | 10 | 0 | 0 |
The `uniswapV2Router` is excluded from receiving dividend at contract deployment, but will start receiving dividend when `uniswapV2Router` is updated.
Open the reportThe `DEAD` address is not excluded from dividends. In this case, the burned tokens still sharing dividends, and the dividends will be left over to the `DividendTracker` contract.
Open the reportThere should always be events emitted in the sensitive functions that are controlled by centralization roles.
Open the reportThe **require** can be used to check for conditions and throw an exception if the condition is not met. It is better to provide a string message containing details about the error that will be passed back to the caller.
Open the reportA sandwich attack may happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (executing before the target) a transaction to purchase one of the assets and make profits by backrunning (executing after the target) a transaction to sell the asset. The following functions are called without setting restrictions on slippage or minimum output amount, so transactions triggering these functions are vulnerable to sandwich attacks, especially when the input amount is large: - `swapTokensForEth()` - `swapAndSendMarketingBNB()`
Open the reportState variables that never change should be declared as `constant` to save gas. ```solidity=1232 address public deadAddress = 0x000000000000000000000000000000000000dEaD; ``` - `deadAddress` should be declared `constant`.
Open the reportThe contract is serving as the underlying entity to interact with one or more third party protocols. The scope of the audit treats third party entities as black boxes and assume their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. ```solidity=1219 IUniswapV2Router02 public uniswapV2Router; ``` - The contract `DollarMoon` interacts with third party contract with `IUniswapV2Router02` interface via `uniswapV2Router`.
Open the reportThe return value of an external call is not stored in a local or state variable. ```solidity=1592 dividendTracker.processAccount(msg.sender, false); ``` --- ```solidity=1813 uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable liquidityWallet, block.timestamp ); ```
Open the reportOne or more state variables are never used in the codebase. Variable `MAX_INT256` in `SafeMathInt` is never used in `SafeMathInt`. ```solidity=408 int256 private constant MAX_INT256 = ~(int256(1) << 255); ``` ```solidity=406 library SafeMathInt { ```
Open the reportThe linked functions are equivalent to the compiler-generated getter functions for the respective variables.
Open the report| Address | Chain | Source code |
|---|---|---|
| 0x7d18…2cc40x7d18f3fe6e638fad0adacc5db1a47f871a2c2cc4 | Chain: BNB Chain | Source code: Verified source |
Trustblock holds 1 public audit report for DollarMoon, dated 30 May 2023. The latest is by CertiK (“Dollarmoon - Audit 1”).
CertiK wrote the report Trustblock holds for DollarMoon.
15 findings are still open or acknowledged in the firms’ reports: 4 high, 1 medium, 10 low (10 open, 5 acknowledged). No critical finding is reported. Statuses are the security firms’ own.
Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.
Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.
<head><script src="https://widget.trustblock.run/project-widget.min.js" defer></script></head><body><divdata-tb-project-widgetdata-tb-project-slug="dollarmoon"></div></body>
Paste the code where the label should appear. It uses no API credit and updates by itself.
Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us