Skip to content
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

update cetus apy #1763

Merged
merged 14 commits into from
Mar 14, 2025
Merged

update cetus apy #1763

merged 14 commits into from
Mar 14, 2025

Conversation

jay20972
Copy link
Contributor

No description provided.

@llamatester
Copy link

The cetus-amm adapter exports pools:

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

Nb of pools: 134
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────┬───────┬─────────────┬────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬─────────────────┬──────────────────────┬────────────────────┬───────────────────┬──────────┬──────────────────────────────────────────────────────────────────┐
│ (index) │ pool                                                                 │ chain │ project     │ symbol         │ underlyingTokens                                                                                                                                                         │ rewardTokens                                                                                                                                                       │ tvlUsd          │ apyBase              │ apyReward          │ volumeUsd1d       │ poolMeta │ url                                                              │
├─────────┼──────────────────────────────────────────────────────────────────────┼───────┼─────────────┼────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼─────────────────┼──────────────────────┼────────────────────┼───────────────────┼──────────┼──────────────────────────────────────────────────────────────────┤
│ 0       │ '0x7df346f8ef98ad20869ff6d2fc7c43c00403a524987509091b39ce61dde00957' │ 'sui' │ 'cetus-amm' │ 'USDC-suiUSDT' │ [ '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC', '0x375f70cf2ae4c00bf37117d0c85a2c71545e6ee05c4a5c7d282cd66a4504b068::usdt::USDT' ]   │ [ '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI', '06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS' ] │ 34084138.436655 │ 1.9772356478558766   │ 9.424812688192759  │ '18513619.887989' │ '0.01%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 1       │ '0x871d8a227114f375170f149f7e9d45be822dd003eba225e83c05ac80828596bc' │ 'sui' │ 'cetus-amm' │ 'haSUI-SUI'    │ [ '0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::hasui::HASUI', '0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ]   │ [ '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ]                                                                                   │ 32794556.570498 │ 0.21200070691858952  │ 0                  │ '1903668.326751'  │ '0.01%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 2       │ '0xb8d7d9e66a60c239e7a60110efcf8de6c705580ed924d0dde141f4a0e2c90105' │ 'sui' │ 'cetus-amm' │ 'USDC-SUI'     │ [ '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC', '0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ]     │ [ '06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS', '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ] │ 20140671.442217 │ 102.59053516519708   │ 16.56725995785046  │ '23629638.898272' │ '0.25%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 3       │ '0x0e809689d04d87f4bd4e660cd1b84bf5448c5a7997e3d22fc480e7e5e0b3f58d' │ 'sui' │ 'cetus-amm' │ 'USDY-wUSDC'   │ [ '0x960b531667636f39e85867775f52f6b1f220a058c4de786905bdf761e06a56bb::usdy::USDY', '0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN' ]   │ [ '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ]                                                                                   │ 6665868.117825  │ 0.008723951053867963 │ 0                  │ '15932.003664'    │ '0.01%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 4       │ '0xaa020ad81e1621d98d4fb82c4acb80dc064722f24ef828ab633bef50fc28268b' │ 'sui' │ 'cetus-amm' │ 'USDC-haSUI'   │ [ '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC', '0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::hasui::HASUI' ] │ []                                                                                                                                                                 │ 4722613.370979  │ 4.876494797602089    │ 0                  │ '1261710.468659'  │ '0.05%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 5       │ '0xdcd762ad374686fa890fc4f3b9bbfe2a244e713d7bffbfbd1b9221cb290da2ed' │ 'sui' │ 'cetus-amm' │ 'USDC-USDY'    │ [ '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC', '0x960b531667636f39e85867775f52f6b1f220a058c4de786905bdf761e06a56bb::usdy::USDY' ]   │ [ '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ]                                                                                   │ 4707277.043124  │ 0.3314248894959808   │ 10.133800383306646 │ '427422.454613'   │ '0.01%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 6       │ '0xe01243f37f712ef87e556afb9b1d03d0fae13f96d324ec912daffc339dfdcbd2' │ 'sui' │ 'cetus-amm' │ 'DEEP-SUI'     │ [ '0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP', '0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ]     │ [ '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI', 'deeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP' ]   │ 4624099.065384  │ 158.16357058399987   │ 102.04921764547927 │ '7818619.866104'  │ '0.25%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 7       │ '0x43d4c9adc1d669ef85d557cf1d430f311dc4eb043a8e7b78e972c1f96ec2cd60' │ 'sui' │ 'cetus-amm' │ 'FDUSD-USDC'   │ [ '0xf16e6b723f242ec745dfd7634ad072c42d5c1d9ac9d62a39c381303eaa57693a::fdusd::FDUSD', '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC' ] │ [ '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI', 'f16e6b723f242ec745dfd7634ad072c42d5c1d9ac9d62a39c381303eaa57693a::fdusd::FDUSD' ] │ 4217544.345266  │ 6.713026129762201    │ 8.632370981407181  │ '7900650.545603'  │ '0.01%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 8       │ '0x0fea99ed9c65068638963a81587c3b8cafb71dc38c545319f008f7e9feb2b5f8' │ 'sui' │ 'cetus-amm' │ 'USDC-AUSD'    │ [ '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC', '0x2053d08c1e2bd02791056171aab0fd12bd7cd7efad2ab8f6b9c8902f14df2ff2::ausd::AUSD' ]   │ [ '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ]                                                                                   │ 3395540.69009   │ 1.7119132264851806   │ 8.074446712836355  │ '1515341.226314'  │ '0.01%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
│ 9       │ '0x2e041f3fd93646dcc877f783c1f2b7fa62d30271bdef1f21ef002cebf857bded' │ 'sui' │ 'cetus-amm' │ 'CETUS-SUI'    │ [ '0x06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS', '0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ]   │ [ '06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS', '0000000000000000000000000000000000000000000000000000000000000002::sui::SUI' ] │ 3307707.270754  │ 46.13798160483248    │ 30.542752787987233 │ '1670507.824504'  │ '0.25%'  │ 'https://app.cetus.zone/liquidity/deposit?poolAddress=undefined' │
└─────────┴──────────────────────────────────────────────────────────────────────┴───────┴─────────────┴────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────┴──────────────────────┴────────────────────┴───────────────────┴──────────┴──────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit 827efe0 into DefiLlama:master Mar 14, 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.

5 participants