Skip to content

add midas-rwa #1701

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 10 commits into from
Mar 19, 2025
Merged

add midas-rwa #1701

merged 10 commits into from
Mar 19, 2025

Conversation

Jojoooo1
Copy link
Contributor

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 6
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬───────────────┬─────────┬────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd        │ apyBase │ url                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼───────────────┼─────────┼────────────────────────────┤
│ 0       │ '0x2a8c22E3b10036f3AEF5875d04f8441d4188b656-ethereum' │ 'Ethereum' │ 'midas-rwa' │ 'MBASIS' │ 6806128.32868 │ 11.76   │ 'https://midas.app/mbasis' │
│ 1       │ '0x1C2757c1FeF1038428b5bEF062495ce94BBe92b2-base'     │ 'Base'     │ 'midas-rwa' │ 'MBASIS' │ 3584794.36909 │ 11.76   │ 'https://midas.app/mbasis' │
│ 2       │ '0x007115416AB6c266329a03B09a8aa39aC2eF7d9d-ethereum' │ 'Ethereum' │ 'midas-rwa' │ 'MBTC'   │ 3234704.51461 │ 4       │ 'https://midas.app/mbtc'   │
│ 3       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-ethereum' │ 'Ethereum' │ 'midas-rwa' │ 'MTBILL' │ 2559354.56636 │ 4.31    │ 'https://midas.app/mtbill' │
│ 4       │ '0xDD629E5241CbC5919847783e6C96B2De4754e438-sapphire' │ 'Sapphire' │ 'midas-rwa' │ 'MTBILL' │ 2003794.78685 │ 4.31    │ 'https://midas.app/mtbill' │
│ 5       │ '0xDD629E5241CbC5919847783e6C96B2De4754e438-base'     │ 'Base'     │ 'midas-rwa' │ 'MTBILL' │ 1039544.62579 │ 4.31    │ 'https://midas.app/mtbill' │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴───────────────┴─────────┴────────────────────────────┘

@slasher125
Copy link
Collaborator

gm @Jojoooo1
pls refactor to on chain calls using our sdk instead

@slasher125
Copy link
Collaborator

gm @Jojoooo1 are u still working on this?

@Jojoooo1
Copy link
Contributor Author

