You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
When processing a borrow instruction which is denoted by deposited collateral, there is currently no way to specify the minimum number of borrowed tokens to receive.
Processing borrows denoted by requested borrow tokens does not need an explicit slippage constraint because collateral tokens can be restricted by using SPL token's delegate instruction. But it seems nice to have a slippage constraint for this direction too.
Proposed Changes
Add minimum amount to borrow instruction params
The text was updated successfully, but these errors were encountered:
Problem
When processing a borrow instruction which is denoted by deposited collateral, there is currently no way to specify the minimum number of borrowed tokens to receive.
Processing borrows denoted by requested borrow tokens does not need an explicit slippage constraint because collateral tokens can be restricted by using SPL token's delegate instruction. But it seems nice to have a slippage constraint for this direction too.
Proposed Changes
Add minimum amount to borrow instruction params
The text was updated successfully, but these errors were encountered: