Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.55 KB

YPP-0044.md

File metadata and controls

37 lines (32 loc) · 1.55 KB

Proposal

Increase the minimum vault debt parameters for borrowing ETH with any collateral. Increase the global debt limit for borrowing ETH with FRAX as collateral. These changes are only required on mainnet.

Background

By mistake these have been set too low. Minimum vault debt must be equivalent to $5000. Gobal debt for borrowing ETH with FRAX can be raised to 250 ETH.

Details

To avoid further mistakes of this sense, debt.dec will be set to 18 to match the decimals of ETH, so that errors can be more easily spotted.

Governance scripts can be found here for those with appropriate permissioning.

Configuration (mainnet):

/// @notice Limits to be used in an auction
/// @param base identifier (bytes6 tag)
/// @param ilk identifier (bytes6 tag)
/// @param Maximum global debt allowed for this pair, modified by decimals
/// @param Minimum vault debt allowed for this pair, modified by decimals
/// @param Decimals to append to global and vault debt.
export const newLimits: Array<[string, string, number, number, number]> = [
  [ETH, ETH, 2500, 0, 18],
  [ETH, DAI, 250, 3, 18],
  [ETH, USDC, 250, 3, 18],
  [ETH, WBTC, 250, 3, 18],
  [ETH, WSTETH, 250, 3, 18],
  [ETH, LINK, 250, 3, 18],
  [ETH, ENS, 250, 3, 18],
  [ETH, YVUSDC, 0, 0, 18],
  [ETH, UNI, 250, 3, 18],
  [ETH, FRAX, 250, 3, 18],
]

Testing

Tenderly Fork