hi @slasher125 yes we will resume the work this week :).

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 2
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬─────────┬────────────────────┬─────────┬───────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol  │ tvlUsd             │ apyBase │ url                       │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼─────────┼────────────────────┼─────────┼───────────────────────────┤
│ 0       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE' │ 2048753.2542621095 │ 6.88    │ 'https://midas.app/medge' │
│ 1       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'  │ 1797071.3007473643 │ 3.56    │ 'https://midas.app/mbtc'  │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴─────────┴────────────────────┴─────────┴───────────────────────────┘

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 10
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬────────────────────┬─────────┬────────────────────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd             │ apyBase │ url                                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼────────────────────┼─────────┼────────────────────────────────────────────┤
│ 0       │ '0x2a8c22e3b10036f3aef5875d04f8441d4188b656-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBASIS' │ 5437330.820342541  │ 22.05   │ 'https://midas.app/mbasis'                 │
│ 1       │ '0x1c2757c1fef1038428b5bef062495ce94bbe92b2-base'     │ 'base'     │ 'midas-rwa' │ 'mBASIS' │ 3133907.5640939944 │ 22.05   │ 'https://midas.app/mbasis'                 │
│ 2       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-sapphire' │ 'sapphire' │ 'midas-rwa' │ 'mTBILL' │ 3012350.3506821645 │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 3       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE'  │ 2048753.2542621095 │ 6.88    │ 'https://midas.app/medge'                  │
│ 4       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'   │ 1797071.3007473643 │ 3.56    │ 'https://midas.app/mbtc'                   │
│ 5       │ '0x030b69280892c888670edcdcd8b69fd8026a0bf3-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mMEV'   │ 1762113.8418387773 │ 12.11   │ 'https://midas.app/https://midas.app/mmev' │
│ 6       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mTBILL' │ 1142555.509970682  │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 7       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-base'     │ 'base'     │ 'midas-rwa' │ 'mTBILL' │ 1018546.9870581634 │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 8       │ '0x4089dc8b6637218f13465d28950a82a7e90cbe27-base'     │ 'base'     │ 'midas-rwa' │ 'mEDGE'  │ 0                  │ 6.88    │ 'https://midas.app/medge'                  │
│ 9       │ '0x141f0e9ed8ba2295254c9df9476cce7bc29172b1-base'     │ 'base'     │ 'midas-rwa' │ 'mMEV'   │ 0                  │ 12.11   │ 'https://midas.app/https://midas.app/mmev' │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴────────────────────┴─────────┴────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 10
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬────────────────────┬─────────┬────────────────────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd             │ apyBase │ url                                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼────────────────────┼─────────┼────────────────────────────────────────────┤
│ 0       │ '0x2a8c22e3b10036f3aef5875d04f8441d4188b656-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBASIS' │ 5437330.820342541  │ 22.05   │ 'https://midas.app/mbasis'                 │
│ 1       │ '0x1c2757c1fef1038428b5bef062495ce94bbe92b2-base'     │ 'base'     │ 'midas-rwa' │ 'mBASIS' │ 3133907.5640939944 │ 22.05   │ 'https://midas.app/mbasis'                 │
│ 2       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-sapphire' │ 'sapphire' │ 'midas-rwa' │ 'mTBILL' │ 3012350.3506821645 │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 3       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE'  │ 2048753.2542621095 │ 6.88    │ 'https://midas.app/medge'                  │
│ 4       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'   │ 1797071.3007473643 │ 3.56    │ 'https://midas.app/mbtc'                   │
│ 5       │ '0x030b69280892c888670edcdcd8b69fd8026a0bf3-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mMEV'   │ 1762113.8418387773 │ 12.11   │ 'https://midas.app/https://midas.app/mmev' │
│ 6       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mTBILL' │ 1142555.509970682  │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 7       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-base'     │ 'base'     │ 'midas-rwa' │ 'mTBILL' │ 1018546.9870581634 │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 8       │ '0x4089dc8b6637218f13465d28950a82a7e90cbe27-base'     │ 'base'     │ 'midas-rwa' │ 'mEDGE'  │ 0                  │ 6.88    │ 'https://midas.app/medge'                  │
│ 9       │ '0x141f0e9ed8ba2295254c9df9476cce7bc29172b1-base'     │ 'base'     │ 'midas-rwa' │ 'mMEV'   │ 0                  │ 12.11   │ 'https://midas.app/https://midas.app/mmev' │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴────────────────────┴─────────┴────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 10
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬────────────────────┬─────────┬────────────────────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd             │ apyBase │ url                                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼────────────────────┼─────────┼────────────────────────────────────────────┤
│ 0       │ '0x2a8c22e3b10036f3aef5875d04f8441d4188b656-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBASIS' │ 5437341.820342541  │ 22.05   │ 'https://midas.app/mbasis'                 │
│ 1       │ '0x1c2757c1fef1038428b5bef062495ce94bbe92b2-base'     │ 'base'     │ 'midas-rwa' │ 'mBASIS' │ 3136658.9073414584 │ 22.05   │ 'https://midas.app/mbasis'                 │
│ 2       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-sapphire' │ 'sapphire' │ 'midas-rwa' │ 'mTBILL' │ 3012350.3506821645 │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 3       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE'  │ 2052513.7616161094 │ 6.88    │ 'https://midas.app/medge'                  │
│ 4       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'   │ 1992901.099652743  │ 3.56    │ 'https://midas.app/mbtc'                   │
│ 5       │ '0x030b69280892c888670edcdcd8b69fd8026a0bf3-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mMEV'   │ 1765405.2690937773 │ 12.11   │ 'https://midas.app/https://midas.app/mmev' │
│ 6       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mTBILL' │ 1141210.4158330744 │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 7       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-base'     │ 'base'     │ 'midas-rwa' │ 'mTBILL' │ 998498.3902507685  │ 4.04    │ 'https://midas.app/mtbill'                 │
│ 8       │ '0x4089dc8b6637218f13465d28950a82a7e90cbe27-base'     │ 'base'     │ 'midas-rwa' │ 'mEDGE'  │ 0                  │ 6.88    │ 'https://midas.app/medge'                  │
│ 9       │ '0x141f0e9ed8ba2295254c9df9476cce7bc29172b1-base'     │ 'base'     │ 'midas-rwa' │ 'mMEV'   │ 0                  │ 12.11   │ 'https://midas.app/https://midas.app/mmev' │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴────────────────────┴─────────┴────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

