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 merkeProof oracles getPrices and rewardApy/rewardTokens for EVAA Protocol #1665

Merged
merged 6 commits into from
Dec 31, 2024

Conversation

murka
Copy link
Contributor

@murka murka commented Dec 26, 2024

No description provided.

@llamatester
Copy link

Error while running evaa-protocol adapter:

Test Suites: 1 failed, 1 total
Tests: 1 failed, 27 passed, 28 total
Snapshots: 0 total
Time: 0.28 s
Ran all test suites.

Nb of pools: 4
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────────────────────────┬───────┬─────────────────┬─────────┬────────────────────┬─────────────────────┬───────────────────┬────────────────────────────────────────────────────────┬────────────────────────────────────────┬────────────────────┬───────────────────┬────────────────────┬──────┐
│ (index) │                                           pool                                           │ chain │     project     │ symbol  │       tvlUsd       │       apyBase       │     apyReward     │                    underlyingTokens                    │                  url                   │   totalSupplyUsd   │  totalBorrowUsd   │   apyBaseBorrow    │ ltv  │
├─────────┼──────────────────────────────────────────────────────────────────────────────────────────┼───────┼─────────────────┼─────────┼────────────────────┼─────────────────────┼───────────────────┼────────────────────────────────────────────────────────┼────────────────────────────────────────┼────────────────────┼───────────────────┼────────────────────┼──────┤
│    0    │ 'evaa-23103091784861387372100043848078515239542568751939923972799733728526040769767-ton' │ 'Ton' │ 'evaa-protocol' │ 'tsTON' │ 11084093.83765582  │ 0.03785034181973401 │     undefined     │ [ 'EQC98_qAmNEptUtPc7W6xdHh_ZHrBUFpw5Ft_IzNU20QAJav' ] │ 'https://app.evaa.finance/token/tsTON' │ 11435986.244323306 │ 351892.4066674859 │ 1.5764489739193976 │ 0.66 │
│    1    │ 'evaa-33171510858320790266247832496974106978700190498800858393089426423762035476944-ton' │ 'Ton' │ 'evaa-protocol' │ 'stTON' │ 8135379.768483401  │ 0.03785034181973401 │     undefined     │ [ 'EQDNhy-nxYFgUqzfUzImBEP67JqsyMIcyk2S5_RwNNEYku0k' ] │ 'https://app.evaa.finance/token/stTON' │ 8410629.194111219  │ 275249.4256278177 │ 1.5828555306446557 │ 0.65 │
│    2    │ 'evaa-11876925370864614464799087627157805050745321306404563164673853337929163193738-ton' │ 'Ton' │ 'evaa-protocol' │  'TON'  │ 6391056.583002863  │ 0.6231876975176354  │     undefined     │ [ 'EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c' ] │  'https://app.evaa.finance/token/TON'  │  9601282.77171811  │ 3210226.188715248 │ 2.357802837255263  │ 0.72 │
│    3    │ 'evaa-91621667903763073563570557639433445791506232618002614896981036659302854767224-ton' │ 'Ton' │ 'evaa-protocol' │ 'USDT'  │ 3632981.1575528327 │  8.212432205854569  │ 3.006953315824198 │ [ 'EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs' ] │ 'https://app.evaa.finance/token/USDT'  │ 10558027.156931464 │ 6925045.999378631 │ 16.233074710283013 │ 0.74 │
└─────────┴──────────────────────────────────────────────────────────────────────────────────────────┴───────┴─────────────────┴─────────┴────────────────────┴─────────────────────┴───────────────────┴────────────────────────────────────────────────────────┴────────────────────────────────────────┴────────────────────┴───────────────────┴────────────────────┴──────┘
}

@slasher125
Copy link
Collaborator

gm @murka
pls make sure to check the output of the tests and fix any issues. rn its failing cause u need to add rewardTokens

@murka murka changed the title feat: add rewardApy for EVAA Protocol feat: add merkeProof oracles getPrices and rewardApy/rewardTokens for EVAA Protocol Dec 30, 2024
@llamatester
Copy link

The evaa-protocol adapter exports pools:

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

Nb of pools: 4
 

Sample pools:
┌─────────┬──────────────────────────────────────────────────────────────────────────────────────────┬───────┬─────────────────┬─────────┬────────────────────┬──────────────────────┬──────────────────┬──────────────┬────────────────────────────────────────────────────────┬────────────────────────────────────────┬────────────────────┬────────────────────┬────────────────────┬──────┐
│ (index) │                                           pool                                           │ chain │     project     │ symbol  │       tvlUsd       │       apyBase        │    apyReward     │ rewardTokens │                    underlyingTokens                    │                  url                   │   totalSupplyUsd   │   totalBorrowUsd   │   apyBaseBorrow    │ ltv  │
├─────────┼──────────────────────────────────────────────────────────────────────────────────────────┼───────┼─────────────────┼─────────┼────────────────────┼──────────────────────┼──────────────────┼──────────────┼────────────────────────────────────────────────────────┼────────────────────────────────────────┼────────────────────┼────────────────────┼────────────────────┼──────┤
│    0    │ 'evaa-23103091784861387372100043848078515239542568751939923972799733728526040769767-ton' │ 'Ton' │ 'evaa-protocol' │ 'tsTON' │ 15352773.440218918 │ 0.025231974004569224 │    undefined     │  undefined   │ [ 'EQC98_qAmNEptUtPc7W6xdHh_ZHrBUFpw5Ft_IzNU20QAJav' ] │ 'https://app.evaa.finance/token/tsTON' │ 15737294.167503156 │ 384520.72728423704 │ 1.5604343449100666 │ 0.66 │
│    1    │ 'evaa-33171510858320790266247832496974106978700190498800858393089426423762035476944-ton' │ 'Ton' │ 'evaa-protocol' │ 'stTON' │ 13193917.838292977 │ 0.03154095949100544  │    undefined     │  undefined   │ [ 'EQDNhy-nxYFgUqzfUzImBEP67JqsyMIcyk2S5_RwNNEYku0k' ] │ 'https://app.evaa.finance/token/stTON' │ 13558163.828569649 │ 364245.9902766716  │ 1.5668398943393447 │ 0.65 │
│    2    │ 'evaa-11876925370864614464799087627157805050745321306404563164673853337929163193738-ton' │ 'Ton' │ 'evaa-protocol' │  'TON'  │ 7724745.314572789  │  0.5534014677319954  │    undefined     │  undefined   │ [ 'EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c' ] │  'https://app.evaa.finance/token/TON'  │ 11137285.724877873 │ 3412540.410305084  │ 2.286816905048239  │ 0.72 │
│    3    │ 'evaa-91621667903763073563570557639433445791506232618002614896981036659302854767224-ton' │ 'Ton' │ 'evaa-protocol' │ 'USDT'  │ 4355459.761191266  │  9.199507298420539   │ 4.05834853993805 │  [ 'TON' ]   │ [ 'EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs' ] │ 'https://app.evaa.finance/token/USDT'  │ 14168231.862328492 │ 9812772.101137226  │ 17.215484119515544 │ 0.74 │
└─────────┴──────────────────────────────────────────────────────────────────────────────────────────┴───────┴─────────────────┴─────────┴────────────────────┴──────────────────────┴──────────────────┴──────────────┴────────────────────────────────────────────────────────┴────────────────────────────────────────┴────────────────────┴────────────────────┴────────────────────┴──────┘

@murka
Copy link
Contributor Author

murka commented Dec 30, 2024

FYI: @slasher125

@slasher125 slasher125 merged commit a7e8aaf into DefiLlama:master Dec 31, 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.

3 participants