Velvet-Capital / Velvet-v4

V4 (thena+venus) on top of v3
Other
0 stars 0 forks source link

Venus Calculation Improvement + Dynamic Buffer Unit #20

Closed Havoc19 closed 2 months ago

Havoc19 commented 2 months ago
  1. Now while repaying and withdarawl, we can add bufferUnit

There are 2 buffer units - flashloan - so take extra flashloan to repay the debt collateralAmount - to pull a little more collateral amount to repay the flashloan

  1. Improvement in withdrawTransactions function in venusAssetHandler - added swapCount to keep track of swapData
langnavina97 commented 2 months ago

collateralAmount - to pull a little more collateral amount to repay the flashloan ==> is this when we repay directly with vault tokens?

Havoc19 commented 2 months ago

collateralAmount - to pull a little more collateral amount to repay the flashloan ==> is this when we repay directly with vault tokens?

Yes

aj07 commented 2 months ago

This looks good.. we can merge