> For the complete documentation index, see [llms.txt](https://xircus-developer.gitbook.io/developer-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xircus-developer.gitbook.io/developer-hub/ton-contracts/governance/staking.md).

# Staking

This contract allows you to deposit assets or tokens to earn extra assets or tokens based on APY

APY means Annual Percentage Yield

Compounding frequency by monthly, quarterly, bi-yearly, yearly

Features

* Multi-Token or Multi-asset configuration
* APY In-Contract Calculator

Variants:

1. Non-Shard with Unified and Multi-Token Configuration
2. Non-Shard with Individual and Multi-Token Config

Operations

* deposit
* redeem

Getters

* get\_staking\_data(account\_addr, wallet\_addr) ->
* get\_earned\_of(account\_addr)
* get\_withdrawn\_of
