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

Kujira GHOST APRs #1080

Merged
merged 4 commits into from
Nov 15, 2023
Merged

Kujira GHOST APRs #1080

merged 4 commits into from
Nov 15, 2023

Conversation

codehans
Copy link
Contributor

No description provided.

@llamatester
Copy link

The ghost adapter exports pools:

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

Nb of pools: 30
 

Sample pools:
┌─────────┬─────────────────────────────────────────────────────────────────────┬──────────┬─────────┬──────────┬────────────────────┬────────────────────┐
│ (index) │                                pool                                 │  chain   │ project │  symbol  │       tvlUsd       │        apy         │
├─────────┼─────────────────────────────────────────────────────────────────────┼──────────┼─────────┼──────────┼────────────────────┼────────────────────┤
│    0    │ 'kujira1e224c8ry0nuun5expxm00hmssl8qnsjkd02ft94p3m2a33xked2qypgys3' │ 'Kujira' │ 'ghost' │  'USDC'  │ 2157209.3370712628 │ 45.02368762790403  │
│    1    │ 'kujira1w4yaama77v53fp0f9343t9w2f932z526vj970n2jv5055a7gt92sxgwypf' │ 'Kujira' │ 'ghost' │  'USK'   │   1829045.230548   │ 32.534566012077484 │
│    2    │ 'kujira143fwcudwy0exd6zd3xyvqt2kae68ud6n8jqchufu7wdg5sryd4lqtlvvep' │ 'Kujira' │ 'ghost' │  'KUJI'  │ 1330821.6435514924 │ 1.192926160734815  │
│    3    │ 'kujira1jelmu9tdmr6hqg0d6qw4g6c9mwrexrzuryh50fwcavcpthp5m0uq20853h' │ 'Kujira' │ 'ghost' │  'USDC'  │ 619537.1143551968  │ 34.540726476196845 │
│    4    │ 'kujira1r57gjas00pftgcwg7xfg32246atuua5axmqlnnw9usdyzpfjjqusxsqcjd' │ 'Kujira' │ 'ghost' │  'ETH'   │ 238943.2416794606  │ 24.283979666361653 │
│    5    │ 'kujira1xhxefc8v3tt0n75wpzfqcrukzyfneyttdppqst84zzdxnf223m2qm4g5at' │ 'Kujira' │ 'ghost' │  'WBTC'  │ 143871.62408244357 │ 23.93455596616957  │
│    6    │ 'kujira1e6kvcdpxtu30t8x9sx0k692tln9z636gyu8sqf6w5fm5z3jrvjjqc8qfkr' │ 'Kujira' │ 'ghost' │  'ATOM'  │ 30816.897375964385 │  21.9104106848469  │
│    7    │ 'kujira19mmvst3l3y6c3mtyqhj7vxne4g69ayd9lq323w7k270p6fp0sy6qlv642l' │ 'Kujira' │ 'ghost' │  'LUNA'  │ 18901.27991768942  │  6.45065072642342  │
│    8    │ 'kujira1md94f5metrd4fhecalrmhtac5t4upeg9gz2e24hmuszdtgfxy85qvkphnw' │ 'Kujira' │ 'ghost' │  'PAXG'  │ 14530.960937895159 │ 62.44234032146259  │
│    9    │ 'kujira13aga84rpxpvuf9xqrz88pc2gtd3duz7qs4kvlgnzwhdurluhhncqh4exwr' │ 'Kujira' │ 'ghost' │ 'STATOM' │ 7058.727376448932  │ 4.713083519531971  │
└─────────┴─────────────────────────────────────────────────────────────────────┴──────────┴─────────┴──────────┴────────────────────┴────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The ghost adapter exports pools:

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

Nb of pools: 30
 

