DefiLlama / yield-server

140 stars 779 forks source link

update tokemak for autopilot release #1513

Closed codenutt closed 4 weeks ago

llamatester commented 4 weeks ago

The tokemak adapter exports pools:

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

Nb of pools: 3

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬───────────┬───────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬─────────────────────┬────────────────────┬──────────────────────────────────────────────────────────────────────────────────┐
│ (index) │                     pool                     │   chain    │  project  │  symbol   │       tvlUsd       │                   rewardTokens                   │                 underlyingTokens                 │       apyBase       │     apyReward      │                                       url                                        │
├─────────┼──────────────────────────────────────────────┼────────────┼───────────┼───────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼─────────────────────┼────────────────────┼──────────────────────────────────────────────────────────────────────────────────┤
│    0    │ '0x0a2b94f6871c1d7a32fe58e1ab5e6dea2f114e56' │ 'Ethereum' │ 'tokemak' │ 'autoETH' │ 3158557.6833557826 │ [ '0x2e9d63788249371f1dfc918a52f8d799f4a38c94' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ 0.0833794017982919  │ 1.3729505624389453 │ 'https://app.tokemak.xyz/autopool?id=0x0a2b94f6871c1d7a32fe58e1ab5e6dea2f114e56' │
│    1    │ '0x6dc3ce9c57b20131347fdc9089d740daf6eb34c5' │ 'Ethereum' │ 'tokemak' │ 'balETH'  │ 1943190.6386784231 │ [ '0x2e9d63788249371f1dfc918a52f8d799f4a38c94' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ 0.08776410059726013 │ 1.4094636631138613 │ 'https://app.tokemak.xyz/autopool?id=0x6dc3ce9c57b20131347fdc9089d740daf6eb34c5' │
│    2    │ '0xe800e3760fc20aa98c5df6a9816147f190455af3' │ 'Ethereum' │ 'tokemak' │ 'autoLRT' │ 1239600.5235256955 │ [ '0x2e9d63788249371f1dfc918a52f8d799f4a38c94' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ 0.08776410059726013 │ 1.3981528287435923 │ 'https://app.tokemak.xyz/autopool?id=0xe800e3760fc20aa98c5df6a9816147f190455af3' │
└─────────┴──────────────────────────────────────────────┴────────────┴───────────┴───────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴─────────────────────┴────────────────────┴──────────────────────────────────────────────────────────────────────────────────┘
slasher125 commented 4 weeks ago

@codenutt

llamatester commented 4 weeks ago

The tokemak adapter exports pools:

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

Nb of pools: 3

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬───────────┬────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────┬───────────────────┬────────────────────┬──────────────────────────────────────────────────────────────────────────────────┬───────────┐
│ (index) │                     pool                     │   chain    │  project  │ symbol │       tvlUsd       │                   rewardTokens                   │                 underlyingTokens                 │      apyBase      │     apyReward      │                                       url                                        │ poolMeta  │
├─────────┼──────────────────────────────────────────────┼────────────┼───────────┼────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────┼───────────────────┼────────────────────┼──────────────────────────────────────────────────────────────────────────────────┼───────────┤
│    0    │ '0x0a2b94f6871c1d7a32fe58e1ab5e6dea2f114e56' │ 'Ethereum' │ 'tokemak' │ 'WETH' │ 3157508.8315205313 │ [ '0x2e9d63788249371f1dfc918a52f8d799f4a38c94' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ 8.33794017982919  │ 137.29505624389452 │ 'https://app.tokemak.xyz/autopool?id=0x0a2b94f6871c1d7a32fe58e1ab5e6dea2f114e56' │ 'autoETH' │
│    1    │ '0x6dc3ce9c57b20131347fdc9089d740daf6eb34c5' │ 'Ethereum' │ 'tokemak' │ 'WETH' │ 1942543.9099399901 │ [ '0x2e9d63788249371f1dfc918a52f8d799f4a38c94' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ 8.786723705680869 │ 140.94636631138613 │ 'https://app.tokemak.xyz/autopool?id=0x6dc3ce9c57b20131347fdc9089d740daf6eb34c5' │ 'balETH'  │
│    2    │ '0xe800e3760fc20aa98c5df6a9816147f190455af3' │ 'Ethereum' │ 'tokemak' │ 'WETH' │ 1239187.9622119556 │ [ '0x2e9d63788249371f1dfc918a52f8d799f4a38c94' ] │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │ 8.786723705680869 │ 139.8152828743592  │ 'https://app.tokemak.xyz/autopool?id=0xe800e3760fc20aa98c5df6a9816147f190455af3' │ 'autoLRT' │
└─────────┴──────────────────────────────────────────────┴────────────┴───────────┴────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────┴───────────────────┴────────────────────┴──────────────────────────────────────────────────────────────────────────────────┴───────────┘
codenutt commented 4 weeks ago

@codenutt

  • apy values need to be in %
  • symbol should be the underlying tokens, you can add the pool names eg autoETH to poolMeta

Thanks! Updated.