Makes the "max" button use the lowest of next liquidation/current quote price when creating and adjusting vaults, and enforces collat. ratio based on lowest price when creating a vault.
Shows next liquidation price during price lock period in creation and adjustment views:
Testing
Tested manually throughout price lock periods on a local chain and added unit tests for new cases
fixes #100 fixes #101
Description
Makes the "max" button use the lowest of next liquidation/current quote price when creating and adjusting vaults, and enforces collat. ratio based on lowest price when creating a vault.
Shows next liquidation price during price lock period in creation and adjustment views:
Testing
Tested manually throughout price lock periods on a local chain and added unit tests for new cases