Sample pools:
┌─────────┬─────────────────────────────────────────────────────────────────────┬──────────┬─────────┬──────────┬────────────────────┬────────────────────┐
│ (index) │                                pool                                 │  chain   │ project │  symbol  │       tvlUsd       │        apy         │
├─────────┼─────────────────────────────────────────────────────────────────────┼──────────┼─────────┼──────────┼────────────────────┼────────────────────┤
│    0    │ 'kujira1e224c8ry0nuun5expxm00hmssl8qnsjkd02ft94p3m2a33xked2qypgys3' │ 'Kujira' │ 'ghost' │  'USDC'  │  2182561.31301187  │ 40.84679847601452  │
│    1    │ 'kujira1w4yaama77v53fp0f9343t9w2f932z526vj970n2jv5055a7gt92sxgwypf' │ 'Kujira' │ 'ghost' │  'USK'   │   1852359.380204   │ 15.477627849879799 │
│    2    │ 'kujira143fwcudwy0exd6zd3xyvqt2kae68ud6n8jqchufu7wdg5sryd4lqtlvvep' │ 'Kujira' │ 'ghost' │  'KUJI'  │ 1285382.3701016086 │ 1.1998319791132748 │
│    3    │ 'kujira1jelmu9tdmr6hqg0d6qw4g6c9mwrexrzuryh50fwcavcpthp5m0uq20853h' │ 'Kujira' │ 'ghost' │  'USDC'  │  623792.530514011  │  9.38128846438804  │
│    4    │ 'kujira1r57gjas00pftgcwg7xfg32246atuua5axmqlnnw9usdyzpfjjqusxsqcjd' │ 'Kujira' │ 'ghost' │  'ETH'   │ 238463.3266394164  │ 20.42083755675613  │
│    5    │ 'kujira1xhxefc8v3tt0n75wpzfqcrukzyfneyttdppqst84zzdxnf223m2qm4g5at' │ 'Kujira' │ 'ghost' │  'WBTC'  │ 198449.30371521515 │ 6.4862089353052985 │
│    6    │ 'kujira1e6kvcdpxtu30t8x9sx0k692tln9z636gyu8sqf6w5fm5z3jrvjjqc8qfkr' │ 'Kujira' │ 'ghost' │  'ATOM'  │ 29421.34678512804  │ 19.713458567424933 │
│    7    │ 'kujira19mmvst3l3y6c3mtyqhj7vxne4g69ayd9lq323w7k270p6fp0sy6qlv642l' │ 'Kujira' │ 'ghost' │  'LUNA'  │ 17055.872746988105 │  6.82834114720028  │
│    8    │ 'kujira1md94f5metrd4fhecalrmhtac5t4upeg9gz2e24hmuszdtgfxy85qvkphnw' │ 'Kujira' │ 'ghost' │  'PAXG'  │ 15304.966699069786 │ 6.820270711506232  │
│    9    │ 'kujira13aga84rpxpvuf9xqrz88pc2gtd3duz7qs4kvlgnzwhdurluhhncqh4exwr' │ 'Kujira' │ 'ghost' │ 'STATOM' │ 12416.200372740854 │  3.4382768094786   │
└─────────┴─────────────────────────────────────────────────────────────────────┴──────────┴─────────┴──────────┴────────────────────┴────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

hi, ty for adding.

  • apy seems off compared to UI
  • tvlUsd = available liquidity
  • please add the additional borrow related fields (see readme) so we can also track ghost on our borrow aggregator

@codehans
Copy link
Contributor Author

Thanks @slasher125 , updated. Not sure what itv refers to? Multiple CDP positions can borrow from these vaults, so there are multiple max LTVs possible?

@llamatester
Copy link

Error while running ghost adapter:

Test Suites: 1 failed, 1 total
Tests: 3 failed, 151 passed, 154 total
Snapshots: 0 total
Time: 0.322 s
Ran all test suites.

Nb of pools: 30
 

