> For the complete documentation index, see [llms.txt](https://cmdefi.gitbook.io/cmdefi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cmdefi.gitbook.io/cmdefi/home/defi-qu-zhong-xin-hua-jin-rong/ampleforth/spot-and-stampl.md).

# SPOT & stAMPL

<p align="right">📅 2025-03-04</p>

### 1 **AMPL→{spot,stampl}**

stAMPL和SPOT本质上是都是通过将AMPL存入ButtonWood进行Tranche分层后进行“再组合”实现的。

#### 1.1 分层

* AMPL-A 低风险部分｜33%｜不受Rebase影响
* AMPL-Z  高风险部分｜67%｜放大Rebase影响

那么AMPL-A和AMPL-Z分别有哪些特点：

1. AMPL-A具有不同的到期日，所以不同时间存入抵押品所产生AMPL-A之间不能互相转换。
2. AMPL-A和AMPL-Z组合永远可以兑换AMPL，但A和Z的到期日必须匹配。
3. 如果以AMPL本位作为评估价值的尺度，那么该资产无论何时都是至少100%抵押的资产，但如果以美元本位或者以AMPL总市值作为标准来衡量，因为rebase会影响AMPL-Z，那么它就可能出现超额抵押(由于正向rebase导致升值)/抵押不足的情况(由于负rebase导致贬值)。

#### 1.2 再组合

* **SPOT** - The Senior Perpetual 是AMPL的低波动性（稳定）衍生品。它是一种类似债务的工具，可以作为长期耐用、跟踪通胀的稳定资产。**完全由不同到期日的AMPL-A构成的**[**SPOT Collateral Set**](#spot-collateral-set)**一揽子抵押品支持。**
* **stAMPL** - The Junior Perpetual 是AMPL的高波动性衍生品。它是一种类似股票的工具，比AMPL波动性更大，可以捕捉大部分Rebase变化。**它代表staked AMPL position，由不同到期日的AMPL-A、AMPL-Z所构成的**[**Rotation Vault**](#rotation-vault)**提供支持，同时也是作为促进**[**Rolling Over**](#rolling-over-tranches-tranches-fan-zhuan-yan-qi)**的一种措施。**

<figure><img src="/files/9pf49jH5PkESIfjZRYYp" alt=""><figcaption></figcaption></figure>

### 2 获得SPOT - 铸造模块

SPOT是用户使用AMPL来拆分出来的低波动部分AMPL-A，AMPL-A本质上是一种有到期日的债券，SPOT是由不同到期日的AMPL-A组成的一揽子抵押品支持的，它代表SPOT对一揽子抵押品按比例的索取权。

铸造模块是基于ButtonWood提供的[Tranche](/cmdefi/home/defi-qu-zhong-xin-hua-jin-rong/ampleforth/tranche.md)技术实现的，本质上是用户使用AMPL来拆分成AMPL-A，AMPL-Z，AMPL-A部分自动转为SPOT，AMPL-Z部分继续由用户持有。

需要注意的是，当需要把SPOT赎回为AMPL-A时，它所赎回的是不同到期日的AMPL-A，这取决于SPOT Collateral Set中的抵押品情况。

### 3 获得stAMPL - Vault模块

stAMPL是用户将AMPL存入Rotation Vault质押获得的凭证，它代表stAMPL对Rotation Vault按比例的索取权。Vault中大部分由AMPL-Z构成，所以它吸收了更多的AMPL Rebase，是AMPL的高波动衍生品。

### 4 SPOT Collateral Set (抵押品集)

SPOT的抵押品全部来源于AMPL-A，但由于其中包含了多个到期日类型，所以将它称之为Collateral Set，它是一揽子资产，其中包含两部分 ：

* 未到期的AMPL-A
* 已经到期的AMPL-A被自动赎回变成的AMPL

{% hint style="info" %}
已经到期被自动赎回的这部分AMPL被存储在一个称为holding pen的特殊数据结构中，同时该数据结构里还包含了诸如哪个AMPL-A被赎回成了AMPL等信息。所以其抵押品是AMPL-A和AMPL组成的一揽子资产。需要注意的是holding pen里的AMPL也会参与rebase。
{% endhint %}

为了使SPOT作为一种稳定币流通，但A又都有到期日，所以如果直接用A来代表SPOT，就会出现SPOT到期必须自动赎回的情况，另外系统无法记录用户手中持有的SPOT是何时铸造对应生成了具体哪个A，所以将所有A和holding pen中的AMPL作为SPOT的一揽子抵押品，最终用户赎回的就是不同到期日的A。

所以SPOT的抵押品是由一揽子资产支持的，以实现SPOT在市场上的长期流通，并且在需要的时候允许用户赎回。

<figure><img src="/files/EtCeXYrs0eGTDXajL109" alt="" width="375"><figcaption><p>铸造SPOT，是通过将AMPL分层成AMPL-A和AMPL-Z实现</p></figcaption></figure>

SPOT对应Collateral Set中的资产，按比例赎回。例如你拥有SPOT 1%的份额，你在赎回资产的时候，就是赎回每个AMPL-A的1%+holding pen中1%的AMPL。（但是图中的例子中，holding pen中的AMPL已用尽，则赎回的资产全部为不同到期日的Tranche-A）

<figure><img src="/files/op3FXAMo1PZWs2m6ZC7f" alt="" width="375"><figcaption></figcaption></figure>

### 5 Rolling Over Tranches (Tranches轮换)

在SPOT Collateral Set中，Rolling Over Tranches是从 SPOT 中撤回陈旧抵押品并用新铸造的部分替代的过程，以此来保证SPOT的抵押品到期日始终保持新鲜，这对于SPOT的稳定性至关重要。

为了保证SPOT价值的充分抵押，必须保持至少与AMPL-A的比例为1:1或以上，所以当AMPL-A自动到期后，其自动转化为AMPL就会重新变成Rebase资产，所以需要Rolling Over Tranches。

这里就会产生一个问题，如果没有足够的AMPL去铸造AMPL-A以保持到期日的新鲜怎么办？Rotation Vault将解决这个问题。

<figure><img src="/files/T73LuTZJKyT0aaRKMA0m" alt=""><figcaption><p>图中Sr代表AMPL-A，t代表到期日时间</p></figcaption></figure>

### 6 Rotation Vault (实现自动化循环轮换)

目的是实现自动化的轮换 (Rolling Over) 和激励。

#### 6.1 Rotation Vault 原理

及时的轮换可确保 SPOT 的抵押品集始终充满新鲜的AMPL-A，以维持SPOT的稳定性。于是Rotation Vault机制出现了，用户可以将AMPL质押到Rotation Vault获得stAMPL，而进入Rotation Vault的AMPL将被铸造新的AMPL-A和AMPL-Z。总结来说，它实现了：

1. 自动化了Rolling Over轮换过程，任何人都可以通过质押机制被动参与轮换。
2. 质押者无需管理中间部分或为每次操作支付Gas。
3. 在当前的 SPOT 配置中，每周进行一次轮换。
4. stAMPL对应Rotation Vault中的资产，按比例赎回。

{% hint style="info" %}
SPOT 与stAMPL 都具有自由浮动价格和按比例赎回的特点。
{% endhint %}

<figure><img src="/files/HGFERaRwBmQrRRXFPeYM" alt="" width="375"><figcaption></figcaption></figure>

#### 6.2 Rotation Vault 运作流程

在每周触发轮换时，Vault将自动执行以下操作，完成自动化的循环轮换。

1. 通过铸造SPOT，自动将质押中的 AMPL 分层为的AMPL-A和AMPL-Z
2. 自动将SPOT抵押品集中已经到期的AMPL-A替换为新铸造的AMPL-A
3. 铸造SPOT时产生的AMPL-Z部分，自动保留在Rotation Vault中，直到其到期成熟后转为新的AMPL，供未来的轮换使用。

<figure><img src="/files/hKwz9xMIRoERrL4iA5dO" alt=""><figcaption><p>Sr: AMPL-A, Jr: AMPL-Z, t: 到期日时间</p></figcaption></figure>

当SPOT Collateral Set中的AMPL-A到期成熟时，转换出的AMPL将先进入holding pen缓冲区，在一段时间内用户在赎回SPOT时，可能会赎回AMPL-A和AMPL的组合，超过一定时间后，AMPL再次分层进入轮转循环。

当Rotation Vault中的AMPL-Z到期时，转换出的AMPL将再次自动分层成AMPL-A和AMPL-Z，进入轮转循环。A准备替代SPOT Collateral Set中即将到期的A，Z继续留在Rotation Vault等待到期。

***

参考文献：

[Split, Stack, & Churn: Stabilizing Value with Rebase, Tranche, & Rotations in Decentralized Finance](https://mirror.xyz/bhau.eth/eRzvah0UpIa49wiHTwON4a0ZuMsJU0nr3CeGlNJDX9M)

[SPOT doc](https://docs.spot.cash/spot-documentation)

[Proposal: Initiate Rollout of Spot v2](https://forum.ampleforth.org/t/proposal-initiate-rollout-of-spot-v2/738)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://cmdefi.gitbook.io/cmdefi/home/defi-qu-zhong-xin-hua-jin-rong/ampleforth/spot-and-stampl.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.
