Skip to content

feat: add isolated lending pair foundation and Stellar fee oracle#154

Merged
edehvictor merged 1 commit intoedehvictor:mainfrom
floxxih:feat/isolated-lending-fee-oracle-82-142
Mar 30, 2026
Merged

feat: add isolated lending pair foundation and Stellar fee oracle#154
edehvictor merged 1 commit intoedehvictor:mainfrom
floxxih:feat/isolated-lending-fee-oracle-82-142

Conversation

@floxxih
Copy link
Copy Markdown
Contributor

@floxxih floxxih commented Mar 30, 2026

Summary

  • Add a new Soroban isolated_lending contract package with a factory + pair architecture for isolated markets, including pair creation and isolated supply, withdraw, post_collateral, borrow, repay, and collateral-withdraw flow.
  • Add a backend fee oracle service and expose GET /api/fees to estimate low/average/high transaction fees from recent Stellar ledger activity with in-memory caching.
  • Update frontend transaction builders to query /api/fees and apply recommended dynamic base fees instead of hardcoded fees.

Notes

  • This implements the foundational architecture and flow wiring for isolated lending and network-fee estimation.
  • Tests were intentionally not added per request.

Closes #82
Closes #142

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

@floxxih is attempting to deploy a commit to the Edeh Victor's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 30, 2026

@floxxih Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@edehvictor edehvictor merged commit 85c7147 into edehvictor:main Mar 30, 2026
0 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gas Fee Estimation & Congestion Oracle (Backend) Isolated Lending Markets (Contagion Prevention)

2 participants