HedgePay audit reports

HedgePay has 1 public audit report from CertiK; dated 27 Oct 2022; no critical findings reported. It also holds 1 deployed contract on 1 chain.

Critical and high findings
No open critical findings; 2 high acknowledged in the firms’ reports
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
HedgePaySecurity firm: CertiKDate: Scope: Files listedNone openFindings: 2 high · 10 low
2 acknowledged · 10 open
skynet.certik.com ↗

Open findings across every firm12

Statuses are the security firms’ own

12 findings are still open or acknowledged in the firms’ reports: 2 high, 10 low (10 open, 2 acknowledged).

High
2
Low
10
  • High Acknowledged

    Centralization Related Risks

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • High Acknowledged

    Initial Token Distribution

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • Low Open

    Fee Will be Deducted When Transferring

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • Low Open

    Lack of Specified Fee Range Restriction

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • Low Open

    Missing Decimals For Default Value

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • Low Open

    Missing Emit Events

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • Low Open

    Missing Input Validation

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • Low Open

    Missing Input Validation

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • Low Open

    Third Party Dependencies

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

  • Low Open

    Total Supply May Exceeds `MAX_SUPPLY`

    HedgePay · CertiK · 27 Oct 2022 · Report ↗

All 12 open and acknowledged findings

Findings12

Statuses are the security firm’s own, from each report.

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium000
Low1000
LowFee Will be Deducted When TransferringHedgePay · CertiK · 27 Oct 2022Open

According to the logic of the function `calculateFee()`, if the `_transfer` happened during the selling process, `sellFee` will be deducted. However, it is a little strange that during not only the buying process but also the wallet transfer process, `buyFee` will be deducted too. Is this your design?

Open the report
LowLack of Specified Fee Range RestrictionHedgePay · CertiK · 27 Oct 2022Open

In extreme case, related fees could be very large amount of value, which might cause unexpected loss to the project and users.

Open the report
LowMissing Decimals For Default ValueHedgePay · CertiK · 27 Oct 2022Open

The state variable `feeDistributionMinAmount` is used to compare with the return value of `balanceOf()` function. The decimals of return value of `balanceOf()` function is 18. However, the default value of the state variable `feeDistributionMinAmount` seems too small. This means that the amount of current token contract can be greater than it easily. This causes the distribute fee to be called frequently.

Open the report
LowMissing Emit EventsHedgePay · CertiK · 27 Oct 2022Open

The function that affects the status of sensitive variables should be able to emit events.

Open the report
LowMissing Input ValidationHedgePay · CertiK · 27 Oct 2022Open

1. The input value `from/to` are missing the check for the non-zero address. 2. The input value `amount` is missing the check for the non-zero value.

Open the report
LowMissing Input ValidationHedgePay · CertiK · 27 Oct 2022Open

The given input is missing the check for the non-zero address.

Open the report
LowThird Party DependenciesHedgePay · CertiK · 27 Oct 2022Open

The contract serves as the underlying entity to interact with third parties `feeManager` and `rewardsManager` protocols. The audit scope treats 3rd party entities as black boxes and assumes their functional correctness. However, in the real world, 3rd parties can be compromised, which may lead to lost or stolen assets. In addition, upgrades of 3rd parties can possibly create severe impacts, such as increasing fees of 3rd parties, migrating to new LP pools, etc.

Open the report
LowTotal Supply May Exceeds `MAX_SUPPLY`HedgePay · CertiK · 27 Oct 2022Open

Since `HedgePay` token can be burned, `totalSupply()` may be decreased sometimes and hence that the amount left to be minted may become larger and larger based on the require condition in #L117. This means that `MINTER_ROLE` can mint more tokens than `MAX_SUPPLY`. ```solidity=116 function _mint(address account, uint256 amount) internal override { require(totalSupply() + amount <= MAX_SUPPLY, "cap exceeded"); uint256 oldBalance = balanceOf(account); super._mint(account, amount); if (address(rewardsManager) != address(0)) { rewardsManager.notifyBalanceUpdate(account, oldBalance); } } ```

Open the report
LowTypo In CommentHedgePay · CertiK · 27 Oct 2022Open

The comment at #L34 contains a typo, namely `grather`. The comment at #L50 contains a typo, namely `esential`. The comment at #L160 contains a typo, namely `allready`.

Open the report
LowUnused EventHedgePay · CertiK · 27 Oct 2022Open

Event `Log()/LogBytes()` are declared but never used.

Open the report

Contracts1

AddressChainSource code
0xc75aa1fa199eac5adabc832ea4522cff6dfd521aChain: BNB ChainSource code: Verified source

All 1 address and the files the reports name

HedgePay: questions

Is HedgePay audited?

Trustblock holds 1 public audit report for HedgePay, dated 27 Oct 2022. The latest is by CertiK (“HedgePay”).

Who audited HedgePay?

CertiK wrote the report Trustblock holds for HedgePay.

Are there open findings in HedgePay’s audits?

12 findings are still open or acknowledged in the firms’ reports: 2 high, 10 low (10 open, 2 acknowledged). No critical finding is reported. Statuses are the security firms’ own.

Show this on your site

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.

Content

Facts

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.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="hedgepay"
></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