> For the complete documentation index, see [llms.txt](https://city-protocol.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://city-protocol.gitbook.io/docs/software-development-kit/vault/common-frontend-flows.md).

# Common Frontend Flows

#### Exit Flow With Cooldown Enabled

1. Read `client.cooldownDuration({ vault })`.
2. If greater than 0, present the user with a "Request Withdrawal" button that calls `cooldownAssets` or `cooldownShares`.
3. Read `client.cooldowns({ vault, owner })` to display the unlock time and locked amount in the UI.
4. After maturity, present a "Claim Assets" button that calls `claimFromAp`.
