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

Feat: Add Base Pools to GammaSwap #1267

Merged
merged 9 commits into from
Apr 18, 2024
Merged

Conversation

0xDanr
Copy link
Contributor

@0xDanr 0xDanr commented Apr 10, 2024

-adding pools deployed in Base network to GammaSwap yields


@slasher125
Copy link
Collaborator

@0xDanr gm, there are merge conflicts

@llamatester
Copy link

The gammaswap adapter exports pools:

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

Nb of pools: 29
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬─────────────┬────────────────────────────┬───────────┬────────────────────┬────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐
│ (index) │                     pool                     │   chain    │   project   │           symbol           │  tvlUsd   │      apyBase       │   apyBaseBorrow    │                                        underlyingTokens                                        │                                     url                                     │
├─────────┼──────────────────────────────────────────────┼────────────┼─────────────┼────────────────────────────┼───────────┼────────────────────┼────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────┤
│    0    │ '0xd63c125b169bc5655f9fdefb47c7d33e622416c7' │ 'Arbitrum' │ 'gammaswap' │        'weETH-USDC'        │ 909158.1  │ 42.92128288818648  │ 77.39310561302092  │ [ '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │ 'https://app.gammaswap.com/earn/0xd63c125b169bc5655f9fdefb47c7d33e622416c7' │
│    1    │ '0x63c531ffed7e17f8adca4ed490837838f6fa1b66' │ 'Arbitrum' │ 'gammaswap' │       'WETH-USDC.e'        │ 550346.78 │ 7.993651359369778  │ 9.863645407973157  │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8' ] │ 'https://app.gammaswap.com/earn/0x63c531ffed7e17f8adca4ed490837838f6fa1b66' │
│    2    │ '0x0817596ee3a3a11c892eaa0989e9e6f7a22c1fed' │ 'Arbitrum' │ 'gammaswap' │        'WBTC-weETH'        │ 237793.54 │ 20.34828299728735  │ 47.47389662824696  │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe' ] │ 'https://app.gammaswap.com/earn/0x0817596ee3a3a11c892eaa0989e9e6f7a22c1fed' │
│    3    │ '0xd7cfe0e2dd5773249442b055834207bc52849b1d' │ 'Arbitrum' │ 'gammaswap' │       'PENDLE-USDC'        │ 207519.57 │ 25.123348086820087 │ 26.98053230578845  │ [ '0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8', '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │ 'https://app.gammaswap.com/earn/0xd7cfe0e2dd5773249442b055834207bc52849b1d' │
│    4    │ '0x04d24dbdd9ea6e8af5b5eb0126797da27498df1d' │ 'Arbitrum' │ 'gammaswap' │        'WETH-USDC'         │ 184646.06 │ 6.752521083575084  │  7.25367095402104  │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │ 'https://app.gammaswap.com/earn/0x04d24dbdd9ea6e8af5b5eb0126797da27498df1d' │
│    5    │ '0xc714a975042546c76fe2ef804d32adb2539292d8' │ 'Arbitrum' │ 'gammaswap' │        'WBTC-USDC'         │ 111683.49 │ 5.059812562893836  │ 5.432280104827233  │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │ 'https://app.gammaswap.com/earn/0xc714a975042546c76fe2ef804d32adb2539292d8' │
│    6    │ '0xcd4257699b48d4791e77116d0e6a3bd48ad9567f' │   'Base'   │ 'gammaswap' │        'WETH-USDC'         │  80968.1  │ 214.93503488618023 │ 214.96123230585528 │ [ '0x4200000000000000000000000000000000000006', '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' ] │ 'https://app.gammaswap.com/earn/0xcd4257699b48d4791e77116d0e6a3bd48ad9567f' │
│    7    │ '0x76597006bedf45fe441165811b2e79a35d045a7e' │ 'Arbitrum' │ 'gammaswap' │ 'weETH-PT-ezETH-27JUN2024' │  45821.8  │ 16.67720559715125  │ 22.021015211485658 │ [ '0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe', '0x8EA5040d423410f1fdc363379Af88e1DB5eA1C34' ] │ 'https://app.gammaswap.com/earn/0x76597006bedf45fe441165811b2e79a35d045a7e' │
│    8    │ '0xfedf53e144a4f0071fe66b79bf6ccc908f9ebe4e' │ 'Arbitrum' │ 'gammaswap' │        'ARB-USDC.e'        │ 15013.75  │ 45.649227777199656 │ 54.12980125894897  │ [ '0x912CE59144191C1204E64559FE8253a0e49E6548', '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8' ] │ 'https://app.gammaswap.com/earn/0xfedf53e144a4f0071fe66b79bf6ccc908f9ebe4e' │
│    9    │ '0x54ad5bd2c8a1e7b78b4991ea589ac88f70397db3' │ 'Arbitrum' │ 'gammaswap' │         'WETH-ARB'         │ 13331.95  │  3.08499113513145  │ 3.8283986720172956 │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', '0x912CE59144191C1204E64559FE8253a0e49E6548' ] │ 'https://app.gammaswap.com/earn/0x54ad5bd2c8a1e7b78b4991ea589ac88f70397db3' │
└─────────┴──────────────────────────────────────────────┴────────────┴─────────────┴────────────────────────────┴───────────┴────────────────────┴────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit b389eb5 into DefiLlama:master Apr 18, 2024
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.

4 participants