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

Init 1inch #1054

Merged
merged 4 commits into from
Oct 26, 2023
Merged

Init 1inch #1054

merged 4 commits into from
Oct 26, 2023

Conversation

grkhr
Copy link
Contributor

@grkhr grkhr commented Oct 25, 2023

No description provided.

@llamatester
Copy link

The 1inch-network adapter exports pools:

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

Nb of pools: 19
 

Sample pools:
┌─────────┬─────────────────────────┬────────────┬─────────────────┬────────────────────────┬────────────────────┬────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┬──────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │          pool           │   chain    │     project     │         symbol         │       tvlUsd       │      apyBase       │                                         url                                         │ rewardTokens │                                        underlyingTokens                                        │
├─────────┼─────────────────────────┼────────────┼─────────────────┼────────────────────────┼────────────────────┼────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┼──────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┤
│    0    │ '0xdcdf..c995-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xdcdf..c995)' │ 1380294.724107885  │ 11.635739625376099 │ 'https://app.1inch.io/#/1/earn/delegate/0xdcdf16a03360d4971ca4c1fd9967a47125f3c995' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    1    │ '0xf633..e91a-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xf633..e91a)' │ 976512.3091588165  │ 10.083479140659328 │ 'https://app.1inch.io/#/1/earn/delegate/0xf63392356a985ead50b767a3e97a253ff870e91a' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    2    │ '0xe023..2a41-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xe023..2a41)' │  737806.149206311  │ 12.11121273094004  │ 'https://app.1inch.io/#/1/earn/delegate/0xe023f53f735c196e4a028233c2ee425957812a41' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    3    │ '0xd7f6..fb49-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xd7f6..fb49)' │ 735102.3156701425  │ 11.099164985159451 │ 'https://app.1inch.io/#/1/earn/delegate/0xd7f6f541d4210550ca56f7b4c4a549efd4cafb49' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    4    │ '0xa260..ac8a-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xa260..ac8a)' │ 694978.8341799953  │ 11.563471972685235 │ 'https://app.1inch.io/#/1/earn/delegate/0xa260f8b7c8f37c2f1bc11b04c19902829de6ac8a' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    5    │ '0xc975..6a2c-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xc975..6a2c)' │ 38853.76602889513  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xc975671642534f407ebdcaef2428d355ede16a2c' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    6    │ '0x754b..17b8-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0x754b..17b8)' │ 26102.454532776377 │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0x754bcbaf851f94ca0065d0d06d53b168daab17b8' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    7    │ '0xb215..95ce-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xb215..95ce)' │ 12670.167615976594 │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xb2153caa185484fd377f488d89143a7fd76695ce' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    8    │ '0xaf38..d2af-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xaf38..d2af)' │ 4367.914345812277  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xaf3803348f4f1f527a8b6f611c30c8702bacd2af' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    9    │ '0x12e5..74ac-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0x12e5..74ac)' │ 1617.487016151582  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0x12e5ceb5c14f3a1a9971da154f6530c1cf7274ac' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
└─────────┴─────────────────────────┴────────────┴─────────────────┴────────────────────────┴────────────────────┴────────────────────┴─────────────────────────────────────────────────────────────────────────────────────┴──────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The 1inch-network adapter exports pools:

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

Nb of pools: 19
 

Sample pools:
┌─────────┬─────────────────────────────────────────────────────────────┬────────────┬─────────────────┬────────────────────────┬────────────────────┬────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┬──────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │                            pool                             │   chain    │     project     │         symbol         │       tvlUsd       │      apyBase       │                                         url                                         │ rewardTokens │                                        underlyingTokens                                        │
├─────────┼─────────────────────────────────────────────────────────────┼────────────┼─────────────────┼────────────────────────┼────────────────────┼────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┼──────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┤
│    0    │ '1inch-0xdcdf16a03360d4971ca4c1fd9967a47125f3c995-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xdcdf..c995)' │ 1380294.724107885  │ 11.635739625376099 │ 'https://app.1inch.io/#/1/earn/delegate/0xdcdf16a03360d4971ca4c1fd9967a47125f3c995' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    1    │ '1inch-0xf63392356a985ead50b767a3e97a253ff870e91a-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xf633..e91a)' │ 976512.3091588165  │ 10.083479140659328 │ 'https://app.1inch.io/#/1/earn/delegate/0xf63392356a985ead50b767a3e97a253ff870e91a' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    2    │ '1inch-0xe023f53f735c196e4a028233c2ee425957812a41-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xe023..2a41)' │  737806.149206311  │ 12.11121273094004  │ 'https://app.1inch.io/#/1/earn/delegate/0xe023f53f735c196e4a028233c2ee425957812a41' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    3    │ '1inch-0xd7f6f541d4210550ca56f7b4c4a549efd4cafb49-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xd7f6..fb49)' │ 735102.3156701425  │ 11.099164985159451 │ 'https://app.1inch.io/#/1/earn/delegate/0xd7f6f541d4210550ca56f7b4c4a549efd4cafb49' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    4    │ '1inch-0xa260f8b7c8f37c2f1bc11b04c19902829de6ac8a-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xa260..ac8a)' │ 694978.8341799953  │ 11.563471972685235 │ 'https://app.1inch.io/#/1/earn/delegate/0xa260f8b7c8f37c2f1bc11b04c19902829de6ac8a' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    5    │ '1inch-0xc975671642534f407ebdcaef2428d355ede16a2c-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xc975..6a2c)' │ 38853.76602889513  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xc975671642534f407ebdcaef2428d355ede16a2c' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    6    │ '1inch-0x754bcbaf851f94ca0065d0d06d53b168daab17b8-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0x754b..17b8)' │ 26102.454532776377 │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0x754bcbaf851f94ca0065d0d06d53b168daab17b8' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    7    │ '1inch-0xb2153caa185484fd377f488d89143a7fd76695ce-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xb215..95ce)' │ 12670.167615976594 │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xb2153caa185484fd377f488d89143a7fd76695ce' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    8    │ '1inch-0xaf3803348f4f1f527a8b6f611c30c8702bacd2af-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xaf38..d2af)' │ 4367.914345812277  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xaf3803348f4f1f527a8b6f611c30c8702bacd2af' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    9    │ '1inch-0x12e5ceb5c14f3a1a9971da154f6530c1cf7274ac-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0x12e5..74ac)' │ 1617.487016151582  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0x12e5ceb5c14f3a1a9971da154f6530c1cf7274ac' │ [ '1INCH' ]  │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
└─────────┴─────────────────────────────────────────────────────────────┴────────────┴─────────────────┴────────────────────────┴────────────────────┴────────────────────┴─────────────────────────────────────────────────────────────────────────────────────┴──────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The 1inch-network adapter exports pools:

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

