Skip to content

update basisos index #1894

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

Closed

Conversation

fullmetalholder
Copy link
Contributor

This PR enables fetching the BasisOS APR (Rewars) for vaults.

We’re providing rewards in $BIOS tokens offchain, so in the code we’re using an API. More details can be found in the docs https://docs.basisos.org/tokenomics/liquidity-mining

This API is consistent across all vaults.

@llamatester
Copy link

Error while running basisos adapter:

Test Suites: 1 failed, 1 total
Tests: 2 failed, 14 passed, 16 total
Snapshots: 0 total
Time: 0.267 s
Ran all test suites.

Nb of pools: 2
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────┬───────────┬────────────┬────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬───────────┐
│ (index) │ pool                                                  │ symbol │ project   │ chain      │ tvlUsd         │ underlyingTokens                                                                               │ apyBase            │ apyReward │
├─────────┼───────────────────────────────────────────────────────┼────────┼───────────┼────────────┼────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼───────────┤
│ 0       │ '0xe5fc579f20c2dbffd78a92ddd124871a35519659-arbitrum' │ 'WBTC' │ 'basisos' │ 'Arbitrum' │ 3884138.882345 │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │ 10.58126062338094  │ 483.41    │
│ 1       │ '0x79f76e343807ea194789d114e61be6676e6bbeda-arbitrum' │ 'LINK' │ 'basisos' │ 'Arbitrum' │ 166758.555891  │ [ '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4', '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' ] │ 10.324340726033594 │ 483.41    │
└─────────┴───────────────────────────────────────────────────────┴────────┴───────────┴────────────┴────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴───────────┘
}

@slasher125
Copy link
Collaborator

@fullmetalholder pls add missing rewardTokens field

@slasher125 slasher125 closed this Aug 9, 2025
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