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

Add IPOR pools #382

Merged
merged 1 commit into from
Oct 26, 2022
Merged

Add IPOR pools #382

merged 1 commit into from
Oct 26, 2022

Conversation

kris-ipor
Copy link
Contributor

No description provided.

@llamatester
Copy link

The ipor adapter exports pools:

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

Nb of pools: 3
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────┬────────┬───────────────────┬────────────┬───────────┬──────────────────────────────────────────────────┐
│ (index) │                         pool                          │   chain    │ project │ symbol │      tvlUsd       │  apyBase   │ apyReward │                 underlyingTokens                 │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────┼────────┼───────────────────┼────────────┼───────────┼──────────────────────────────────────────────────┤
│    0    │ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-ethereum' │ 'Ethereum' │ 'ipor'  │ 'USDC' │ 564969.5906126343 │ 4.5262266  │   null    │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │
│    1    │ '0xdac17f958d2ee523a2206206994597c13d831ec7-ethereum' │ 'Ethereum' │ 'ipor'  │ 'USDT' │ 495049.0103869061 │ 8.89083144 │   null    │ [ '0xdac17f958d2ee523a2206206994597c13d831ec7' ] │
│    2    │ '0x6b175474e89094c44da98b954eedeac495271d0f-ethereum' │ 'Ethereum' │ 'ipor'  │ 'DAI'  │ 262851.2418454077 │ 8.87199624 │   null    │ [ '0x6b175474e89094c44da98b954eedeac495271d0f' ] │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────┴────────┴───────────────────┴────────────┴───────────┴──────────────────────────────────────────────────┘

@vrtnd
Copy link
Member

vrtnd commented Oct 25, 2022

Hi, is it possible to rewrite an adapter using on-chain calls, we are moving away from centralized apis as source of data
See readme https://github.com/DefiLlama/yield-server#data-sources

@kris-ipor kris-ipor closed this Oct 26, 2022
@kris-ipor
Copy link
Contributor Author

Hi, unfortunately right now the API is the only way to query the APY over a period of time. We're working on the subgraph for IPOR Protocol, but it would take couple weeks before we will have improved implementation. We are also phasing out the reliance on our own infrastructure to replace it with decentralised solutions but we're in the transition period.

@kris-ipor kris-ipor reopened this Oct 26, 2022
@llamatester
Copy link

The ipor adapter exports pools:

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

Nb of pools: 3
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬─────────┬────────┬───────────────────┬────────────┬───────────┬──────────────────────────────────────────────────┐
│ (index) │                         pool                          │   chain    │ project │ symbol │      tvlUsd       │  apyBase   │ apyReward │                 underlyingTokens                 │
├─────────┼───────────────────────────────────────────────────────┼────────────┼─────────┼────────┼───────────────────┼────────────┼───────────┼──────────────────────────────────────────────────┤
│    0    │ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-ethereum' │ 'Ethereum' │ 'ipor'  │ 'USDC' │ 567925.5631384347 │ 4.57492764 │   null    │ [ '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' ] │
│    1    │ '0xdac17f958d2ee523a2206206994597c13d831ec7-ethereum' │ 'Ethereum' │ 'ipor'  │ 'USDT' │ 496013.9466470281 │ 7.29045468 │   null    │ [ '0xdac17f958d2ee523a2206206994597c13d831ec7' ] │
│    2    │ '0x6b175474e89094c44da98b954eedeac495271d0f-ethereum' │ 'Ethereum' │ 'ipor'  │ 'DAI'  │ 267307.4054312414 │ 7.9353828  │   null    │ [ '0x6b175474e89094c44da98b954eedeac495271d0f' ] │
└─────────┴───────────────────────────────────────────────────────┴────────────┴─────────┴────────┴───────────────────┴────────────┴───────────┴──────────────────────────────────────────────────┘

@slasher125 slasher125 merged commit 46a7ea4 into DefiLlama:master Oct 26, 2022
@kris-ipor kris-ipor deleted the yield-ipor-adapter branch January 25, 2023 17:09
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