Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Darya Kaviani authored and Darya Kaviani committed Aug 9, 2022
1 parent c0b9bcc commit b9e7ad0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/src/state/lp/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ export const useCollectFees = () => {

const shortAmount = fromTokenAmount(vaultBefore.shortAmount, OSQUEETH_DECIMALS)
const debtInEth = await getDebtAmount(shortAmount)
const collateralToFlashloan = debtInEth.multipliedBy(COLLAT_RATIO)
const amount0Max = MAX_INT
const amount1Max = MAX_INT
const collateralToFlashloan = debtInEth.multipliedBy(COLLAT_RATIO_FLASHLOAN)
const amount0Max = MAX_INT_128
const amount1Max = MAX_INT_128
const abiCoder = new ethers.utils.AbiCoder()
const rebalanceLpInVaultParams = [
{
Expand Down

0 comments on commit b9e7ad0

Please sign in to comment.