Nb of pools: 19
 

Sample pools:
┌─────────┬─────────────────────────────────────────────────────────────┬────────────┬─────────────────┬────────────────────────┬────────────────────┬────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │                            pool                             │   chain    │     project     │         symbol         │       tvlUsd       │      apyBase       │                                         url                                         │                   rewardTokens                   │                                        underlyingTokens                                        │
├─────────┼─────────────────────────────────────────────────────────────┼────────────┼─────────────────┼────────────────────────┼────────────────────┼────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┤
│    0    │ '1inch-0xdcdf16a03360d4971ca4c1fd9967a47125f3c995-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xdcdf..c995)' │ 1380294.724107885  │ 11.635739625376099 │ 'https://app.1inch.io/#/1/earn/delegate/0xdcdf16a03360d4971ca4c1fd9967a47125f3c995' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    1    │ '1inch-0xf63392356a985ead50b767a3e97a253ff870e91a-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xf633..e91a)' │ 976512.3091588165  │ 10.083479140659328 │ 'https://app.1inch.io/#/1/earn/delegate/0xf63392356a985ead50b767a3e97a253ff870e91a' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    2    │ '1inch-0xe023f53f735c196e4a028233c2ee425957812a41-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xe023..2a41)' │  737806.149206311  │ 12.11121273094004  │ 'https://app.1inch.io/#/1/earn/delegate/0xe023f53f735c196e4a028233c2ee425957812a41' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    3    │ '1inch-0xd7f6f541d4210550ca56f7b4c4a549efd4cafb49-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xd7f6..fb49)' │ 735102.3156701425  │ 11.099164985159451 │ 'https://app.1inch.io/#/1/earn/delegate/0xd7f6f541d4210550ca56f7b4c4a549efd4cafb49' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    4    │ '1inch-0xa260f8b7c8f37c2f1bc11b04c19902829de6ac8a-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xa260..ac8a)' │ 694978.8341799953  │ 11.563471972685235 │ 'https://app.1inch.io/#/1/earn/delegate/0xa260f8b7c8f37c2f1bc11b04c19902829de6ac8a' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    5    │ '1inch-0xc975671642534f407ebdcaef2428d355ede16a2c-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xc975..6a2c)' │ 38853.76602889513  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xc975671642534f407ebdcaef2428d355ede16a2c' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    6    │ '1inch-0x754bcbaf851f94ca0065d0d06d53b168daab17b8-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0x754b..17b8)' │ 26102.454532776377 │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0x754bcbaf851f94ca0065d0d06d53b168daab17b8' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    7    │ '1inch-0xb2153caa185484fd377f488d89143a7fd76695ce-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xb215..95ce)' │ 12670.167615976594 │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xb2153caa185484fd377f488d89143a7fd76695ce' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    8    │ '1inch-0xaf3803348f4f1f527a8b6f611c30c8702bacd2af-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0xaf38..d2af)' │ 4367.914345812277  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0xaf3803348f4f1f527a8b6f611c30c8702bacd2af' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
│    9    │ '1inch-0x12e5ceb5c14f3a1a9971da154f6530c1cf7274ac-ethereum' │ 'Ethereum' │ '1inch-network' │ '1INCH (0x12e5..74ac)' │ 1617.487016151582  │         0          │ 'https://app.1inch.io/#/1/earn/delegate/0x12e5ceb5c14f3a1a9971da154f6530c1cf7274ac' │ [ '0x111111111117dc0aa78b770fa6a738034120c302' ] │ [ '0x111111111117dc0aa78b770fa6a738034120c302', '0x9a0c8ff858d273f57072d714bca7411d717501d7' ] │
└─────────┴─────────────────────────────────────────────────────────────┴────────────┴─────────────────┴────────────────────────┴────────────────────┴────────────────────┴─────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@waynebruce0x waynebruce0x self-assigned this Oct 26, 2023
@waynebruce0x waynebruce0x merged commit e172fc6 into DefiLlama:master Oct 26, 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