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

Apeswap multichain #480

Merged
merged 3 commits into from
Dec 6, 2022
Merged

Conversation

ixm-759
Copy link
Contributor

@ixm-759 ixm-759 commented Dec 6, 2022

No description provided.

);

return {
pool: pool.lpToken,
chain: utils.formatChain('binance'),
pool: `${pool.lpToken}-${chain}`.toLowerCase(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey. i know this is whats in the readme, but its mainly for new adapters. in your case please do not modify the pool values. so lets revert this specific change (and all other changes to the pool field if any)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Can you check again please

@llamatester
Copy link

The apeswap-amm adapter exports pools:

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

Nb of pools: 94
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬───────────┬───────────────┬───────────────┬────────────────────┬─────────────────────┬─────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────────┐
│ (index) │                     pool                     │   chain   │    project    │    symbol     │       tvlUsd       │       apyBase       │      apyReward      │                                        underlyingTokens                                        │                   rewardTokens                   │
├─────────┼──────────────────────────────────────────────┼───────────┼───────────────┼───────────────┼────────────────────┼─────────────────────┼─────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────┤
│    0    │ '0x6Cf8654e85AB489cA7e70189046D507ebA233613' │ 'Polygon' │ 'apeswap-amm' │ 'WMATIC-WETH' │ 2407290.4709649044 │ 0.6199241150739144  │  5.765570323421336  │ [ '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619' ] │ [ '0x5d47baba0d66083c52009271faf3f50dcc01023c' ] │
│    1    │ '0xF65C1C0478eFDe3c19b49EcBE7ACc57BB6B1D713' │ 'Binance' │ 'apeswap-amm' │ 'BANANA-WBNB' │ 1646822.9168497748 │          0          │ 3.5507616648036278  │ [ '0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95', '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c' ] │ [ '0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95' ] │
│    2    │ '0xa4dfe1fdca0c341c1ba26550ec5128c89964f0db' │  'Telos'  │ 'apeswap-amm' │ 'TLOS-STLOS'  │ 1622660.7616372362 │                     │  10.52220068646436  │ [ '0xd102ce6a4db07d247fcc28f366a623df0938ca9e', '0xB4B01216a5Bc8F1C8A33CD990A1239030E60C905' ] │ [ '0xd102ce6a4db07d247fcc28f366a623df0938ca9e' ] │
│    3    │ '0xC087C78AbaC4A0E900a327444193dBF9BA69058E' │ 'Binance' │ 'apeswap-amm' │  'USDC-BUSD'  │ 1586642.556779982  │ 0.3201860902414211  │ 0.24855291907094718 │ [ '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56' ] │ [ '0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95' ] │
│    4    │ '0x51e6D27FA57373d8d4C256231241053a70Cb1d93' │ 'Binance' │ 'apeswap-amm' │  'WBNB-BUSD'  │ 1457885.2737399347 │  4.652073508989671  │ 1.3618506280755258  │ [ '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56' ] │ [ '0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95' ] │
│    5    │ '0xd32f3139A214034A0f9777c87eE0a064c1FF6AE2' │ 'Polygon' │ 'apeswap-amm' │ 'WMATIC-DAI'  │ 1241481.5979301103 │  1.475534963618118  │  4.471883440686029  │ [ '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063' ] │ [ '0x5d47baba0d66083c52009271faf3f50dcc01023c' ] │
│    6    │ '0x10aadd094677f286e5b9c969806122b5bb31906d' │  'Telos'  │ 'apeswap-amm' │  'USDT-USDC'  │ 1118114.2003595512 │                     │ 12.725549574742052  │ [ '0xefaeee334f0fd1712f9a8cc375f427d9cdd40d73', '0x818ec0a7fe18ff94269904fced6ae3dae6d6dc0b' ] │ [ '0xd102ce6a4db07d247fcc28f366a623df0938ca9e' ] │
│    7    │ '0x2e707261d086687470B515B320478Eb1C88D49bb' │ 'Binance' │ 'apeswap-amm' │  'USDT-BUSD'  │ 1061515.5102307184 │ 2.3530322109010076  │ 0.9351827441848976  │ [ '0x55d398326f99059fF775485246999027B3197955', '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56' ] │ [ '0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95' ] │
│    8    │ '0x5b13B583D4317aB15186Ed660A1E4C65C10da659' │ 'Polygon' │ 'apeswap-amm' │  'USDC-DAI'   │ 1032012.7219312186 │ 0.12095854522421946 │  2.689773527845184  │ [ '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063' ] │ [ '0x5d47baba0d66083c52009271faf3f50dcc01023c' ] │
│    9    │ '0x7Bd46f6Da97312AC2DBD1749f82E202764C0B914' │ 'Binance' │ 'apeswap-amm' │ 'BANANA-BUSD' │ 992792.4282334249  │ 0.4654752375051836  │  5.259842463755103  │ [ '0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95', '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56' ] │ [ '0x603c7f932ED1fc6575303D8Fb018fDCBb0f39a95' ] │
└─────────┴──────────────────────────────────────────────┴───────────┴───────────────┴───────────────┴────────────────────┴─────────────────────┴─────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit be1191d into DefiLlama:master Dec 6, 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