DocumentationOpen App

Configure Market

Assets

1

Add new asset and set Main Feed

Asset: Collateral token address. Select from PriceFeed Store or add new if needed.

Price Feed: Collateral token Main price feed. Select from PriceFeed Store or add new if needed.

Main feed is used to for collateral pricing during liquidation checks.

2

Set Reserve Feed

Select from PriceFeed Store or add new if needed.

Used to protect the protocol against manipulations of Main Feeds’ price. See Dual-oracle pricing for detailed explanation.

Set Reserve Feed equal to Main Feed if you have no other options.
&#xNAN;If reserve price feed is not set, part of the protocol functions (withdrawals, partial liquidations) won't be available.

3

Quota limit

Max amount of debt that can be backed by particular asset in the pool. Measured in amount of underlying asset. Used for calculation of Account Value and quota interest rate.
see Docs for detailed explanation.

4

Quota Increase Fee

Rarely used, feel free to omit
When user increases Quota (CA-specific max amount of debt that can be backed by particular collateral), charge a fixed % fee on the quota difference: works like a one-time fee charged on swaps by exchanges.

Added to account's Debt. Distributed as a DAO & Curator fee on repayment according to the fee split rules.

Rates

1

Collateral-specific Rates

Additional rate which is applied on top of IRM-based utilization rate for borrowing against particular collaterals.

To modify collateral-specific rates, set the intended rates in front of each collateral and click "Update Rates".

See Collateral-specific rates for detailed explanation.

Setting IRM in a way that borrow rate at target utilization (~80-85%) equals 60-70% of expected collateral yield will allow you to bootstrap utilization by allowing favorable rates.
Equlibrium rate can then be found by increasing collateral-specific rates.

IRM

1

IRM parameters

Rate curve parameters can be changed after the creation of Market by executing transactions generated from "Change Model" action.

Loss policy

Additional logic applied during CA liquidation if it results in creation of Bad Debt.
Properly set loss policy is especially helpful in cases when secondary market oracle is used as a Main feed.

Risks of using secondary market price as Main price feed


&#xNAN;Example:

  • Main ezETH feed - Market price