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 Struct Finance #883

Merged
merged 5 commits into from
Jul 28, 2023
Merged

Conversation

evchip
Copy link
Contributor

@evchip evchip commented Jul 19, 2023

No description provided.

@llamatester
Copy link

The struct-finance adapter exports pools:

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

Nb of pools: 2
 

Sample pools:
┌─────────┬──────────────────┬─────────┬────────┬──────────────────────────────────────────────────┬─────────┬────────────────────────────────────────────────────────┬───────────────────┐
│ (index) │     project      │ symbol  │ chain  │                 underlyingTokens                 │   apy   │                          pool                          │      tvlUsd       │
├─────────┼──────────────────┼─────────┼────────┼──────────────────────────────────────────────────┼─────────┼────────────────────────────────────────────────────────┼───────────────────┤
│    0    │ 'struct-finance' │ 'USDC'  │ 'Avax' │ [ '0x9e295B5B976a184B14aD8cd72413aD846C299660' ] │ 11.1742 │ '0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e-avalanche' │   104517.211557   │
│    1    │ 'struct-finance' │ 'BTC.b' │ 'Avax' │ [ '0x9e295B5B976a184B14aD8cd72413aD846C299660' ] │   10    │ '0x152b9d0fdc40c096757f570a51e494bd4b943e50-avalanche' │ 75324.01323941999 │
└─────────┴──────────────────┴─────────┴────────┴──────────────────────────────────────────────────┴─────────┴────────────────────────────────────────────────────────┴───────────────────┘

@slasher125
Copy link
Collaborator

pls lmk once ui is ok and i will take a look

@hirako2000
Copy link

pls lmk once ui is ok and i will take a look

We pushed a patch, are you able to see the UI fine now?

@llamatester
Copy link

The struct-finance adapter exports pools:

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

Nb of pools: 2
 

Sample pools:
┌─────────┬──────────────────┬─────────┬────────┬──────────────────────────────────────────────────┬────────┬────────────────────────────────────────────────────────┬───────────────────┐
│ (index) │     project      │ symbol  │ chain  │                 underlyingTokens                 │  apy   │                          pool                          │      tvlUsd       │
├─────────┼──────────────────┼─────────┼────────┼──────────────────────────────────────────────────┼────────┼────────────────────────────────────────────────────────┼───────────────────┤
│    0    │ 'struct-finance' │ 'BTC.b' │ 'Avax' │ [ '0x9e295B5B976a184B14aD8cd72413aD846C299660' ] │   10   │ '0x152b9d0fdc40c096757f570a51e494bd4b943e50-avalanche' │ 83146.11842249999 │
│    1    │ 'struct-finance' │ 'USDC'  │ 'Avax' │ [ '0x9e295B5B976a184B14aD8cd72413aD846C299660' ] │ 6.1424 │ '0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e-avalanche' │    999.8389739    │
└─────────┴──────────────────┴─────────┴────────┴──────────────────────────────────────────────────┴────────┴────────────────────────────────────────────────────────┴───────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit 4d05502 into DefiLlama:master Jul 28, 2023
@hirako2000
Copy link

hirako2000 commented Jul 28, 2023

<10k TVL, these pools won't be shown in DefiLlama
good to know.

thanks for the review and accepting this adapter @slasher125

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