Skip to content

Commit

Permalink
Update pkg/vault/contracts/Vault.sol
Browse files Browse the repository at this point in the history
Co-authored-by: EndymionJkb <[email protected]>
  • Loading branch information
joaobrunoah and EndymionJkb authored Sep 19, 2024
1 parent 7b5e0da commit b516f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vault/contracts/Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ contract Vault is IVaultMain, VaultCommon, Proxy {
// EXACT_OUT requires the exact amount of underlying tokens to be returned, so we call withdraw.
// The amount of underlying tokens to withdraw is the amount necessary to fulfill the trade
// (amountOutUnderlying), less the excess amount of underlying assets in the buffer
// (bufferUnderlyingImbalance). `bufferUnderlyingImbalance` may be positive if buffer has an excess of
// (bufferUnderlyingImbalance). `bufferUnderlyingImbalance` may be positive if the buffer has an excess of
// underlying, or negative if the buffer has an excess of wrapped tokens. `vaultUnderlyingDeltaHint`
// will always be a positive number, because if `abs(bufferUnderlyingImbalance) > amountOutUnderlying`
// and `bufferUnderlyingImbalance > 0`, it means the buffer has enough liquidity to fulfill the trade
Expand Down

0 comments on commit b516f94

Please sign in to comment.