Dfyn | Smart Contract Audit Report | 2021 | QuillAudits

QuillHash Team
2 min readJun 12, 2021

QuillAudits has officially announced the successful completion of the smart contract security audit for Dfyn Smart contract. A meticulous and professional security audit was conducted, which checked & ensured the following imperative points:

— The overall quality of code.
— Use of best practices.
— Code documentation and comments match logic and expected behavior.
— Token distribution and calculations are as per the intended behave mentioned in the whitepaper.
— Efficient use of gas.
— Code is safe from re-entrancy and other vulnerabilities.

The audit rigorously checked for any signs of vulnerabilities like Re-entrancy, Timestamp Dependence, Gas Limit, and Loops, DoS with Block Gas Limit, Unchecked external call, Unchecked math, Unsafe type inference, etc., as the contract went through Structural, Static and Dynamic analysis as well as methodical Code Review.

About Dfyn

Dfyn is building a network of DEXes across multiple Layer 1 and Layer 2 blockchains. This will allow Dfyn to plug into multiple liquidity sources across chains, including the cross-chain liquidity ecosystem being developed by Router Protocol.

The deployed contracts can be found at:

Contract files:

https://github.com/dfyn/dual-farm/blob/main/contracts/StakingRewardsFactory.sol https://github.com/dfyn/dual-farm/blob/main/contracts/StakingRewards.sol

Contract commit hash:

https://github.com/dfyn/dual-farm/commit/f44a4dcbeb41f38a9c02cb877a8c95b92685f972

Audit Report Summary

The use of smart contracts is simple and the code is relatively small. Altogether the code is written and demonstrates effective use of abstraction, separation of concern, and modularity. But there are a few issues/vulnerabilities to be tackled at various security levels, it is recommended to fix them before deploying the contract on the main network. Given the subjective nature of some assessments, it will be up to the Product Owner to decide whether any changes should be made.

The entire audit report with in-depth details about the contract code and its vulnerabilities can be found here — https://github.com/Quillhash/Audit_Reports/blob/master/Dfyn%20Smart%20Contract%20Audit%20Report%20-%20QuillAudits.pdf

About QuillAudits

QuillAudits is a secure smart contract audits platform designed by QuillHash Technologies. It is an auditing platform that rigorously analyzes and verifies smart contracts to check for security vulnerabilities through effective manual review with static and dynamic analysis tools, gas analyzers, and simulators. Moreover, the audit process also includes extensive unit testing as well as structural analysis. We conduct both smart contract audits and penetration tests to find potential security vulnerabilities which might harm the platform’s integrity.

For further discussion and queries on the same topic, join the discussion on the Telegram group of QuillHash at — https://t.me/quillhash](https://t.me/quillhash

--

--