# 追踪CPI预言机（Oracle）

## 描述

预言机数据采用Chainlink的2021年12月CPI-U数据点(由Fiews提供)作为确定挂钩价格的“基础”指数。每个月，该指数的变化/ delta百分比应用于前一个月的数据点，以确定锚定价格。之所以选择2021年12月，是因为预言机合约需要两个初始的“历史”数据点。

#### *举例:*

2021年12月 CPI-U: 280.126

2022年1月 CPI-U: 281.933

Delta 为 (281.933 / 280.126) - 1 = 0.64506686%

假设2021年12月是1美元，对应Delta百分比，则锚定价格为

$1 x (1.0064506686) = $1.0064506686&#x20;

如果2022年2月CPI-U数据为284.182,delta值为(284.182 / 281.933)- 1 = 0.79770726%。

将次数据应用于此前挂钩价，则新的锚定价格为：$1.0064506686 \* (1 + 0.0079770726) = $1.0144791987&#x20;

换言之，2021年12月的1美元价值2022年2月的这么多美元。

**CPITrackerOracle (V2):** [`0x66B7DFF2Ac66dc4d6FBB3Db1CB627BBb01fF3146`](https://etherscan.io/address/0x66B7DFF2Ac66dc4d6FBB3Db1CB627BBb01fF3146)

**Raw data source:** <https://data.bls.gov/timeseries/CUSR0000SA0>

**Chainlink / Fiews Job:** <https://market.link/jobs/44964ac4-d302-4141-8f94-67e58e34b88d>

<https://market.link/jobs/44964ac4-d302-4141-8f94-67e58e34b88d>


---

# Agent Instructions: 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://docs.frax.finance/zh/frax-jia-ge-zhi-shu-fpi/zhui-zong-cpi-yu-yan-ji-oracle.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.
