OriginProtocol / OriginProtocol/origin-dollar
Include Maverick liquidity when swapping
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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