Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(perpetual-liquidatable) Implement Liquidatable and replace expiry logic with emergency-shutdown logic #2076

Merged
merged 17 commits into from
Oct 13, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/core/contracts/financial-templates/perpetual-multipar…
…ty/PositionManager.sol

Co-authored-by: nicholaspai <9457025+nicholaspai@users.noreply.github.com>
  • Loading branch information
chrismaree and nicholaspai authored Oct 7, 2020
commit a8ca434d937200600e13ccdebd2ea7405c1bd670
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ contract PositionManager is FeePayer, AdministrateeInterface {
nonReentrant()
returns (FixedPoint.Unsigned memory amountWithdrawn)
{
// Set the emergency shutdown price as resolved from the DVM. If DVM has not resolve will revert.
// Set the emergency shutdown price as resolved from the DVM. If DVM has not resolved will revert.
if (emergencyShutdownPrice.isEqual(FixedPoint.fromUnscaledUint(0))) {
emergencyShutdownPrice = _getOracleEmergencyShutdownPrice();
}
Expand Down