# Sky

## Sky Protocol Integration

### Overview

This module provides integration with Sky Protocol's core features including Sky Token Rewards (STR) for earning SKY governance tokens and Sky Savings Rate (SSR) for auto-compounding USDS deposits.

### Core Components

#### Sky Token Rewards (STR)

Governance token earning module:

* **Staking Operations**:
  * Stake USDS tokens to earn SKY rewards
  * Withdraw staked USDS tokens
  * Claim earned SKY rewards
  * Exit staking with full withdrawal
  * View staked balances
  * Check pending rewards

#### Sky Savings Rate (SSR)

Auto-compounding savings module:

* **Deposit Operations**:
  * Deposit USDS to mint sUSDS
  * Withdraw USDS by burning sUSDS
  * Redeem sUSDS for USDS
  * Auto-compound earned rewards
* **Analytics**:
  * Convert between USDS and sUSDS
  * Calculate maximum withdrawal amounts
  * View deposit balances
  * Track earned rewards
  * Monitor conversion rates

#### Token Information

* **Supported Tokens**:
  * USDS: Base stablecoin
  * SKY: Governance token
  * sUSDS: Auto-compounding receipt token

#### Calculation Tools

* **Conversion Functions**:
  * USDS to sUSDS conversion
  * sUSDS to USDS conversion
  * Maximum withdrawal calculations
  * Maximum redemption amounts
  * Balance checking utilities

### Chain Support

* **Ethereum Mainnet**:
  * STR Contract: `0x0650CAF159C5A49f711e8169D4336ECB9b950275`
  * SSR Contract: `0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD`
  * USDS Token: `0xdC035D45d973E3EC169d2276DDab16f1e407384F`
  * SKY Token: `0x56072C95FAA701256059aa122697B133aDEd9279`

### Example Prompts:

* "HeyAnon, please stake 1000 USDS into Sky Protocol"
* "HeyAnon, please deposit 1000 USDS to mint sUSDS"
* "HeyAnon, please withdraw my sUSDS position for USDS"


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.heyanon.ai/heyanon.ai/hey-anon/protocols-and-functions-supported/defi-protocols/sky.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
