index-coop-smart-contracts icon indicating copy to clipboard operation
index-coop-smart-contracts copied to clipboard

StakeWise Reinvestment Extension

Open FlattestWhite opened this issue 2 years ago • 1 comments

index is currently building the wsETH2 token, a SetToken that wraps the StakeWise sETH2 token and automatically reinvests accured rETH2 back into sETH2. To do this, we're running a keeper that periodically calls this extension contract which uses the AirdropModule to first absorb the rETH2 into the Set before trading it into sETH2 in one function call.

From my first approach to writing the integration tests, we're missing all the AirdropModule and TradeModule and exchangeAdapter infrastructure on our Set Fork. Looks like that is a pre-requisite to this PR.

FlattestWhite avatar Nov 14 '22 08:11 FlattestWhite

Coverage Status

Coverage decreased (-0.4%) to 81.93% when pulling 9187e3d8b1cdaebee8875c2a203b5f68238a09b8 on richard-stakewise-reinvestment-extension into a607e7afeda98840027bc5822a353edf95834be0 on master.

coveralls avatar Nov 22 '22 01:11 coveralls

:tada: This PR is included in version 0.13.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

FlattestWhite avatar Jan 03 '23 04:01 FlattestWhite