Need to acknowledge slippage controls in the close() function for each spell.
These slippage controls could be a percentage of the total value of the token on the position.
|
# Slippage controls (Minimum amount allowed after final transaction); 0 = No slippage controls |
|
amtAMin = 0 |
|
amtBMin = 0 |
Need to acknowledge slippage controls in the close() function for each spell.
These slippage controls could be a percentage of the total value of the token on the position.
Alpha-Homora-V2-Python/alpha_homora_v2/spell.py
Lines 108 to 110 in 90c7584