galleon-spark-savings
Spark and Sky savings exits
Identify savings implementation
Resolve chain, vault/token, underlying, owner and requested assets or shares. Mainnet sUSDS, Spark V2 spUSDC/spUSDT vaults, cross-chain receipt tokens and SparkLend spTokens are different. Match the exact official deployment and ABI; a similar symbol does not establish ERC-4626 redemption support on that chain.
Read asset(), decimals, balanceOf(owner), totalAssets(), totalSupply(), convertToAssets(shares), owner exit limits and actual underlying liquidity. For Spark V2 also inspect the rate accumulator (vsr and current share-value state) and role/configuration that permits liquidity deployment. Accounting growth can continue while assets are deployed outside the vault; it does not prove available cash.
Select an exit route
- Quote exact shares/assets with the matched implementation. Spark V2 previews may revert when liquidity is insufficient; use conversion for accounting value plus actual liquidity and limits, not a failed preview as proof of zero assets.
- For immediate exit, simulate exact
withdraworredeemwith owner and receiver. For any PSM conversion, read current supported assets, decimal conversions, fee parameters and rate limits. Do not assume every stablecoin route is currently free or 1:1 after costs. - If the requested amount exceeds idle liquidity, check whether official Savings Vault Intents supports this vault/network. Treat an intent as a request with shares, deadline, allowance and fulfillment conditions, not a reserved payout.
- Read the latest request for that owner/vault. A replacement supersedes an earlier request; absence of a cancellation event is not proof the old request remains active. All-or-nothing fulfillment differs from a partial ERC-4626 withdrawal.
- Inspect relayer/contract identity, share allowance and receiver. Do not approve unlimited spending, post an intent or switch output asset during a read-only liquidity assessment.
Worked decision
Synthetic shares convert to 20,000 USDC, but current immediate limit/cash supports 6,000. A requested 10,000 exit has at most 6,000 immediate support and a 4,000 shortfall. A 10,000 intent must be evaluated as its complete requested amount; do not claim the relayer automatically fills 4,000 or guarantees a completion time. If a later intent replaces it, the earlier deadline is irrelevant.