Skip to content

mainstreet yields adapter #1935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025
Merged

mainstreet yields adapter #1935

merged 1 commit into from
Jun 24, 2025

Conversation

0xSpartan
Copy link
Contributor

yield adapter for grabbing interest rate from interest rate wrapper and converting to apy for DL.

@llamatester
Copy link

The mainstreet adapter exports pools:

Test Suites: 1 passed, 1 total
Tests: 11 passed, 11 total
Snapshots: 0 total
Time: 0.265 s
Ran all test suites.

Nb of pools: 1
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬─────────┬──────────────┬─────────┬───────────────┬─────────────────────┬───────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────┐
│ (index) │ pool                                         │ chain   │ project      │ symbol  │ tvlUsd        │ apyBase             │ apyReward │ rewardTokens                                     │ underlyingTokens                                 │ url                          │
├─────────┼──────────────────────────────────────────────┼─────────┼──────────────┼─────────┼───────────────┼─────────────────────┼───────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────┤
│ 0       │ '0xE5Fb2Ed6832deF99ddE57C0b9d9A56537C89121D' │ 'Sonic' │ 'mainstreet' │ 'MSUSD' │ 194878.592328 │ 0.21013038512531734 │ 0         │ [ '0xE5Fb2Ed6832deF99ddE57C0b9d9A56537C89121D' ] │ [ '0x29219dd400f2Bf60E5a23d13Be72B486D4038894' ] │ 'https://mainstreet.finance' │
└─────────┴──────────────────────────────────────────────┴─────────┴──────────────┴─────────┴───────────────┴─────────────────────┴───────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────┘

@slasher125 slasher125 merged commit 7cd233f into DefiLlama:master Jun 24, 2025
1 check 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.

3 participants