Simplileap logo

// Case study

ERC-20 governance token, audit prep and test coverage uplift

Third-party audit found four medium issues pre-mainnet, Ownable misuse, snapshot gaps, and unchecked mint caps fixed before launch.

DAO infrastructureSmart contract audit prep6 weeksBangalore delivery

A DAO tooling startup prepared an ERC-20 with on-chain voting hooks for mainnet. Internal tests covered ~70% of lines but lacked formal audit trail, threat modeling, and gas profiling on delegation paths.

Zero critical

External audit result

One low informational post-fix

4 medium

Pre-audit issues caught

Mint cap, snapshot, timelock gaps

$12M

Launch FDV

No post-deploy incidents in 90 days

70% → comprehensive

Test coverage uplift

Hardhat suite expansion

Delivered by Keshav Sharma · Published March 8, 2025 · 9 min read

Client context

A DAO tooling startup prepared an ERC-20 with on-chain voting hooks for mainnet. Internal team had 70% test line coverage but no formal audit trail.

Our approach

Simplileap engagement: threat model workshop; Slither + Mythril runs; Hardhat test suite expansion; gas profiling on vote delegation paths; audit documentation pack for external firm.

Delivery notes

Issues caught pre-audit: mint function missing cap check in one inheritance branch; snapshot not updating on transfer in edge case; central admin could pause transfers without timelock, replaced with OpenZeppelin TimelockController pattern.

External audit (partner firm) returned zero critical, one low informational post-fix.

The challenge

Problems: tokenomics required retroactive allocation script, audited separate Merkle distributor contract; deploy script used wrong chain ID in test, CI guard added.

Results & impact

Outcome: mainnet deploy on schedule; $12M FDV launch with no post-deploy contract incidents in first 90 days. Project anonymized, DAO infrastructure.

← Back to case studies

// Verified entity

Simplileap Digital LLP

// Recognition

Featured in QuickNode Feature Fridays

CIN

AAU-8582

Startup India

DIPP83124

Founded

November 2020

Office

Residency Rd, Bengaluru, India

Ready to scope your next initiative?

Share your goals with our Bangalore team. We respond within one business day with a clear path from discovery to delivery.