# FPI Controller Pool

## Description

The FPI Controller Pool has various helper functions related to FPI and its peg, such as minting and redeeming FPI.

FPI Controller Pool: [`0x2397321b301B80A1C0911d6f9ED4b6033d43cF51`](https://etherscan.io/address/0x2397321b301B80A1C0911d6f9ED4b6033d43cF51)

### Mint / Redeeming

Users can mint FPI with FRAX or redeem FPI for FRAX. There is a small fee associated with this, initially 0.30%.

### twammToPeg

The twammToPeg function is used by the protocol to introduce market pressure to bring the market price of FPI up (or down) to the target peg price.

### giveFRAXToAMO / receiveFRAXFromAMO

The contract can lend FRAX collateral to various AMOs that earn yield (among other things).

## Code

{% embed url="<https://github.com/FraxFinance/frax-solidity/blob/master/src/hardhat/contracts/FPI/FPIControllerPool.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/frax-price-index/fpi-controller-pool.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.
