Audit Quotations
@Tane @Kaf_Anode @SEEDGov @Curia @Axia @ChronoTrigger
First, regarding the possibility of obtaining audit funding through Optimism:
Although the Optimism audit grant application page is still marked as “Open”, multiple audit firms participating in the program have confirmed that the current funding round has already ended. At this time, there is no announced schedule for when the next round of audit grants will become available.
For other audit companies that advertise audit funding opportunities, these appear to function primarily as marketing channels rather than confirmed grant programs, so they should only be considered as reference.
Below are the quotations received from multiple audit firms.
1. Audit Firm: Guardian
Quotation document: https://cdn.swaptox.com/audit-quoter/guardian.pdf
Price: $3,500
Audit duration: 1 day
Scope: SwapToXRouter.sol (407 LOC)
Highlights:
-
Includes a $100,000 public bug bounty campaign.
-
SwaptoX would have the opportunity to participate in this public security bounty program.
2. Audit Firm: PashovAuditGroup
Minimum budget accepted: $10,000
PashovAuditGroup customizes both the audit scope and audit depth according to the available budget. A detailed proposal can only be provided after the audit budget has been determined.
3. Audit Firm: Omniscia (omniscia.io)
Quotation document: https://cdn.swaptox.com/audit-quoter/omniscia.pdf
Price: $2,275
Audit duration: 1.5 engineer-days
Scope: SwapToXRouter.sol (407 LOC)
Highlights:
- Lowest quotation received.
4. Audit Firm: FailSafe
Scope: SwapToXRouter.sol (407 LOC)
Description:
Estimated effort: 3 days, with 2 reviewers, billed at $2.4k/day = $7.2k total. We can apply a 20% FailSafe Grant, bringing the final audit fee to $5.76k.
Scope:
SwaptoXRouter.sol (407 LOC)
NSLOC: 407
Number of LSRs: 2
Start Date: 28th May
Duration: 3 Days
Cost: $10,000
Partial audit requested - we have to pass on this option it doesn’t appear safe since those functions call other functions which modify internal state etc, it becomes a mess and risky to figure out exactly what to audit and what not to audit
6. Audit Firm: MixBytes
Quotation document: https://cdn.swaptox.com/audit-quoter/MixBytes.pdf
Scope: SwapToXRouter.sol (407 LOC)
Price: $12,000
Audit duration: 3 days
Highlights:
-
Performs an additional verification after mainnet deployment to ensure the deployed bytecode exactly matches the audited source code.
-
MixBytes has extensive experience auditing both DEX aggregators and liquidity protocols.
Example audit experience includes:
7. Audit Firm: Zellic
Quotation document: https://cdn.swaptox.com/audit-quoter/Zellic.pdf
Audit effort: Two security engineers for half a calendar week (0.7 engineer-weeks total)
Scope: SwaptoXRouter.sol (407 LOC)
Price: $14,000
8. Audit Firm: Hacken
Quotation document: https://cdn.swaptox.com/audit-quoter/Hacken.pdf
Audit duration: Four working days with two full-time Senior Auditors.
Audit fee: $18,250 (fixed price)
Scope: SwaptoXRouter.sol + SwaptoXTimelock.sol (1,080 LOC total)
Security Badge:
After the audit is completed, the project may display the “Audited by Hacken” badge on CoinGecko and CoinMarketCap, together with the published audit report.
Marketing Support:
Includes complimentary promotional support across Hacken’s social media network (300k+ followers), AMA sessions, case studies, and additional marketing exposure.
Notes:
Hacken considers SwaptoXRouter.sol and SwaptoXTimelock.sol to be tightly coupled.
They declined to audit only the Router contract, stating that both contracts must be audited together to provide sufficient security assurance.
Based on further discussions, an estimated 20% discount may be available (USD 3,650), reducing the total cost to approximately $14,600.
Hacken is also a well-established audit firm with significant experience auditing aggregators and liquidity protocols.
Audit duration: 2 days
Scope: SwaptoXRouter.sol (407 LOC)
Price: $7,000
10. Audit Firm: OpenZeppelin
A. Full audit — entire SwaptoXRouter.sol (ERC20Helper lib + OwnerContract + InviterContract + SwaptoXRouter + interfaces)
• Audit duration: 4 days
• Fix review: 1 day
• Effective nLOC: 403
Cost: $24,000
B. Limited scope — swap + native2Wrapped + wrapped2native + transitive deps
• Audit duration: 2 days
• Fix review: 1 day
• Effective nLOC: ~250 (incl. _swap, safetyTransferIn, ETH2token/token2ETH/token2token, nonReentrant/ensure modifiers, bindInviter, ERC20Helper.permit)
Cost: $14,400
Audit duration: 0.5 week
Scope: SwaptoXRouter.sol (407 LOC)
Price: $15,000
Summary
All audit quotations requested were limited to SwaptoXRouter.sol and did not include SwaptoXTimelock.sol.
Among all audit firms contacted, only Hacken required SwaptoXTimelock.sol to be included within the audit scope.
The original reason for requesting quotations only for the Router contract was to control audit costs. In addition, I believe that ensuring the security of the user-facing functions (swap, native2Wrapped, and wrapped2native) is sufficient to protect user funds. Even if an issue were discovered in SwaptoXTimelock, it would not directly place users’ assets at immediate risk.
If SwaptoXTimelock is later included within the audit scope, a completely new quotation will be required.
Since audit funding still needs to be discussed separately and submitted through an independent funding request, I am currently unable to commit to any specific audit provider.
Once an audit budget has been determined, I will be able to communicate much more efficiently with the audit firms and provide a final recommendation based on both security coverage and cost effectiveness.
Regarding the SwaptoXEntered contract:
Although this contract is ultimately responsible for interacting with liquidity protocols and transferring user assets, I do not believe it requires an independent audit.
Auditing SwaptoXRouter is sufficient to guarantee the security model protecting users, while SwaptoXEntered itself is intentionally designed to be replaceable. As new liquidity protocols are integrated, this contract may need to be modified and redeployed without affecting the Router.
Furthermore, user funds are ultimately handled not only by SwaptoXEntered, but also by external liquidity protocols. It is impossible to guarantee that every third-party liquidity protocol has been audited or is completely risk-free. Nevertheless, the aggregator can safely route through them because SwaptoXRouter ultimately enforces the user’s AmountMinOut protection.
For this reason, the security boundary should focus primarily on the Router contract rather than requiring every execution contract or external liquidity protocol to be audited.
I will respond to the remaining questions as soon as possible.