getPricePerFullShare()
function. If this function in the Pickle DAI pool contract returns a value less than 0.75
, the result would indicate a 25%+ loss of funds and trigger protection for the DAI pool.getPricePerFullShare()
function would return ~0 because all of the funds in the pool were drained in an attack. However, this change satisfies the condition that the protection market is in place to guard against and triggers the cancellation of all debts in the protected Pickle DAI pool.