# 오라클

**개요**

오라클은 2021년 12월 블록 체인 기술 개발 스토어 Fiews에서 제공된 체인링크의 CPI-U 데이터 포인트를 페깅\[2] 가격 결정을 위한 '기준' 지수로 사용한다. 매달 지수의 변화/델타값\[3]을 전월의 데이터 포인트에 적용하여 페깅된 가격을 결정합니다. 오라클 계약에는 두 개의 초기 시간 데이터 점이 필요하기 때문에 2021년 12월이 선택되었다.

예:

2021년 12월 CPI-U : 280.126

2022년 1월 CPI-U: 281.933

Delta는 (281.933 / 280.196) - 1 = 0.64506686%

2021년 12월을 1달러라고 가정하면 델타 비율을 적용하면 다음과 같다.

$1 x (1.0064506686) = $1.0064506686(페그 가격)입니다.

2022년 2월 CPI-U 데이터가 284.182라면, 델타(284.182 / 281.933) - 1 = 0.79770726%가 될 것이다.

이를 이전 페그 가격에 적용하면 $1.0064506686\*(1 + 0.0079770726) = $1.0144791987이 새 페그 가격으로 제공됩니다. 다시 말해, 2021년 12월 한 달러를 사려면 2022년 2월 한 달러가 많이 필요할 것입니다.

Raw data source:[ https://data.bls.gov/timeseries/CUSR0000SA0](https://data.bls.gov/timeseries/CUSR0000SA0)

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

\
[**Code Link**](https://github.com/FraxFinance/frax-solidity/blob/master/src/hardhat/contracts/Oracle/CPITrackerOracle.sol)


---

# 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/ko/frax/undefined.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.
