Skip to content

Feat: update yeld for flowx-v3 #1773

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
Mar 19, 2025
Merged

Conversation

devflowx
Copy link
Contributor

@devflowx devflowx commented Mar 19, 2025

Hi,
I create adapter yield for flowx-v2 and flowx-v3

This PR use for flowx-v3, for v2 check this pr: #1768
Thank for review.

@devflowx devflowx changed the title Feat: add flowx v3 Feat: update yeld for flowx-v3 Mar 19, 2025
@llamatester
Copy link

The flowx-v3 adapter exports pools:

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

Nb of pools: 20
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────┬───────┬────────────┬───────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────┬───────────────┬───────────────┬───────────────────┬──────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │ pool                                                                 │ chain │ project    │ symbol        │ underlyingTokens                                                                                                                                                       │ rewardTokens                                                                                        │ tvlUsd           │ apyBase       │ apyReward     │ volumeUsd1d       │ poolMeta │ url                                                                                                      │
├─────────┼──────────────────────────────────────────────────────────────────────┼───────┼────────────┼───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────┼───────────────┼───────────────┼───────────────────┼──────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 0       │ '0x88cec280ed5406af7951ef768b305de5323b843cc127bcab988d08770d00a5f7' │ 'sui' │ 'flowx-v3' │ 'sbUSDT/USDC' │ [ '0x375f70cf2ae4c00bf37117d0c85a2c71545e6ee05c4a5c7d282cd66a4504b068::usdt::USDT', '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC' ] │ [ '0x2::sui::SUI' ]                                                                                 │ 2638666.406962   │ 0.5897422696  │ 17.2352072317 │ 426337.8401745    │ '0.01%'  │ 'https://flowx.finance/explore/pools/0x88cec280ed5406af7951ef768b305de5323b843cc127bcab988d08770d00a5f7' │
│ 1       │ '0x325239132e2b619147c00052986461cea02815172ea9d000c58e68484f514a90' │ 'sui' │ 'flowx-v3' │ 'SUI/USDC'    │ [ '0x2::sui::SUI', '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC' ]                                                                  │ [ '0x2::sui::SUI', '0x6dae8ca14311574fdfe555524ea48558e3d1360d1607d1c7f98af867e3b7976c::flx::FLX' ] │ 1193497.94391663 │ 78.1176871062 │ 55.3849863542 │ 851445.6524644257 │ '0.3%'   │ 'https://flowx.finance/explore/pools/0x325239132e2b619147c00052986461cea02815172ea9d000c58e68484f514a90' │
│ 2       │ '0x58e9341cf849ae0849eaec9a6eb07f52cdc0ed44721b4225fc1aa7f9d795f45f' │ 'sui' │ 'flowx-v3' │ 'SUI/FLX'     │ [ '0x2::sui::SUI', '0x6dae8ca14311574fdfe555524ea48558e3d1360d1607d1c7f98af867e3b7976c::flx::FLX' ]                                                                    │ []                                                                                                  │ 18083.5689925951 │ 0.0000829246  │ 0             │ 0.0041084179      │ '1%'     │ 'https://flowx.finance/explore/pools/0x58e9341cf849ae0849eaec9a6eb07f52cdc0ed44721b4225fc1aa7f9d795f45f' │
│ 3       │ '0x8903db2e9aea9e76d310c52a8745cff1f1d11fe38bc120828bd7280e7497ba8c' │ 'sui' │ 'flowx-v3' │ 'SUI/USDC'    │ [ '0x2::sui::SUI', '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC' ]                                                                  │ []                                                                                                  │ 5194.8056242833  │ 55.6865599393 │ 0             │ 792.5502870655    │ '1%'     │ 'https://flowx.finance/explore/pools/0x8903db2e9aea9e76d310c52a8745cff1f1d11fe38bc120828bd7280e7497ba8c' │
│ 4       │ '0xcb4d5a356c3f39c1514101a40528d1284fc2bfe2b5716e343d700b7d135b372b' │ 'sui' │ 'flowx-v3' │ 'SUI/wUSDC'   │ [ '0x2::sui::SUI', '0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN' ]                                                                  │ []                                                                                                  │ 2189.7729482811  │ 3.0380846566  │ 0             │ 60.7553936029     │ '0.3%'   │ 'https://flowx.finance/explore/pools/0xcb4d5a356c3f39c1514101a40528d1284fc2bfe2b5716e343d700b7d135b372b' │
│ 5       │ '0xd993a4334346bb08dc845564c6e950304b7af1b4ff73311af45670f8a902c0bd' │ 'sui' │ 'flowx-v3' │ 'xFLX/FLX'    │ [ '0x65ed6d4e666fcbc1afcd9d4b1d6d4af7def3eeeeaa663f5bebae8101112290f6::xflx::XFLX', '0x6dae8ca14311574fdfe555524ea48558e3d1360d1607d1c7f98af867e3b7976c::flx::FLX' ]   │ []                                                                                                  │ 2094.6807793828  │ 0             │ 0             │ 0                 │ '1%'     │ 'https://flowx.finance/explore/pools/0xd993a4334346bb08dc845564c6e950304b7af1b4ff73311af45670f8a902c0bd' │
│ 6       │ '0x8c001681aaf29662b1e58d4bd343b14a3f817219696f77c80817042fe31eab4d' │ 'sui' │ 'flowx-v3' │ 'SUI/DEEP'    │ [ '0x2::sui::SUI', '0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP' ]                                                                  │ []                                                                                                  │ 686.5256247108   │ 1.7442692171  │ 0             │ 328.0782128749    │ '0.01%'  │ 'https://flowx.finance/explore/pools/0x8c001681aaf29662b1e58d4bd343b14a3f817219696f77c80817042fe31eab4d' │
│ 7       │ '0xc98a8b680fb6c96f667d16b034760e8662c64986d4e8e5031604f2520a01a412' │ 'sui' │ 'flowx-v3' │ 'wUSDC/wUSDT' │ [ '0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN', '0xc060006111016b8a020ad5b33834984a437aaa7d3c74c18e09a95d48aceab08c::coin::COIN' ] │ []                                                                                                  │ 395.514519       │ 0.0197858913  │ 0             │ 2.144002          │ '0.01%'  │ 'https://flowx.finance/explore/pools/0xc98a8b680fb6c96f667d16b034760e8662c64986d4e8e5031604f2520a01a412' │
│ 8       │ '0x5e424e744980ce5b22a4b912e19872c080321685a8cff8e6606e78b14542c14e' │ 'sui' │ 'flowx-v3' │ 'SUI/vSUI'    │ [ '0x2::sui::SUI', '0x549e8b69270defbfafd4f94e17ec44cdbdd99820b33bda2278dea3b9a32d3f55::cert::CERT' ]                                                                  │ []                                                                                                  │ 377.9237182942   │ 0.1907638297  │ 0             │ 19.7518299036     │ '0.01%'  │ 'https://flowx.finance/explore/pools/0x5e424e744980ce5b22a4b912e19872c080321685a8cff8e6606e78b14542c14e' │
│ 9       │ '0x577dc265c459422e89c797216744a8b40209acbe15d14cdead58cc00b5798eeb' │ 'sui' │ 'flowx-v3' │ 'SUI/haSUI'   │ [ '0x2::sui::SUI', '0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::hasui::HASUI' ]                                                                │ []                                                                                                  │ 284.3700280984   │ 0.1476292714  │ 0             │ 11.5017367742     │ '0.01%'  │ 'https://flowx.finance/explore/pools/0x577dc265c459422e89c797216744a8b40209acbe15d14cdead58cc00b5798eeb' │
└─────────┴──────────────────────────────────────────────────────────────────────┴───────┴────────────┴───────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────┴───────────────┴───────────────┴───────────────────┴──────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit 81c0677 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