Skip to content

Conversation

naddison36
Copy link
Contributor

  • Liquidator upgraded to liquidate ALCX from the Alchemix integration contract
    • ALCX is sold for alUSD using Uniswap V3 with path ALCX > ETH > DAI > alUSD
    • The alUSD is transferred to the integration contract
  • rewards task upgraded to report ALCX
  • prepublishOnly script to copy contract type definitions to /dist/types/generated
  • Feeder tasks add for redeem and swap
  • Token tasks added for approve

@superduck35 superduck35 self-requested a review July 14, 2021 12:52
Copy link
Contributor

@superduck35 superduck35 left a comment

Choose a reason for hiding this comment

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

You are doing a lot of good work with the tasks etc.

Only thing I am concerned about here is the lack of liquidity in the ALCX/eth pair (see screenshot)
image

ALCX will be pulled weekly and is likely to be of a decent amount.. something to be aware of

Potential solutions (if required):

  • Use the Sushiswap pair (same as Uniswap v2 interface) for ALCX->ETH
  • liquidate on a more frequent basis (every 1-3 days depending on value accruing)
  • Provide liquidity to the ALCX/ETH pair ourselves (20k or so)

"test:file:long": "LONG_TESTS=true yarn hardhat test",
"prepublishOnly": "yarn run compile"
"copy-types": "cp -R types/generated dist/types",
"prepublishOnly": "yarn run compile && yarn run copy-types"
Copy link
Contributor

Choose a reason for hiding this comment

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

Super minor thing but you dont need the run with yarn

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll make is consistent with the other scripts and remove the runs

@naddison36 naddison36 merged commit 70a3d98 into master-v2 Jul 16, 2021
@naddison36 naddison36 deleted the alchemix-liquidator branch July 16, 2021 00:58
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.

2 participants