> For the complete documentation index, see [llms.txt](https://docs.heyanon.ai/heyanon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heyanon.ai/heyanon.ai/hey-anon/protocols-and-functions-supported/defi-protocols/sky.md).

# 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"
