Keydonix / liquid-long

The Unlicense
8 stars 1 forks source link

Add function for getting the max leverage size available. #100

Closed MicahZoltu closed 5 years ago

MicahZoltu commented 5 years ago

This will allow the UI to set the maximum position size based on the amount of WETH available, so it can fluctuate as the WETH the contract holds changes with time (e.g., with deposites or fee collection).