@Jojoooo1
seems like for some pools like mBASIS on ethereum the yield is quite different than whats being displayed on your ui.
probably related to the yearly offset you use in the calculation? on our end, we should use 24h offsets for apyBase. optionally, you can add apyBase7d with a 7day window

@Jojoooo1
Copy link
Contributor Author

Jojoooo1 commented Mar 7, 2025

@Jojoooo1 seems like for some pools like mBASIS on ethereum the yield is quite different than whats being displayed on your ui. probably related to the yearly offset you use in the calculation? on our end, we should use 24h offsets for apyBase. optionally, you can add apyBase7d with a 7day window

@slasher125 we usually update our oracle on a weekly basis, what would you recommend in that case for apyBase calculation ?

ps: there is some differences with our website but this will be corrected soon, please do not merge until they are the same.

@llamatester
Copy link

Error while running midas-rwa adapter:

Test Suites: 1 failed, 1 total
Tests: 8 failed, 36 passed, 44 total
Snapshots: 0 total
Time: 0.324 s
Ran all test suites.

Nb of pools: 8
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬────────────────────┬───────────┬────────────────────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd             │ apyBase7d │ url                                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼────────────────────┼───────────┼────────────────────────────────────────────┤
│ 0       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE'  │ 11530197.347271534 │ 0.16      │ 'https://midas.app/medge'                  │
│ 1       │ '0x030b69280892c888670edcdcd8b69fd8026a0bf3-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mMEV'   │ 4392822.382458633  │ 27.26     │ 'https://midas.app/https://midas.app/mmev' │
│ 2       │ '0x2a8c22e3b10036f3aef5875d04f8441d4188b656-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBASIS' │ 4372960.050983014  │ 4.64      │ 'https://midas.app/mbasis'                 │
│ 3       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-sapphire' │ 'sapphire' │ 'midas-rwa' │ 'mTBILL' │ 3014249.9216975407 │ 2.6       │ 'https://midas.app/mtbill'                 │
│ 4       │ '0x1c2757c1fef1038428b5bef062495ce94bbe92b2-base'     │ 'base'     │ 'midas-rwa' │ 'mBASIS' │ 2668749.0936330156 │ 4.64      │ 'https://midas.app/mbasis'                 │
│ 5       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'   │ 1894123.1405481005 │ 4.01      │ 'https://midas.app/mbtc'                   │
│ 6       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mTBILL' │ 958448.9365467328  │ 2.6       │ 'https://midas.app/mtbill'                 │
│ 7       │ '0xdd629e5241cbc5919847783e6c96b2de4754e438-base'     │ 'base'     │ 'midas-rwa' │ 'mTBILL' │ 935168.8784699751  │ 2.6       │ 'https://midas.app/mtbill'                 │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴────────────────────┴───────────┴────────────────────────────────────────────┘
}

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 5
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬────────────────────┬─────────┬────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd             │ apyBase │ url                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼────────────────────┼─────────┼────────────────────────────┤
│ 0       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE'  │ 12222765.377780076 │ 1.01    │ 'https://midas.app/medge'  │
│ 1       │ '0x030b69280892c888670edcdcd8b69fd8026a0bf3-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mMEV'   │ 5794004.048060379  │ 14.19   │ 'https://midas.app/mmev'   │
│ 2       │ '0x2a8c22e3b10036f3aef5875d04f8441d4188b656-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBASIS' │ 2756832.0470961044 │ 5.31    │ 'https://midas.app/mbasis' │
│ 3       │ '0x1c2757c1fef1038428b5bef062495ce94bbe92b2-base'     │ 'base'     │ 'midas-rwa' │ 'mBASIS' │ 2675871.278022552  │ 5.31    │ 'https://midas.app/mbasis' │
│ 4       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'   │ 89568.67250178682  │ 4.42    │ 'https://midas.app/mbtc'   │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴────────────────────┴─────────┴────────────────────────────┘

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 5
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬────────────────────┬─────────┬────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd             │ apyBase │ url                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼────────────────────┼─────────┼────────────────────────────┤
│ 0       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE'  │ 12222765.377780076 │ 1.01    │ 'https://midas.app/medge'  │
│ 1       │ '0x030b69280892c888670edcdcd8b69fd8026a0bf3-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mMEV'   │ 5794004.048060379  │ 14.19   │ 'https://midas.app/mmev'   │
│ 2       │ '0x2a8c22e3b10036f3aef5875d04f8441d4188b656-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBASIS' │ 2756832.0470961044 │ 5.31    │ 'https://midas.app/mbasis' │
│ 3       │ '0x1c2757c1fef1038428b5bef062495ce94bbe92b2-base'     │ 'base'     │ 'midas-rwa' │ 'mBASIS' │ 2675871.278022552  │ 5.31    │ 'https://midas.app/mbasis' │
│ 4       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'   │ 89568.67250178682  │ 4.42    │ 'https://midas.app/mbtc'   │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴────────────────────┴─────────┴────────────────────────────┘

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 5
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬────────────────────┬─────────┬────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd             │ apyBase │ url                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼────────────────────┼─────────┼────────────────────────────┤
│ 0       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE'  │ 12222765.377780076 │ 1.01    │ 'https://midas.app/medge'  │
│ 1       │ '0x030b69280892c888670edcdcd8b69fd8026a0bf3-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mMEV'   │ 5794004.048060379  │ 14.19   │ 'https://midas.app/mmev'   │
│ 2       │ '0x2a8c22e3b10036f3aef5875d04f8441d4188b656-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBASIS' │ 2756832.0470961044 │ 5.31    │ 'https://midas.app/mbasis' │
│ 3       │ '0x1c2757c1fef1038428b5bef062495ce94bbe92b2-base'     │ 'base'     │ 'midas-rwa' │ 'mBASIS' │ 2675871.278022552  │ 5.31    │ 'https://midas.app/mbasis' │
│ 4       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'   │ 89568.67250178682  │ 4.42    │ 'https://midas.app/mbtc'   │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴────────────────────┴─────────┴────────────────────────────┘