Sample pools:
┌─────────┬─────────────────────────────────────────────────────────────────────┬──────────┬─────────┬──────────┬────────────────────┬─────────────────────┬────────────────────┬─────────────────┬────────────────────┬────────────────────┐
│ (index) │                                pool                                 │  chain   │ project │  symbol  │       tvlUsd       │         apy         │   apyBaseBorrow    │ apyRewardBorrow │   totalSupplyUsd   │   totalBorrowUsd   │
├─────────┼─────────────────────────────────────────────────────────────────────┼──────────┼─────────┼──────────┼────────────────────┼─────────────────────┼────────────────────┼─────────────────┼────────────────────┼────────────────────┤
│    0    │ 'kujira143fwcudwy0exd6zd3xyvqt2kae68ud6n8jqchufu7wdg5sryd4lqtlvvep' │ 'Kujira' │ 'ghost' │  'KUJI'  │  1095390.83567966  │ 0.09254022577560339 │ 1.1937940462676127 │        0        │ 1187438.3849004512 │ 92047.54922079123  │
│    1    │ 'kujira1e224c8ry0nuun5expxm00hmssl8qnsjkd02ft94p3m2a33xked2qypgys3' │ 'Kujira' │ 'ghost' │  'USDC'  │ 772685.5288061646  │  22.20223400627558  │ 34.865098131683276 │        0        │ 2127461.5695121153 │ 1354776.0407059505 │
│    2    │ 'kujira1w4yaama77v53fp0f9343t9w2f932z526vj970n2jv5055a7gt92sxgwypf' │ 'Kujira' │ 'ghost' │  'USK'   │   591450.114381    │  5.59254591024061   │ 7.9954347026266595 │        0        │   1968006.502997   │   1376556.388616   │
│    3    │ 'kujira1jelmu9tdmr6hqg0d6qw4g6c9mwrexrzuryh50fwcavcpthp5m0uq20853h' │ 'Kujira' │ 'ghost' │  'USDC'  │ 249759.75276477938 │  5.664688897860553  │  8.49860148062182  │        0        │ 749002.8512376681  │ 499243.09847288876 │
│    4    │ 'kujira1xhxefc8v3tt0n75wpzfqcrukzyfneyttdppqst84zzdxnf223m2qm4g5at' │ 'Kujira' │ 'ghost' │  'WBTC'  │ 102462.68366538176 │  2.979682299778289  │ 6.549457875842759  │        0        │ 187988.01667304034 │ 85525.33300765858  │
│    5    │ 'kujira1r57gjas00pftgcwg7xfg32246atuua5axmqlnnw9usdyzpfjjqusxsqcjd' │ 'Kujira' │ 'ghost' │  'ETH'   │ 95859.82366404285  │ 4.7321399111341185  │ 7.951323384288496  │        0        │ 236771.9839114381  │ 140912.16024739522 │
│    6    │ 'kujira1e6kvcdpxtu30t8x9sx0k692tln9z636gyu8sqf6w5fm5z3jrvjjqc8qfkr' │ 'Kujira' │ 'ghost' │  'ATOM'  │ 18523.494620917925 │  3.390922826636038  │ 6.9083996511351735 │        0        │ 36380.539279082644 │ 17857.044658164712 │
│    7    │ 'kujira13aga84rpxpvuf9xqrz88pc2gtd3duz7qs4kvlgnzwhdurluhhncqh4exwr' │ 'Kujira' │ 'ghost' │ 'STATOM' │ 10390.661338972566 │ 0.49454851424450574 │ 3.4383260689421826 │        0        │ 12136.270859979479 │ 1745.6095210069116 │
│    8    │ 'kujira19mmvst3l3y6c3mtyqhj7vxne4g69ayd9lq323w7k270p6fp0sy6qlv642l' │ 'Kujira' │ 'ghost' │  'LUNA'  │ 8100.355796918196  │ 3.4440181094247015  │ 6.953140513292164  │        0        │ 16050.42673961972  │ 7950.070942701523  │
│    9    │ 'kujira1md94f5metrd4fhecalrmhtac5t4upeg9gz2e24hmuszdtgfxy85qvkphnw' │ 'Kujira' │ 'ghost' │  'PAXG'  │  7994.29611247596  │ 3.2851435132209024  │ 6.818165877187843  │        0        │ 15427.707880404758 │ 7433.411767928797  │
└─────────┴─────────────────────────────────────────────────────────────────────┴──────────┴─────────┴──────────┴────────────────────┴─────────────────────┴────────────────────┴─────────────────┴────────────────────┴────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama
}

@llamatester
Copy link

The ghost adapter exports pools:

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

Nb of pools: 30
 

