G

Griffin

A unified portal to calculate the best fee on liquidity pools, hop to the optimal chain and invest on uniswap for maximum returns.

The problem Griffin solves

There are a number of misses in the user experience for contributing to uniswap liquidity pools:
→ Uniswap does not make it easy to estimate returns directly on their portal.
→ Return on liquidity pools varies across chains, which might not be obvious to a user, limiting him from getting the maximum benefit.
→ A user might not have ready tokens on the chain offering the best returns

For a token-pair that a user is long on and potentially interested in investing, they can jump onto Mantis, checkout the best returns across multiple chains, move their assets to the identified optimal chain and open a position on uniswap, all in a single unified portal.

Challenges we ran into

  1. Fee estimation across the entire price range of an asset requires fetching net liquidity at every tick of the pool. This meant querying tons of page of data from uniswap sub-graphs for multiple chains.
  2. Calculating estimated fee simultaneously for multiple pools across different chains.
  3. Sort orders for the token pairs vary across chains which made it tricky to perform unified multi-chain calculations.

Discussion