> For the complete documentation index, see [llms.txt](https://ch-docs.aftermath.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ch-docs.aftermath.finance/liu-dong-xing-zhi-ya-afsui/fees.md).

# 费用

## 延迟解除质押协议费

常规解除质押流程中，会按已赚取质押奖励的 5% 收取费用。费用基于您的仓位累积的全部质押奖励计算，公式如下：

Fee = amount\_staked \* staking\_APY \* duration\_staked \* 5%

示例：

若您质押 100 SUI，为期 3 个月，质押 APY（年化收益率）为 3.5%，则累计质押奖励为：

staking\_rewards = 100 (SUI) \* 0.035 (APY) \* 0.25 (Years) = 0.875 SUI

费用为该金额的 5%（staking\_rewards \* 0.05）：

Fee = 0.875 (SUI) \* 0.05 = 0.043 SUI

费用也可以表示为解除质押 SUI 总量的百分比：

Fee/(amount\_staked + staking\_rewards) \* 100

Percent\_of\_total\_unstaked = 0.043 / (100 + 0.875) \* 100 = 0.043%

## 原子解除质押协议费

该费用仅在选择「立即解除质押」时收取。原子协议费基于解除质押的 SUI 总量计算，费率取决于协议为原子解除质押分配的 SUI 储备中的可用流动性，公式如下：

max\_fee - (max\_fee - min\_fee) \* reserves\_value / reserves\_target\_value

其中 reserves\_value 是本次解除质押完成后，协议中为原子解除质押分配的 SUI 数量，其余参数为常量：

max\_fee = 1%

min\_fee = 0.1%

reserves\_target\_value = 10000 SUI

## 验证者费用（可选）

每个验证者都可以设置自己的费用，作用于每笔质押。afSUI 铸造完成后，其中指定的一部分会转给该笔质押所在的验证者。此费用默认为零，验证者可在 \[0, 0.1%] 区间内调整。

若验证者设置了费用，质押页面的验证者选择下拉菜单中会显示出来：

<figure><img src="https://1936811439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdKvTsNMHcoUbfcyfXgsE%2Fuploads%2Fgit-blob-4f262945f0a9965fe9110b99e447a79aa990777a%2FScreenshot%202024-03-02%20at%207.16.40%20PM.png?alt=media" alt="" width="375"><figcaption><p>「选择验证者」下拉菜单中的验证者费用</p></figcaption></figure>