Sample pools:
┌─────────┬─────────────────────────────────────────────────────────────────────┬──────────┬─────────┬──────────┬────────────────────┬─────────────────────┬────────────────────┬─────────────────┬────────────────────┬────────────────────┐
│ (index) │                                pool                                 │  chain   │ project │  symbol  │       tvlUsd       │         apy         │   apyBaseBorrow    │ apyRewardBorrow │   totalSupplyUsd   │   totalBorrowUsd   │
├─────────┼─────────────────────────────────────────────────────────────────────┼──────────┼─────────┼──────────┼────────────────────┼─────────────────────┼────────────────────┼─────────────────┼────────────────────┼────────────────────┤
│    0    │ 'kujira143fwcudwy0exd6zd3xyvqt2kae68ud6n8jqchufu7wdg5sryd4lqtlvvep' │ 'Kujira' │ 'ghost' │  'KUJI'  │ 1091519.9104015639 │ 0.0925402427484201  │ 1.1937940462676127 │        0        │ 1183242.197444302  │  91722.2870427381  │
│    1    │ 'kujira1e224c8ry0nuun5expxm00hmssl8qnsjkd02ft94p3m2a33xked2qypgys3' │ 'Kujira' │ 'ghost' │  'USDC'  │ 772717.3040263721  │  22.20379236115369  │ 34.867501479661875 │        0        │ 2127553.7434859984 │ 1354836.4394596263 │
│    2    │ 'kujira1w4yaama77v53fp0f9343t9w2f932z526vj970n2jv5055a7gt92sxgwypf' │ 'Kujira' │ 'ghost' │  'USK'   │   591052.450421    │  5.595163056923494  │ 7.997037568871966  │        0        │   1967908.243198   │   1376855.792777   │
│    3    │ 'kujira1jelmu9tdmr6hqg0d6qw4g6c9mwrexrzuryh50fwcavcpthp5m0uq20853h' │ 'Kujira' │ 'ghost' │  'USDC'  │ 249769.53050890565 │  5.664691519137528  │  8.49860148062182  │        0        │  749032.86648014   │ 499263.33597123437 │
│    4    │ 'kujira1xhxefc8v3tt0n75wpzfqcrukzyfneyttdppqst84zzdxnf223m2qm4g5at' │ 'Kujira' │ 'ghost' │  'WBTC'  │ 102532.64757104228 │ 2.9796839733693465  │ 6.549457875842759  │        0        │ 188116.4674602734  │  85583.8198892311  │
│    5    │ 'kujira1r57gjas00pftgcwg7xfg32246atuua5axmqlnnw9usdyzpfjjqusxsqcjd' │ 'Kujira' │ 'ghost' │  'ETH'   │ 95627.22621447871  │  4.732142358229562  │ 7.951323384288496  │        0        │ 236197.6520794486  │ 140570.4258649699  │
│    6    │ 'kujira1e6kvcdpxtu30t8x9sx0k692tln9z636gyu8sqf6w5fm5z3jrvjjqc8qfkr' │ 'Kujira' │ 'ghost' │  'ATOM'  │ 18498.475129597093 │ 3.3909246708172573  │ 6.9083996511351735 │        0        │ 36331.41951170067  │ 17832.94438210357  │
│    7    │ 'kujira13aga84rpxpvuf9xqrz88pc2gtd3duz7qs4kvlgnzwhdurluhhncqh4exwr' │ 'Kujira' │ 'ghost' │ 'STATOM' │ 10374.889735187671 │ 0.49454875682366234 │ 3.4383260689421826 │        0        │ 12117.850658080015 │ 1742.9609228923437 │
│    8    │ 'kujira19mmvst3l3y6c3mtyqhj7vxne4g69ayd9lq323w7k270p6fp0sy6qlv642l' │ 'Kujira' │ 'ghost' │  'LUNA'  │ 8108.825074831456  │  3.431294771450149  │ 6.942468381957319  │        0        │ 16033.175211951006 │  7924.35013711955  │
│    9    │ 'kujira1md94f5metrd4fhecalrmhtac5t4upeg9gz2e24hmuszdtgfxy85qvkphnw' │ 'Kujira' │ 'ghost' │  'PAXG'  │ 7996.229258080811  │  3.285145340972849  │ 6.818165877187843  │        0        │ 15431.446524232708 │ 7435.217266151898  │
└─────────┴─────────────────────────────────────────────────────────────────────┴──────────┴─────────┴──────────┴────────────────────┴─────────────────────┴────────────────────┴─────────────────┴────────────────────┴────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

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