mars-protocol / rover

Smart contracts for Rover
GNU General Public License v3.0
1 stars 1 forks source link

[HC] Add slippage for swap function #179

Closed bobthebuidlr closed 1 year ago

bobthebuidlr commented 1 year ago

Since we do have to deal with slippage in Trade, it is important that we add a slippage factor in the Health Computer too to more accurately predict the updated Health State. This PR adds this functionality.

https://delphilabs.atlassian.net/browse/MP-3271