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 Underwriting pool APR and Improve code for InsureDAO #372

Merged
merged 5 commits into from
Oct 13, 2022

Conversation

hirorylabo
Copy link
Contributor

Hi!
We released InsureDAO v2!
I added the Underwrite Pools APR info.
https://app.insuredao.fi/astar/pools

Please let me know if you have any questions!

Announcement
https://twitter.com/insuredao/status/1579763558988288001?s=20&t=PpaJ6BZUMugkuIV-y2JqTw

https://medium.com/insuredao/insuredao-v2-comes-to-astar-503db4900e87

@llamatester
Copy link

The insuredao adapter exports pools:

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

Nb of pools: 18
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬─────────────┬──────────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬──────────────────────┬─────────────────────┐
│ (index) │                     pool                     │   chain    │   project   │    symbol    │       tvlUsd       │     apyReward      │                   rewardTokens                   │                 underlyingTokens                 │       poolMeta       │       apyBase       │
├─────────┼──────────────────────────────────────────────┼────────────┼─────────────┼──────────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼──────────────────────┼─────────────────────┤
│    0    │ '0xf57882cf186db61691873d33e3511a40c3c7e4da' │ 'Ethereum' │ 'insuredao' │ 'INSURE-ETH' │ 99614.61957177482  │ 192.27185342097692 │ [ '0xd83AE04c9eD29d6D3E6Bf720C71bc7BeB424393E' ] │ [ '0x1b459aec393d604ae6468ae3f7d7422efa2af1ca' ] │                      │                     │
│    1    │ '0x4C1800E02532ed0fC60183454B9bffdf96B134F0' │  'Astar'   │ 'insuredao' │    'USDC'    │ 80001.99696199999  │                    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ [ '0x4C1800E02532ed0fC60183454B9bffdf96B134F0' ] │      'Arthswap'      │ 0.5757753493680127  │
│    2    │ '0x9789dc4B4bb39566592B3761be42A9eB23EA5d34' │  'Astar'   │ 'insuredao' │    'USDC'    │ 80001.09833899999  │                    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ [ '0x9789dc4B4bb39566592B3761be42A9eB23EA5d34' ] │  'Starlay Finance'   │ 0.6299437638239159  │
│    3    │ '0x96f88002c1b1342DA65D3D19c214cA398D3ECd7f' │  'Astar'   │ 'insuredao' │    'USDC'    │      70001.5       │                    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ [ '0x96f88002c1b1342DA65D3D19c214cA398D3ECd7f' ] │ 'Astar Core-A Index' │ 0.00378799389952329 │
│    4    │ '0xA12ab76a82D118e33682AcB242180B4cc0d19E29' │ 'Ethereum' │ 'insuredao' │  'vlINSURE'  │ 65509.22585688004  │ 260.5972400341718  │ [ '0xd83AE04c9eD29d6D3E6Bf720C71bc7BeB424393E' ] │ [ '0xd83AE04c9eD29d6D3E6Bf720C71bc7BeB424393E' ] │                      │                     │
│    5    │ '0x9d5AD4016BB6b70fd2b2228471664a8cB5b97125' │  'Astar'   │ 'insuredao' │    'USDC'    │       30001        │                    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ [ '0x9d5AD4016BB6b70fd2b2228471664a8cB5b97125' ] │ 'Astar Core-B Index' │ 0.00075759868890461 │
│    6    │ '0xDAea5b1B6b12Ac4c4f51aB12649e96ab3aB98C3A' │ 'Ethereum' │ 'insuredao' │    'USDC'    │ 5295.099996999999  │                    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ [ '0xDAea5b1B6b12Ac4c4f51aB12649e96ab3aB98C3A' ] │   'Genesis Index'    │ 0.0612112867492353  │
│    7    │ '0xd5f1Ab3c61eF3a6a6f1AA6141256Aa008D2fb5A1' │ 'Ethereum' │ 'insuredao' │    'USDC'    │        1550        │                    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ [ '0xd5f1Ab3c61eF3a6a6f1AA6141256Aa008D2fb5A1' ] │  'Curve Wars Index'  │ 0.01538129769596178 │
│    8    │ '0x7E08daB409Ad1bCeBc5bE5674CB2C0f3540A4d3d' │ 'Ethereum' │ 'insuredao' │    'USDC'    │        1200        │                    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ [ '0x7E08daB409Ad1bCeBc5bE5674CB2C0f3540A4d3d' ] │  'Quanstamp Index'   │ 0.02652489092466862 │
│    9    │ '0x4C83C55cDAecd197CB2Ef04AFb2964e4403819a0' │  'Astar'   │ 'insuredao' │    'USDC'    │ 1.0999999999999999 │                    │ [ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ] │ [ '0x4C83C55cDAecd197CB2Ef04AFb2964e4403819a0' ] │    'Muuu Finance'    │          0          │
└─────────┴──────────────────────────────────────────────┴────────────┴─────────────┴──────────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴──────────────────────┴─────────────────────┘

@slasher125 slasher125 merged commit 24e0d40 into DefiLlama:master Oct 13, 2022
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