Skip to content

Added berachain to Dolomite's index.js #1829

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
Apr 23, 2025
Merged

Conversation

scyron6
Copy link
Contributor

@scyron6 scyron6 commented Apr 22, 2025

We are looking to get Dolomite's Berachain yields added to DefiLlama. Not sure if this is all that is needed or not, but wanted to get this PR created.

@llamatester
Copy link

The dolomite adapter exports pools:

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

Nb of pools: 35
 

Sample pools:
┌─────────┬────────────────────────────────────────────────────────┬────────────┬─────────────┬────────────┬────────────────────┬───────────────────────┬───────────┬──────────────────────────────────────────────────┬──────────────┬────────────────────────┬─────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────────────────────────────────────┬────────────┐
│ (index) │ pool                                                   │ symbol     │ chain       │ project    │ tvlUsd             │ apyBase               │ apyReward │ underlyingTokens                                 │ rewardTokens │ apyBaseBorrow          │ apyRewardBorrow │ totalSupplyUsd     │ totalBorrowUsd     │ ltv                │ poolMeta           │ url                                                                              │ borrowable │
├─────────┼────────────────────────────────────────────────────────┼────────────┼─────────────┼────────────┼────────────────────┼───────────────────────┼───────────┼──────────────────────────────────────────────────┼──────────────┼────────────────────────┼─────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────────────────────────────────────┼────────────┤
│ 0       │ '0x657e8c867d8b37dcc18fa4caead9c45eb088c642-berachain' │ 'eBTC'     │ 'Berachain' │ 'dolomite' │ 157979192.2095717  │ 3.143657716286237e-10 │ 0         │ [ '0x657e8C867D8B37dCC18fA4Caead9C45EB088C642' ] │ []           │ 0.00005803571858642442 │ 0               │ 157980261.8867494  │ 1069.6771776884918 │ 0.78               │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x657e8c867d8b37dcc18fa4caead9c45eb088c642' │ true       │
│ 1       │ '0xecac9c5f704e954931349da37f60e39f515c11c1-berachain' │ 'LBTC'     │ 'Berachain' │ 'dolomite' │ 101670244.1298412  │ 8.386614896528079e-9  │ 0         │ [ '0xecAc9C5F704e954931349Da37F60E39f515c11c1' ] │ []           │ 0.0002997595918818874  │ 0               │ 101673799.89180784 │ 3555.7619666397313 │ 0.78               │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xecac9c5f704e954931349da37f60e39f515c11c1' │ true       │
│ 2       │ '0x5475611dffb8ef4d697ae39df9395513b6e947d7-berachain' │ 'srUSD'    │ 'Berachain' │ 'dolomite' │ 54788409.488424644 │ 0                     │ 0         │ [ '0x5475611Dffb8ef4d697Ae39df9395513b6E947d7' ] │ []           │ 0                      │ 0               │ 54788409.488424644 │ 0                  │ 0.75               │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x5475611dffb8ef4d697ae39df9395513b6e947d7' │ false      │
│ 3       │ '0x2f6f07cdcf3588944bf4c42ac74ff24bf56e7590-berachain' │ 'WETH'     │ 'Berachain' │ 'dolomite' │ 49995656.857707    │ 0.524626839609125     │ 0         │ [ '0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590' ] │ []           │ 1.7144793035797523     │ 0               │ 80964260.62164049  │ 30968603.763933487 │ 0.8                │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x2f6f07cdcf3588944bf4c42ac74ff24bf56e7590' │ true       │
│ 4       │ '0x0555e30da8f98308edb960aa94c0db47230d2b9c-berachain' │ 'WBTC'     │ 'Berachain' │ 'dolomite' │ 46946888.47795929  │ 0.00210978649966831   │ 0         │ [ '0x0555E30da8f98308EdB960aa94C0Db47230d2B9c' ] │ []           │ 0.1082929535801247     │ 0               │ 48118712.29267068  │ 1171823.8147113898 │ 0.8                │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x0555e30da8f98308edb960aa94c0db47230d2b9c' │ true       │
│ 5       │ '0x7dcc39b4d1c53cb31e1abc0e358b43987fef80f7-berachain' │ 'weETH'    │ 'Berachain' │ 'dolomite' │ 40521506.32058159  │ 2.2016335227062847e-9 │ 0         │ [ '0x7DCC39B4d1C53CB31e1aBc0e358b43987FEF80f7' ] │ []           │ 0.00015358674236853886 │ 0               │ 40522232.417638615 │ 726.0970570257012  │ 0.78               │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x7dcc39b4d1c53cb31e1abc0e358b43987fef80f7' │ true       │
│ 6       │ '0xcc0966d8418d412c599a6421b760a847eb169a8c-berachain' │ 'xSolvBTC' │ 'Berachain' │ 'dolomite' │ 35308858.993934564 │ 0                     │ 0         │ [ '0xCC0966D8418d412c599A6421b760a847eB169A8c' ] │ []           │ 0                      │ 0               │ 35308858.993934564 │ 0                  │ 0.5000000000000001 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xcc0966d8418d412c599a6421b760a847eb169a8c' │ false      │
│ 7       │ '0x541fd749419ca806a8bc7da8ac23d346f2df8b77-berachain' │ 'SolvBTC'  │ 'Berachain' │ 'dolomite' │ 27620447.239903584 │ 0                     │ 0         │ [ '0x541FD749419CA806a8bc7da8ac23D346f2dF8B77' ] │ []           │ 0                      │ 0               │ 27620447.239903584 │ 0                  │ 0.5000000000000001 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x541fd749419ca806a8bc7da8ac23d346f2df8b77' │ true       │
│ 8       │ '0xf6718b2701d4a6498ef77d7c152b2137ab28b8a3-berachain' │ 'stBTC'    │ 'Berachain' │ 'dolomite' │ 22745562.853347786 │ 0                     │ 0         │ [ '0xf6718b2701D4a6498eF77D7c152b2137Ab28b8A3' ] │ []           │ 0                      │ 0               │ 22745562.853347786 │ 0                  │ 0.8695652173913044 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xf6718b2701d4a6498ef77d7c152b2137ab28b8a3' │ false      │
│ 9       │ '0x2840f9d9f96321435ab0f977e7fdbf32ea8b304f-berachain' │ 'sUSDa'    │ 'Berachain' │ 'dolomite' │ 22292463.22150141  │ 0                     │ 0         │ [ '0x2840F9d9f96321435Ab0f977E7FDBf32EA8b304f' ] │ []           │ 0                      │ 0               │ 22292463.22150141  │ 0                  │ 0.6666666666666666 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x2840f9d9f96321435ab0f977e7fdbf32ea8b304f' │ false      │
└─────────┴────────────────────────────────────────────────────────┴────────────┴─────────────┴────────────┴────────────────────┴───────────────────────┴───────────┴──────────────────────────────────────────────────┴──────────────┴────────────────────────┴─────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────────────────────────────────────┴────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The dolomite adapter exports pools:

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

