> For the complete documentation index, see [llms.txt](https://kerneldao.gitbook.io/kernel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kerneldao.gitbook.io/kernel/getting-started/gain/stable-gain-deprecated.md).

# Stable Gain (deprecated)

The Stable Gain vault (sbUSD) is being sunset and has stopped accepting new deposits. This is a planned closure - a commercial decision about where we focus our efforts and resources - following a decline in the vault’s TVL.

#### Key dates

* **13th July 2026** - Deposits are paused and the redemption rate is frozen
* **31st August 2026** - sbUSD dApp is sunset. Withdrawal available only through smart contract

#### Withdrawals

* Already claimed: Nothing changes.
* Not yet withdrawn: Withdraw through the existing [dApp](https://gain.kerneldao.com/vaults/stable-vault) before 31st August 2026; after it is sunset, withdraw directly through the [vault contract](https://etherscan.io/address/0x8ecc0b419dfe3ae197bc96f2a03636b5e1be91db).

\
**Withdrawal through Vault Contract**

**Approve Token Spending**: Authorize the Vault contract to spend your tokens.

1. Contract Address: [Vault Contract](https://etherscan.io/address/0x8ecc0b419dfe3ae197bc96f2a03636b5e1be91db#writeProxyContract#F4); please ensure you are on 'Write as proxy' tab.
2. Connect wallet which holds sbUSD token
3. Spender: 0x8ecc0b419dfe3ae197bc96f2a03636b5e1be91db
4. Amount: Specify the token amount, ensuring you include 6 decimal places. Example: If you want to withdraw 100 sbUSD, you should approve 100\*10^6 or 100000000
5. Click on 'Write' and confirm in your wallet.

<img src="https://415870762-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdr6QHkpvCqjgCSCMIbmx%2Fuploads%2F0KPU2nTYoP6G2JGkZKP2%2Funknown.png?alt=media&amp;token=44b831f8-de7b-4fac-bb88-302ad7d9fb99" alt="" height="153" width="624">

<br>

**Request Asset Redemption**: Execute the redemption function.

1. Contract Function: [requestRedeemOfAsset](https://etherscan.io/address/0x8ecc0b419dfe3ae197bc96f2a03636b5e1be91db#writeProxyContract#F32)
2. Asset Address: USDT (0xdAC17F958D2ee523a2206206994597C13D831ec7) or USDC (0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48)
3. Shares: Enter the number of shares to redeem (including decimals), same as in the previous step.
4. Controller & Owner: Input your wallet address for both fields.<br>

<img src="https://415870762-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdr6QHkpvCqjgCSCMIbmx%2Fuploads%2FAVDo3c2WYBJXLz0yw6yF%2Funknown.png?alt=media&amp;token=05b8c885-dfbc-4c60-8a89-e0cd8c5cdfd5" alt="" height="300" width="624">

**Redeem Asset**: Execute the redeem asset function 4 days after adding the withdrawal request

1. Contract Function: [redeemAsset](https://etherscan.io/address/0x8ecc0b419dfe3ae197bc96f2a03636b5e1be91db#writeProxyContract#F28)
2. Asset Address: USDT (0xdAC17F958D2ee523a2206206994597C13D831ec7) or USDC (0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48) — should be same as what you requested in the previous step
3. Shares: Enter the number of shares to redeem (including decimals), same as in the previous step.
4. Controller & Owner: Input your wallet address for both fields.\ <br>

   <figure><img src="https://415870762-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdr6QHkpvCqjgCSCMIbmx%2Fuploads%2F4G4y8UBOdDhb8toaPAwF%2Fimage.png?alt=media&amp;token=64034837-7a79-4b24-a9fe-e12d5f091c8c" alt=""><figcaption></figcaption></figure>

\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kerneldao.gitbook.io/kernel/getting-started/gain/stable-gain-deprecated.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
