# Yield

## Overview

Yield is the liquid staking module for Goliath Testnet.

**Access:** <https://slingshot.goliath.net/#/yield>

## Live Parameters

| Parameter                    | Value                                                                                                    |
| ---------------------------- | -------------------------------------------------------------------------------------------------------- |
| **stXCN proxy (UI/testing)** | `0x18da8D438a030B530Aba59Ae0aD1942bEB14a9cE`                                                             |
| **Explorer**                 | [View Contract](https://testnet.explorer.goliath.net/address/0x18da8D438a030B530Aba59Ae0aD1942bEB14a9cE) |
| **Gross reward rate**        | `27.8%`                                                                                                  |
| **Protocol fee**             | `10%` (minted as stXCN to treasury)                                                                      |
| **Net APY to stakers**       | `25.02%`                                                                                                 |

## Core Contract Addresses

| Contract                 | Address                                      |
| ------------------------ | -------------------------------------------- |
| **stXCN Proxy**          | `0x18da8D438a030B530Aba59Ae0aD1942bEB14a9cE` |
| **stXCN Implementation** | `0xb351e224466F45fe652F7Dfd577dAB7A6717aBfC` |
| **BridgeStakingAdapter** | `0x899fd7C568e9040F4320e3f23B05DC340ec2aA78` |

## Reward Mechanics

* Rewards accrue automatically via a cumulative index.
* No claim transaction is required.
* Users receive XCN when calling `unstake()`.

## User Flow

1. Connect wallet on Goliath Testnet
2. Open `/#/yield`
3. Enter XCN amount and submit stake action
4. Hold stXCN while rewards accrue automatically
5. Call `unstake()` when exiting to receive XCN

## Developer Notes

* Start from the explorer-verified ABI for the stXCN proxy.
* Index-based accounting means apparent yield is reflected through conversion math, not claim loops.
* Track staking lifecycle via on-chain events plus `balanceOf`/supply state.

For a consolidated integration reference, see [Slingshot Integration Guide](https://docs.goliath.net/developer-guide/slingshot-integration).
