Derify protocol Ⅱ

CertiKFiles named in the report

CertiK reviewed Derify protocol (Derify protocol Ⅱ) on 16 Sep 2022: 22 findings, 0 critical; 11 marked fixed, 8 acknowledged, 3 open.

No open critical findings
Open the reportOpen Derify protocol’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings22

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

SeverityOpenAcknowledgedFixed
Critical000
High080
Medium101
Low2010
MediumFinancial ModelsOpen

There is no competition between investors and liquidity providers. All the funds, profits and losses are contained in the project pool. So the development team assumes the profit and loss are flat in the position part or they have sufficient liquidity or a robust operating strategy to maintain this pool in balance. Financial models of blockchain protocols need to be resilient to attacks. They need to pass simulations and verifications to guarantee the security of the overall protocol. The financial model of this protocol is not in the scope of this audit.

LowOptimization of function `deleteOrderedLimitPositOpen

The function `deleteOrderedLimitPositions()` no longer use the index parameter to do the precise deletion (in the old version), but uses the three conditions price, timestamp, and leverage to do the match. It's a little confusing because in any case, an index is more accurate than these conditional matches. Since the prototype of conditional deletion has already been formed, we recommend that the client use conditional matching to do batch deletions.

LowThird Party Dependencies on priceFeedOpen

The contract is serving as the underlying entity to interact with third party `priceFeed` protocols. The scope of the audit treats 3rd party entities as black boxes and assume their functional correctness. However, in the real world, 3rd parties can be compromised and this 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.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (19)

  • contracts/libraries/DerifyMath.sol
  • contracts/DerifyRewards.sol
  • contracts/interfaces/IDerifyClearing.sol
  • contracts/DerifyDerivative.sol
  • contracts/DerifyClearing.sol
  • contracts/interfaces/IDerifyBroker.sol
  • contracts/tokens/eDRF.sol
  • contracts/DerifyBroker.sol
  • contracts/interfaces/IDerifyExchange.sol
  • contracts/libraries/DerifyHelper.sol
  • contracts/interfaces/IDerifyRewards.sol
  • contracts/tokens/bDRF.sol
  • contracts/interfaces/IDerifyFactory.sol
  • contracts/DerifyExchange.sol
  • contracts/interfaces/IDerifyDerivative.sol
  • contracts/DerifyFactory.sol
  • contracts/libraries/DerifyExchangeHelper.sol
  • contracts/interfaces/IDerifyERC20.sol
  • contracts/Migrations.sol

Part of Derify protocol’s security record

Derify protocol
Audits3 audits by 1 firmLast audit Dec 2023, by CertiK.
Critical findingsNo open critical findingsAcross 3 reports.
Open Derify protocol’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 reports · latest May 2025

See CertiK’s audits

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