DOCS / USING AGLEAM
Withdrawing USDG
agleam supports both partial withdrawals and full redemptions.
Partial Withdrawals
A user selects a specific USDG amount. agleam calculates the required vault shares and prepares a transaction to withdraw that amount.
Full Redemption
When a user chooses to withdraw everything, agleam prepares a transaction to redeem all owned shares rather than withdrawing a calculated asset amount. This ensures the entire position exits cleanly without leaving dust behind due to block-by-block yield accrual.
Exit Policy
An unhealthy oracle condition blocks new deposits under agleam policy, but should not automatically prevent a safe exit when the exact withdrawal/redeem simulation succeeds.