For AI agents: the documentation index is at /llms.txt. Markdown versions of pages are available by appending .md to the URL.
Skip to main content
Case Studies

How Revert Finance Fixed 2 Years of Unsynced PancakeSwap V3 Data with Envio

Author:Jordyn LaurierJordyn Laurier··8 min read
How Revert Finance Fixed 2 Years of Unsynced PancakeSwap V3 Data with Envio
TL;DR
  • Revert Finance's PancakeSwap V3 subgraph on The Graph had been stuck at 70% sync on BNB Smart Chain for over 2 years.
  • Envio HyperIndex synced 1,711,569,200 events to 100% in 10 days, solving a problem that had gone unresolved for over 2 years.
  • HyperSync eliminates the RPC bottleneck that causes other indexing frameworks to stall on high-throughput chains, like BNB Smart Chain, while HyperIndex's batch processing and caching ensure the indexer keeps up with the throughput.

Revert Finance builds analytics and management tools for AMM liquidity providers across protocols including PancakeSwap, Uniswap, and others. Accurate, real-time onchain data is the foundation of everything they build.

They run several indexers using Envio, spanning multiple chains and contracts. This case study covers one of them: a PancakeSwap V3 indexer on BNB Smart Chain. Their previous subgraph had been stuck at 70% sync for over 2 years, unable to reach the chain's head.

PancakeSwap V3 subgraph on The Graph stuck at 70% sync on BNB Smart Chain

The subgraph instance can be viewed here: https://thegraph.com/explorer/subgraphs/Hv1GncLY5docZoGtXjo4kwbTvxm3MAhVZqBZE4sUT9eZ?view=Query&chain=bsc

Envio built a HyperIndex indexer for PancakeSwap V3 on BNB Smart Chain. It synced 1,711,569,200 events to 100% in 10 days.

The Problem Revert Finance Needed to Solve

Revert Finance requires real-time PancakeSwap V3 position and liquidity data to power its analytics and tooling for liquidity providers. A public subgraph on The Graph's decentralized network had been stuck at 70% sync on BNB Smart Chain for over 2 years, unable to reach chain head.

BNB Smart Chain's high throughput has presented well-documented challenges for RPC-based indexing, with teams reporting sync issues going back to 2021. The volume of events per block outpaces what standard indexing infrastructure can sustain, causing subgraphs to fall progressively further behind until they stall entirely.

A subgraph stuck at 70% sync for over 2 years is effectively unusable.

The Solution: Envio HyperIndex on BNB Smart Chain

Envio HyperIndex is a real-time multichain blockchain indexing framework for any EVM chain. Developers write event handlers in TypeScript and deploy a single indexer covering multiple contracts and chains simultaneously. It uses HyperSync, Envio's proprietary data engine, which serves filtered event data in bulk directly from a purpose-built data lake, replacing having to poll RPC endpoints block by block. This removes the RPC bottleneck entirely, which is precisely what causes subgraph stalls on BNB Smart Chain.

HyperIndex is independently benchmarked as the fastest blockchain indexer available. In the Uniswap V2 Factory benchmark run by Sentio in May 2025, HyperIndex synced in 8 seconds, 142x faster than The Graph and 15x faster than the nearest competitor. BNB Smart Chain is one of 85+ EVM chains with native HyperSync coverage.

For a full benchmark breakdown see the complete blockchain indexer comparison.

Envio built a HyperIndex indexer covering PancakeSwap V3 on BNB Smart Chain, tracking Factory, Pool, and NFPM (Non-Fungible Position Manager) contracts from block 26,956,207.

Contracts Indexed

The indexer covers the full PancakeSwap V3 contract surface on BNB Smart Chain:

  • Factory (0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865): Pool creation and registry
  • Pool (dynamic): All Pool events across all dynamically registered pool instances
  • NFPM (0x46a15b0b27311cedf172ab29e4f4766fbe7f4364): NFT position management events

Dynamic contract registration handles the Pool contracts. As new PancakeSwap V3 pools are created onchain by the Factory, the indexer registers them automatically without requiring a redeployment.

Envio Cloud GraphQL playground showing a Position query and JSON response for the revert-indexer-2 deployment

The Results

MetricResult
ChainBNB Smart Chain (chain ID 56)
Events processed1,711,569,200
Historical sync time10 days
Final sync status100% at block 88,286,723
Start block26,956,207

Over 1.7 billion events, fully synced, on a chain where the equivalent subgraph had been stuck for over 2 years. The indexer is hosted on Envio Cloud, Envio's managed hosting platform.

