Closed bthaile closed 2 years ago
To determine if market is out of whack: contract-calls isMarketPoolWhacked
isMarketPoolWhacked
get USDC value user will need to send: contract-calls maxWhackedCollateralAmount collateralUsd property
maxWhackedCollateralAmount
new constant for approval: ApprovalAction.RESET_PRICES
updated use approval, the user will only have to approve the helper contract once.
estimate resetting prices: contract-calls estimateResetPrices returns same structure as add liquidity
estimateResetPrices
handling resetting prices submit tx is handled normally. It won't show up in user activities.
To determine if market is out of whack: contract-calls
isMarketPoolWhacked
get USDC value user will need to send: contract-calls
maxWhackedCollateralAmount
collateralUsd propertynew constant for approval: ApprovalAction.RESET_PRICES
updated use approval, the user will only have to approve the helper contract once.
estimate resetting prices: contract-calls
estimateResetPrices
returns same structure as add liquidityhandling resetting prices submit tx is handled normally. It won't show up in user activities.