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

fix getUtilizationRate() function #1068

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

0xKMG
Copy link
Contributor

@0xKMG 0xKMG commented Nov 7, 2023

thanks @slasher125 for the reminder, already updated the contract address

@llamatester
Copy link

The vaultka adapter exports pools:

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

Nb of pools: 10
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬───────────┬────────────┬────────────────────┬───────────────────────────────┬───────────────────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────┐
│ (index) │                     pool                     │   chain    │  project  │   symbol   │       tvlUsd       │           poolMeta            │          apy          │   totalSupplyUsd   │   totalBorrowUsd   │                 underlyingTokens                 │
├─────────┼──────────────────────────────────────────────┼────────────┼───────────┼────────────┼────────────────────┼───────────────────────────────┼───────────────────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────┤
│    0    │ '0xc53A53552191BeE184557A15f114a87a757e5b6F' │ 'Arbitrum' │ 'vaultka' │ 'SAKE-V2'  │ 1489318.8553730827 │    'VLP Leverage Vault V2'    │  13.739798507462645   │                    │                    │                                                  │
│    1    │ '0x806e8538FC05774Ea83d9428F778E423F6492475' │ 'Arbitrum' │ 'vaultka' │ 'S2-WATER' │    900958.47958    │    'SakeV2 Lending Vault'     │  7.2049801359821934   │   4057300.96207    │   3156342.48249    │                                                  │
│    2    │ '0xC99C6427cB0B824207606dC2745A512C6b066E7C' │ 'Arbitrum' │ 'vaultka' │ 'V1-WATER' │   523740.861726    │     'Vodka Lending Vault'     │ 0.0062892930261941975 │   625780.423177    │   102039.561451    │                                                  │
│    3    │ '0x0081772FD29E4838372CbcCdD020f53954f5ECDE' │ 'Arbitrum' │ 'vaultka' │ 'DN-VODKA' │   440669.881824    │   'Delta Neutral GLP Vault'   │   4.70491015325741    │                    │                    │ [ '0x2F546AD4eDD93B956C8999Be404cdCAFde3E89AE' ] │
│    4    │ '0x88D7500aF99f11fF52E9f185C7aAFBdF9acabD93' │ 'Arbitrum' │ 'vaultka' │ 'VODKA-V1' │ 164132.71513976844 │     'GLP Leverage Vault'      │  0.2797534415615162   │                    │                    │                                                  │
│    5    │ '0x45BeC5Bb0EE87181A7Aa20402C66A6dC4A923758' │ 'Arbitrum' │ 'vaultka' │   'SAKE'   │ 102103.07131638627 │     'VLP Leverage Vault'      │  13.739798507462645   │                    │                    │                                                  │
│    6    │ '0x6df0018b0449bB4468BfAE8507E13021a7aa0583' │ 'Arbitrum' │ 'vaultka' │ 'V-WATER'  │    93012.794055    │ 'Diluted Vodka Lending Vault' │  3.1754765307509816   │   256634.454952    │   163621.660897    │ [ '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' ] │
│    7    │ '0x6b367F9EB22B2E6074E9548689cddaF9224FC0Ab' │ 'Arbitrum' │ 'vaultka' │ 'S-WATER'  │    59523.798581    │     'Sake Lending Vault'      │  1.5895579635026835   │   126079.582149    │    66555.783568    │                                                  │
│    8    │ '0x6532eFCC1d617e094957247d188Ae6d54093718A' │ 'Arbitrum' │ 'vaultka' │ 'WHISKEY'  │ 19073.846811191157 │     'GDAI Leverage Vault'     │    16.18611875538     │                    │                    │                                                  │
│    9    │ '0xa100E02e861132C4703ae96D6868664f27Eaa431' │ 'Arbitrum' │ 'vaultka' │ 'W-WATER'  │ 10726.19641371935  │    'Whiskey Lending Vault'    │  1.8949328024194805   │ 23274.971561273665 │ 12548.775147554315 │                                                  │
└─────────┴──────────────────────────────────────────────┴────────────┴───────────┴────────────┴────────────────────┴───────────────────────────────┴───────────────────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────┘

@slasher125 slasher125 merged commit 132e23a into DefiLlama:master Nov 7, 2023
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