Revert Finance PancakeSwap V3 indexer synced to 100% on BNB Smart Chain in 10 days

"We had a problem with our PancakeSwap V3 data on BNB for over two years. The subgraph just would not catch up, and we'd basically given up on it. Envio synced it in 10 days. Great team, great dev experience!"

Mario Romero, Founder at Revert Finance

Envio vs The Graph on BNB Smart Chain

The Graph (subgraph)Envio HyperIndex
BNB Smart Chain sync statusStuck, unable to reach chain head for 2+ years100% synced in 10 days
LanguageAssemblyScriptTypeScript
Real-time data availabilityNoYes

Why High-Throughput Chains Need HyperSync

BNB Smart Chain is not an edge case. Any high-throughput EVM chain, whether BNB Smart Chain, Polygon, or a high-activity L2, generates event volumes that stress RPC-based indexing. The pattern is the same: subgraph starts syncing, falls progressively further behind, eventually stalls.

HyperSync eliminates this failure mode by removing RPC polling from the historical sync path entirely. Event data is retrieved in bulk from Envio's data lake, meaning sync speed scales with data volume rather than being bottlenecked by RPC rate limits and polling intervals.

For protocols like Revert Finance that require accurate, real-time onchain data to power liquidity analytics, this is the difference between functional infrastructure and a permanently stale data source.

Get Started

Frequently Asked Questions

What is Revert Finance?

Revert Finance builds analytics and management tools for liquidity providers in AMM protocols. Its tooling covers position analytics, auto-compounding, and liquidity management across protocols including PancakeSwap, Uniswap, and others.

What is PancakeSwap V3?

PancakeSwap V3 is the concentrated liquidity version of PancakeSwap, the largest decentralized exchange on BNB Smart Chain. V3 introduces capital-efficient liquidity positions represented as NFTs, managed via the Non-Fungible Position Manager contract.

Why was Revert Finance's PancakeSwap V3 subgraph stuck for 2 years?

A public PancakeSwap V3 subgraph on The Graph's decentralized network had been stuck at 70% sync on BNB Smart Chain for over 2 years, unable to reach chain head. BNB Smart Chain's high throughput generates more events per block than standard RPC-based indexing can sustain, so subgraphs fall progressively further behind until they stall entirely. Teams have reported similar BNB sync issues going back to 2021.

How does HyperSync solve the BNB Smart Chain sync problem?

HyperSync removes RPC polling from the historical sync path. Instead of fetching block by block through standard RPC, Envio retrieves event data in bulk from a purpose-built data lake, so sync speed scales with data volume rather than being bottlenecked by RPC rate limits and polling intervals. BNB Smart Chain is one of 85+ EVM chains with native HyperSync coverage.

Which PancakeSwap V3 contracts does the Revert indexer cover?

The indexer covers the full PancakeSwap V3 contract surface on BNB Smart Chain: Factory (0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865) for Pool creation and registry, Pool contracts (dynamically registered as new pools are created by the Factory), and NFPM (0x46a15b0b27311cedf172ab29e4f4766fbe7f4364) for NFT position management events.

Does the Revert indexer use dynamic contract registration?

Yes. Dynamic contract registration handles the Pool contracts. As new PancakeSwap V3 pools are created onchain by the Factory, the indexer registers them automatically without requiring a redeployment.

How many events did the new HyperIndex indexer process?

The HyperIndex indexer for PancakeSwap V3 on BNB Smart Chain processed 1,711,569,200 events to 100% sync in 10 days. It started from block 26,956,207 and reached chain head at block 88,286,723.

Why did Revert Finance switch from The Graph to Envio HyperIndex?

Revert's PancakeSwap V3 subgraph on The Graph had been stuck at 70% sync for over 2 years on BNB Smart Chain. As founder Mario Romero put it: "We had a problem with our PancakeSwap V3 data on BNB for over two years. The subgraph just would not catch up, and we'd basically given up on it. Envio synced it in 10 days. Great team, great dev experience!" HyperIndex completed the historical sync in 10 days and now serves real-time data.

What is Envio Cloud?

Envio Cloud is Envio's managed hosting platform for HyperIndex indexers. It handles infrastructure, scaling, and monitoring so teams can run production-ready indexers without managing operational overhead. Revert Finance's PancakeSwap V3 indexer runs on Envio Cloud.

Build With Envio

Envio is independently benchmarked as the fastest EVM blockchain indexer available. If you are building onchain and need indexing that keeps up with your chain, check out the docs, run the benchmarks yourself, or come talk to us about your data needs.

Subscribe to our newsletter

Website | X | Discord | Telegram | GitHub | YouTube | Reddit