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

Update blueshift adapter #416

Merged
merged 1 commit into from
Nov 3, 2022
Merged

Conversation

L0stic
Copy link
Contributor

@L0stic L0stic commented Nov 3, 2022

Updated Minter smart contract. Some functions now use a timestamp as an argument instead of a block number.

@llamatester
Copy link

The blueshift adapter exports pools:

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

Nb of pools: 9
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────────┬─────────────┬───────────────────────────────────────────┬─────────────────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────┬───────────────────────┐
│ (index) │                     pool                     │     chain      │   project   │                  symbol                   │       apyBase       │     apyReward      │       tvlUsd       │                   rewardTokens                   │                                                                        underlyingTokens                                                                        │                 url                  │       poolMeta        │
├─────────┼──────────────────────────────────────────────┼────────────────┼─────────────┼───────────────────────────────────────────┼─────────────────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────┼───────────────────────┤
│    0    │ '0xa93ef62be53bb1a2d6883f5892878c9857845f1f' │ 'Milkomeda C1' │ 'blueshift' │               'WADA-BLUES'                │ 0.9901247699570865  │ 100.77665305303844 │ 925134.9856035829  │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │                                 [ '0xAE83571000aF4499798d1e3b0fA0070EB3A3E3F9', '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ]                                 │ 'https://app.blueshift.fi/#/farming' │   'Blueshift Index'   │
│    1    │ '0xa4f0e3c80c77b347250b9d3999478e305ff814a4' │ 'Milkomeda C1' │ 'blueshift' │                  'BLUES'                  │        null         │ 90.55466559904022  │   805177.175937    │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │                                                        [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ]                                                        │ 'https://app.blueshift.fi/#/staking' │                       │
│    2    │ '0xfddadf6ecf9c67c54b51c900e951505036fbbb53' │ 'Milkomeda C1' │ 'blueshift' │  'WADA-DAI-USDC-ETH-USDT-BNB-AVAX-BLUES'  │ 2.1147564809908372  │ 19.272270256578373 │ 145274.01011016505 │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │ [ '0xAE83571000aF4499798d1e3b0fA0070EB3A3E3F9', '0x639A647fbe20b6c8ac19E48E2de44ea792c62c5C', '0xB44a9B6905aF7c801311e8F4E76932ee959c663C', ... 5 more items ] │ 'https://app.blueshift.fi/#/farming' │  'Multichain Index'   │
│    3    │ '0x1aded7ab67bab55e3d7cc6548eecee4cf6f52458' │ 'Milkomeda C1' │ 'blueshift' │             'USDT-USDC-FRAX'              │ 0.24347807436124158 │         0          │ 53843.76245948699  │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │          [ '0xab58DA63DFDd6B97EAaB3C94165Ef6f43d951fb2', '0x5a955FDdF055F2dE3281d99718f5f1531744B102', '0x362233F1eF554Ca08555Ca191b4887c2C3132834' ]          │ 'https://app.blueshift.fi/#/farming' │        '3port'        │
│    4    │ '0x51099f323ba9f8dcce94fb76100e8f2b124a273e' │ 'Milkomeda C1' │ 'blueshift' │ 'WADA-BNB-WETH-AVAX-FTM-MATIC-USDT-BLUES' │ 2.1165577156978523  │ 56.855673299108624 │ 49243.28253701103  │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │ [ '0xAE83571000aF4499798d1e3b0fA0070EB3A3E3F9', '0x7f27352D5F83Db87a5A3E00f4B07Cc2138D8ee52', '0x81ECac0D6Be0550A00FF064a4f9dd2400585FE9c', ... 5 more items ] │ 'https://app.blueshift.fi/#/farming' │   'Ecosystem Index'   │
│    5    │ '0xb760242f21ca8d06e96b0b75b94b15e9ee3492cf' │ 'Milkomeda C1' │ 'blueshift' │      'WADA-MANA-SAND-AXS-APE-BLUES'       │ 0.7893444327150957  │ 85.07235344715386  │ 32910.33891332493  │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │ [ '0xAE83571000aF4499798d1e3b0fA0070EB3A3E3F9', '0x4792C1EcB969B036eb51330c63bD27899A13D84e', '0x6b7a87899490EcE95443e979cA9485CBE7E71522', ... 3 more items ] │ 'https://app.blueshift.fi/#/farming' │ 'Top Metaverse Index' │
│    6    │ '0xb8433632bfde6ac6e16e134e3e3ae06f34291a89' │ 'Milkomeda C1' │ 'blueshift' │      'WADA-UNI-AAVE-SNX-SUSHI-BLUES'      │ 0.9484570065456492  │ 85.24162376888326  │ 32844.98652549166  │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │ [ '0xAE83571000aF4499798d1e3b0fA0070EB3A3E3F9', '0xC931f61B1534EB21D8c11B24f3f5Ab2471d4aB50', '0xd6070ae98b8069de6B494332d1A1a81B6179D960', ... 3 more items ] │ 'https://app.blueshift.fi/#/farming' │     'DeFi Index'      │
│    7    │ '0x301a2e8eb86dab20048451672ac9fd61f5c3fbdb' │ 'Milkomeda C1' │ 'blueshift' │           'USDT-USDC-DAI-BUSD'            │ 1.2226950704011599  │ 42.547072252730196 │  21934.607449755   │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │ [ '0x3795C36e7D12A8c252A20C5a7B455f7c57b60283', '0x6a2d262D56735DbA19Dd70682B39F6bE9a931D98', '0x6De33698e9e9b787e09d3Bd7771ef63557E148bb', ... 1 more item ]  │ 'https://app.blueshift.fi/#/farming' │  'Stablecoin Index'   │
│    8    │ '0x63441cf5ccf396b1927c67e3d73a6ed1b06f94fa' │ 'Milkomeda C1' │ 'blueshift' │         'WADA-OCC-CW-CWAP-BLUES'          │ 1.0205693856514557  │ 51.72492724534605  │  9021.31117143301  │ [ '0x8c008BBA2Dd56b99f4A6aB276bE3a478cB075F0C' ] │ [ '0xAE83571000aF4499798d1e3b0fA0070EB3A3E3F9', '0x461d52769884ca6235B685EF2040F47d30C94EB5', '0x85FD5f8dBD0c9Ef1806E6c7d4B787d438621C1dC', ... 2 more items ] │ 'https://app.blueshift.fi/#/farming' │     'Occam Index'     │
└─────────┴──────────────────────────────────────────────┴────────────────┴─────────────┴───────────────────────────────────────────┴─────────────────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────┴───────────────────────┘

@slasher125 slasher125 merged commit 5388dbc into DefiLlama:master Nov 3, 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.

None yet

3 participants