Commit Graph

5 Commits (00c2d4e5f0a9d299d70e0ca12e8d22a74d1e33b6)

Author SHA1 Message Date
carla 00c2d4e5f0
liquidity: generalize threshold rule variable names
The current wording in this function is very specific to loop out.
In this commit, we refactor to use `target` and `reserve` rather
than inbound and outbound so that it can be used more generically.
3 years ago
carla 9c35946cab
liquidity: simplify suggest swap to return swap amount 3 years ago
carla 8db6b32d74
liquidity: add swap suggestions for threshold rule for loop out 4 years ago
carla cd8a7704af
liquidity: add calculations for threshold rule 4 years ago
carla ce10cc7959
liquidity: add manager with updatable parameters 4 years ago