# Overview

![](https://2456486641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQwHpdClxAYubKohnDj%2Fuploads%2FFJA2pqicZiw3JB0gV52F%2FOverview.png?alt=media\&token=14722459-6b2f-42d0-98ee-c90aac56e094)

Ooki Protocol has two primary tokens:&#x20;

* **OOKI:** OOKI is the primary token of the platform. The current maximum supply of OOKI is 40 bn.
* **iTokens:** iTokens, such as iDAI or iUSDC, are interest accumulating tokens that continuously go up in value as you hold them.

We have a third token, called **vBZRX**. This token is a vesting token. It slowly releases tokens that can be claimed for OOKI. The amount of vBZRX emissions is declining over time as they are converted to OOKI. The **vBZRX** token also results in increased voting power as it can be used for voting as all unvested vBZRX has voting power.&#x20;

## **OOKI**

<figure><img src="https://2456486641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQwHpdClxAYubKohnDj%2Fuploads%2FrQ3TsBDlkyAc6QmRqrPl%2FNew%20flowchart-04%20(3).png?alt=media&#x26;token=dfb8cfe8-6c2c-449a-8487-782022be67ac" alt=""><figcaption></figcaption></figure>



**OOKI Token Contract**: `0x0De05F6447ab4D22c8827449EE4bA2D5C288379B`&#x20;

OOKI is a governance token first and foremost. An active and vibrant community of stakeholders collectively advancing the protocol is at the heart of Ooki.

Users who stake OOKI tokens are eligible to earn fees generated by the protocol and are able to vote for representatives responsible for approving upgrades to the protocol.

OOKI is designed to kickstart liquidity, and network effects by aligning stakeholders long term interests.

The current maximum supply of OOKI is 13.8bn OOKI Tokens.&#x20;

## vBZRX

**vBZRX Token Contract**: [`0xb72b31907c1c95f3650b64b2469e08edacee5e8f`](https://etherscan.io/address/0xb72b31907c1c95f3650b64b2469e08edacee5e8f)

OOKI tokens can be claimed over time from vBZRX.



## iTokens

iTokens, such as iDAI or iUSDC, are interest accumulating tokens that continuously go up in value as you hold them. They represent a share in a lending pool that grows in size as borrowers pay interest into them. iTokens can be traded, used as collateral, composed by developers into structured products, or sent to cold storage for safety.

iTokens constantly accrue value and increase in price because its underlying assets are loaned out to borrowers. Two notable features of iTokens are that they compounds each second (as opposed to per block) and that their exchange rate is capable of falling if the underlying pool suffers a loss. This makes them well suited for risk management derivatives to be built on top.

#### Minting an iToken

When the iToken contract for an asset is first deployed, it creates on-chain base protocol order objects corresponding to each level of leverage. The initial margin of the order object defines the level of leverage, and each order object has margin maintenance set at 15%. The length of the loan in the order object is defined as 28 days. When a lender wants to create a loan, they invoke the function mintWithEther when loaning ETH, or if loaning an ERC20, approve a token allowance and invoke the function mint.

Anyone can borrow directly against the iToken to execute a typical base protocol loan with a fixed interest rate. Alternatively, loans can be taken by calling the borrowTokenFromEscrow function through a pToken contract, which will then mint pTokens using the loan. Calling either borrowTokenFromEscrow or borrowToken causes the iToken liquidity to be added to the appropriate order object corresponding to the level of leverage specified by the borrower. The interest rates on loans initiated by the pToken contracts are dynamic, reacting in real-time to the supply and demand of lending and borrowing as described in the section below titled Interest Determination. When the loan is taken by a borrower, the 28 days begins. Once a loan has been initiated, each subsequent borrower at that level of leverage partially fills the loan order but does not refresh the expiration date.

#### Closing an iToken

Lenders are able to divest themselves of an iToken position in two ways: burning the token (Via our UI or the directly through the smart contract) or selling it on the open market. When an iToken holder burns the iToken, the funds they deposited are returned to their address immediately, assuming doing so does not bring loan utilization over 100%. In the case that burning the iToken brings loan utilization over 100%, as much of the funds that can be returned are returned. When a redemption does not result in a full refund due to the pool reaching maximum utilisation, the remaining iTokens are returned to the users wallet for later redemption.

It is most likely that loan utilization will not stay near 100% for any substantial period of time, as the interest rate mechanics are designed to incentivise liquidity in the lending pools. When loan utilization is near 100%, the interest rate will be high, attracting loan interest, and discouraging existing borrowers from continuing with their positions. This will create liquidity for lenders wanting to exit their iToken positions. Lenders continue to earn interest on any funds not returned to them, even if all their iTokens are burnt.\


**For each token listed on OOKI, there is an equivalent Itoken contract.**

