# Interest Rate Model

## APY Function

**Borrow APY**

\= \[1 + Base + Multiplier \* min(UtilizationRate, Kink) + max(JumpMultiplier \* UtilizationRate - Kink, 0)] ^ 15768000 - 1

**Supply APY**

\= Distribute (Interest Paid by Borrowers Per Block - Reserve) to all suppliers, and convert it into APY

\= Distribute \[(1 + Borrow APY) ^ (1 / BlocksPerYear) - 1] \* Total Borrow \* (1 - Reserve Factor) to all suppliers, and convert it into APY

\= {\[(1 + Borrow APY) ^ (1 / BlocksPerYear) - 1] \* Total Borrow \* (1 - Reserve Factor) / Total Supply}, and convert it into APY

\= {1 + \[(1 + Borrow APY) ^ (1 / BlocksPerYear) - 1] \* Total Borrow \* (1 - Reserve Factor) / Total Supply} ^ BlocksPerYear - 1

\= **{1+\[(1+Borrow APY)^(1/BlocksPerYear)-1]\*(1-Reserve Factor)\*Utilization Rate}^BlocksPerYear-1**

{% hint style="info" %}
BlocksPerYear = 15,768,000 (2 sec per block)
{% endhint %}

{% hint style="info" %}
Find other variables in [Markets](https://app.cream.finance/markets)
{% endhint %}

## Major

![](https://2138938704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKJWcUfnKdJ1BjWKoMM-551935092%2Fuploads%2Fgit-blob-1aa01fcd384e42cdcfc005d06baf3edc56bb3260%2F%E6%88%AA%E5%9C%96%202021-06-29%20%E4%B8%8B%E5%8D%886.51.43.png?alt=media)

| Parameter        | Value                                                                                                                    |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Category         | Major                                                                                                                    |
| Tokens           | MATIC, WETH, WBTC, ibBTC                                                                                                 |
| Base             | 0%                                                                                                                       |
| Multiplier       | 15%                                                                                                                      |
| JumpMultiplier   | 500%                                                                                                                     |
| Kink 1           | 80%                                                                                                                      |
| Kink 2           | 90%                                                                                                                      |
| Contract Address | [0xB1FD648D8CA4bE22445963554b85AbbFC210BC83](https://polygonscan.com/address/0xB1FD648D8CA4bE22445963554b85AbbFC210BC83) |

## Stable

![](https://2138938704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKJWcUfnKdJ1BjWKoMM-551935092%2Fuploads%2Fgit-blob-09eec4a3f1e939930d6897019603866de4964f37%2F%E6%88%AA%E5%9C%96%202021-06-29%20%E4%B8%8B%E5%8D%886.36.02.png?alt=media)

| Parameter        | Value                                                                                                                    |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Category         | Stable                                                                                                                   |
| Tokens           | USDT, USDC, DAI                                                                                                          |
| Base             | 0%                                                                                                                       |
| Multiplier       | 23%                                                                                                                      |
| JumpMultiplier   | 800%                                                                                                                     |
| Kink 1           | 80%                                                                                                                      |
| Kink 2           | 90%                                                                                                                      |
| Contract Address | [0x379555965fcdbA7A40e8B5b5eF4786f51ADeeF31](https://polygonscan.com/address/0x379555965fcdbA7A40e8B5b5eF4786f51ADeeF31) |

## Governance

![](https://2138938704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKJWcUfnKdJ1BjWKoMM-551935092%2Fuploads%2Fgit-blob-ff30ea153216d01deb78c8074ff5814c966de6db%2F%E6%88%AA%E5%9C%96%202021-06-29%20%E4%B8%8B%E5%8D%886.52.39.png?alt=media)

| Parameter        | Value                                                                                                                    |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Category         | Governance                                                                                                               |
| Tokens           | LINK, SUSHI, CRV, QUICK, AAVE, DPI, FXS, SNX, UNI                                                                        |
| Base             | 0%                                                                                                                       |
| Multiplier       | 20%                                                                                                                      |
| JumpMultiplier   | 500%                                                                                                                     |
| Kink 1           | 70%                                                                                                                      |
| Kink 2           | 80%                                                                                                                      |
| Contract Address | [0x06288754f31d100039b21e62a429e4B81E56B626](https://polygonscan.com/address/0x06288754f31d100039b21e62a429e4B81E56B626) |


---

# 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.cream.finance/polygon/lending/interest-rate-model.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.
