When interacting with the AMM, you can input amounts that would be subtracted from your balance. If you don't have enough balance to perform that operation, then it will silently fail, even saying that the operation succeeded.
We need to set a max value for the amounts based on the balance
When interacting with the AMM, you can input amounts that would be subtracted from your balance. If you don't have enough balance to perform that operation, then it will silently fail, even saying that the operation succeeded. We need to set a max value for the amounts based on the balance