Nb of pools: 35
 

Sample pools:
┌─────────┬────────────────────────────────────────────────────────┬────────────┬─────────────┬────────────┬────────────────────┬────────────────────────┬───────────┬──────────────────────────────────────────────────┬──────────────┬────────────────────────┬─────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────────────────────────────────────┬────────────┐
│ (index) │ pool                                                   │ symbol     │ chain       │ project    │ tvlUsd             │ apyBase                │ apyReward │ underlyingTokens                                 │ rewardTokens │ apyBaseBorrow          │ apyRewardBorrow │ totalSupplyUsd     │ totalBorrowUsd     │ ltv                │ poolMeta           │ url                                                                              │ borrowable │
├─────────┼────────────────────────────────────────────────────────┼────────────┼─────────────┼────────────┼────────────────────┼────────────────────────┼───────────┼──────────────────────────────────────────────────┼──────────────┼────────────────────────┼─────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────────────────────────────────────┼────────────┤
│ 0       │ '0x657e8c867d8b37dcc18fa4caead9c45eb088c642-berachain' │ 'eBTC'     │ 'Berachain' │ 'dolomite' │ 161564266.92328274 │ 3.1436577186029383e-10 │ 0         │ [ '0x657e8C867D8B37dCC18fA4Caead9C45EB088C642' ] │ []           │ 0.00005803571858642442 │ 0               │ 161565360.87500364 │ 1093.951720907059  │ 0.78               │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x657e8c867d8b37dcc18fa4caead9c45eb088c642' │ true       │
│ 1       │ '0xecac9c5f704e954931349da37f60e39f515c11c1-berachain' │ 'LBTC'     │ 'Berachain' │ 'dolomite' │ 103735131.72237876 │ 8.38673804061315e-9    │ 0         │ [ '0xecAc9C5F704e954931349Da37F60E39f515c11c1' ] │ []           │ 0.0002997627446044149  │ 0               │ 103738759.71575876 │ 3627.9933799909204 │ 0.78               │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xecac9c5f704e954931349da37f60e39f515c11c1' │ true       │
│ 2       │ '0x5475611dffb8ef4d697ae39df9395513b6e947d7-berachain' │ 'srUSD'    │ 'Berachain' │ 'dolomite' │ 54383286.80854342  │ 0                      │ 0         │ [ '0x5475611Dffb8ef4d697Ae39df9395513b6E947d7' ] │ []           │ 0                      │ 0               │ 54383286.80854342  │ 0                  │ 0.75               │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x5475611dffb8ef4d697ae39df9395513b6e947d7' │ false      │
│ 3       │ '0x2f6f07cdcf3588944bf4c42ac74ff24bf56e7590-berachain' │ 'WETH'     │ 'Berachain' │ 'dolomite' │ 52455743.704263434 │ 0.5340719836708178     │ 0         │ [ '0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590' ] │ []           │ 1.7299093046239333     │ 0               │ 85420341.11254524  │ 32964597.4082818   │ 0.8                │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x2f6f07cdcf3588944bf4c42ac74ff24bf56e7590' │ true       │
│ 4       │ '0x0555e30da8f98308edb960aa94c0db47230d2b9c-berachain' │ 'WBTC'     │ 'Berachain' │ 'dolomite' │ 47870688.592715696 │ 0.002164143456084185   │ 0         │ [ '0x0555E30da8f98308EdB960aa94C0Db47230d2B9c' ] │ []           │ 0.10967950114617597    │ 0               │ 49081248.23553132  │ 1210559.6428156248 │ 0.8                │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x0555e30da8f98308edb960aa94c0db47230d2b9c' │ true       │
│ 5       │ '0x7dcc39b4d1c53cb31e1abc0e358b43987fef80f7-berachain' │ 'weETH'    │ 'Berachain' │ 'dolomite' │ 42854292.42349889  │ 2.7854752274085935e-9  │ 0         │ [ '0x7DCC39B4d1C53CB31e1aBc0e358b43987FEF80f7' ] │ []           │ 0.00017275435675312423 │ 0               │ 42855156.16420351  │ 863.7407046172566  │ 0.78               │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x7dcc39b4d1c53cb31e1abc0e358b43987fef80f7' │ true       │
│ 6       │ '0xcc0966d8418d412c599a6421b760a847eb169a8c-berachain' │ 'xSolvBTC' │ 'Berachain' │ 'dolomite' │ 36026119.6894686   │ 0                      │ 0         │ [ '0xCC0966D8418d412c599A6421b760a847eB169A8c' ] │ []           │ 0                      │ 0               │ 36026119.6894686   │ 0                  │ 0.5000000000000001 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xcc0966d8418d412c599a6421b760a847eb169a8c' │ false      │
│ 7       │ '0x541fd749419ca806a8bc7da8ac23d346f2df8b77-berachain' │ 'SolvBTC'  │ 'Berachain' │ 'dolomite' │ 28181526.293793637 │ 0                      │ 0         │ [ '0x541FD749419CA806a8bc7da8ac23D346f2dF8B77' ] │ []           │ 0                      │ 0               │ 28181526.293793637 │ 0                  │ 0.5000000000000001 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x541fd749419ca806a8bc7da8ac23d346f2df8b77' │ true       │
│ 8       │ '0xf6718b2701d4a6498ef77d7c152b2137ab28b8a3-berachain' │ 'stBTC'    │ 'Berachain' │ 'dolomite' │ 23207613.984348875 │ 0                      │ 0         │ [ '0xf6718b2701D4a6498eF77D7c152b2137Ab28b8A3' ] │ []           │ 0                      │ 0               │ 23207613.984348875 │ 0                  │ 0.8695652173913044 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0xf6718b2701d4a6498ef77d7c152b2137ab28b8a3' │ false      │
│ 9       │ '0x2840f9d9f96321435ab0f977e7fdbf32ea8b304f-berachain' │ 'sUSDa'    │ 'Berachain' │ 'dolomite' │ 22299216.734177854 │ 0                      │ 0         │ [ '0x2840F9d9f96321435Ab0f977E7FDBf32EA8b304f' ] │ []           │ 0                      │ 0               │ 22299216.734177854 │ 0                  │ 0.6666666666666666 │ 'Dolomite Balance' │ 'https://app.dolomite.io/stats/token/0x2840f9d9f96321435ab0f977e7fdbf32ea8b304f' │ false      │
└─────────┴────────────────────────────────────────────────────────┴────────────┴─────────────┴────────────┴────────────────────┴────────────────────────┴───────────┴──────────────────────────────────────────────────┴──────────────┴────────────────────────┴─────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────────────────────────────────────┴────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit fca1151 into DefiLlama:master Apr 23, 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