Skip to content

Integration Maintenance

Ramon Recuero edited this page Jun 13, 2022 · 1 revision

Here is the maintenance work required for each integration.

The list refers to the addresses.js file. The master version of this file is in the protocol and gets copied over with yarn run copy-contracts.

Here are the integrations that need maintenance:

Lend / Borrow

Compound

UI: Graph. Suggest switching to on-chain contracts for higher security and robustness and 0-maintenance.

Aave

UI: Graph. Suggest switching to on-chain contracts for higher security and robustness and 0-maintenance.

Add Liquidity

Curve Pool

UI: List needs to be up to date. Uses the List to filter out the ones that don't work.

Protocol: Initial list is grabbed automatically from the registries. Check which pools are running with CurvePoolIntegrationTest.js. First, log all the curve pools and then modify the test to execute all of them. Then update the addresses file to comment out the ones that don't work. Try to fix and enable as many as possible.

Stake

Yearn

UI: Currently, Yearn API dependency. Switch to our addresses file so lists match.

Protocol: Use Yearn API service to fetch all the vaults inside YearnVaultIntegration.test.js, then move them to addresses and use it to test them. Dependency on Curve list for the yearn curve vaults.

Pickle

UI: List needs to be up to date. Uses the List to filter out the ones that don't work.

Protocol: Need to grab jars manually from here https://github.com/pickle-finance/contracts, add them to the addresses file and then run the test in PickleJarIntegrationTest.js. We need to make sure the registry has all vaults and then the addresses file has only the ones that work. Dependency on curve list for the pickle curve jars.

Convex

UI: List needs to be up to date. Uses the list to filter out the ones that don't work.

Protocol: The whole list is grabbed automatically from the curve pools in ConvexStakeIntegration.test.js. First, log all the convex pools and modify addresses and then run the tests. Then update the addresses file to comment out the ones that don't work. Try to fix and enable as many as possible.

Aladdin

UI: List needs to be up to date. Uses the list to filter out the ones that don't work.

Protocol: The whole list is grabbed automatically from the curve pools in AladdinConcentratorIntegration.test.js. First, log all the aladdin pools and modify addresses to put them all and then run the tests. Then update the addresses file to comment out the ones that don't work. Try to fix and enable as many as possible.