OriginProtocol / OriginProtocol/origin-dollar

Include Maverick liquidity when swapping

Open
#1,671 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement frontend OETH P4 ui/ux
Dominant language
Solidity
Stars
152
Forks
115
Avg merge
3d 20h
Merged PRs (30d)
17

Description

We are currently providing a meaningful amount of OETH liquidity on Maverick protocol. It would be nice to include this pool when calculating the optimal swap route for our users.

https://app.mav.xyz/pool?chain=1&tokenA=0x856c4efb76c1d1ae02e20ceb03a2a6a08b0b8dc3&tokenB=ETH

One meta question is whether we want to continue adding support for each liquidity pool manually or if we want to consider outsourcing it entirely to a third party like 1inch? We would ask the aggregator for their best quote & continue providing a high level recommendation to the user on whether to mint/redeem with the vault or swap using a DEX. Aggregators like 1inch have gotten pretty sophisticated, particularly their ability to leverage multiple DEXs in a single transaction for optimal pricing. My hunch is that we could simplify our frontend and offer superior pricing by outsourcing this work to a third party.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the existing optimal swap-route calculation and its liquidity-pool integrations, then review the linked Maverick OETH pool and the proposed 1inch alternative. Done means the chosen routing approach is defined and the pool or aggregator is included in swap recommendations with appropriate coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.