@llamatester
Copy link

The midas-rwa adapter exports pools:

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

Nb of pools: 5
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────────┬──────────┬────────────────────┬─────────┬────────────────────────────┐
│ (index) │ pool                                                  │ chain      │ project     │ symbol   │ tvlUsd             │ apyBase │ url                        │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────────┼──────────┼────────────────────┼─────────┼────────────────────────────┤
│ 0       │ '0xbb51e2a15a9158ebe2b0ceb8678511e063ab7a55-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mEDGE'  │ 12222765.377780076 │ 1.01    │ 'https://midas.app/medge'  │
│ 1       │ '0x030b69280892c888670edcdcd8b69fd8026a0bf3-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mMEV'   │ 5794004.048060379  │ 14.19   │ 'https://midas.app/mmev'   │
│ 2       │ '0x2a8c22e3b10036f3aef5875d04f8441d4188b656-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBASIS' │ 2756832.0470961044 │ 5.31    │ 'https://midas.app/mbasis' │
│ 3       │ '0x1c2757c1fef1038428b5bef062495ce94bbe92b2-base'     │ 'base'     │ 'midas-rwa' │ 'mBASIS' │ 2675871.278022552  │ 5.31    │ 'https://midas.app/mbasis' │
│ 4       │ '0x007115416ab6c266329a03b09a8aa39ac2ef7d9d-ethereum' │ 'ethereum' │ 'midas-rwa' │ 'mBTC'   │ 89568.67250178682  │ 4.42    │ 'https://midas.app/mbtc'   │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────────┴──────────┴────────────────────┴─────────┴────────────────────────────┘

@Jojoooo1
Copy link
Contributor Author

hey @llamatester we finalized to align this APY with the one showed on our website, could we merge this PR ?

@slasher125 slasher125 merged commit c135997 into DefiLlama:master Mar 19, 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