Skip to content

feat: add hyeth and wsteth15x #1810

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 2 commits into from
Apr 25, 2025

Conversation

janndriessen
Copy link
Contributor

Adds hyETH and wstETH15x.

@janndriessen
Copy link
Contributor Author

For the new products I'd understand why coins.llama.fi wouldn't find a price but right now not even the already added icETH price can not be determined?

Please advise how to proceed.

@janndriessen
Copy link
Contributor Author

For the new products I'd understand why coins.llama.fi wouldn't find a price but right now not even the already added icETH price can not be determined?

Please advise how to proceed.

gm @slasher125 any advice here?

@slasher125
Copy link
Collaborator

For the new products I'd understand why coins.llama.fi wouldn't find a price but right now not even the already added icETH price can not be determined?
Please advise how to proceed.

gm @slasher125 any advice here?

we are on it. fyi: the cg price feed has been stale for a while which is why there is no price from our api

@llamatester
Copy link

Error while running index-coop adapter:

Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.265 s
Ran all test suites.

Nb of pools: 3
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────────┬─────────┬──────────────────┬──────────┬───────────┐
│ (index) │ pool                                                  │ chain      │ project      │ symbol  │ tvlUsd           │ apy      │ Values    │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────────┼─────────┼──────────────────┼──────────┼───────────┤
│ 0       │ '0x7c07f7abe10ce8e33dc6c5ad68fe033085256a84-ethereum' │ 'Ethereum' │ 'index-coop' │ 'icETH' │ 3462171.20139987 │ 3.205813 │           │
│ 1       │                                                       │            │              │         │                  │          │ undefined │
│ 2       │                                                       │            │              │         │                  │          │ undefined │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────────┴─────────┴──────────────────┴──────────┴───────────┘
TypeError: Jest: Got error running globalTeardown - /home/runner/work/yield-server/yield-server/src/adaptors/afterTests.js, reason: Cannot read properties of undefined (reading 'tvlUsd')
    at /home/runner/work/yield-server/yield-server/src/adaptors/afterTests.js:9:30
    at Array.some (<anonymous>)
    at module.exports (/home/runner/work/yield-server/yield-server/src/adaptors/afterTests.js:9:18)
    at /home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/runGlobalHook.js:125:19
    at ScriptTransformer.requireAndTranspileModule (/home/runner/work/yield-server/yield-server/node_modules/@jest/transform/build/ScriptTransformer.js:905:24)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runGlobalHook (/home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/runGlobalHook.js:116:9)
    at runJest (/home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/runJest.js:411:5)
    at _run10000 (/home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/cli/index.js:339:7)
    at runCLI (/home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/cli/index.js:190:3)
    at Object.run (/home/runner/work/yield-server/yield-server/node_modules/jest-cli/build/cli/index.js:155:37)
}

@slasher125
Copy link
Collaborator

@janndriessen price is now available for iceth

@janndriessen
Copy link
Contributor Author

janndriessen commented Apr 17, 2025

@janndriessen price is now available for iceth

thank you sir. how would we go about the two new added products? I think they are just missing the price feed on your side too. @slasher125

@llamatester
Copy link

Error while running index-coop adapter:

Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.318 s
Ran all test suites.

Nb of pools: 3
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────────┬─────────┬────────────────────┬────────────────────┬───────────┐
│ (index) │ pool                                                  │ chain      │ project      │ symbol  │ tvlUsd             │ apy                │ Values    │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────────┼─────────┼────────────────────┼────────────────────┼───────────┤
│ 0       │ '0x7c07f7abe10ce8e33dc6c5ad68fe033085256a84-ethereum' │ 'Ethereum' │ 'index-coop' │ 'icETH' │ 3881210.73694812   │ 7.6935970000000005 │           │
│ 1       │ '0xc4506022fb8090774e8a628d5084eed61d9b99ee-ethereum' │ 'Ethereum' │ 'index-coop' │ 'hyETH' │ 1822973.5993284327 │ 3.9298             │           │
│ 2       │                                                       │            │              │         │                    │                    │ undefined │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────────┴─────────┴────────────────────┴────────────────────┴───────────┘
TypeError: Jest: Got error running globalTeardown - /home/runner/work/yield-server/yield-server/src/adaptors/afterTests.js, reason: Cannot read properties of undefined (reading 'tvlUsd')
    at /home/runner/work/yield-server/yield-server/src/adaptors/afterTests.js:9:30
    at Array.some (<anonymous>)
    at module.exports (/home/runner/work/yield-server/yield-server/src/adaptors/afterTests.js:9:18)
    at /home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/runGlobalHook.js:125:19
    at ScriptTransformer.requireAndTranspileModule (/home/runner/work/yield-server/yield-server/node_modules/@jest/transform/build/ScriptTransformer.js:905:24)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runGlobalHook (/home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/runGlobalHook.js:116:9)
    at runJest (/home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/runJest.js:411:5)
    at _run10000 (/home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/cli/index.js:339:7)
    at runCLI (/home/runner/work/yield-server/yield-server/node_modules/@jest/core/build/cli/index.js:190:3)
    at Object.run (/home/runner/work/yield-server/yield-server/node_modules/jest-cli/build/cli/index.js:155:37)
}

@slasher125
Copy link
Collaborator

gm @janndriessen we now price all these tokens, can u check locally again for bugs

@llamatester
Copy link

The index-coop adapter exports pools:

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

Nb of pools: 3
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────────┬─────────────┬────────────────────┬────────────────────┐
│ (index) │ pool                                                  │ chain      │ project      │ symbol      │ tvlUsd             │ apy                │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────────┼─────────────┼────────────────────┼────────────────────┤
│ 0       │ '0x7c07f7abe10ce8e33dc6c5ad68fe033085256a84-ethereum' │ 'Ethereum' │ 'index-coop' │ 'icETH'     │ 3880020.5638911286 │ 3.4481140000000003 │
│ 1       │ '0xc4506022fb8090774e8a628d5084eed61d9b99ee-ethereum' │ 'Ethereum' │ 'index-coop' │ 'hyETH'     │ 1827406.5424440897 │ 4.6038             │
│ 2       │ '0xc8df827157adaf693fcb0c6f305610c28de739fd-base'     │ 'Base'     │ 'index-coop' │ 'wstETH15x' │ 62240.12637144355  │ 10.862096000000001 │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────────┴─────────────┴────────────────────┴────────────────────┘

@janndriessen
Copy link
Contributor Author

gm @janndriessen we now price all these tokens, can u check locally again for bugs

thank you @slasher125 now all looks good. ✅

@slasher125 slasher125 merged commit 5020ee2 into DefiLlama:master Apr 25, 2025
1 check passed
@TheYoungCrews
Copy link

how come hyETH and wstETH15x are not findable on the defillama.com/yields frontend? I'm not able to find Index Coop in the Project filter @slasher125

@slasher125
Copy link
Collaborator

how come hyETH and wstETH15x are not findable on the defillama.com/yields frontend? I'm not able to find Index Coop in the Project filter @slasher125

is fixed now, should be visible in 1-2h on ui

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