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 teahouse reward apy #1076

Merged
merged 15 commits into from
Nov 13, 2023

Conversation

daiwanwei
Copy link
Contributor

The reward token is issued by the central server and is distributed to the owners holding pool shares.

@llamatester
Copy link

The teahouse-permissionless adapter exports pools:

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

Nb of pools: 11
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────────────────┬──────────────────────────────────────────────────────────────────────────────────────┬───────────────────────────┬────────────────────┬──────────────────────┬────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────────┬──────────┐
│ (index) │                         pool                          │   chain    │        symbol        │                                         url                                          │          project          │       tvlUsd       │       apyBase        │     apyReward      │                                        underlyingTokens                                        │                   rewardTokens                   │ poolMeta │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┼───────────────────────────┼────────────────────┼──────────────────────┼────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────┼──────────┤
│    0    │   '0xB67A8Af68207cceEaD014b6ceFA3Fc40BfBBBD0e-boba'   │   'boba'   │   'WBTC-WETH 0.3%'   │   'https://vault.teahouse.finance/boba/0xB67A8Af68207cceEaD014b6ceFA3Fc40BfBBBD0e'   │ 'teahouse-permissionless' │ 189418.50238225743 │          0           │ 52.12491749934055  │ [ '0xdc0486f8bf31df57a952bcd3c1d3e166e3d9ec8b', '0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000' ] │ [ '0xa18bF3994C0Cc6E3b63ac420308E5383f53120D7' ] │  '0.3%'  │
│    1    │   '0x07811284e36fDc45f65cd56FC7c6929855d6A0cc-boba'   │   'boba'   │  'USDC-BOBA 0.05%'   │   'https://vault.teahouse.finance/boba/0x07811284e36fDc45f65cd56FC7c6929855d6A0cc'   │ 'teahouse-permissionless' │   123565.066895    │          0           │ 159.80930626475197 │ [ '0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc', '0xa18bf3994c0cc6e3b63ac420308e5383f53120d7' ] │ [ '0xa18bF3994C0Cc6E3b63ac420308E5383f53120D7' ] │ '0.05%'  │
│    2    │ '0x99c2901d2883F8D295A989544f118e31eC21823e-arbitrum' │ 'arbitrum' │ 'wstETH-WETH 0.01%'  │ 'https://vault.teahouse.finance/arbitrum/0x99c2901d2883F8D295A989544f118e31eC21823e' │ 'teahouse-permissionless' │  99888.8986908649  │   3.56216733739008   │         0          │ [ '0x5979D7b546E38E414F7E9822514be443A4800529', '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │                        []                        │ '0.01%'  │
│    3    │ '0x433821D0653548482Fa22479721db15fbcf303a3-arbitrum' │ 'arbitrum' │  'WBTC-WETH 0.05%'   │ 'https://vault.teahouse.finance/arbitrum/0x433821D0653548482Fa22479721db15fbcf303a3' │ 'teahouse-permissionless' │ 87691.24970289276  │ 0.049990013142048005 │         0          │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │                        []                        │ '0.05%'  │
│    4    │   '0x216d3e7520B09605B7c4243b59aD02Cc6E052F52-boba'   │   'boba'   │  'USDC-WETH 0.05%'   │   'https://vault.teahouse.finance/boba/0x216d3e7520B09605B7c4243b59aD02Cc6E052F52'   │ 'teahouse-permissionless' │    80962.856177    │          0           │ 106.70628781235584 │ [ '0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc', '0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000' ] │ [ '0xa18bF3994C0Cc6E3b63ac420308E5383f53120D7' ] │ '0.05%'  │
│    5    │ '0xB9Fe0EC178163a66f2BAf8eD97E057964cCaE876-arbitrum' │ 'arbitrum' │ 'USDC-USDC.e 0.01%'  │ 'https://vault.teahouse.finance/arbitrum/0xB9Fe0EC178163a66f2BAf8eD97E057964cCaE876' │ 'teahouse-permissionless' │    48201.369433    │  14.716256465413727  │         0          │ [ '0xaf88d065e77c8cC2239327C5EDb3A432268e5831', '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' ] │                        []                        │ '0.01%'  │
│    6    │ '0xF31900132dFf544Cfe536e76C38a357FF08183D9-optimism' │ 'optimism' │ 'USDC.e-sUSD 0.01%'  │ 'https://vault.teahouse.finance/optimism/0xF31900132dFf544Cfe536e76C38a357FF08183D9' │ 'teahouse-permissionless' │   38698.94635089   │  52.053754042824195  │         0          │ [ '0x7f5c764cbc14f9669b88837ca1490cca17c31607', '0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9' ] │                        []                        │ '0.01%'  │
│    7    │ '0x1546B2aE60a2aDe3F8F1a9276c198e8f52212c05-polygon'  │ 'polygon'  │ 'USDC.e-agEUR 0.01%' │ 'https://vault.teahouse.finance/polygon/0x1546B2aE60a2aDe3F8F1a9276c198e8f52212c05'  │ 'teahouse-permissionless' │    16118.384634    │ -19.939180744475422  │         0          │ [ '0x2791bca1f2de4661ed88a30c99a7a9449aa84174', '0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4' ] │                        []                        │ '0.01%'  │
│    8    │ '0x199044E2799cf9099B1d84B29A09f8ff23D00391-optimism' │ 'optimism' │ 'USDC-USDC.e 0.01%'  │ 'https://vault.teahouse.finance/optimism/0x199044E2799cf9099B1d84B29A09f8ff23D00391' │ 'teahouse-permissionless' │    10815.08065     │  12.500497430098273  │         0          │ [ '0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', '0x7f5c764cbc14f9669b88837ca1490cca17c31607' ] │                        []                        │ '0.01%'  │
│    9    │ '0x1546B2aE60a2aDe3F8F1a9276c198e8f52212c05-arbitrum' │ 'arbitrum' │ 'USDs-USDC.e 0.05%'  │ 'https://vault.teahouse.finance/arbitrum/0x1546B2aE60a2aDe3F8F1a9276c198e8f52212c05' │ 'teahouse-permissionless' │   2634.36720547    │  37.36961586987739   │         0          │ [ '0xd74f5255d557944cf7dd0e45ff521520002d5748', '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' ] │                        []                        │ '0.05%'  │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────────────────┴──────────────────────────────────────────────────────────────────────────────────────┴───────────────────────────┴────────────────────┴──────────────────────┴────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────┴──────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit d5341e3 into DefiLlama:master Nov 13, 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