# Unlock the Blockchain

### The current lending system is broken.

**Traditional lending** systems like banks rely on trust and credit checks to ensure loan repayment. When that trust is broken, everyone feels it. This type of lending suffers from:

* Lack of transparency
* Tedious credit checks
* Asset mismanagement

**Trustless lending** platforms like Aave / Radiant rely on locking high amounts of collateral to ensure loan repayment. This locked liquidity is trapped, harming the chain the platform is in. This type of lending suffers from:

* High borrow rates
* Low deposit rates
* Capital stagnation

**Prime Brokerage** solutions (read: DeltaPrime) rely on keeping access to borrowed funds to ensure loan repayment. While a borrower can use and profit from their collateral and borrowed funds to use in other DeFi platforms, funds are always accessible by an automated escrow smart contract. This ensures trustless loan repayment, without the need for credit checks. This leads to:

* Trustless lending
* High deposit rates
* High capital efficiency

{% embed url="<https://www.youtube.com/watch?t=3s&v=3yaQe1QALA0>" %}
On the need for a new lending system. May 3rd, 2023.
{% endembed %}

## What is DeltaPrime?

DeltaPrime is a decentralised borrowing and investing ecosystem, unlocking trapped liquidity on the chains it operates on. On DeltaPrime users can easily [deposit](/liquidity-pools/savings) and [borrow](/liquidity-pools/borrowing) funds to increase the power of their usual DeFi investments. The [minimum collateral ratio ](/prime-brokerage-account/account-overview)for these loans is 10%.&#x20;

Borrowed funds can be used to invest in [integrated protocols](/integrations/protocols). Every platform can be integrated as long as they are safe and liquid.

## Why DeltaPrime?

Every year, tens of billions of dollars worth of assets are locked in lending platforms. The vast majority of these funds are locked as collateral, providing little to no value to the crypto community. DeltaPrime returns these funds to the hands of her users. This benefits borrowers, depositors, and integrated platforms alike.&#x20;

When you **borrow** on DeltaPrime you get:

* [One DeFi account ](/integrations/protocols)
* [Empowered returns](/liquidity-pools/borrowing)
* [No credit checks](/protocol/decentralization)

When you **deposit** on DeltaPrime you get:

* [Trustless depositing](/liquidity-pools/savings)
* [High Real Yield](/liquidity-pools/savings)
* [single asset exposure](/liquidity-pools/savings)

When you get **integrated** on DeltaPrime you get:

* [Cashflow](/prime-brokerage-account/portfolio/assets)&#x20;
* [TVL](/prime-brokerage-account/portfolio/farms)

### About this documentation

Note that DeltaPrime is a constantly evolving protocol, leading to elements of the docs potentially being outdated. For updated information on protocol progress we refer to the announcements in our Discord.


# Overview

<figure><img src="/files/3HUp96mDY5C9zcCjVETR" alt=""><figcaption></figcaption></figure>

DeltaPrime is a trustless borrowing platform on Avalanche and Arbitrum. Depositors can lend out funds by depositing an asset into one of the liquidity pools (eg. $AVAX or $ARB). Borrowers can then borrow these assets for which they pay interest. The interest rate is dependent on supply and demand of that asset.

Borrowers of these pools can invest borrowed funds, together with their full collateral, in a multitude of DeFi [protocols](/integrations/protocols). While borrowers can be liquidated if they lose too much value, they can also reap bigger rewards by making good investments. Depending on the strategy borrowers set up, they design their own [Risk/Reward](https://www.investopedia.com/terms/r/riskrewardratio.asp).&#x20;

What makes DeltaPrime's architecture unique is the ability to liquidate funds, independent of the protocol they are in at that time. Borrowed assets are sent to a personal, dedicated smart contract, instead of a personal wallet. See it as an escrow smart contract. While the borrower is solely in charge of this smart contract, it allows the protocol to protect the funds through liquidation if necessary.&#x20;

This method is very similar to a [margin account](https://www.investopedia.com/terms/m/marginaccount.asp).&#x20;

But here, you can use all funds in the account, cross-margin, across a range of DeFi protocols.

![Architecture of DeltaPrime protocol](/files/MUo7Qp7zc53M7Fx66ga6)


# Decentralization

### (de)Centralized systems

Power corrupts. The more power one or a few people in a system possess, the more prone this system is to corruption and short-term decisions. At the same time, the wisdom of the crowd theory teaches us that decisions made by a large group of non-experts tend to have better results than decisions made by one or few experts. This is one of the benefits of decentralization.

Additionally, reducing a workforce (read: bankers) to a code-based system, severely lowers costs for users of this system. All in all decentralization brings:

* Less corruption
* Better decision making
* Lower operating costs

### Creditless&#x20;

For this reason DeltaPrime works completely decentralized and code-based. Everyone with a MetaMask account and funds for gas can create a [Prime Account](/prime-brokerage-account/prime-account) or deposit funds. There is no single person in DeltaPrime who can refuse this access to liquidity. DeltaPrime does not check whether you are "credit-worthy", nor do we have any humans assessing this. Instead, our [safety measures](/protocol/security) come in other, fully decentralized forms.

Additionally, unlike centralized brokerages, we do not hold your tokens. Although the [Prime Account](/prime-brokerage-account/prime-account) has an interface as easy-to-use as any centralized project, the tokens are instead held in a [Dedicated Smart Contract](/prime-brokerage-account/prime-account#dedicated-smart-contract), which you are the sole owner of. Every single action performed is stored on the blockchain, which you can track through your history.

### Suspension of withdrawals

In recent times, multiple trust-based, undercollateralized lending protocols have gone insolvent. Through fund misappropriation, bad decision-making, and adverse market conditions, tens of thousands of loans defaulted. This led to depositors everywhere losing access to their funds.\
\
DeltaPrime prevents this by keeping borrowing trustless. A [dedicated smart contract](/prime-brokerage-account/prime-account#dedicated-smart-contract) (DSC) prevents fund misappropriation through a walled garden; should bad decisions lead to the default of a Prime Account, the DSC will automatically repay the loan. Because the code is open source, you can see the exact rules every DSC is following. In doing so, we ensure loan repayment for depositors, preventing the need for withdrawal suspensions other undercollateralized protocols have had.

Apart from a lack of need, any (re)deployment of code to the network has a 24-hour timelock, giving our users time to adapt to the updates where necessary.&#x20;

### DAO

DeltaPrime is on the road to becoming a fully Decentralized Autonomous Organisation (DAO). During the first few years of development, every decision was made by the development team. Community interests are protected by security mechanisms like multisig & timelock, as well as many audits protecting users from any centralization risks.&#x20;

Since early 2024, the community gets involved more in major decisions through our Discord. The LTIP proposal for example, was drafted up fully based on community concensus. On July 1st, 2024, governance power will come into play, allowing users to quantify their stake in the DeltaPrime platform, and exert even more influence on the decision making process. Over time this influence will increase to the community having full autonomy in DeltaPrime's decision making process.

As DeltaPrime grows into a DAO, this page will be further updated.


# Efficiency

Unique to DeltaPrime is its Diamond Beacon Proxy pattern. This pattern allows us to:

* Rapidly scale the protocol
* Infinitely scale the protocol
* Reduce setup costs

### Diamond Beacon Proxy Pattern

The Deployment of Dedicated Smart Contracts is one of the core innovations of the DeltaPrime protocol, essential for providing undercollateralized loans. Deploying these logic filled contracts would normally be an expensive operation. An additional challenge would arise when trying to add integrations to DeltaPrime, as these contracts would be unable to interact with newly implemented features. \
\
These challenges are overcome by the use of a beacon proxy pattern. Instead of redeploying the same smart contract over and over again, one "blueprint" (beacon) smart contract is deployed to the network. This contract contains all necessary logic and integrations. Prime Accounts use this contract to perform any logical operations, at the same time being able to keep their state separated. This state holds all personal information of the Prime Account, like the tokens and stakes. This solution is cheaper than deploying all of the contract logic for every Prime Account. It also allows for upgrading contracts, enabling users to interact with new integrations when they are deployed to DeltaPrime. This is what makes DeltaPrime future-proof.

This video from DeltaPrime cofounder Kamil Muca explains in-depth what this pattern is, the benefits it provides, and how it works.&#x20;

{% embed url="<https://www.youtube.com/watch?t=2s&v=hB3f-DueXHc>" %}
The Diamond Beacon Proxy model explained, May 5th 2023.
{% endembed %}


# Security

### Safety First

The safety of your funds is our number one priority. While at times we might skip today's shiny thing (sorry point collectors), this focus on security, combined with continuous expansion, allows us to be where we are today, and safeguard we will still be here tomorrow.&#x20;

Of course, while we make every effort to ensure protocol safety, protocol risks are existent in every protocol. The below mentioned safety measures are put in place to mitigate these risks where possible.&#x20;

Should you, in spite of our overwhelming security measures, find a potential vulnerability in our codebase, we urge you to take part in our [bug bounty program](/protocol/security/bug-bounty), with rewards up to $100,000.&#x20;

{% embed url="<https://github.com/DeltaPrimeLabs/deltaprime-primeloans>" %}


# Liquidations

Protects

{% hint style="success" %}

* Loan repayment
  {% endhint %}

### What are liquidations

Undercollateralized loans are usually based on trust. Lenders do a credit check and hope the loan gets paid back. Whenever that trust gets violated, this has consequences as seen in 2022. For this reason overcollateralized protocols, like AAVE, although inefficient, focus on providing trustless loans. They are able to do this by liquidating loans as they near insolvency.&#x20;

With DeltaPrime we are evolving this system, combining the best of both worlds: the capital efficiency of protocols like [Goldfinch](https://goldfinch.finance/) with the trustlessness of protocols like [AAVE](https://aave.com/).  Liquidations are one of the main [security measures](/protocol/security) of DeltaPrime. It ensures that loans can be safely repaid. If the [collateral ratio](/prime-brokerage-account/account-overview#ltv) of a Prime Account hits or drops below 20%, part of the borrowed funds get liquidated. Part of the outstanding borrows will be repaid in order to increase the collateral ratio back to a healthy percentage.&#x20;

### Liquidation bots

Currently, only whitelisted actors can run liquidation bots. In the future, everyone can run these bots on DeltaPrime. If a Prime Account's health ratio hits or drops below 0%, all liquidation bots are incentivized to perform a liquidation on that account. Instead of liquidating the account fully, liquidation bots can only perform partial liquidations, up to a health of 10%. This way borrowers don't lose everything due to a price spike, while depositors stay protected. Whenever a liquidation bot successfully liquidates a position, it will get a liquidation bonus as an incentive, paid by the Prime Account.

In the extreme case that the loan is so small that the liquidation bots don't have enough incentive to liquidate, protocol-owned liquidation bots will liquidate the position (for Prime Accounts over $50). This might mean the liquidation happens at a small loss for the protocol, which will be covered by our insurance pool ($2.3mm TVL at time of writing). This pool has been created, and is built up with protocol revenue. This method secures the funds of depositors to prevent them from losing their capital due to a large amount of illiquid ghost contracts or black swan events. Eventually, stability pools will be set up, in which users can participate to cover potential bad debt. Information on the specifics of these pools and their rewards will be shared in the fuutre.

### Liquidation order

Borrowed funds must be repaid in the same currency they were issued with. When liquidation occurs the bot will pay back the loan in following steps:

1. Calculate how much should be repaid to bring the loan back to a safe level.
2. Repay part of the loan from tokens supplied by liquidation bot.
3. Transfer part of account positions + liquidation bonus to the liquidator (of the same USD value as supplied in pt. 2).

This is a highly summarised version. For the full liquidation process, including a liquidation example, see this document:

{% file src="/files/N77NLVE1TYK6OLcuINwj" %}

{% hint style="success" %}
The pdf was created during the alpha version and shows an LTV of 500% instead of a health meter of 0%. While the numbers might differ, the mechanics of liquidation stay the same.
{% endhint %}


# Solvency checks

### Protects

{% hint style="success" %}

* Loan repayments
* Against [Darwin awards](https://darwinawards.com/)
  {% endhint %}

### Solvency checks

If the health of your Prime Account drops to 0% (as explained [here](/prime-brokerage-account/health-and-borrowing-power#the-health-meter)), your account will be deemed insolvent. An insolvent account will be [partially liquidated](/protocol/security/liquidations) to bring it back to a solvent state. This is mainly dependent on the ratio between borrowed assets and collateral. There are multiple reasons this could occur. A drop in the price of collateral assets, or an increase in the price of borrowed assets are the most frequent reasons for liquidation.

But what happens if you accidentally borrow more than your account can support? Or if you pay so much for slippage it turns your account insolvent? Or what if you accidentally swap too much to an asset with lower borrowing power?

DeltaPrime's solvency checks protect you from accidentally turning your account insolvent. Whenever you initiate a transaction, the protocol automatically checks the solvency of your account post-transaction. Does this leave your account insolvent? Then the transaction is reverted, and it will be like you never initiated the transaction in the first place. In the on-chain explorer, it will show that the transaction was reverted with the following error message:

> The action may cause an account to become insolvent

Additionally, borrowing can be done down to a minimum of 10% health. This is done in order to prevent rapid price swings immediately liquidating your newly borrowed position.&#x20;


# Prime account separation

### Protects

{% hint style="success" %}

* Removes single point of failure
* Increases exploit difficulty
  {% endhint %}

### Prime accounts separation

DeltaPrime is a fully decentralized application. This means that nobody else holds custody over your (borrowed) funds. You don't have to entrust any party that your assets are there, but can instead can look it up on chain in your personal Dedicated Smart Contract (DSC).&#x20;

As the name suggests, the DSC is a smart contract: it is on-chain and follows predefined rules visible to everyone. It is dedicated, because it is yours and yours alone. When you open your Prime Account, the DSC gets created and all funds you deposit and borrow get sent to this account, where it is visible on-chain by clicking the link in the far top right of your Prime Account. Every Prime Account user has his own DSC.&#x20;

The first security advantage of the seperation of Prime Accounts is that it protects your funds from commingling, something that can happen when you hand of custody to a centralized party (insert FTX flashbacks).&#x20;

A second advantage is that it gives attackers a hard time gaining access to funds. Instead of one giant safe in the bank protecting everyone's funds with a single door, every account is its own little solid safe. And with thousands of Prime Accounts, gaining access to all funds is a hard nut to crack.&#x20;


# Protocol gatekeeping

### Protects

{% hint style="success" %}

* Integration quality
  {% endhint %}

### Protocol gatekeeping

Borrowers have sole control over the assets in their Prime Account. To make sure they don't put their borrowed assets in a protocol with security risks, there is a level of gatekeeping in the [Prime Account](/prime-brokerage-account/prime-account). Neither borrowed funds nor collateral can be used for protocols that are not whitelisted by DeltaPrime. This gives an extra layer of protection for depositors and borrowers alike. Additionally, due to access to unlocked chain liquidity for integrated protocols, it incentivizes other protocols to keep their security practices on par. This means audits, multisig, and timelocks amongst other things.

When DeltaPrime has decentralized governance, the community will decide on which protocols to integrate. Until then we announce every new integration on our socials, and have every integrated protocol visible at least 7 days before the actual integration in the [integrated protocols](/integrations/protocols) list.


# Asset whitelisting

### Protects

{% hint style="success" %}

* Asset quality
* Collateral stability
  {% endhint %}

### Asset whitelisting

To protect borrowed funds from default, DeltaPrime launches with a restricted number of assets with borrowing power. Before integration, we make sure that every token with borrowing power is:

1. **Liquid**
2. **Stable**
3. **Protected from DEX price manipulation**

#### Liquid

{% hint style="info" %}
Tokens with borrowing power on DeltaPrime have at least one million dollars worth of liquidity at the time of integration.
{% endhint %}

As exploits on liquidity protocols tend to happen through the manipulation of DEX prices, having enough liquidity in the integrated DEX is an important layer of defense. Inflating the price of a token with one million dollars is significantly harder, than inflating a token with one hundred dollars. &#x20;

Additionally having a liquid token protects borrowers and liquidators from slippage. AMMs are based on supply and demand. Whenever you swap a token, you increase the supply of that token, while simultaneously decreasing the demand. Because this influences the price during your swap, you end up with fewer tokens than you might have expected: Slippage. The impact your trade has on the supply/demand ratio is based on how big of a swap you are making, compared to the liquidity in the pool. In doing so, swapping liquid tokens as opposed to illiquid tokens, leads to better capital efficiency for you as a borrower, and for liquidators redeeming their liquidation bonus.

Risks of low-liquidity tokens can be mitigated by customizing their [borrowing power](/protocol/security/token-exposure-protection) or [global exposure cap](/protocol/security/token-exposure-protection#global-token-cap).&#x20;

#### Stable

{% hint style="info" %}
Tokens with borrowing power on DeltaPrime have not had any price changes over 5% within a 30-second period in the last 365 days or during important market up- and downturns.
{% endhint %}

Multiple liquidation bots, set up by DeltaPrime and active community members, protect borrowed value from being lost through liquidations. In order to timely liquidate these positions, it is important that the assets acting as collateral don't have a history of price spikes. For tokens with 5x borrowing power, liquidation is always profitable as long as prices change within a 16.66% margin within a 30-second interval. The 5% maximum historical price change is set to ensure enough price stability for liquidation bots to execute on time, even if a token becomes three times as volatile as during its worst moments. For sake of comparison: Would UST be integrated with 5x leverage during the 2022 depeg, liquidation bots would have successfully liquidated all positions.

If despite these strict measures a token's price spikes over 16.66%, DeltaPrime's liquidation bots will liquidate immediately, even if at a loss.&#x20;

#### Protected from DEX price manipulation

{% hint style="info" %}
Tokens with borrowing power on DeltaPrime are not price-dependent on the exchanges integrated into DeltaPrime.
{% endhint %}

While [liquidity](#liquid) in the DEX is an important layer of defense against price manipulation, the introduction of flash loans (and whales existing) in web3 allows users to move large sums of money in and out of DEXs. Because of this, prices of tokens integrated into DeltaPrime are not solely dependent on their AMMs. Instead, for an asset to be integrated into DeltaPrime, it needs additional fair price-protection measures.&#x20;

This means using multiple [oracle price data](#oracle-price-data) sources from RedStone, or ensuring that at least one of the data sources for the price comes from a centralized exchange. Should the AMM price differ more than 3% (excluding slippage) from the oracle price, the action is reverted.


# Withdrawal guard

Protects

{% hint style="success" %}

* Depositor funds in case of price/oracle manipulation
  {% endhint %}

### Withdrawal guard

The Withdrawal guard is DeltaPrime's security powerhouse. Unique to DeltaPrime, it allows you to withdraw if, and only if, you have all your borrowed assets available in your balance. Next to the liquidation bots, this is DeltaPrime's strongest safety feature. In other liquidity protocols, if you can successfully manipulate the (perceived) price of a token, you can borrow and withdraw the rest of the liquidity on that platform, creating bad debt for the liquidity protocol in the process. A "highly profitable trading strategy".

DeltaPrime's withdrawal guard is an extra line of defense against such an attack. By only allowing withdrawals when the Prime Account owns the nominal number of tokens indebted to the protocol, inflating the "value" of a token becomes futile.

{% hint style="success" %}
The withdrawal guard is DeltaPrime's no-oracle solution. It guarantees withdrawals only happen in solvent accounts, without any dependency on our oracle.
{% endhint %}

**Example:**

Jane has deposited $30 USDC and borrowed 10 AVAX worth $10 each. Every other security measure fails simultaneously, and Jane manages to trick DeltaPrime into believing one AVAX is worth $0. Jane expects she can withdraw all borrowed AVAX (valued $100), as her debt seems to be $0. Theoretically, she could repay her borrowed amount, right?

The withdrawal guard kicks in: Jane tries to withdraw her borrowed AVAX and sees a message popping up: She needs to keep 10 nominal AVAX in her Prime Account in order to withdraw any funds. Jane borrows more, swaps, LPs and farms away, but until she has the nominal amount of tokens equal to the tokens borrowed, there is no way she can withdraw. She can only withdraw when the protocol is sure that she can repay her debt. Not theoretically, the exact funds should be there.

The withdrawal guard is a powerful tool that protects the protocol from bad debt, even in black swan events. For a borrower, this manual disassembling of your carefully created portfolio can  feel restrictive, and are actively looking into solutions like a flash-repay function, which would automate this process for you.

#### How to solve

If you encounter the Withdrawal Guard during a withdrawal attempt and need support in adhering to its rules, there is a tutorial right here: [Withdrawing & Withdrawal Guard](/prime-brokerage-account/taking-profit/withdrawing-and-withdrawal-guard).


# Token exposure protection

### Protects

{% hint style="success" %}

* Depositor funds in case of rapid price movements
  {% endhint %}

### Token-specific borrowing power

The borrowing power represents how much of this token's value you can borrow against $1 collateral. A borrowing power of 5x means that for every dollar you deposit you can borrow up to $5 of that token; a borrowing power of 0x means that you can't borrow against this token. DeltaPrime being cross-margin, means that you get a "mean borrowing power" which is dependent on your full portfolio. To read more about how this is calculated, please check the [Health section](/prime-brokerage-account/health-and-borrowing-power#borrowing-power).

[Every included token](/integrations/tokens) has a defined maximum [borrowing power](/prime-brokerage-account/health-and-borrowing-power) based on its current liquidity, stability, and additional manipulation prevention measures available. This token-specific borrowing power allows DeltaPrime to scale its available tokens beyond blue-chips.

## Global Token Cap

Another way that tokens can be introduced is with a max Global Token Cap. This number defines the maximum amount of exposure DeltaPrime can have within all Prime Accounts. Thus, if the global cap on USDC would be 500K, and one user deposits 250K USDC from his wallet, and another user borrows 250K USDC from the lending pool, the global cap is reached and no new actions can be taken to further increase protocol exposure to USDC.


# Depositor exposure selector

### Protects

{% hint style="success" %}

* Depositors risk control
  {% endhint %}

<figure><img src="/files/KatD63CIPfxrctJF2qNW" alt=""><figcaption></figcaption></figure>


# Oracle price data

### Protects

{% hint style="success" %}

* Price accuracy
* Prevents flashloan attacks
  {% endhint %}

### Oracle price data

DeltaPrime uses price feeds from an oracle, [RedStone](https://redstone.finance/), enabling us to calculate the price from multiple independent price sources. Liquidity protocols are often the target of price manipulation through affecting liquidity on AMMs. In DeltaPrime, every evaluation of assets is based on data from this RedStone. This ensures that [solvency checks](/protocol/security/solvency-checks) of accounts are based on real-world data and protects depositors from losing funds due to price manipulation. To guarantee that price feeds are always up-to-date, DeltaPrime uses the [RedStone oracle](https://redstone.finance) that offers a 10-second update interval. Numerous times faster than the current industry standard.

Whenever a transaction is performed, there is additionally a DEX-Oracle check. If the DEX price differs significantly from the oracle price (which calculates the fair price based on its multiple price sources), the transaction reverts. This protects users from losing funds due to price manipulation.&#x20;

{% hint style="info" %}
While DeltaPrime uses an oracle for pricing of its assets, receiving wrong price information would not allow users to withdraw illicit funds. This is due to the platform's [no-oracle solution: The Withdrawal Guard](/protocol/security/withdrawal-guard).
{% endhint %}


# Third-party security protocols

### Protects

{% hint style="success" %}

* Prevents attacks
* Insures deposited funds
  {% endhint %}

### Hexagate

Hexagate is a service that monitors and alerts in real time on any on-chain threats or exploits. This allows us to stay on top of what's happening on-chain and react accordingly even before an exploit happens. \
\
Should DeltaPrime be targeted by an exploit that might result in financial loss for the protocol, we are well equipped to pause our contracts automatically and then triage the threat with the help of team of experts from Hexagate. \
\
Currently a function is being built out, which will automatically withdraw assets from any integrated protocol which has a crucial risk of being exploited in the near future. This means that in most instances, LPing through DeltaPrime will become even safer than LPing directly to the underlying protocol.\
\
Apart from the monitoring, alerting and automated responses to threats our cooperation with Hexagate means that our security processes and playbooks are carefully curated together with Hexagate team to ensure best protection of users' funds possible.

### Atomica&#x20;

Many insurance protocols are not yet able to cover complex protocols like DeltaPrime. Because of this, Atomica has built a customized and permissionless system of insurance pools to insure DeltaPrime users. It will automatically cover a significant share of any deposit.\
A part of the DeltaPrime revenue will be used to incentivize providing liquidity to insurance pools. In the future, insurance providers can choose to provide either to a [Stability Pool](/protocol/security/stability-pools) (high risk/reward), or a set of risk-specific pools (low risk/reward).<br>

These Pools will protect the protocol and depositors specifically from:\
\*Collateral caused insolvencies- quick price drops that lead to unprofitable liquidations\
\*External integration insolvencies- loss of funds caused by malfunctions of integrated protocols (due to exploits, extreme arbitrages etc.)

### FCShield

FCShield built an independent control system for DeltaPrime. This is a system that operates autonomously or separately from other systems or entities, with the purpose of e.g. monitoring risks associated with different financial activities. In traditional finance the usage of control systems is often required and regulated by law.\
On DeltaPrime this system monitors and evaluates economic activity happening on the platform, informing about any anomalies and ensuring proper functioning of the protocol, even in extreme market conditions.

### Ledger Works 🛠

Ledger Works (lWorks) has built a monitoring system that keeps track of important on-chain activity and identifies any market irregularities. DeltaPrime uses this system to keep track of, and get alerts on DeltaPrime contract interactions, as well as external market interactions.&#x20;

These interactions can vary from the number of users that deposited USDC into a DeltaPrime liquidity pool on any given day, to the total value of LINK that has been transacted on the chain as a whole.


# Stability pools

### Protects

{% hint style="success" %}

* Depositor funds
  {% endhint %}

### Stability Pool

{% hint style="warning" %}
The stability pool acts as insurance for DeltaPrime's users. While the payment of claims from this pool is under full discretion of the team (and later the DAO), you will find the guidelines to which the team strives to adhere below.
{% endhint %}

The Stability pool is used as reimbursement in case of an exploit / bug of an integrated protocol or DeltaPrime, leading to a loss of funds despite the user's best efforts to protect his capital. If an underlying protocol is exploited to the point where the protocol accrues bad debt, and the underlying protocol has indicated there will be no reimbursements, DeltaPrime will cover lender's capital first. Borrowers, who allocate borrowed funds to chosen protocols, bear more responsibility for the loss of capital and are therefore not automatically reimbursed in the case of an underlying protocol's exploit. By the team's (and later the DAO's) discretion however, borrowers can be (partially) made whole as well in the case of an exploit, depending on that exploit's specifics.

Borrowers can appeal for stability pool reimbursements if the loss of funds is a direct result of a mistake made by DeltaPrime's development team. In that case, the user has to exhaust all other reasonable options to prevent loss of funds, and has the burden of proof to show the loss of funds is a result of faulty code. Provided a substantiated claim, DeltaPrime's team will assist in finding the source of the loss of funds. Opportunity cost is never covered by the stability pool.

At the time of writing, DeltaPrime has two sources of its stability pool (together shown on the Savings page as Reserve fund). The Protocol Owned Liquidity (\~$1.6mm) has been built up since February 2023 through redirecting a portion of protocol revenue to the stability pool. The Atomica insurance ($700k) is paid for from the POL stability pool.

As DeltaPrime scales, more additional sources for the stability pool will likely be introduced. The goal of these pools is to provide a liquidity layer in the case of an (underlying) exploit that isn't covered by any of the other security measures. As a user of DeltaPrime, you will be able to provide DeltaPrime's first line of defense in return for additional yield. Until then, DeltaPrime will only allow the integration of the strictest of [protocols](/integrations/protocols) and [tokens](/integrations/tokens).&#x20;


# Internal security

### Protects:

{% hint style="success" %}

* Centralization risks
* Trustlessness
  {% endhint %}

Hi, I'm Gavin, one of DeltaPrime's founders. Nice to meet you! I know the rest of my team by heart, and fully trust them. That being said, we don't want you to have to trust us as well. After all, DeltaPrime is fully trustless. This is why we design our internal security measures with the same vigor as we design our external security measures. The security measures below are put in place to protect you from a hypothetical internal bad actor or compromised wallet.

### Timelock

A timelock is an enforced period of time that code submissions have to pass before they are updated in the code itself. Timelocks protect users from unexpected changes in code, yet they also restrict developers in potential crucial code updates should the need arise. Because of this, DeltaPrime has a progressive timelock period.

During the alpha version, which ran from March 2022 until January 2023, there was no timelock, allowing developers to immediately push necessary updates.

Now, DeltaPrime has a 24-hour timelock. This allows users to adapt their Prime Account or deposited funds to the submitted changes in a 24-hour period prior to any code update.

In the future, the 24-hour timelock will be upgraded to a 72-hour timelock.

### Multisig

Additionally to the timelock, every code upgrade and treasury transaction must be approved by 2/3 of DeltaPrime's founding team. This is enforced through a multisignature contract which only allows code upgrades when 2 out of 3 core team members have signed the upgrade with their cold storage wallet. This protects you from a rogue dev / teammember pushing malicious code.

### Hardware wallets

The team uses hardware wallets for any protocol update. This means that if someone was to hack our computers, they would not be able to push any code changes, as the hardware wallets are physical.

### Doxxed team

The full founding team is doxxed on our [landing page](https://deltaprime.io). This means that we not only believe in the success of DeltaPrime, but that we are willing to bet our reputation on it. Next to our IRL pictures a link to our LinkedIn is available at the homepage as well.&#x20;

### Audits

Good to know: auditors also check for centralization risks. This means that potential backdoors, deliberate exploit opportunities and other risks are reported by the auditor with or without the team's approval.

For more information on audits and to find the full list of audits performed on the DeltaPrime codebase see the next page.&#x20;


# Audits

Protects

{% hint style="success" %}

* Smart contract security
* Lowers smart contract risks
  {% endhint %}

In web3, an audit is an extensive code analysis by (usually) third party companies and individuals. The aim of audits is to find potential risks to user or protocol funds. Any risks that these parties find, whether from external or internal sources, is highlighted and reported back to the team. It is up to the team to either resolve, mitigate or acknowledge the reported risk, but whichever choice they make, it is recorded in the official audit report.

{% hint style="info" %}
While an audit by a reputable auditor (like Peckshield) does not guarantee good security, it does greatly increase the chances.
{% endhint %}

Audits are made to be readable for the general public, so if you can't read code, don't worry. At the start of every audit there is a small overview, showing the amount of informational / low / medium / high vulnerabilities found, as well as the team's response to the found vulnerability. If you have never seen an audit before, give a couple of them a look. Always good to understand the risks associated with getting into a protocol. If you need any help on reading an audit report, feel free to jump in our [Discord](/community/socials#discord). We are happy to help.

One of DeltaPrime's doxxed advisors: Jakub Wojciechowski has been an independent auditor for one of the leading auditing companies [OpenZeppelin](https://www.openzeppelin.com/). Together with the rest of the development team, he goes through all of the updated code before it is put up for audit by an external auditor. When we talk about the number of audits that DeltaPrime has had performed, we do not take any internal audits into account.

Good external audits are expensive, generally ranging anywhere from 20-150K. For this reason there are many protocols that have a hard time on deciding whether or not to get an audit for their code. With DeltaPrime we believe that proper security is not something that should be compromised on. For this reason DeltaPrime has one of the, if not the, most heavily audited codebases in DeFi for its age.

### Audits

To date, ten audits have been finalized: four by PeckShield; one by independent auditor Piotr Szlachcia, another one by Chainsulting, one by ABKD, one by BlockSec and two by AstraSec. As DeltaPrime develops, additional audits will be performed to provide maximum security.

You can find all audits on our GitHub below.

{% embed url="<https://github.com/DeltaPrimeLabs/deltaprime-contracts-v2/tree/main/audits>" %}


# Bug bounty

### Protects

{% hint style="success" %}

* Trustlessness
* Smart contract security
* Lowers smart contract risks
  {% endhint %}

### Introduction

As part of our commitment to ensuring a safe environment for our users, we have established a comprehensive Bug Bounty Program. This program aims to proactively identify and address potential vulnerabilities within our smart contracts and protocol infrastructure.&#x20;

### Why Bug Bounties Matter

Bug bounties serve as a crucial line of defense against security vulnerabilities. They enable security experts, ethical hackers, and developers worldwide to contribute their expertise in identifying and reporting vulnerabilities, which helps us maintain the highest standards of security for our platform.

### User Benefits

The Bug Bounty Program offers several benefits:

* **Enhanced Security:** By actively involving the community in identifying vulnerabilities, we strengthen the overall security of our platform, reducing the risk of potential exploits.
* **Engaged Community:** Encouraging community members to participate fosters a sense of shared responsibility and collaboration in maintaining the integrity of our protocol.
* **Generous Rewards:** Ethical hackers and security researchers who discover and responsibly disclose vulnerabilities have the opportunity to earn substantial rewards.

### Participate and Contribute

We invite security enthusiasts, developers, and experts to join our Bug Bounty Program and contribute to the safety of DeltaPrime.

For streamlined vulnerability submission and efficient review processes, we have partnered with HackenProof, a reputable bug bounty platform. HackenProof offers a secure and organized channel for researchers to report vulnerabilities and for our team to address them promptly.

To participate, please visit our Bug Bounty Program on HackenProof: [Bug Bounty Program](https://hackenproof.com/deltaprime/deltaprime-smart-contracts). This page provides comprehensive information about the program's scope, rewards structure, and guidelines for participation.

### Generous Rewards

In recognition of your contributions, we offer rewards based on the severity and impact of the reported vulnerabilities. The Bug Bounty Program documentation on the HackenProof platform outlines the details of our rewards structure. Notably, rewards for eligible vulnerabilities can be as high as $100,000.

### Conclusion

Security is a collective responsibility, and your involvement can make a significant difference in the safety of our protocols. By participating in our Bug Bounty Program, you contribute to the ongoing enhancement of our security measures and help build a safer DeFi environment for everyone.

To learn more and get started, visit our Bug Bounty Program: [Bug Bounty Program](https://hackenproof.com/deltaprime/deltaprime-smart-contracts).


# Business Model

DeltaPrime focuses on transparency in her business model. Currently, DeltaPrime charges liquidation fees and a 10% success fee. In the future, DeltaPrime might generate profit through the fees listed below. All our users will be notified through our socials at least 7 days before implementation of a sustainable fee model.

{% hint style="info" %}
All numbers are subject to change. Exact numbers will be notified through our Discord
{% endhint %}

#### Future cashflows:

* Transaction fee: fee on transactions (\~0.015%)
* Interest fee: Spread on the borrowing/depositing rate (\~15% on paid interest)
* PRIME Features: profits generated through $PRIME services

While the numbers for an individual user might seem small, with volume this model allows DeltaPrime to be completely self-sustainable while generating profits for $sPRIME operators. As an indication, in the first half of 2024 DeltaPrime's revenue was $2.75M on liquidations alone. With salaries totalling less than a fifth over this period, the vast majority of these returns were used for security upgrades (culminating to "DeltaPrime 2.0", launched in January 2025) and further protocol development of both DeltaPrime and DegenPrime.

#### PRIME Features

Additional brime brokerage services (PRIME Features) can be bought with PRIME. Some of these features simply require holding a specific amount of sPRIME, others will be charged in sPRIME over time while in use.

<div align="left" data-full-width="false" data-with-frame="true"><figure><img src="/files/bdf1MeltCc5DfW7fS8EU" alt="" width="375"><figcaption></figcaption></figure></div>

Prime Features can be:

* Fee reductions
* Higher leverage&#x20;
* More tokens&#x20;
* Unique statistics&#x20;
* Important personal notifications
* and more...

<div align="left"><figure><img src="/files/yZWVlkQUqIWRO1yKX0Bw" alt="" width="320"><figcaption></figcaption></figure></div>

PRIME Features can be recognized with a little yellow star. Hovering over the star shows that you have access to a Prime Feature.&#x20;

PRIME Features 1) contribute to sustainability in PRIME tokenomics, 2) remove PRIME from circulation 3) allow you to design your personal DeltaPrime experience, and 4) reward loyal users.


# The Story So Far

## 2021

#### Avalabs Grant ✔

Acquiring a $300.000 Grant from AvaLabs set DeltaPrime up for a solid foundation. These funds make sure that at time of the TGE, every investor sees, knows and understands the full value of DeltaPrime.

#### Leveraged Trading ✔

The first feature of DeltaPrime is [Leveraged Trading](/prime-brokerage-account/portfolio/assets). To provide this, DeltaPrime needs:

* A functioning [liquidity pool](/liquidity-pools/savings);&#x20;
* An integrated [Decentralised Exchange](/integrations/protocols);&#x20;
* An efficient way of creating [Dedicated Smart Contracts](/prime-brokerage-account/prime-account#dedicated-smart-contract).

Having Pangolin integrated, and with the borrowing and trading functionality in place, DeltaPrime is officially a functioning dApp.

## 2022

### Q1

#### First Audits ✔

The [first audits](/protocol/security#audits) are performed in order to ensure protocol safety. The code has been determined as safe, preparing DeltaPrime for retail use. During her lifetime, DeltaPrime will be regularly audited to keep the platform safe to use.&#x20;

#### Testnet Deployment ✔

DeltaPrime has been deployed on the Avalanche FUJI C-Chain. During this period every functionality within the platform has been tested extensively to remove any bugs and glitches as well as optimise UI/UX.&#x20;

#### Mainnet Deployment ✔

Deployment to the Avalanche Mainnet meant the alpha launch of DeltaPrime. During this period the Development team made sure the application works like it should work, in a real environment.

#### Trading Competition ✔

Q1 was celebratory concluded with a trading competition on the platform. With over $1000 in prizes and a multitude of prize NFTs, the trading competition gave valuable feedback to the team and introduced the community to DeltaPrime's trading functionality.&#x20;

### Q2

#### Leveraged Farming ✔

The integration of YieldYak means the integration of DeltaPrime's first [staking](/prime-brokerage-account/portfolio/farms) protocol. With this in place, a lot of new [investment strategies](/prime-brokerage-account/strategies-1#hedging-your-stake) are unlocked on DeltaPrime. Additionally, this feature sets up the foundation for other staking protocols to come.&#x20;

#### Partner Expansion ✔

In preparation of the community expansion in Q3, DeltaPrime set up a network of partners within and outside of the Avalanche ecosystem. These partners consist of other protocols as well as different chains and will contribute to the core features and marketing efforts of DeltaPrime. Partnership announcements will commence shortly before the launch.

### Q3

#### Leveraged LP ✔

The foundation of leveraged Liquidity Provision (LP) will be set during Q3. This allows DeltaPrime to offer the same service that protocols like Alpha Homora offer, yet within the cross-margin Prime Account. In integrating the first LP option, DeltaPrime has finished her trading/staking/LP foundation and is ready to expand the protocol with more integrations.

#### Community Expansion ✔

The community is the backbone of every successful web3 protocol. Soon DeltaPrime will open up its protocol to all Prime users. As a preparation, DeltaPrime will reach out to potential investors: Borrowers, as well as depositors.&#x20;

This community expansion will happen through means of protocol partnerships as well as Ambassador Games. In Q3 we start with the Ambassador Games in DeltaPrime's Discord, during which community members can share educational content, the best of which will win prizes. In Q4, a month before the launch, partnerships and collaborations will be announced through which the main part of the community will be reached.&#x20;

#### Integration Expansion ✔

DeltaPrime is ready for her protocol expansion. The Diamond Pattern in the code enables us to bypass the maximum smart contract limit. The [Beacon Proxy Pattern](/protocol/efficiency#beacon-proxy-pattern), enables us to upgrade the protocol to allow Prime Accounts to interact with newly integrated protocols. With this combination we can upgrade the protocol to integrate as many DeFi protocols as desired.&#x20;

During this period new protocols and functionalities will be integrated on a bi-weekly basis to create a lot of value for DeltaPrime in a short amount of time. Leveraged LPs will be first, followed by extra DEXs and staking opportunities.&#x20;

### Q4

#### Third Audit ✔

In preparation for the launch, with the integrations in place, DeltaPrime will once again audit her code to ensure a safe launch. This audit is performed by Chainsulting, and covers the improved foundation, as well as the new integrations in the platform.

#### Fourth Audit ✔

For good measure, we had an additional audit performed by Peckshield. This audit covers the same codebase as the Chainsulting audit.&#x20;

## January 10, 2023

#### DeltaPrime Launch ✔

DeltaPrime launches! All prepared UI/UX, integrations as well as depositing and the borrowing of USDC will be available at launch. Although at this point DeltaPrime will be able to offer a unique amount of value, this is just the start. More integrations, partnerships and features will unlock as we progress out of 2022 and into 2023.&#x20;

## 2023&#x20;

### Q1

#### Integration Expansion ✔

With DeltaPrime being live, integrations can be based on community feedback. Based on this feedback, new integrations have been integrated into the DeltaPrime ecosystem:

* Yak Swap (DEX aggregator)&#x20;
* GLP&#x20;
* Vector autocompounding pools

#### Pool Expansion ✔

We had AVAX and USDC. In Q1 three new pools have been added to lend out and borrow. These assets, just like the first two, now boast some of the highest yields for single-sided staking on the chain, while enjoying the protection of your usual liquidation bot.

* BTC.b
* WETH.e
* USDt

#### Debt Swap ✔

The Debt Swap allows Prime Account holders to trade their exposure. Borrowed $1000 AVAX for a delta-neutral sAVAX strat, and want to go long on AVAX instead? With one tx, you can now change your AVAX debt for USDC debt, turning your dn into a long. This is how we trade.

#### Team expansion ✔

Next to protocol upgrades, we upgraded the team as well in this period. This means that from Q2 onwards, upgrades and integrations will come even better prepared and faster at the same time. Current DeltaPrime team size: 10

### Q2

#### Integration expansion

This quarter the following protocols and assets were integrated in the Prime Account:

* SteakHut (Concentrated liquidity)✔
* ParaSwap (DEX aggregator)✔
* JOE✔
* GMX✔

#### Loading optimizations ✔

Data. Loads. Slowly...

But not after this upgrade! For those who remember the "transaction pending" days of DeltaPrime (\~3 weeks after launch), this optimization had a similar effect: from snail to rocket.

#### Night mode ✔

This one is for all degens who haven't seen sunlight in the past years, and would like to keep it that way. With this design overhaul, you can choose to have your Prime Account bright and playful, or dark and neon.&#x20;

You decide.&#x20;

#### Prime Account Statistics ✔

Managing your liquidity through a Prime Brokerage account, like the Prime Account, enables a wide range of cross-protocol statistics to become available. In this first iteration of DeltaPrime's statistics page, users are able to find and track the first statistics of their Prime Account.

With these statistics you can make better informed decisions on how to best manage your capital.

#### Deposit Swap ✔

You want to change your exposure from bearish to bullish, but you don't want to unstake your working capital? Fret no more! With the deposit swap you can now swap your "borrowed" value with the click of a button, without touching what is already there.&#x20;

The deposit swap enables users to change exposure between assets, without having to trade the assets themselves.

### Q3

#### Integration expansion

This quarter the following protocols and assets were integrated in the Prime Account:

* EUROC✔
* Yield Yak (Arb)✔
* Trader Joe (Arb)✔
* Beefy (Arb)✔
* All Arbitrum tokens✔

**Additional DEX aggregator**

We love Yak Swap as much as the next guy. A lot more than the next guy probably. But sometimes, you just want choice. For some routes, aggregators like Paraswap works better. Which is why we integrated, you guessed it, Paraswap. This will not replace Yak Swap, but rather, it supplements it. Users can now choose through which aggregator they want to route their swaps.

**LIFI + Notifi**

Deposit bridge + notifications. Great stuff, but got buggy, pls come back in Q3 2024.

## September 4th, 2023

### Arbitrum Launch🛠

DeltaPrime upgrades the lending system by combining [the best of both worlds](https://www.youtube.com/watch?v=3yaQe1QALA0): The efficiency of undercollateralization + the safety of overcollateralization. This unlocks millions, potentially billions of dollars from inefficient lending protocols. Instead, through DeltaPrime, it deepens pool liquidity, and lowers slippage on its host chain.

Keeping that value constrained to any single chain, would be a waste of opportunity.

On the 4th of September, DeltaPrime will expand to the Arbitrum ecosystem. This chain, known for its innovation on DeFi, allows DeltaPrime's users to benefit from a completely new range of strategies, which couldn't be created before. On DeltaPrime, or anywhere else.

Let's unlock the Blockchain.

### Q4

#### Integration expansion

This quarter the following protocols and assets were integrated in the Prime Account:

* Liquidity Book (Concentrated liquidity)✔
* Level Finance (Perp DEX)✔
* GMX v2 (synthetics)✔
* yyAVAX + ggAVAX (LST)✔
* Balancer (DEX)✔

## 2024

### Q1

#### DeltaPrime incentive programs ✔

In this quarter we created DeltaPrime specific incentive programs. From here on out partnerprotocols and chains can incentivize the value-add of DeltaPrime. Instead of giving rewards based on TVL or borrowed pools, rewards on DeltaPrime are given based on how much of the borrowed value has been LPd to (a) specific partner(s). In doing so, DeltaPrime incentive programs are mercenary, leaving more rewards for those who unlock trapped liquidity.&#x20;

#### Gas optimizations ✔

DeltaPrime gives you extra capital to power up your stragies. This comes with a smol increase in gas as well. In this period, we optimized our codebase to significantly reduce the amount of gas used for Prime Account transactions.

While we have one major gas optimization on the horizon, this is a great step in making the Prime Account accessible to the smaller wallets.

#### Debt swap upgrade ✔

The Debt swap previously forced trades through Yak Swap. With this upgrade you can choose whether to route your debt swap through either Yak Swap or Paraswap. More choice, less slippage!

#### **ZAP expansions** ✔

Two new ZAPS have been added to the Prime Account:

* Prime Account creation
* GLP to GM

As the names suggest, these zaps allow for easier onboarding, as well as for easy migration from GMX v1 to GMX v2 pools.

### Q2

#### Integration expansion ✔

This quarter the following protocols and assets were integrated in the Prime Account:

* CAI (Colony) (Avalanche) ✔
* \[Redacted] (Avalanche)🛠
* Penpie / Pendle (Arbitrum) ✔
* \[Redacted] (Arbitrum)🛠

#### App cleanup ✔

Outdated and long time low TVL (sub 50k) pools have been removed from the Prime Account on Avalanche. This leads to a cleaner UI, lower gas fees and easier onboarding.&#x20;

#### LIFI ✔

Outdated and long time low TVL (sub 50k) pools have been removed from the Prime Account on Avalanche. This leads to a cleaner UI, lower gas fees and easier onboarding.&#x20;

### Q3

#### Token Generation Event (July 1st) ✔

TGE incoming!&#x20;

$PRIME tokenomics centre around three core values of DeltaPrime:

* Efficient
* Sustainable
* Useful

Read more about these core values and how they are embedded in our tokenomics in [Tokenomics](/tokenomics/ethos)

Join us in our continued path here: [socials](/community/socials#discord).


# Ethos

For the longest time, DeltaPrime had been built with external capital by a small team, together with the support of our community. In order to further scale DeltaPrime, while getting the community in on the action, we now created two tokens: $PRIME and $sPRIME. These tokens, with $sPRIME being the star player, will allow DeltaPrime to retain its sustainable business model while simultaneously rewarding DeltaPrime’s biggest supporters.

True to our cause, DeltaPrime’s tokenomics adheres to three major values we hold dear:

* Efficient (unlocking idle liquidity within $sPRIME is rewarded)
* Sustainable (token value stems from protocol value + holder activity, not the other way around)
* Useful (Prime Features, liquidation bot staking, governance)

In this docs you will read how every element is integrated into the tokenomics. As minor values, we attempt to make the tokenomics as understandable and accessible as possible. $PRIME and $sPRIME should align its owners further than just “price go up”. Instead, they should be a binding factor and work towards the common goal of unlocking the trapped liquidity from overcollateralized platforms. This is how we move DeFi capital efficiency into a new era.

Listen to more of our incentive philosophy in the panel below.&#x20;

{% embed url="<https://www.youtube.com/watch?v=ZP9V3cJetEg>" %}


# $PRIME

At DeltaPrime’s roots, we find $PRIME. In many ways $PRIME is like any other ERC20: It can be traded on the open market, sent to a fren, LPd on a DEX. Unique to $PRIME is that it is necessary to create and manage $sPRIME. $PRIME, in its pure form, will be mostly used for speculative purposes. However, due to $PRIME being a necessary element for $sPRIME, with its price therefore correlated to $sPRIME demand, we need a solid emission schedule for $PRIME to create stability and sustainability. “Emission” of $PRIME specifically pertains to bringing the token into public hands.

Many tokenomics aim to have their emissions correlated to demand. Generally 3 types of token emission schedules exist:&#x20;

* Fixed (based on time, eg: $UNI)
* Flexible (based on event, eg: $DAI)
* Dynamic (based on formula, eg: $CVX)

While a fixed schedule is the easiest to implement, it also requires accurate predictions of how demand grows over time. Dynamic schedules need to incorporate a wide variety of variables and often need multiple iterations in order to keep the formulas accurate, which reduces predictability of token emissions. Additionally both types suffer one major challenge: emitting during periods of high demand is easy; retrieving those tokens during periods of low demand not so much.

While $PRIME is not a stablecoin, a level of stability and predictability is preferred to support sustainability. For this reason, $PRIME emissions will be flexible and based on its current price. To achieve this, we use Trader Joe and Uniswap v3 to provide $PRIME to these markets single-sided. This will be Community Owned Liquidity.

### Community Owned Liquidity

Community Owned Liquidity (COL) comes from our Community allocation (see the token distribution below). At TGE, 10% of the total supply is provided on the DEXs to reduce slippage on larger sized $PRIME purchases. This liquidity will remain in the liquidity pools, until a properly decentralized DeltaPrime decides otherwise, or a portion gets airdropped toprevent idle liquidity (more on this in the $sPRIME section). To ensure this, COL will be provided by a public contract of which the owner is a 2/3 multisig (controlled by the DeltaPrime founding team) with a 30-day timelock. The 30-day timelock allows liquidity to be moved if the pools they reside in get deprecated by the DEX, while simultaneously giving the community ample time to respond to triggered functions of the contract.

As $PRIME increases in demand (and thus in price), this liquidity automatically brings more $PRIME in public hands. Conversely, if $PRIME decreases in demand, the countertoken collected will automatically be used to buy back the $PRIME, in turn reducing the supply and providing price stability in a downturn. The 10% COL at day one allows for a max slippage of 1.95% for $100.000 $PRIME, which linearly reduces to 0.97% slippage, as $PRIME reaches 5x listing price ($6.56).&#x20;

This has a couple of benefits:

* Whales can take part in $PRIME trading / accumulating, straight from day 1
* $sPRIME holders generate more fees with reduced impermanent loss
* Emissions and buybacks happen organically, based on supply and demand
* [Locked sPRIME airdrops](/tokenomics/usdsprime/locked-usdsprime-airdrops) can be given away, rooted in COL


# Distribution

<figure><img src="https://lh7-us.googleusercontent.com/jP2DB8_Nz8l6ZctWR_P_STdVTQ0WsVKZ_DS6ZjKB72K1mDQhCgXW09lPVH0u4blL0wFwSwe-CcsWr9DwkP7bzr6wlP_BZhjyuZmq16PN0ctkWpulmpKO47V8e7jz5luPPA2L8iNKO3Y_ulxr0xPE-A4" alt=""><figcaption></figcaption></figure>

#### Total Supply

40mm $PRIME (Cliff / Vesting in months starting at TGE)

#### Community

12.597.778 $PRIME (0/0)

Community Owned Liquidity (COL) + locked sPRIME Airdrops. Locked sPRIME airdrops are designed to increase adoption, without increasing inflation. More on how this works can be found in [$sPRIME](/tokenomics/usdsprime). At TGE, 10% of total supply (31.8% of community allocation) will be used for COL. Initial $sPRIME airdrops will come from the launchpads / IEO allocation.

#### DAO Treasury

8.000.000 $PRIME (12/12)

In order to provide the DAO with the freedom to develop DeltaPrime in their preferred direction, a part of the tokens will be reserved for the DAO to decide on. To prevent tyranny, this treasury will only become available to the DAO once 40% of all $PRIME tokens are in circulation and DeltaPrime has fully decentralized governance. Until then, the DAO treasury will not be used.

#### Team

6.400.000 $PRIME (12/24)

Core team allocation for 3+ years of development without guarantee of success.

#### Advisors

2.000.000 $PRIME (12/12)

Allocation for DeltaPrime advisors, which had and have a significant impact on DeltaPrime’s successful development. The cliff and vesting here are minimum. The vesting can be larger for advisors with a larger share.

#### Private seed&#x20;

700.000 $PRIME (8/8)

pre-TGE Contributors who receive a discount for locking and vesting their $PRIME over 16 months.

#### Bridge

924.444 $PRIME (8/8)

Both private and community contributors, contributing to DeltaPrime in late 2023.

#### Pre-seed

1.866.667 $PRIME (8/8)

Earliest (pre-launch) contributors, took extreme risk to support DeltaPrime in development and team expansions.

#### Grant

228.571 $PRIME (12/12)

A 300k grant has been provided by the Avalanche foundation in our early days (2022). This came with an option to buy the token back at a discounted price up to the grant amount in the future. While there is no set date for this, we do reserve a part of the allocation for this grant.

#### IEO

571.429 $PRIME (0/0)

$PRIME used to bootstrap DEX liquidity at launch. This is matched with 100% of the launchpad proceeds and 50% of the Community Seed proceeds.

#### Launchpads

444.444 $PRIME (0/6)

Allows early community members to contribute to DeltaPrime liquidity pools, and get in early at the best no-cliff $PRIME rate. 100% of liquidity raised from launchpads will be matched with IEO to deepen liquidity pools at TGE.

#### Community Seed

666.667 $PRIME (6/6)

The first raise open to all community members. They receive a discount based on 1) cliff, 2) vesting, 3) decentralized party. 50% of these funds ($250k) will be matched with IEO to deepen liquidity pools at TGE.

#### Bounties

800.000 $PRIME (0/0)

$Prime allocated to individuals who find critical severity bugs in the code. Informational to high severity bugs will be covered in FIAT instead. This allocation has no cliff / vest, as, while none has been found so far, we should not assume the number of these bugs found upfront.

#### Ecosystem growth

4.800.000 $PRIME (0/0)

$PRIME allocated to the growth of the DeltaPrime ecosystem. This is a broad use-case with examples including Market Making (MM) on future CEXs for price stability, or providing grants to partnered protocols and contributing community members. The vast majority of this allocation is reserved for (future, potential) CEX market making requiring a large allocation at once, which is the primary reason for the lack of cliff / vest. Realistically speaking, the vast majority of this bucket will remain idle until a CEX has been chosen to list on.<br>


# Vesting schedule

### Investment rounds & listing price

<table><thead><tr><th>Date raised</th><th>Round</th><th width="267">Cliff / vesting (in months)</th><th>$PRIME Price</th></tr></thead><tbody><tr><td>December 2022</td><td>Pre-seed </td><td>8/8</td><td>$0.3750</td></tr><tr><td>December 2023</td><td>Bridge </td><td>8/8</td><td>$0.5625</td></tr><tr><td>May 2024</td><td>Community Seed</td><td>6/6</td><td>$0.7500</td></tr><tr><td>May / June 2024</td><td>Launchpads (AB &#x26; Avalaunch)</td><td>0/6</td><td>$1.1250</td></tr><tr><td>June 2024</td><td>Private seed</td><td>8/8</td><td>$1.0000</td></tr><tr><td>July 2024</td><td>Listing</td><td>0/0</td><td>$1.3125</td></tr></tbody></table>

{% hint style="success" %}
The cliff for every participant starts on July 1st, 2024.
{% endhint %}

### Additional vesting schedules&#x20;

| Cliff / linear vesting – Months | Category         |
| ------------------------------- | ---------------- |
| 0/0                             | Bug bounties     |
| 0/0                             | Ecosystem Growth |
| 0/0                             | Community        |
| 12/12                           | Advisors         |
| 12/12                           | Grant            |
| 12/12                           | DAO Treasury     |
| 12/24                           | Team             |

{% hint style="success" %}
The cliff for every category starts on July 1st.
{% endhint %}


# $sPRIME

{% hint style="info" %}
Due to the depth of liquidity sPRIME has been (temporarily) decommissioned. Until further notice Prime Features are paid for with staked PRIME.

The $175K in outstanding sPRIME revenue will be distributed to sPRIME holders in the first week of January.&#x20;
{% endhint %}

$sPRIME is the main currency within the DeltaPrime ecosystem. It is primarily used in three ways:

* Pay for Prime Features&#x20;
* Claim 33% of protocol revenue
* Mint Governance Power&#x20;

In traditional tokenomic models, sTOKEN is the staked version of the native token. The goal is to take the token out of circulation to artificially increase perceived value. In return for staking the token, the person who stakes gets rewarded through token emissions. Variations on this model experiment with the lockup time, withdrawal penalties, and additional lockup benefits after certain lockup milestones have been reached. Many of these models temporarily succeed in creating price-growth. That is, until the token crashes, the market crashes, or another event occurs which makes people lose trust in the future value of the token. When that inevitably happens, stakers are presented with a choice: 1) keep their stake, accumulating yield that, together with their principal, rapidly loses value or 2) sell their stake, potentially buying the asset back at a lower price. Whenever the perceived value of staking drops below the perceived loss of unstaking, holders will sell their token, further crashing the price. While lockup periods do decrease the intensity of the token crash, they also tend to extend the crash as people who have made up their minds about exiting, simply wait out their lockup to eventually sell. It mitigates negative effects, but does not solve them.

(3,3) becomes (0,3) becomes (0,0) becomes (-3,-3).

The $PRIME assets should support the ecosystem. Having sustainable price growth is a means to that end, it is not an end goal in and of itself. While locking $PRIME would temporarily help stabilize price growth, it would simultaneously result in trapped liquidity within the DeltaPrime platform. Liquidity that would do nothing, but exist in a vault. The very thing that crushes capital efficiency across chains, and the very thing that DeltaPrime is fighting to solve.

### Efficient staking

Since locking $PRIME would lead to less capital efficiency than locking an LP token, $sPRIME cannot be created by just staking $PRIME. Instead, it is a receipt token that represents a $PRIME LP position in either Trader Joe (AVAX-PRIME on Avalanche) or Uniswap (ETH-PRIME on Arbitrum). From a user-perspective, the process of creating $sPRIME is very straightforward. To create Avalanche’s $sPRIME for example, you bring either $AVAX, $PRIME or TJ AVAX-PRIME to the DeltaPrime app. Here you click on “mint $sPRIME”, and select the asset and the quantity you wish to convert into $sPRIME. The range is automatically set to be equal for all DeltaPrime participants.

As long as the current price is within the price range of your $sPRIME, your $sPRIME is considered “active”. Your liquidity actively deepens the pool, supporting DeltaPrime’s growth. Active $sPRIME is eligible for 33% of all of the protocol’s revenue.

### The benefits of $sPRIME

In holding active $sPRIME, users are actively contributing to the DeltaPrime ecosystem in three major ways:

#### Efficient swaps

In order to mint and hold $sPRIME, one has to provide an LP token. It is this liquidity that allows other users to swap $PRIME for other assets with minimal slippage. As regular $PRIME trading is necessary to use any of the Prime features, low slippage benefits everyone within the DeltaPrime ecosystem.

#### Increased stability

The volatile nature of crypto assets is a major deterrence for many potential crypto-users. Through enforcing deep pool liquidity, high volume trades can be absorbed by the liquidity without affecting the price too much. This stability empowers users with the ability to predict what $PRIME will do in the future, allowing them to adjust their buying behavior without having to take into account the effects of smaller whales entering or exiting the ecosystem.

#### Buffer for unlocks

Like the vast majority of projects, DeltaPrime has raised funds for development. While short cliff- and vesting periods have been the bane of many projects, so too has been shallow pool liquidity. The expectation of the price crashing, due to shallow pools and large unlocks, has had many self-fulfilled prophecies as a result. The way to prevent this is not by preventing users from selling their tokens, but instead, by creating a liquidity buffer large enough that any selling pressure can seamlessly be absorbed without significantly affecting the price.<br>


# Locked $sPRIME airdrops

{% hint style="info" %}
Due to the depth of liquidity sPRIME has been (temporarily) decommissioned. Until further notice Prime Features are paid for with staked PRIME.

The $175K in outstanding sPRIME revenue will be distributed to sPRIME holders in the first week of January.&#x20;
{% endhint %}

### Locked $sPRIME

“Once tokens are emitted, they can’t be returned”. Fixed emissions run the risk of external event impacts, which is the reason our main emission schedule is event based. The same goes for our incentives. The vast majority of incentives not provided by our partners will be given out in locked $sPRIME. While locked $sPRIME can’t be redeemed for underlying assets, it can be used for their other use cases:

* Locked $sPRIME can be used to pay for $PRIME features. This benefits the user without inflating the token
* Locked $sPRIME can be used to support DeltaPrime by keeping the LP active. This rewards the user with 33% of protocol revenue
* Locked $sPRIME can be used to generate governance power

Locked $sPRIME is created from the community allocation. Because the Community Owned Liquidity (COL) is provided over a very wide range, without rebalancing, the percentage of idle COL increases if $PRIME appreciates in price. This reduces its capital efficiency as opposed to turning it into $sPRIME (concentrating it around the current price). For this reason, idle COL will be matched with $PRIME from the community allocation to create $sPRIME. This $sPRIME will be locked to prevent token inflation, while providing recipients with the $sPRIME benefits stated above. Locked $sPRIME is airdropped based on achievements reached by individual DeltaPrime users (think: over x$ USDC provided over three months, or total borrowed value over one month, etc.). These achievements will be determined and adapted over time. Most of the achievements will also be connected to certain prerequisites for keeping the locked sPRIME. For example: The $sPRIME might be required to stay active for at least 21 days per month; or the realized IL might need to stay under 10% of the airdropped $sPRIME value. If the requirements are not fulfilled, the locked $sPRIME can be retrieved and redistributed to other DeltaPrime users. All benefits received within this period however, remain with the person who received them. Note: this potentially excludes generated governance power, based on the $sPRIME / usage ratio. More on this in the Governance power section.

Due to its inflation-resilient design, as well as the possibility to retrieve and reallocate airdrops, DeltaPrime is able to allow for significantly larger incentives than many other projects. This allows the project to adapt its incentive strategies over the long term without having to hold back in incentive allocation size.

Note that turning COL into locked sPRIME does not involve the buying or selling of $PRIME, nor does it involve the removal of any AVAX / ETH from the underlying liquidity pool. AVAX / ETH is reallocated to concentrate around the current price, while community allocation is used to equalize price stability to the buy-side. The users receiving this as locked $sPRIME are tasked with keeping this capital as efficient as possible, and are rewarded for this in the process.


# Governance Power

{% hint style="info" %}
Due to the depth of liquidity sPRIME has been (temporarily) decommissioned. Until further notice Prime Features are paid for with staked PRIME.

The $175K in outstanding sPRIME revenue will be distributed to sPRIME holders in the first week of January.&#x20;
{% endhint %}

### Governance power

As DeltaPrime moves into decentralized governance, your voting power will depend on the governance points you accrue. Your currently accrued governance points will be visible from the DeltaPrime UI. Since these points are all on-chain, you will also be able to find them in any explorer with your  wallet or PA address. Governance points can be used to decide on what protocols to integrate, what chains to expand to, where to allocate any collected fees, etc.

### How to earn governance power

Governance power is earned within the DeltaPrime protocol. By holding $sPRIME and using the platform, you can earn these points. The amount that you earn depends on your actions on DeltaPrime: For every $10 borrowed and $1 $sPRIME owned, your balance increases linearly with 1 point per year. For every $10 deposited and $1 $sPRIME owned, your balance increases linearly with 5 points per year. Only full 10-1 pairs can produce governance points. That means that if you have $200 USDC deposited, and $100 $sPRIME, your account will create points as if you have $200 deposited and hold $20 $sPRIME (leading to 100 points per year).&#x20;

{% hint style="info" %}
Previously this wrongly said: "*For every $10 borrowed and $1 $sPRIME owned, your balance increases linearly with **10** points per year. For every $10 deposited and $1 $sPRIME owned, your balance increases linearly with **50** points per year.*". The decision to 10x points accrued was a purely aestethic, last minute change, but it was not adapted in the contract. Apologies for any confusion!
{% endhint %}

### Governance power cap

Governance points are capped at 3 years. With $100 borrowed and $10 sPRIME owned, your governance power can grow up to 30 points. With $100 deposited in a savings pool and $10 sPRIME owned, your governance power can grow up to 150 points.

### How to lose governance power

You can lose governance power by withdrawing deposits, repaying borrowed value or redeeming $sPRIME. Your governance power only reduces if your current governance power exceeds the governance power cap. If this happens, your points that surpass the cap will deteriorate over a period of 14 days. This means that if a user after two years has accumulated 10.000 points with $10.000 in deposits and he withdraws 50% of this, his new governance cap is reduced from 15.000 to 7.500 points. This means his balance will decrease by 178.5 (=(10.000 - 7.500) / 14) points per day, over the course of 14 days. In this example, after 14 days his total points will amount to 7.500, meaning he will not accumulate any more points until the amount deposited is increased.


# Savings

Depositing in DeltaPrime's **Savings** section means depositing in a capital-efficient pool while staying protected by liquidation bots. In contrast to other liquidity protocols, deposits in DeltaPrime's liquidity pools get lent out to other users, without the need for them to put extra value in. In doing so, you know that your liquidity is being put to good use.&#x20;

This also means that deposited funds do not automatically get counted as collateral to borrow against. In order to put down collateral on DeltaPrime, read the [Adding Collateral](/liquidity-pools/borrowing#how-to-add-collateral) section.

DeltaPrime's liquidity pools are fully [decentralized](/protocol/decentralization). Depositors and borrowers use token-specific liquidity pools to deposit and borrow funds. As a depositor you lend out AVAX or USDC to make reliable returns in the form of APY. Contrary to overcollateralized protocols, you cannot borrow against these assets. Borrowing is only possible within the Prime Account. On the upside, generally generates high yields liquidation-protected protocols.&#x20;

While the protocol protects your funds, [borrowers](/liquidity-pools/borrowing) will put your capital to work, in order to generate profits. They will pay you a relatively stable return in exchange for lending out your funds. If a borrower's investments make a change for the worse, they will be [liquidated](/protocol/security/liquidations) to ensure your funds stay safe.

{% hint style="info" %}
Funds deposited in the liquidity pools do not count as collateral. For information on how to add collateral, go to the [borrowing](/liquidity-pools/borrowing#how-to-add-collateral) section.
{% endhint %}


# Borrowing

Similar to other decentralized liquidity protocols, borrowers put down [collateral](/prime-brokerage-account/account-overview#collateral), prior to borrowing funds. With DeltaPrime however, you can borrow up to 5 times the amount of your collateral. This is what makes DeltaPrime undercollateralized and in turn capital efficient. Although your deposited collateral will not earn APY on its own-DeltaPrime does not lend out your collateral-, you can use your collateral within your Prime Account in the same way as you use borrowed funds.&#x20;

By investing your collateral and borrowed funds simultaneously, you unlock the full power of your capital and literally multiply your returns (note: your returns are multiplied, regardless of whether they are positive or negative).

{% hint style="success" %}
You can earn yield over your collateral by providing it to a liquidity pool or farm within your Prime Account.
{% endhint %}

### How to add Collateral

In order to borrow, you first need to add collateral. Collateral can be added in every token that has a borrowing power of 1x or higher and does not necessarily have to be in the same token as you are borrowing. You can even add LP tokens as collateral for your Prime Account. To add collateral, press the **+** button in the row of the (LP)token you want to add to your Prime Account to deposit your collateral. &#x20;

<figure><img src="/files/1oMkBJgzJp7xDid93hJt" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/zA0g8F4aPZEtalCAHpRX" alt="" width="375"><figcaption></figcaption></figure>

### How to borrow

Press the **...** button in the row of the token you want to borrow and press "Borrow". A screen pops up in which you can enter the desired borrowing amount. Before pressing borrow you can see the Health Ratio and Balance you will end up with.

Keep in mind that the amount that you can borrow is dependent on the [Borrowing Power](/prime-brokerage-account/health-and-borrowing-power#borrowing-power) of all assets in your Prime Account combined.&#x20;

<figure><img src="/files/dZmmM3sa6f02AN49m3qU" alt=""><figcaption></figcaption></figure>

&#x20;

<figure><img src="/files/BDGKCghQDe4CUxC0t7yd" alt="" width="375"><figcaption></figcaption></figure>


# Interest

The interest rate tells you how much you pay / receive per year for borrowing / lending out an asset. Lenders benefit from high interest rates, and borrowers benefit from low rates. An efficient system, therefore, has an interest rate both parties accept and that has the lowest possible spread[^1] between both interest parties.

For a protocol like DeltaPrime, fitting interest rates is crucial. In the following pages, we explain how DeltaPrime decides on its interest model and how the interest is calculated.

[^1]: The spread is the difference between the percentage that borrowers pay and depositors receive. This number is dependent on the percentage of deposited funds that is lent out.

    For example:&#x20;

    Total deposits: $100

    total borrowed: $50

    Borrowing rate: 100% ($50 per year)  &#x20;

    Deposit rate: 50% ($50 per year)

    Spread = 50%.

    &#x20;

    A lower spread leads to higher capital efficiency, and a better overall market for all participants.     &#x20;

    &#x20;&#x20;

    &#x20;      &#x20;


# Reasoning

### Pool utilisation

DeltaPrime interest rate model is optimised to achieve high pool utilisation and simultaneously manage liquidity risk. High pool utilisation has several benefits. It leads to:

* More capital efficiency
* Lower spreads for borrowers/depositors
* Faster DeltaPrime TVL/TVU scaling

Yet a highly utilised pool also lowers the buffer until a [liquidity crunch](#user-content-fn-1)[^1] occurs. The lower the risk of a liquidity crunch, the higher the ideal pool utilisation ratio. To evaluate the ideal pool utilisation ratio, and the interest rate surrounding this utilisation ratio, two variables are taken into account:

* Opportunity cost
* Volatility of asset

### Opportunity cost

Future borrowing rates can be anticipated depending on an asset's opportunities within DeltaPrime. Before the GLP integration, the best rates on USDC (without impermanent loss) rarely exceeded 4-5%. Because of this, the mean rate for USDC tended to be lower than the rate of AVAX. With the integration, new opportunities arose, shifting the demand for USDC, and demanding a different interest rate model.

Of course, opportunity cost can also come from missed capital gains. When there is bullish sentiment, the mean interest rate for USDC can be higher than for AVAX. With bearish sentiment, this reverses.

### Asset volatility

The risk of a liquidity crunch on an asset is also dependent on the volatility of that asset. An asset that is in the middle of a crash tends to be in high demand (if only to sell). Borrowers will want to borrow and sell that asset, whereas depositors would want to retrieve and sell their assets to manage their risk. An asset with a higher chance of dropping significantly in value, should have this reflected in its interest rates. This is not only to incentivize repayments at a high utilization rate but also to pay a fair price to the depositors, willing to lend out their assets during volatile times. In DeltaPrime this means that USDC is allowed to have a lower final interest rate than AVAX.

[^1]: The moment when borrowers can't borrow and depositors can't withdraw, due to 100% pool utilization.


# Calculations

{% hint style="info" %}

Interest rates model might change to reflect the market. Stay in the loop in our Discord. InIn the near future this static model, will be updated to a dynamic interest rate model, to automatically reflect supply and demand.
{% endhint %}

### Calculating borrowing interest

The borrowing rate $$R\_{t}$$ is based on the current pool utilisation. It is a segmented (piecewise-linear) function defined by [utilisation breakpoints](#utilisation-breakpoints), [slopes](#slope) and the [offsets](#offset). &#x20;

$$\ R\_{b} =   \begin{cases}     a\_{1}\*u +b\_{1}       & \quad \text{if } u <= u\_{1},\     a\_{2}\*u +b\_{2}  & \quad \text{if } u\_{1}\<u <= u\_{2},\ a\_{3}\*u +b\_{3}  & \quad \text{if } u\_{2}\<u <= u\_{3},\     a\_{4}\*u +b\_{4}  & \quad \text{if } u > u\_{3}   \end{cases} \ \ \ R\_{b} - \text{borrowing rate}\ u - \text{pool utilisation}\ a\_{1,2,3,4}-\text{slopes}\ b\_{1,2,3,4}-\text{offsets}\ u\_{1,2,3}-\text{utilisation breakpoints}\\$$

### **Utilisation** Breakpoints

The utilisation breakpoints define the points at which the [slope](#slope) should change. They are tuned to ensure ideal pool utilisation, and might change in the future. For both stables and non-stables, ideal utilisation ratio is set at 75%. For USDC that ratio is set at 85%.

By having multiple utilisation breakpoints instead of just one, DeltaPrime creates an optimal utilisation range. Instead of suddenly increasing the slope, there are ranges, to stabilize the interest rate around the ideal pool utilisation.

<table><thead><tr><th></th><th width="253.33333333333331">Non-stables (AVAX, ARB, etc)</th><th>Stables (USDC, DAI, etc)</th><th data-hidden data-type="number"></th></tr></thead><tbody><tr><td><br><span class="math">u_1</span></td><td>0.6</td><td>0.6</td><td>22</td></tr><tr><td><br><span class="math">u_2</span></td><td>0.8</td><td>0.8</td><td>null</td></tr><tr><td><br><span class="math">u_3</span></td><td>0.9</td><td>0.9</td><td>null</td></tr></tbody></table>

### **Slope**

The slope defines the steepness with which the interest rates rise. In the beginning, it equals 0 (a constant function) to ensure low borrowing APR and encourage borrowing. In the second range rates moderately rise.The ideal pool utilisation percentage is in this range. In the third part, rates grow rapidly to encourage deposits and repayments and keep liquidity available for withdrawals. In the final range, liquidity must be freed up to bring the utilization back to a healthy ratio. In this last part rates grow with exceptional speed.

<table><thead><tr><th width="249"></th><th width="251">Non-stables (AVAX, ARB, etc)</th><th width="223">Stables (USDC, DAI, etc)</th></tr></thead><tbody><tr><td><span class="math">a_{1}</span></td><td>0.050</td><td>0.167</td></tr><tr><td><span class="math">a_{2}</span></td><td>0.200</td><td>0.250</td></tr><tr><td><span class="math">a_{3}</span></td><td>0.500</td><td>1.000</td></tr><tr><td><span class="math">a_{4}</span></td><td>29.800</td><td>6.500</td></tr></tbody></table>

### Offset

If we combine the utilisation breakpoints with the [desired interest rates](#graphs), there needs to be an offset to make the graph connect. The following numbers are the result of the formula which brings the full graph together. &#x20;

<table><thead><tr><th width="254"></th><th width="246">Non-stables (AVAX, ARB, etc)</th><th width="238">Stables (USDC, DAI, etc)</th></tr></thead><tbody><tr><td>​<br><span class="math">b_1</span></td><td>0</td><td>0</td></tr><tr><td>​<br><span class="math">b_2</span></td><td>-0.090</td><td>-0.050</td></tr><tr><td>​<br><span class="math">b_3</span></td><td>-0.330</td><td>-0.650</td></tr><tr><td>​<br><span class="math">b_4</span></td><td>-26.700</td><td>-5.600</td></tr></tbody></table>

### Calculating deposit rate

Deposit rate is calculated based on current borrowing rate and pool utilisation and balances total interests of all borrowers and all depositors.&#x20;

$$R\_d = R\_b \* u\ R\_d - \text{deposit rate}\\$$

### Graphs

#### Non-stables

<figure><img src="/files/lNBWCsc4JTB5sFL2izDV" alt=""><figcaption><p>Non-stable interest graph, "utilisation -> borrowing interest -> depositing interest": <br>60% -> 3% -> 1.8%;<br>80% -> 7% -> 5.6%;<br>90% -> 12% -> 10.8%;<br>100% -> 310% -> 310%</p></figcaption></figure>

#### Stables

<figure><img src="/files/PCSl53fN1e2LgiqVG7IV" alt=""><figcaption><p>Stable interest graph, "utilisation -> borrowing interest -> depositing interest": <br>60% -> 10% -> 6%;<br>80% -> 15% -> 12%;<br>90% -> 25% -> 22.5%;<br>100% -> 90% -> 90%</p></figcaption></figure>


# Prime Account

Your Prime Account is your main hub within the DeltaPrime Ecosystem. It consists of your [account overview](/prime-brokerage-account/account-overview) and your [portfolio](/prime-brokerage-account/portfolio). It is the central place from where you manage your collateral and funds. Here you trade, provide liquidity, and farm. It is also the place where you can find and invest in your preferred combination of [integrated protocols](/integrations/protocols).&#x20;

### Dedicated Smart Contract

When you create your Prime Account, a new, dedicated smart contract is created on the blockchain with it. Any borrowed funds, as well as your own collateral, is sent to this smart contract. As the account holder, you are the sole owner of this smart contract. Through interacting with your Prime Account you decide what the contract does. Should it trade AVAX for ETH or the other way? Should it stake all your borrowed funds for multiplied returns, or keep a part in stables to DCA? You are the only one who decides what happens with the funds in your Prime Account.

### Safety

At the same time, the smart contract of your Prime Account has [safety](#safety) features built in. It is, for example, not possible to send all borrowed funds to your own personal wallet. Neither can you create your own token and invest borrowed funds into that to rug pull yourself. The smart contract has [safety](#safety) measures in place like [liquidation bots](/protocol/security/liquidations#liquidation-bots) and [whitelisted protocols](/integrations/protocols) to make sure that you can go as safe or as degen as your heart desires, but that you never risk more than your collateral.

### Cross-margin

Prime Accounts work fully **cross-margin**: No matter the pools you borrow from or investments you make, your [health factor](/prime-brokerage-account/account-overview#ltv) is calculated over the full combination of your passive and active investments. By investing cross-margin, you soften potential effects of sudden price spikes in one specific asset, and can perform better risk management on your full portfolio.&#x20;


# Account Overview

At the top of your [Prime Account](/prime-brokerage-account/prime-account) there is an overall overview containing the global information of your account. This box is divided in three sections.&#x20;

#### Borrowed

This is the most straightforward value: It shows the total value of what you have borrowed. Of course, the nominal value of your borrowed funds don't change, except for interest: 1 AVAX borrowed means there will be 1 AVAX (+ interest) to pay back. The dollar value can differ, depending on what you have borrowed.&#x20;

All Prime Accounts get their borrowed value incremented with their interest whenever someone interacts with one of the liquidity pools.&#x20;

#### Health

While the health meter is a bit more complicated, the basic idea is straightforward: 100% means the Prime Account is perfectly healthy; 0% health means it is insolvent (and will be liquidated). While an account is marked for liquidation, you are not able to perform any transactions until the liquidation is completed. [Liquidation](/protocol/security/liquidations) means that part of your borrowed funds will be force-repaid, for which you will be paying a liquidation bonus.&#x20;

Click on the blue words for more information on the [Health](/prime-brokerage-account/health-and-borrowing-power#the-health-meter) meter, how to [calculate health](/prime-brokerage-account/health-and-borrowing-power/calculations), or how to [interpret](/prime-brokerage-account/health-and-borrowing-power/interpretation#how-to-interpret-the-health-meter) it.&#x20;

#### Collateral

Lastly, there is the collateral value. This is calculated as the total value of all assets, minus the cumulative value of borrowed assets. If you have nothing borrowed, it is simply the value of all your assets. The more collateral in your Prime Account as opposed to borrowed funds, the healthier your account. The tokens in which your collateral and borrowed funds are allocated play an important role too though. Read more about how [Borrowing Power](/prime-brokerage-account/health-and-borrowing-power) [and Health](/prime-brokerage-account/health-and-borrowing-power) works.


# Portfolio

Your portfolio is the place where all your tokens, borrowed as well as owned, are shown. &#x20;

Assets in your portfolio can be invested across a selection of the best Avalanche protocols. This means you are free to [trade](/prime-brokerage-account/portfolio/assets), [LP](/prime-brokerage-account/portfolio/liquidity-pools), or [Farm](/prime-brokerage-account/portfolio/farms) to your heart's desires. DeltaPrime can safely lend out assets deposited into its pools, by integrating other protocols in the ecosystem. You as the investor decide which combination of [integrated protocol](/integrations/protocols)[s](/integrations/protocols) to invest in.&#x20;

All assets in your portfolio also share the same margin: The [minimum collateral percentage](/prime-brokerage-account/account-overview#ltv) is calculated over the total value of your assets, independent of the type or place of the assets.&#x20;


# Zaps

#### ⚡️ZAP⚡️

... and your position is there.

With Zaps, you can set up a new strategy. Quick and simple. Zaps simplify the Prime Account for beginning users. Today, Zaps are confined to leveraged trades, and the migration from GMX v1 to GMX v2 positions. In the future, Zaps will allow for isolated strategies. Isolated strategies can have (significantly) higher leverage for positions.

Currently, four zaps are available:&#x20;

#### Leveraged Long & Leveraged Short

As the name implies, these zaps borrow and swap an asset for another in one click, resulting in a leveraged position. As the platform automatically puts the position in your cross-margin Prime Account, there is no need to specify the amount of leverage. You only have to determine what asset you want to borrow, what to swap it for, and how much of that asset you wish to use.&#x20;

![](/files/qwDuXjKqmgUqM7ztr0Vm)

#### GLP -> GM conversion

When GMX transitioned from v1 to v2, many users had to readjust their positions from GLP (v1) to GM (v2). This Zap smoothens this readjustment process, allowing for easy migration.&#x20;

<div align="left"><figure><img src="/files/dxQJoO68M3TNAx8kwYcz" alt="" width="375"><figcaption></figcaption></figure></div>

#### Create a new Prime Account

Create a new Prime Account (PA) is only visible for those who, you guessed it, don't have a Prime Account. While the process of creating a PA isn't particularly complex, this gives a clear "start here" button to DeltaPrime.&#x20;

<div align="left"><figure><img src="/files/BKOe7wWWN3j51NyxbKk2" alt="" width="375"><figcaption></figcaption></figure></div>

### **Zaps on the horizon**

The first Zaps to be added in addition to the Long / Short Zaps will be:

#### Borrow to withdraw

This Zap replicates an Aave loan with the option to use your collateral in liquidity pools. Say you want to borrow $50K USDC against your $100K BTC. This Zap will:

* Deposit $50K BTC into your Prime Account
* Borrow and swap $50K USDC for BTC in the Prime Account

By swapping your remaining $50K BTC to USDC, you now have $100K BTC in your Prime Account to use in DeFi protocols, while also having $50K USDC to spend on the expenditures of life.&#x20;

Same token exposure, more utility.

#### GLP Hedge

{% hint style="info" %}
This strategy is not restricted to GLP and can be used for any perpetual derivative LP token (eg. LLP)
{% endhint %}

A major reason for the GLP hedge's popularity is that the 70% GMX fees received are multiplied, while simultaneously price exposure of the underlying blue-chip assets is offset. Amplified upside, reduced downside.

Say you want to have 4x exposure to GLP, while having no price exposure in the current GLP weight. This Zap will:

* Borrow underlying assets at today's weights
* Mint GLP with those assets

You now have a (temporary) delta neutral position on GLP. While you collect fees accrued, you have no price exposure to the underlying assets. This is until, through trades, the weight of the underlying assets changes. You will have to rebalance your position to the current weights to become delta neutral again.

**Follow up: GLP Rebalance**

Rebalancing here means: repaying borrowed assets that have a lower portfolio allocation than the current weights, and borrowing assets that have a higher portfolio allocation. Where you would normally redeem and remint your GLP position to do this (paying additional fees in the process), DeltaPrime's [Debt Swap](/prime-brokerage-account/portfolio/assets#swap-debt) feature removes this need. The Zap makes this even easier by:

* Debt Swap all borrowed assets to match underlying weights.

This zap resets the exposure back to 0, reducing the effects of Impermanent Loss in the process.

#### sAVAX carry

{% hint style="info" %}
This strategy is not restricted to sAVAX and can't be used for any pegged assetpair borrowable and farmable (eg. ETH -> wstETH on Arbitrum)
{% endhint %}

Carry trades on DeltaPrime offer an amazing opportunity for LSD (LST) maxis and minis. Those who trust the peg to hold, benefit from compounding their sAVAX with AVAX as a countertoken (carry trading AVAX). This amplifies their sAVAX yield, while running no price risk if the peg holds. With others willing to take this 'pegging' risk, anti-LSDers can deposit AVAX in DeltaPrime, receiving real yield close to the yield received by staking AVAX.&#x20;

Say you are an sAVAX maxi who wants to compound their $100 worth of sAVAX. This Zap will:

* Deposit sAVAX into Prime Account
* Borrow 4.5x AVAX
* Swap all AVAX for sAVAX
* (optional:) farm sAVAX with partner DEX to receive additional swapping fees.


# Assets

### Risk/Reward +

By using borrowed money to trade, you can decrease the capital needed for the same returns. This goes for positive and negative returns equally. For example, If you borrow 200% of your collateral to trade with, your profits and losses will move precisely three times as fast. Through borrowing, good traders need less capital to hit their target profits. Bad traders, on the other hand, run the risk of getting [liquidated](/protocol/security/liquidations) by the protocol. For this reason, you always need to ensure that your collateral is sufficient to keep your Prime Account solvent. If you make your trades right, borrowing can be a perfect tool.&#x20;

### Interface

All idle tokens are at the top of your portfolio in your Prime Account. Every row shows data specific to that token and is updated with every page refresh or transaction. Remember that it takes \~30 seconds for a transaction to be updated in UI. The data of a row consists of the following:

<figure><img src="/files/ZrH6UfztEKrfhNKRbKDJ" alt=""><figcaption></figcaption></figure>

#### Asset

Under the asset column, you see the different assets tradable. It shows the image as well as the name of the asset. If the asset is borrowable, it also shows the current borrow APY. DeltaPrime integrates DEX aggregators like Yak Swap and Paraswap to provide the lowest slippage for any trade.

#### Balance

The amount of tokens you are holding in your Dedicated Smart Contract is shown under this column. These are the "free tokens", which can be used for farming or LPing.&#x20;

Below the number of tokens, the dollar value of your asset is displayed. This value comes from the [RedStone oracle](https://redstone.finance/).

#### **Farmed**

The balance that is currently in farming in vault protocols. Soon, this will be called "Active" with the liquidity provided to DEXs included.

#### Borrowed

The borrowed column only shows numbers for the assets that are borrowable. For these assets, it shows the number borrowed and its current dollar value. Before withdrawing any assets, you have to have a Balance equal or greater than Borrowed, to pass the withdrawal guard.

#### Power

This shows the [Borrowing Power](/prime-brokerage-account/health-and-borrowing-power#borrowing-power) of an asset. Collateral with a Borrowing Power of 5x means you can borrow 5 times the value of the asset, given that the borrowed asset also has a 5x Borrowing Power. Read more about how the Borrowing Power is calculated [here](/prime-brokerage-account/health-and-borrowing-power/calculations#health-calculations).

#### Trend

The trend shows the historical price data over the past 24 hours, displayed in a graph. TradingView is integrated into the graph to empower your trading decisions. Lines can be drawn and a range of indicators can be used.

#### Price

This shows the price of the given asset. As the price is sent as metadata with every transaction, this is calculated by using multiple data sources per asset to prevent price manipulation. The actual price while buying and selling might be slightly different due to slippage. Your max slippage can be set in the swapping modal

**Borrow APY & Profit APY**

<figure><img src="/files/yKUOzU7vEwJh1n4Xvbc9" alt="" width="271"><figcaption></figcaption></figure>

Some assets show a **Borrow APY** below their name. This is the interest you pay for borrowing the asset. In the example above, DAI has a Borrow APY of 21.47%, meaning that ceteris paribus, you pay \~21.5% interest on every DAI borrowed over the course of a year.

Other assets have **Profit APY**. These are yield bearing assets like GLP, sAVAX or stETH. Value accrual differs per asset. In the example above, GLP has a Profit APY of 16.75%, meaning that ceteris paribus, you receive 16.75% worth of value on every GLP held over the course of a year.

Where the Borrow APY is DeltaPrime native (interest is paid to DeltaPrime lenders), the nature of the profit APY is token-specific. Please find the documentation of the respective protocols in [Tokens](/integrations/tokens), to read more about how every yield bearing asset's value-accrual works.

### **Actions**

<figure><img src="/files/wOX2Y9nmacTLQc2YFqbF" alt=""><figcaption></figcaption></figure>

![](/files/VlMxtBZUvZEne1Dmtetb)**Deposit collateral**![](/files/VlMxtBZUvZEne1Dmtetb)

<div align="left"><figure><img src="/files/Q4zsvI86EM7u5XK7CyjN" alt="" width="375"><figcaption></figcaption></figure></div>

Depositing collateral increases your account health and allows you to borrow assets from DeltaPrime's liquidity pools. Depositing collateral is often the first action you take in the Prime Account.&#x20;

#### ![](/files/13XzwExmmyJMwtXJHHnk)**Swap**![](/files/13XzwExmmyJMwtXJHHnk)

![](/files/IreclelaLKTPwyVJgvdt)

By pressing this button, you can swap one asset for a different asset. You can do so with one of the integrated DEX aggregators. The second feature is that it shows your health Ratio post-transaction. A glimpse into the future. Keep in mind that these numbers are not continuously updated, so returning to your computer after streaming GoT and pressing "swap" might result in unexpected slippage or health ratio.

#### ![](/files/u46kjzlVwehnhIKVdzYg)More![](/files/u46kjzlVwehnhIKVdzYg)

Here, you can find several other actions you can take on the assets page.

* Borrow
* Repay
* Swap Debt
* Withdraw Collateral

#### Borrow

![](/files/z0sXgC0j6owZn17YRGOh)

You can [borrow](/liquidity-pools/borrowing#how-to-borrow) up to 5x your collateral. The exact borrowable ratio depends on the [Borrowing Power](/prime-brokerage-account/health-and-borrowing-power) of your borrowed and held assets.

#### Repay

![](/files/IUek9AsEaOmN3l99q6Sm)

Repay your borrowed assets here. While there is no deadline for repaying borrowed funds, your account will accrue interest as long as any assets are borrowed.&#x20;

#### Swap Debt

![](/files/c3sTl9tbJdlxmciC0uEF)

The Swap Debt function allows you to swap the borrowed value of your assets, without having to hold the assets themselves. So if you have $200 USDC borrowed, but you'd rather have $200 ETH borrowed instead, you can change the borrowed source with the click of a button. You do not need to hold ETH or USDC to perform a debt-swap between these two assets.&#x20;

**Power of the Debt-Swap**&#x20;

Let's say you are bullish on ETH. You borrow 200 USDC, swap that to ETH and deposit it in a farm. You are now exposed for $200 to the ETH price. If your ETH appreciates, your debt remains 200 USDC and you make a profit. If ETH depreciates, your debt remains 200 USDC still, and you make a loss (having less assets to pay off the same debt).&#x20;

If you become bearish on ETH, you might assume you will have to withdraw your ETH from the farm to sell it and reduce your ETH exposure. But what if you are bearish on ETH, but have your assets in a high-yielding farm you want to stay in? Or if you only want to reduce your exposure temporarily, anticipating a short-term drop, but long-term appreciation? In this case you might want to use the Debt-Swap instead.&#x20;

By swapping your Debt from USDC to ETH you can reduce your ETH exposure to 0, or (depending on how much USDC was borrowed) even reverse it. All without removing your ETH from the farm it is working in. The reason this reduces your exposure similarly to selling the asset, is because a falling ETH price now not only reduces the value of your ETH in the farm, but simultaneously reduces the value of the debt that you will have to pay back. This leads to no loss or profit regardless of price movements: you are delta neutral.

Whenever you want your ETH exposure back, just reverse your debt-swap, swapping your debt back to USDC or one of the other stables available in DeltaPrime.

#### Withdraw Collateral

Pressing this button allows you to withdraw assets to your wallet. Withdrawing collateral reduces your health. Additionally, you need to cover all borrowed assets with your asset balances. Read more about the [Withdrawal Guard here](/prime-brokerage-account/taking-profit/withdrawing-and-withdrawal-guard).&#x20;

&#x20;


# Liquidity Pools

You can use all tokens from your Prime Account, whether deposited, borrowed, or swapped, to create LP positions. If you use borrowed tokens, you can provide capital into [integrated DEXs ](/integrations/protocols)beyond your usual limitations. This is capital that would usually be trapped as TVL in lending protocols but instead regains life to provide depth into Avalanche's (syntethic) DEX liquidity pools.&#x20;

By providing liquidity through DeltaPrime you not only lower the slippage for people swapping on these DEXs, improving capital efficiency across the chain, but you also capture a multiplied percentage of the swapping fees these protocols pay to liquidity providers.&#x20;

### Interface

<figure><img src="/files/GWEcvdftcjpGZfKa3G3f" alt=""><figcaption></figcaption></figure>

#### Filters

At the top of the LP interface, you see the tokens & DEXs integrated into DeltaPrime. If you want to provide a specific token, or to a specific DEX, you can select them here.

#### LP Token

Here it shows the token-pair you are providing, as well as the DEX the tokens are provided to.&#x20;

#### Balance

Similar to the token balances in the [Exchange](/prime-brokerage-account/portfolio/assets) section, your Balance shows how much of the asset you are holding. Contrary to what you might expect, these numbers do not say a lot about the tokens that you provided. This is where the dollar value comes in handy. In the USDC-AVAX pair in the example above we own \~0.000041 USDC-AVAX, which amounts to a pair of \~200 USDC and \~16 AVAX. Instead of the exact tokens, this number represents which part of the pool you own.&#x20;

**Composition** (optional)

Some liquidity pools (eg concentrated & synthetic) don't always hold a 50/50 ratio of your assets. In those pools you often see a composition column. The composition can change based on its use in the underlying protocol, and is a key metric for managing price risk.

**Trend (7D)** (optional)

Some LP tokens show its pricing over the past 7 days. Initially this only shows for GMX, where counterparty exposure significantly affects profitability of the pool. In the future this will show for more pools.

{% hint style="info" %}
The trend line of perpetual derivative exchange LPs, can be changed for showing the Open Interest (OI) instead once opened up. The OI shows the long/short exposure of the counterparty and can be used for risk management.
{% endhint %}

**Rewards** (optional)

Pools that don't autocompound rewards or give bonusemissions in different tokens (like Trader Joe or Balancer) there is a reward column. This column shows the pending rewards. While there is a claim function, withdrawing from the position automatically claims as well.

#### **TVL**

This is the Total Value Locked (TVL) in the liquidity pool. In general: the higher this number, the more stable the APR shown, and the lower the impermanent loss (IL). This is a general rule, as trading volume plays a crucial part in APR just like the exact IL is dependent on the price divergence of both tokens within a pair. Additionally, with similar trading volume, a lower TVL pool will generate a higher APR than a higher TVL pool.&#x20;

#### Min. APR

This is the APR that the pool gives at 100% health. By placing your full portfolio in this pool, without borrowing or compounding, you can expect to get the shown percentage in rewards, over the course of one year. This number does not take into account potential impermanent loss.

#### Max. APR

Multiply your returns. Sometimes, your returns can be multiplied through borrowing and investing. This depends on the yield received from the pool and the interest paid for borrowing. Where the Min. APY shows the returns with 100% health, the Max APY shows the returns with 10% health, if you put your full portfolio into this pool. While you could further lower your health for a higher APY, this also brings the account closer to liquidation. In the end, DeltaPrime provides you the freedom to manage your own risk, so the exact place on the 0%-100% health meter where you feel confident is all up to you. This number does not take into account potential impermanent loss and assumes you are borrowing the asset with the lowest borrowing APY.&#x20;

#### Actions

#### ![](/files/lV7TmzeAjJP7FzcCFI5D)**Add / Create**![](/files/lV7TmzeAjJP7FzcCFI5D)

![](/files/5yI0skBcuue2VDRrSHe3)![](/files/bZaqM2l8IImsFcFZlt5C)

If you already have LP tokens on one of the [integrated DEXs](/integrations/protocols), you can **add** them to your Prime Account here. This will increase your health, and allow you to use the LP tokens within your Prime Account to [borrow](/liquidity-pools/borrowing) against, or [farm](/prime-brokerage-account/portfolio/farms).

You can also choose to **create** an LP position directly through DeltaPrime. For this you need an equivalent value of the two tokens you want to create an LP of. If this token is in the LP asset list, you can create an LP token right there.

#### ![](/files/mqtQ48KgXeZy45viMTmy)**Withdraw / Unwind**![](/files/mqtQ48KgXeZy45viMTmy)

![](/files/GOHhM9GKf2yHMKbpSwWl)![](/files/h3lxTPcH9ZDRE5K6olXG)

**Withdrawing** LP tokens works the same way as withdrawing other tokens. As long as you have the borrowed assets covered 1-1 on the [Exchange](/prime-brokerage-account/portfolio/assets), you can withdraw as much as you want, back to your wallet, up to the point of liquidation (which is not recommended).

If you instead want to **unwind** your LP tokens, you can do so by pressing "Unwind LP Token". When you do this, the value of your current LP [balance](#balance) will be split into the two tokens you started with. You can then freely use them across your Prime Account however you want.&#x20;


# Farms

In DeFi, (yield)farming refers to the process of providing liquidity, with the intention of gaining passive income - yield. Although plenty of protocols and investors alike use liquidity providing and farming interchangeably, on DeltaPrime we make one direct distinction:&#x20;

Where [Liquidity Providing](/liquidity-pools/savings) always provides liquidity from your Prime Account straight into an exchange, Farms are third parties optimizing this process. Think for example about providing your Pangolin LP tokens to [Yield Yak](https://yieldyak.com/), which autocompounds your LP to turn your APR into APY. Or exploiting [Vector Finance's](https://vectorfinance.io/) vast Ve-token reserves, to increase your yield in AMMs like [Platypus](https://platypus.finance/) or [Trader Joe](https://traderjoexyz.com/).

Every layer from your wallet to the DEX increases smart contract risk, so it is important to always [DYOR](/integrations/protocols), no matter through which channels your funds flow. That being said, with good due diligence, farms can increase your returns far beyond what a single DEX could do.

### Farming interface

The Farms section of your [portfolio](/prime-brokerage-account/portfolio) shows the following elements:&#x20;

<figure><img src="/files/cOUHMxirBMqvOHIZDhCb" alt=""><figcaption></figcaption></figure>

#### **Asset**

The **Asset** shows the (LP-)token you can stake here, the DEX it ends up in, and the available farms. Know that different farms operate in different ways: For example: Yield Yak might update with intervals and reward in the asset provided, Vector rewards continuously, and might reward in a different token like PTP or PNG. To make sure you understand how different protocols interact with provided liquidity, please read the documentation of the farm in our[ integrated protocols](/integrations/protocols) list.

#### Staked

"Staked" of the pool shows how much tokens are currently staked across farms. Below that you have the amount of tokens, as well as the current dollar-value of the tokens staked in individual farms. If your yield gets compounded, this number will slowly rise. The value of your tokens might rise or drop as the underlying assets appreciate or depreciate in price.

#### **Available**

Here it shows the number of tokens you have ready to invest. This only shows the tokens that are not yet deposited into any farm, and can be invested immediately. If you don't have the tokens available, make sure to swap into them on your [Exchange](/prime-brokerage-account/portfolio/assets) and Create the necessary LP token in [Pools](/prime-brokerage-account/portfolio/liquidity-pools#add-create).

#### Min. APY

This is the APY that the farm gives at 100% health. By placing your full portfolio in this farm, without borrowing, you can expect to get the shown percentage in rewards, over the course of one year. This number does not take into account potential impermanent loss.

#### **Max. APY**

Multiply your returns. Sometimes, your returns can be multiplied through borrowing and investing. This depends on the yield received from the pool and the interest paid for borrowing. Where the Min. APY shows the returns with 100% health, the Max APY shows the returns with 10% health, if you put your full portfolio into this farm. While you could further lower your health for a higher APY, this also brings the account closer to liquidation. In the end, DeltaPrime provides you the freedom to manage your own risk, so the exact place on the 0%-100% health meter where you feel confident is all up to you. This number does not take into account potential impermanent loss and assumes you are borrowing the asset with the lowest borrowing APY.&#x20;

#### Protocols

Some farms build on top of the same pools. Here you see which farms have created a strategy on this specific pool. While you are free to go full-on degen, hunting the highest APR/APYs, you might also have a preference for one farm over the other. This can be based on factors like: whether it autocompounds, whether ve-tokenomics are in play, the community or brand of that protocol, or anything else you might discover through your due diligence. To read up on the protocols integrated, check out our [protocol list](#protocols). &#x20;


# Health and Borrowing Power

### The health meter

The health meter indicates how close your Prime Account is to insolvency. If your health meter shows 100%, you have not borrowed any funds, and there is no risk of becoming insolvent. If your health meter shows 2%, your Prime Account is on the brink of insolvency. Depending on your constructed portfolio, this most likely means that a small price movement in your held or borrowed assets will make your Prime Account insolvent. The account gets liquidated at 0% health, which depending on the composition of assets has a minimum of 20% collateral ratio.

### Borrowing Power

Tokens available on DeltaPrime have different borrowing powers: If you deposit $100 USDC, you can borrow up to $500 USDC or AVAX before liquidation; but if you deposit $100 PNG, PTP or QI, you can't borrow anything against it. USDC has 5x borrowing power, PNG has 0x.&#x20;

To understand why different tokens have different weights, please read the [safety](/protocol/security#token-specific-borrowing-power) section.

As your Prime Account is cross-margin, your borrowing power is shared across tokens. For more information on how it's calculated, read the [health calculations](/prime-brokerage-account/health-and-borrowing-power/calculations) below. If you instead want a simpler way to interpret the health meter, read the [interpretation](/prime-brokerage-account/health-and-borrowing-power/interpretation). Lastly, you can play around with your own health meter in the [Health Playground](https://docs.google.com/spreadsheets/d/1wukyfAj641H4xBva6G1DVIzrauyn1sazYZoD1qGCcIo/edit#gid=479001345).&#x20;

{% content-ref url="/pages/NwluunxtKaKELfXMnc4E" %}
[Calculations](/prime-brokerage-account/health-and-borrowing-power/calculations)
{% endcontent-ref %}

{% content-ref url="/pages/fl1PL7XTh5Gm7RqCgsld" %}
[Interpretation](/prime-brokerage-account/health-and-borrowing-power/interpretation)
{% endcontent-ref %}

{% embed url="<https://docs.google.com/spreadsheets/d/1wukyfAj641H4xBva6G1DVIzrauyn1sazYZoD1qGCcIo/edit#gid=479001345>" %}
Link to Health Playground. Go to "File" and "Make a copy" to change the variables and create your own paper portfolio!
{% endembed %}


# Calculations

## Health calculations&#x20;

**borrowing Power ratio (Pr):** The borrowing power ratio of an asset is a number between 0 and 1 and describes how much you can borrow against this certain asset. It is calculated as:

$$
Pr = {P \over P + 1} \ \text{}\ \begin{align} & \text{Pr = borrowing Power ratio} \\&\text{P = borrowing Power} \ \ \end{align}
$$

| Borrowing Power | Formula   | Borrowing Power ratio |
| --------------- | --------- | --------------------- |
| 1x              | 1 / (1+1) | 0.5                   |
| 3x              | 3 / (3+1) | 0.75                  |
| 5x              | 5 / (5+1) | 0.8333                |

**Collateral (Ct & C):** DeltaPrime being fully cross-margin, means that "collateral" as such does not exist, but is either a token-derived collateral value (Ct):

$$
Ct = {At-Bt} \\\text{}\ \begin{align} &\text{Ct = Collateral of token} \ &\text{At = Account's token value} \ &\text{Bt = token borrowed value}
\end{align}
$$

Or a portfolio-derived value (C):

$$
C = {Ta-Tb} \\\text{}\ \begin{align} &\text{C = Collateral} \ &\text{Ta = Total account value} \ &\text{Tb = Total borrowed value}
\end{align}
$$

In words: The dollar value of your collateral is equal to the dollar value of your assets, minus the dollar value of your borrowed tokens, either for one token, or for the whole portfolio.

{% hint style="info" %}
At launch all integrated tokens have either 0x or 5x Borrowing power. If they have 0, the Borrowing Power ratio is 0 as well.
{% endhint %}

### Cross-margin Borrowing Power

How much you can actually borrow against your deposit is not solely dependent on the borrowing power of the token provided, but also on the borrowing power of the token borrowed. This means that if you provide a token with 5x borrowing power, and borrow a token with 2x borrowing power, the exact ratio at which the health meter reaches zero is neither 2x nor 5x, but rather somewhere in between. Below are the calculations how the exact Health can be measured. Additionally you can see how it differs in the[ Health Playground](#health-playground).

### Health of single asset (Ha)

$$
{Ha = }{Pr*Ct+Pr*Bt-Bt\over Pr\*Ct}  \*100%  \\
$$

**Examples**

| Borrowing Power, Collateral, Borrowed value | Formula                                                    | Asset Health |
| ------------------------------------------- | ---------------------------------------------------------- | ------------ |
| 5x, $100, $250                              | (0.8333\*100 + 0.8333 \* 250 - 250) / (0.8333\*100) \*100% | 50%          |
| 5x, $120, $250                              | (0.8333\*120 + 0.8333\*250 - 250) / (0.8333\*120) \* 100%  | 58.3%        |
| 3x, $100, $101                              | (0.75 \* 100 + 0.75 \* 101 - 101) / (0.75\*100) \* 100%    | 66.3%        |

### Health of all assets (H)

#### Weights

In order to calculate a cross-margin portfolio, we need to take different borrowing powers and token prices into account. To do this we calculate the weighted collateral value of a token (*Cw)* and the weighted borrowed value (*Bw)* of a token. By multiplying either with both the token price and Borrowing Power ratio (Pr), we get a value that represents that token's weighted collateral/borrowing value.&#x20;

$$
{Cw =  CtPtPr} \ {Bw = BtPtPr} \\\text{} \\\begin{align} &\text{Ct = Collateral of token} \\&\text{Bt = Borrows of token}\\&\text{Pt = Price of token} \end{align}
$$

Compounding the collateral weights of all tokens within one Prime Account, we get the portfolio's Total Collateral weight (ΣCw). Compounding the borrowed weights of all tokens within one Prime Account we get the portfolio's Total Borrowed weight (ΣBw).&#x20;

By using the same formula we used with the single-asset health meter, but taking into account the different token prices and borrowing powers, we get:

$$
{H = }{ΣCw+ΣBw-B\over ΣCw}  \*100%  \\
$$

### Health Playground

The Health Playground is an excel sheet you can use to calculate different scenarios for yourself. Make a copy of this document to play around with variable health meters: [Health Playground](https://docs.google.com/spreadsheets/d/1wukyfAj641H4xBva6G1DVIzrauyn1sazYZoD1qGCcIo/edit#gid=479001345)


# Interpretation

### How to interpret the health meter

| Borrowing Power, Collateral, Borrowed value | Asset Health |
| ------------------------------------------- | ------------ |
| 5x, $100, $250                              | 50%          |
| 5x, $120, $250                              | 58.3%        |
| 3x, $100, $101                              | 66.3%        |

Let's have a look at the first and last row in the Asset Health table above:&#x20;

Having 5x borrowing power, with $100 in collateral, means you could theoretically borrow up to $500 before getting liquidated. If you would borrow $250, exactly half of that, your health would instead be 50%. If you use the same $100 as collateral for an asset with 3x borrowing power, you would be able to borrow up to a maximum of $300. If you borrow $101, a little over one-third of your max borrowed amount, your health meter will drop to 66.3%, a little under two-third of your health.&#x20;

Combining assets, the token price, and differences in borrowing power are taken into account, yet the basic idea stays the same: \
\
**Your health meter represents the percentage of the value that you can borrow based on your collateral. If you have 60% health, that means that you have borrowed a total value of 40% of what you can borrow with your current collateral. A health meter of 0% means liquidation.**

Of course, your collateral value changes, as this is based on your account value minus your total borrowed value. Through investments and trades, your account value might go up and down. If your investments make you a $20 profit in the first scenario, this will automatically be counted towards your collateral, increasing this to $120. This would increase your Asset health to 58.3%.&#x20;

If you instead make unprofitable investments, dropping your total account value by $50, your collateral would be worth $50 with the same $250 borrowed value. That hits the 5x bringing your health to 0%. At this point positions in your Prime Account will be partially liquidated to automatically repay part of your borrowed funds.

An additional parameter that affects the predictability of the health ratio is the borrowing power of the tokens you are holding or borrowing. Depositing a 1x token and borrowing a 5x token, means you can borrow up to 3x the value of your collateral before hitting 0%. Depositing a 5x token and borrowing a 1x token means you can borrow up to 1.67x the value before hitting 0%. The reason for this is that borrowing an asset integrates that asset as part of your collateral, changing your total asset allocation in the process, and thus impacting your overall borrowing power. One way to avoid this is by swapping your borrowed tokens into the 5x token, improving the health meter with every swap. If you were to do this consistently, you would eventually have 5x borrowing power on your portfolio. &#x20;

### Predicting health&#x20;

There are three main ways to predict your health based on certain transactions:

**Long term** it's best to understand how it works. If you are more of a numbers guy/gal, read and understand the [Calculations section](/prime-brokerage-account/health-and-borrowing-power/calculations), if you instead prefer more laymen's terms, read the above [Interpretation](/prime-brokerage-account/health-and-borrowing-power/interpretation#how-to-interpret-the-health-meter) section. For any question, you can always join us on [Discord](https://discord.com/invite/9bwsnsHEzD).

Trying to create a balanced portfolio for the **Medium term**? Awesome. You will find a lot of value in the [Health Playground](/prime-brokerage-account/health-and-borrowing-power/calculations#health-playground) of DeltaPrime. Here you can play around with token, price, borrowing power and allocation, to see how it affects your health meter.&#x20;

<img src="/files/siZPgwwCeeJUdyaE6qTX" alt="" data-size="original">

Want to know how in the **Short term** one transaction will impact your health meter? With every transaction you can perform that may affect your health meter, a smaller version of it will appear in the bottom-left corner. This shows you what your health meter will look like when you push that button. In doing so, you'll never be surprised by a transaction changing your health!

#### Indicator

The health meter is an indicator; A tool that helps you evaluate your current portfolio. That being said, having low health does not directly translate into high liquidation risk. A portfolio with 2% health, where your collateral is the same token as the borrowed tokens, has no liquidation risk. The liquidation risk severely increases if you trade your assets for tokens with low correlation to the borrowed tokens.&#x20;

For this reason, managing your portfolio as a borrower is paramount. There are different strategies explained in [Investing strategies](/prime-brokerage-account/strategies-1), but the full possibilities are endless. To get the most out of your risk management, make sure to collaborate and engage with the [community](/community/socials#discord) of DeltaPrime.


# Prime Feature: 10x

### Why now?

<figure><img src="/files/TWOUlpYSfaPsc6UfzSEM" alt=""><figcaption></figcaption></figure>

On DeltaPrime every asset has its own potential [borrowing power](/prime-brokerage-account/health-and-borrowing-power#borrowing-power). This gives granular risk control in regards to asset volatility risks. When DeltaPrime started in Q1 2022, every asset had a borrowing power of 5x. This was a conservative borrowing power, both in comparison to both our own expectations as well as similar platforms. However, due to the novelty of this type of product, there was not enough historical data available to confidently increase the borrowing power on DeltaPrime.

Now, three years later, that data is there. Analyzing the chain over the past years we can simulate the bad debt accrued as a result of late liquidations, had the borrowing power of assets been 10x, 15x or even 20x for selected assets. At 5x DeltaPrime had not accrued any bad debt due to volatility, and, in retrospect, the same would have been the case had the platform offered 10x (and on some assets even 15x).&#x20;

These years filled with black swans. From Do Kwon to SBF, from Celsius and Three Arrows Capital to the USDC depeg: if DeltaPrime had provided 10x leverage, it would not have led to any more bad debt due to late liquidations. And that gives confidence.

### Prime Feature

And thus, a new Prime Feature is born. Prime Features bring unseen power to your Prime- or Savings account in exchange for $PRIME. Here, that power is your Borrowing Power, which, for a variety of assets (recognizable by a lightning bolt next to it), can be increased from 5x to 10x.&#x20;

Increasing your borrowing power not only allows you to borrow more than before; it also increases your health! So whether you're a daredevil who likes to live on the edge, a delta neutral fanatic who realizes that 2x no price risk is still no price risk, or a risk-evader who just wants to see his health grow, 10x benefits you too.

### How to activate 10x

Step 1: click on the little 10x button in the top left corner of your assets page.

<figure><img src="/files/hCeVdiInAH8EBRWRVVwo" alt=""><figcaption></figcaption></figure>

This will pop up a 10x page, explaining more about 10x, which assets it will affect, what effect it will have on your health and how much PRIME you need to unlock this powerful feature!

<figure><img src="/files/O5MNbpTYeXhipliobZqB" alt=""><figcaption></figcaption></figure>

If you don't have enough PRIME, it will let you know exactly how much you need to unlock it. Since PRIME is an asset in your Prime Account, you can either swap or deposit just like you would with any other token in your PA (note that in version one, pressing swap will route you to the DEX where it can be bought)

![](/files/PA6iFgiT8Tje6OUG3NAk)

### How much PRIME do I need?

Prime Features requires you to lock PRIME which you will get back at deactivation. The required amount to lock is visible in the 10x modals (as shown above) and equals 12 times your max borrowable amount / 1,000.&#x20;

When 10x is deactivated, an unlock fee is deducted from the total PRIME amount returned. This fee is shown in the unlock modal and equals 5 PRIME per $1,000 borrowed.

So if you have $200 collateral, you will need to **deposit** **24** **PRIME**  (= 12 \* (200\*10) / 1,000)) deposited to unlock the feature. If you borrow 7x over the course of a year ($1,400), you **receive 17 PRIME** (=24 - 5 \* 1.4) back at the end of the year.


# Taking Profit

We all know investing has its risks. But what if you just made an OG play, which resulted in lambo-deserving profits? Well, that's great! You probably want to withdraw some of that to buy it! In order to provide a safe environment for lenders, there are two elements the Prime Account focuses on whenever anyone withdraws collateral. The [health meter](/prime-brokerage-account/health-and-borrowing-power) and the [Withdrawal Guard](/protocol/security/withdrawal-guard). Both may be encountered mid-withdrawal with the following error messages. &#x20;

***

> Health should be higher than 0%

{% content-ref url="/pages/hErmWlu5jkpC4LEuZ2ZA" %}
[Withdrawing & Health](/prime-brokerage-account/taking-profit/withdrawing-and-health)
{% endcontent-ref %}

***

> Not all 'borrowed' is covered by its 'balance'. Update missing balance(s) to withdraw. Read more.

{% content-ref url="/pages/ZP1k1lUikNGPVLz4NmQZ" %}
[Withdrawing & Withdrawal Guard](/prime-brokerage-account/taking-profit/withdrawing-and-withdrawal-guard)
{% endcontent-ref %}


# Withdrawing & Health

### The Health Meter

Post-withdrawal, your Prime Account needs to be [solvent](/protocol/security/solvency-checks): You need to be still able to repay all borrowed funds. In the bottom left of the withdrawal modal there is a small health indicator. This indicator shows how much health you will have after the withdrawal. If your account would turn insolvent due to the withdrawal the health will display 0.00%; additionally an error message will pop up:&#x20;

> Health should be higher than 0%

<figure><img src="/files/Xa05QT0GbwZduqvJESgE" alt=""><figcaption></figcaption></figure>

#### How to solve this

To withdraw you can do two things:

* Withdraw less.
* Repay part of borrowed funds.

<figure><img src="/files/tK4c4Bu56BOAYvUI4hnJ" alt=""><figcaption><p>With 4800 USDT borrowed, withdrawing 500 out of 699 USDC would turn the account insolvent</p></figcaption></figure>

In this case, we repay 4500 of our 4800 borrowed USDT.

<figure><img src="/files/497hJi59X7df3bE7Sf9y" alt=""><figcaption></figcaption></figure>

Now our account will be solvent even after withdrawing 500 USDC. We can withdraw successfully!&#x20;

<figure><img src="/files/T8G1ApUbWPTztCitcXH1" alt=""><figcaption></figcaption></figure>


# Withdrawing & Withdrawal Guard

### Withdrawal guard

The [Withdrawal Guard](/protocol/security/withdrawal-guard) is one of DeltaPrime's main safety features, protecting depositor funds against known and unknown attacks. You can read more about the background of the withdrawal guard in [here](/protocol/security/withdrawal-guard). This segment discusses what to do if the withdrawal guard prevents withdrawing.

#### The origin

> Not all 'borrowed' is covered by its 'balance'. Update missing balance(s) to withdraw. Read more.

When you get this message, it might help to see visually what this entails. If you were confused and pressed "Read more", you ended up here. Welcome! Here is what it means and how you solve it in order to withdraw:

Imagine you have 1000 USDC in your Prime Account with 300 borrowed USDt deposited in a farm:

<figure><img src="/files/SkdfJFtqBbzcX8yqt85u" alt=""><figcaption><p>There is 1000 USDC in the Prime Account, and $300 borrowed USDT farming. Withdrawing is unavailable right now.</p></figcaption></figure>

If you try to withdraw any USDC, the withdrawal guard will prevent this. The following error message will be shown.

<figure><img src="/files/LNrDQ5YgCRPFJTU1fteU" alt=""><figcaption><p>The Borrowed 300 USDT is not in the Balance. The withdrawal guard locked withdrawing.</p></figcaption></figure>

This happens because some assets have borrowed value larger than the balance. While USDC is covered, with a Balance (1000) larger than Borrowed (0), for USDT, this is not the case. USDT's Balance (0) is smaller than Borrowed (300).&#x20;

#### How to solve this

To unlock withdrawing, the Balance must be larger than the Borrowed for every borrowed asset. In this case, only USDT has been borrowed, so that asset needs to cover its Balance value by at least its Borrowed value.

There are two ways to solve this.

* Withdraw farmed or LP positions to increase the balance.
* Swap any other asset to the borrowed asset to increase the balance.

In this example, we swap 301 USDC for 301 USDT. This brings our balances to the following values:

<figure><img src="/files/tKyq6G6BGCKN14HPnk7e" alt=""><figcaption><p>Now, all borrowed values are covered by all balances.</p></figcaption></figure>

After the swap, we have USDC assets with a Balance (699) bigger than Borrowed (0), and we have USDT assets with Balance (301) bigger than Borrowed (300).&#x20;

Success! Withdrawing is now unlocked.&#x20;

<figure><img src="/files/wtzgJLMMuktKo0PEhTAV" alt=""><figcaption><p>Where we could not withdraw any USDC before, we can now withdraw all of our USDC if we want to.</p></figcaption></figure>


# Strategies

DeltaPrime allows for a range of new and unique strategies, as well as redefining older -arguably outdated- strategies. The freedom that you have within the Prime Account enables you to design the strategy that suits you best, making the possibilities endless.&#x20;

For starters, any strategy that you are currently running, can be performed better on DeltaPrime. Whether you borrow capital for on-chain gaming, airdrophunting, or need to liquify assets for anything in meatspace, we promise you: you can do it better on DeltaPrime. Check out the [Efficient OC](/prime-brokerage-account/strategies/efficient-oc) for more on this.

If you do want to check out the power of the new and unique strategies available on DeltaPrime, below we have outlined a few strategies that have become popular among the DeltaPrime community. Although they are popular, you have the complete freedom to design your very own strategy, or tweak them to your liking. After all, it is your strategy, and whether it fits depends on numerous factors, among which: your risk/reward, investment goals, available effort and time, expertise, etcetera.

{% hint style="info" %}
Do note that the practical examples provided in each strategy uses made-up numbers. The math is correct and applicable, yet the yields may differ.&#x20;
{% endhint %}

Some strategies are easier than others. The simplest strategy by far is still to deposit into the DeltaPrime [Savings](/liquidity-pools/savings) pools for the most passive investment strategy. Other investors will do the work for you as they borrow your capital in return for interest; single click, no impermanent loss, and your capital is protected by liquidation bots.&#x20;

Not convinced? Want to get everything out of your [Prime Account](/prime-brokerage-account/prime-account) instead? Great. Grab yourself a beer or coffee and let's dive in.

<table data-view="cards"><thead><tr><th align="center"></th><th></th><th><select multiple><option value="PDGuAgyQkb9W" label="Passive hold" color="blue"></option><option value="m0LrlUlxzZwI" label="Active management" color="blue"></option><option value="FtIypy7PiELA" label="Delta neutral" color="blue"></option><option value="nrwk1dqzAoqN" label="Play the market" color="blue"></option><option value="usA0c21QBzBl" label="Health neutral" color="blue"></option><option value="ctgGlORSroAU" label="Long-only" color="blue"></option><option value="K8EA7DTqJWwK" label="Single position" color="blue"></option><option value="f65webHLmcDn" label="Diversified yield" color="blue"></option><option value="Nwgv0aWPg3YZ" label="No price-risk" color="blue"></option><option value="VsvKY0ONHe3T" label="High yield potential" color="blue"></option></select></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">The Fee Collector</td><td>You like to maximize yield with minimal effort to build your wealth, without exposure to price.</td><td><span data-option="PDGuAgyQkb9W">Passive hold, </span><span data-option="FtIypy7PiELA">Delta neutral, </span><span data-option="K8EA7DTqJWwK">Single position</span></td><td><a href="/files/7JlEjLQrfjQ5saQpy0W8">/files/7JlEjLQrfjQ5saQpy0W8</a></td><td><a href="https://deltaprime.io/strategies/The-Fee-Collector">https://deltaprime.io/strategies/The-Fee-Collector</a></td></tr><tr><td align="center">The Carry Trader</td><td>You want no management or price risk at all. You borrow an asset and invest it elsewhere, capturing the spread.</td><td><span data-option="PDGuAgyQkb9W">Passive hold, </span><span data-option="usA0c21QBzBl">Health neutral, </span><span data-option="Nwgv0aWPg3YZ">No price-risk</span></td><td><a href="/files/WoRfXZM5HhKBxs65GOEi">/files/WoRfXZM5HhKBxs65GOEi</a></td><td><a href="https://deltaprime.io/strategies/The-Carry-Trader">https://deltaprime.io/strategies/The-Carry-Trader</a></td></tr><tr><td align="center">The Yielding Bull</td><td>You are bullish by nature. You prefer to profit from number go up while earning a yield to offset borrowing costs. </td><td><span data-option="PDGuAgyQkb9W">Passive hold, </span><span data-option="ctgGlORSroAU">Long-only</span></td><td><a href="/files/JZsllBShJXEvhndav0al">/files/JZsllBShJXEvhndav0al</a></td><td><a href="https://deltaprime.io/strategies/The-Yielding-Bull">https://deltaprime.io/strategies/The-Yielding-Bull</a></td></tr><tr><td align="center">The Risk Evader</td><td>You prefer to have balanced but consistent yield to grow your portfolio, again without exposure to price.</td><td><span data-option="PDGuAgyQkb9W">Passive hold, </span><span data-option="FtIypy7PiELA">Delta neutral, </span><span data-option="f65webHLmcDn">Diversified yield</span></td><td><a href="/files/F4STL5NxNHl7DCGoV5Jq">/files/F4STL5NxNHl7DCGoV5Jq</a></td><td><a href="https://deltaprime.io/strategies/The-Risk-Evader">https://deltaprime.io/strategies/The-Risk-Evader</a></td></tr><tr><td align="center">The Market Maker</td><td>You are active in markets. You don't trade, but you provide liquidity for substantial yields while minimizing risk.</td><td><span data-option="m0LrlUlxzZwI">Active management, </span><span data-option="VsvKY0ONHe3T">High yield potential</span></td><td><a href="/files/JDSSxnIG1jQTCZuIXkAd">/files/JDSSxnIG1jQTCZuIXkAd</a></td><td><a href="https://deltaprime.io/strategies/The-Market-Maker">https://deltaprime.io/strategies/The-Market-Maker</a></td></tr><tr><td align="center">The Swing Trader</td><td>You are an active trader. You want to trade on leverage to make your gains, while at the same time farming yield.</td><td><span data-option="m0LrlUlxzZwI">Active management, </span><span data-option="nrwk1dqzAoqN">Play the market</span></td><td><a href="/files/AVrEuv5b8PbiOy38okG5">/files/AVrEuv5b8PbiOy38okG5</a></td><td><a href="https://deltaprime.io/strategies/The-Swing-Trader">https://deltaprime.io/strategies/The-Swing-Trader</a></td></tr></tbody></table>


# Efficient OC

Overcollateralization (OC) is the normal borrowing play: borrow to keep exposure on a held asset, while using the borrowed assets in everyday life (groceries, mortgage, the usual). On first glance, DeltaPrime's walled garden makes it seem impossible to do this. After all, the cost of trustless undercollateralization is the inability to withdraw borrowed funds right?&#x20;

Wrong. Efficient OC not only enables investors to use the exact same amount of fiat IRL-while keeping exposure-as on an overcollateralized protocol. Moreover, they can efficiently use their collateral simultaneously.

The Efficient OC is perfect for investors who want:

* To simply copy their existing strategies
* To liquify an asset, without losing exposure on said asset
* Their collateral liquid and yielding, even while fully functional as collateral

### Example strategy: Wedding Gift

In this strategy, an investor is planning to propose to his wife with a nice $700 wedding ring, yet to be purchased. While he does have the money to buy it right now, he holds it in BTC.b, an asset he expects short-term bullish price-action on. The total value of the BTC.b is $1000. He has three options:&#x20;

1\) Save \~250 a month and propose after three months.\
2\) deposit $1000 BTC.b on Avalanche's main overcollateralized protocol, borrow $700 USDC against it, and get liquidated if BTC.b drops by 6.6% before mooning + save 3 months in order to unlock the BTC.b for DeFi.&#x20;

Or 3)

* [ ] Deposit $300 BTC.b as collateral in Prime Account
* [ ] Sell $700 BTC.b for wedding ring
* [ ] Borrow $700 USDC&#x20;
* [ ] Swap USDC for BTC.b
* [ ] Use $1000 BTC.b for DeFi&#x20;

By using strategy 3, the investor can immediately liquify his assets, while keeping $1000 of BTC.b  exposure. While from his perspective he borrowed undercollateralized, the protocol covers $700 in borrowed funds with $1000 in BTC.b, leaving him with the exact same exposure as in option 2:  If BTC.b doubles in value, after repaying, he has the same capital gains as in option 2. Bonus: where in option 2 the BTC.b is locked as collateral, yielding 0.11%, with DeltaPrime, the investor can use the full $1000 BTC.b in integrated protocols for additional yield, potentially out-earning his interest. Efficient overcollateralization.

### The Health Meter

This way of borrowing does not lead to higher liquidation risk: with option 2, at the time of writing, liquidation happens if BTC.b drops 6.6% in value (max LTV = 75%). On DeltaPrime, liquidation happens if BTC.b drops 16% in value (max LTV USDC -> BTC.b = 500%). Moreover, the amount liquidated in option 2 is 50% whereas, with DeltaPrime, only 25% gets liquidated. This means a softer cushion for the mistaken investor. Leaving him with more collateral should his price expectation turn out to be wrong.&#x20;

### What to check?

* [ ] You have sold the amount you want to keep exposure on
* [ ] You borrowed USDC on DeltaPrime, and swapped it for the desired asset
* [ ] (Optional:) You out-earn your USDC interest rate in a farm or LP&#x20;

### Important note&#x20;

1. The goal of this strategy is to liquify part of your assets without losing exposure. It is very likely the Account APY is not at its optimal level, and possibly even negative (as it would be elsewhere).&#x20;


# Strategies

DeltaPrime allows for a range of new and unique strategies on Avalanche (as well as redefining an old one: [#Efficient OC](/prime-brokerage-account/strategies-1/efficient-oc))

In the following subpages, a couple of popular investing strategies are shared. Every strategy is accompanied by a practical example, getting deeper into the risk and rewards of the specific strategy. Note that the goal of sharing these strategies is not to 1-on-1 get you to copy them. Instead, they aim to spark your creativity, in order to help you find a strategy that best fits your needs.&#x20;

Also note that the examples are with random numbers and assets (unless otherwise stated). Whether a strategy is beneficial to you depends on a great number of things, including, but not limited to: Your desired risk/reward, your bag size, your investment goals, your knowledge about underlying protocols, the effort/time you have available to actively manage your portfolio, etc.&#x20;

Some strategies are easier than others. Yet by far, the simplest strategy is to [provide liquidity](/liquidity-pools/savings) to DeltaPrime's liquidity pools. In doing so, you get other investors to manage your portfolio for you: Single click, no impermanent loss, and your funds are directly protected by liquidation bots. Now isn't that neat?

Not convinced? Want to get everything out of your [Prime Account](/prime-brokerage-account/prime-account) instead? Great. Grab yourself a beer or coffee; find a pen and paper and let's dive in.

Down the rabbit hole we go.&#x20;


# Health Neutral

Health neutral portfolios are optimized for liquidation-prevention. The health meter of these portfolios remain at a constant level, independent of individual price changes, minimizing the chance of liquidation.&#x20;

A health neutral portfolio is perfect for investors who:

* Have a mid-long-term vision of an asset's potential
* Want to minimize the need of managing collateral
* Mainly want to benefit from high yields in specific pools and farms

### Example strategy: sAVAX

In this strategy we are utilizing the sAVAX -> AVAX peg to create a position that minimizes liquidation risk. In order to be health neutral, all assets in a portfolio should consist of the same- or pegged assets. In this case we:

* [ ] Deposit AVAX in your Prime Account
* [ ] Borrow AVAX against that
* [ ] Swap AVAX for sAVAX
* [ ] Stake sAVAX in Yield Yak / Vector farm

By depositing AVAX and swapping it to an AVAX-pegged asset, we make a directional bet of AVAX appreciating in price.

### Expected returns

If you deposit $1000 AVAX collateral, and borrow 4.5x AVAX with a 7% interest rate, farming it as sAVAX with a 15% farming interest rate, your APY =

$$
\text{APY} = {0.15(1000+4500)-0.07(4500)\over1000} \*100 \text{% = 51%}
$$

Since you are exposed to the AVAX price, your APY in dollars decreases if AVAX lowers in dollar-value. Should AVAX lose 99.99% in value immediately after you open your strat (keeping 0.01% of its value), it decreases your farming rewards and your initial by 99.99%, leading to an APY of:

$$
\text{APY} = {0.0001(0.15(1000+4500)-0.07(4500)) - 0.9999\*1000  \over1000} \*100 \text{% = -99.98%}
$$

This while during the whole drop, your health will remain the same. On the other hand, if AVAX appreciates 100% in value, essentially doubling it, the APY increases to:

$$
\text{APY} = {2(0.15(1000+4500)-0.07(4500)) + 1000  \over1000} \*100 \text{% = 202%}
$$

Tripling your initial collateral, while keeping your health the same.

### The Health Meter

The health meter is a representation of your collateralization ratio. In this strategy, the collateralization ratio will not change with price movements. As an example:

You deposit $1000 AVAX and borrow $4500 AVAX, swapping it all into sAVAX. Your collateralization ratio is (1000/4500=) **22%**. If AVAX and sAVAX double in price, your collateral increased to $2000 and the value of borrowed funds increased to $9000. Your collateralization ratio is still (2000/9000=) **22%**.

No matter what any asset does in price, your collateralization ratio will always remain 22%, keeping your health at a stable level. This is what makes this strategy health neutral.

### What to check?

* [ ] All (staked) assets in the Prime Account consist of either the borrowed or the pegged asset
* [ ] Borrowing APY is lower than farming APY
* [ ] There is some health left for short-term price deviations between the borrowed and pegged asset

### Important note

1. The example strategy assumes sAVAX holds its peg to the AVAX price. Read more about sAVAX in [Benqi's documentation](https://docs.benqi.fi/benqi-liquid-staking/savax).
2. Prices of pegged assets may slightly fluctuate based on oracle price data. You might want to leave a health buffer to account for that.
3. While your health does not significantly change, you are exposed 1x to the deposited price. AVAX price going up or down does affect the dollar value you'll be able to take as profit.&#x20;


# Delta Neutral

Delta neutral portfolios are optimized for loss-prevention. A delta neutral portfolio is not affected by price changes of individual assets. Because DeltaPrime is fully cross-margin, you can decide for yourself which asset you want to be delta neutral on. A portfolio that is delta neutral on BTC will always appreciate in BTC value, whereas a portfolio that is delta neutral on USDC will always appreciate in USDC value.

The delta neutral portfolio is perfect for investors who:

* Are in it for the long-term
* Want to profit whether there is a bull- crab- or bear market
* Mainly want to benefit from arbitrage opportunities within DeltaPrime

### Example strategy: AVAX

In this strategy we are arbitraging the AVAX interest rates to remain delta neutral on USDC. In order to be delta neutral, the borrowed assets should not be swapped into a different asset (unless pegged); the asset you are delta neutral on should remain in the same (or pegged) asset as well. That means we:

* [ ] Deposit USDC in our Prime Account
* [ ] Borrow AVAX against that
* [ ] Stake AVAX in Yield Yak / Vector farm

By depositing USDC, borrowing AVAX, and not swapping any assets for unpegged assets, we are free from price exposure: Any price deviation of the borrowed asset is covered one-to-one by the (farmed) assets in the portfolio. Simultaneously, the collateral is generating revenue too, leading to a base return equal to the return on the integrated platform itself.

### Expected returns

If you deposit $1000 USDC as collateral which can be farmed at 5%, and borrow 4x AVAX with a 7% interest rate, farming it with a 10% farming interest rate, your APY =

$$
\text{APY} = {0.05(1000)+(0.10-0.07)\*(4000)\over1000} \*100 \text{% = 17%}
$$

Because you have hedged your position, as long as you prevent liquidation and your farming APY is higher than the interest rate, you will end up with a profit. In this setting, worst-case AVAX drops 100% (or 99.99% for sake of math), leaving you with:

$$
\text{APY} = {0.05(1000)+(0.10-0.07)\*(4000 \* 0.0001)\over1000} \*100 \text{% = 5%}
$$

Which is low, but not negative, meaning that with AVAX depreciating worst case you earn your stable's yield.

Of course, if AVAX appreciates in price, your APY increases. If AVAX immediately appreciates 100%, your APY becomes:

$$
\text{APY} = {0.05(1000)+(0.10-0.07)\*(4000 \* 2)\over1000} \*100 \text{% = 29%}
$$

Since you borrowed AVAX, even though your position becomes more profitable, your health meter will go down. This means you will either have to repay part of your borrowed funds, or add extra collateral to prevent liquidation.&#x20;

### The Health Meter

The health meter is a representation of your collateralization ratio. In this strategy, the collateralization ratio can change with price movements. As you hold the main part of your portfolio in borrowed funds, the ratio changes tend not to be big. An example:

You deposit $1000 USDC and borrow $4000 AVAX. Your collateralization ratio is (1000/4000=) **25%**. If AVAX halves in price, your collateral is still $1000, yet the value of borrowed funds decreased to $2000. Even though, after repaying borrowed assets, you can withdraw the exact same value as before ($1000), your collateralization ratio just went up (1000/2000=) **50%**.

If AVAX increases in price, the opposite happens: your collateralization ratio (and with that your health) drops, even if you don't make a loss on your portfolio.

### What to check?

* [ ] After depositing, you only swap these assets for pegged assets (if at all)
* [ ] After borrowing, you only swap these assets for pegged assets (if at all)
* [ ] Borrowing APY is lower than farming APY
* [ ] There is some health left for short-term pegged price deviations

### Important note

1. While the underlying values don't change, you can still get partially liquidated. If this happens a bonus up to 10% will be paid as a [liquidation bonus](/protocol/security/liquidations#what-are-liquidations) from your Prime Account's collateral.
2. This strategy assumes your farming interest stays higher than the borrowing interest. Because of the relative low risk, you might have to check regularly your Account APR to make sure your portfolio stays profitable. &#x20;


# Balanced

Balanced portfolios tend to take a more directional bet on the market. By actively managing and rebalancing held and borrowed assets, a higher risk is accepted in return for a higher potential reward. In a balanced portfolio there is an active bet on specific market movements, whether through going long, or short on an asset.

The balanced portfolio is perfect for investors who:

* Have strong bullish/bearish sentiment on an asset, and want to capitalize that.
* Want to have the risk of loss / liquidation, in return for higher profit-potential.
* Swing traders, that use DeltaPrime to negate the usual spread with farms.

### Example strategy: Swing trader

In this strategy, a beginner swing trader is bullish on sAVAX, and wants to take a leveraged sAVAX position for \~3 months. Given his inexperience, he estimates his chances of trading profitably at 50%. Where on prior (decentralized) margin accounts he would slowly bleed money on spread and interest, he instead decides to utilize a strategy unique to DeltaPrime, flipping the expected value in his favor.

* [ ] Deposit USDC in Prime Account
* [ ] Borrow USDC against that
* [ ] Swap (part of) USDC for sAVAX
* [ ] Stake sAVAX in Yield Yak / Vector farm

By depositing USDC, and borrowing USDC, the trader sets himself up for a long (s)AVAX strategy. Should he feel more bullish on BTC at one point, he can make a direct swap from sAVAX to BTC to gain exposure on BTC instead. Additionally, he can swap part for sAVAX and part for BTC, to further balance his portfolio. Balancing and rebalancing his portfolio he creates the exact, potentially amplified, exposure that best fits him.

### Expected return

The trader deposits $30,000 USDC as collateral and borrows $90,000 USDC at a 5% interest rate. Swapping $120,000 USDC to $120,000 sAVAX, and farming it in a non-compounding pool for a total APR of 13% for three months, before closing the trade. Because he profits 50% of the times and makes a loss 50% of the times, and we assume those profits and losses are equal, we can negate any capital gains from his strategy as the expected value on that is 0. His RoI is:&#x20;

$$
\text{RoI} = {(3/12)\*(0.13(120.000)-0.05(90.000))\over30.000} \*100 \text{% = 9.25%}
$$

In contrast to usual trading platforms, holding a trade for a longer period of time on DeltaPrime, if well managed, leads to a positive return. In this case, the trader makes an almost 10% return in 3 months, while still enjoying any capital gains made. Usually, the trader would pay 'tuition fees', in the form of losses. On DeltaPrime however, he can actively put his trades to work, learning while growing his portfolio.&#x20;

### The Health Meter

In this strategy you amplify your positions. Your health, as well as your profit/loss can change depending on the price-action of your borrowed and swapped asset. It is therefore important to either check-in regularly or to leave sufficient health to account for price swings in the market.&#x20;

While partial liquidations help mitigate the negative effects, they are still unpleasant and should be avoided in order to prevent needless losses.&#x20;

### What to check?

* [ ] Nothing specific. This strategy is the most intuitive one, and allows you the freedom to fully design your personal portfolio the way you feel best with.

### Important note

1. Because you amplify price changes, it is important to keep an eye on your collateral and health. Of course, you can mitigate this necessity by swapping borrowed assets, into assets with a higher correlation. &#x20;


# Efficient OC

Overcollateralization (OC) is the normal borrowing play: borrow to keep exposure on a held asset, while using the borrowed assets in everyday life (groceries, mortgage, the usual). On first glance, DeltaPrime's walled garden makes it seem impossible to do this. After all, the cost of trustless undercollateralization is the inability to withdraw borrowed funds right?&#x20;

Wrong. Efficient OC not only enables investors to use the exact same amount of fiat IRL-while keeping exposure-as on an overcollateralized protocol. Moreover, they can efficiently use their collateral simultaneously.

The Efficient OC is perfect for investors who want:

* To simply copy their existing strategies
* To liquify an asset, without losing exposure on said asset
* Their collateral liquid and yielding, even while fully functional as collateral

### Example strategy: Wedding Gift

In this strategy, an investor is planning to propose to his wife with a nice $700 wedding ring, yet to be purchased. While he does have the money to buy it right now, he holds it in BTC.b, an asset he expects short-term bullish price-action on. The total value of the BTC.b is $1000. He has three options:&#x20;

1\) Save \~250 a month and propose after three months.\
2\) deposit $1000 BTC.b on Avalanche's main overcollateralized protocol, borrow $700 USDC against it, and get liquidated if BTC.b drops by 6.6% before mooning + save 3 months in order to unlock the BTC.b for DeFi.&#x20;

Or 3)

* [ ] Deposit $300 BTC.b as collateral in Prime Account
* [ ] Sell $700 BTC.b for wedding ring
* [ ] Borrow $700 USDC&#x20;
* [ ] Swap USDC for BTC.b
* [ ] Use $1000 BTC.b for DeFi&#x20;

By using strategy 3, the investor can immediately liquify his assets, while keeping $1000 of BTC.b  exposure. While from his perspective he borrowed undercollateralized, the protocol covers $700 in borrowed funds with $1000 in BTC.b, leaving him with the exact same exposure as in option 2:  If BTC.b doubles in value, after repaying, he has the same capital gains as in option 2. Bonus: where in option 2 the BTC.b is locked as collateral, yielding 0.11%, with DeltaPrime, the investor can use the full $1000 BTC.b in integrated protocols for additional yield, potentially out-earning his interest. Efficient overcollateralization.

### The Health Meter

This way of borrowing does not lead to higher liquidation risk: with option 2, at the time of writing, liquidation happens if BTC.b drops 6.6% in value (max LTV = 75%). On DeltaPrime, liquidation happens if BTC.b drops 16% in value (max LTV USDC -> BTC.b = 500%). Moreover, the amount liquidated in option 2 is 50% whereas, with DeltaPrime, only 25% gets liquidated. This means a softer cushion for the mistaken investor. Leaving him with more collateral should his price expectation turn out to be wrong.&#x20;

### What to check?

* [ ] You have sold the amount you want to keep exposure on
* [ ] You borrowed USDC on DeltaPrime, and swapped it for the desired asset
* [ ] (Optional:) You out-earn your USDC interest rate in a farm or LP&#x20;

### Important note&#x20;

1. The goal of this strategy is to liquify part of your assets without losing exposure. It is very likely the Account APY is not at its optimal level, and possibly even negative (as it would be elsewhere).&#x20;


# Protocols

Below is a list of the integrated protocols in DeltaPrime. DeltaPrime provides decentralized loans which can be used for these integrations. This list includes their main purpose and a link to their platform. When you deposit funds on DeltaPrime, you are indirectly investing in these protocols. While the development team attempts to only integrate high-quality protocols: **Always Do Your Own Research (DYOR) before investing.**&#x20;

## Avalanche

### Current integrations

<table><thead><tr><th width="204.33333333333331">Protocol Name</th><th width="588">Protocol Website</th></tr></thead><tbody><tr><td><strong>Trader Joe</strong></td><td><a href="https://traderjoexyz.com/pool">LP to AMM (spot)</a></td></tr><tr><td><strong>Trader Joe LB</strong></td><td><a href="https://traderjoexyz.com/avalanche/pool">LP to AMM (spot, concentrated)</a></td></tr><tr><td><strong>Yield Yak</strong></td><td><a href="https://yieldyak.com/farms">Yield aggregator</a></td></tr><tr><td><strong>Yield Yak Swap</strong></td><td><a href="https://yieldyak.com/swap">DEX aggregator</a></td></tr><tr><td><strong>Velora (previously Paraswap)</strong></td><td><a href="https://www.paraswap.io/">DEX aggregator</a></td></tr><tr><td><strong>GMX v2</strong></td><td><a href="https://app.gmx.io/#/earn">LP to perpetual DEX (GM, synthetic)</a></td></tr></tbody></table>

### Upcoming Integrations

<table><thead><tr><th width="161">Protocol Name</th><th width="561">Protocol Website</th></tr></thead><tbody><tr><td><strong>GMX v2</strong></td><td>LP to perpetual DEX (GLV, synthetic)</td></tr></tbody></table>

### Indirect integrations

Farming protocols like Yield Yak often optimize Liquidity Providing to other protocols. This means that providing liquidity through them might also expose your capital to other protocols. For sake of transparency, these protocols are listed below.

<table><thead><tr><th width="178">Name</th><th width="547.3333333333333">Website</th></tr></thead><tbody><tr><td><strong>Aave</strong></td><td><a href="https://aave.com/">Overcollateralized Lending</a></td></tr><tr><td><strong>Benqi</strong></td><td><a href="https://staking.benqi.fi/stake">Liquid Staking</a></td></tr><tr><td><strong>Gogopool</strong></td><td><a href="https://app.gogopool.com/">Liquid Staking</a></td></tr></tbody></table>

## Arbitrum

### Current integrations

<table><thead><tr><th width="195">Protocol Name</th><th width="543">Protocol Website</th></tr></thead><tbody><tr><td><strong>GMX v1</strong></td><td><a href="https://app.gmx.io/#/earn">LP to perpetual DEX (GLP, spot, index)</a> </td></tr><tr><td><strong>GMX v2</strong></td><td><a href="https://app.gmx.io/#/earn">LP to perpetual DEX (GM, synthetic)</a></td></tr><tr><td><strong>Trader Joe LB</strong></td><td><a href="https://traderjoexyz.com/avalanche/pool">LP to AMM (spot, concentrated)</a></td></tr><tr><td><strong>Beefy</strong> </td><td><a href="https://app.beefy.finance/">Yield aggregator</a></td></tr><tr><td><strong>Yield Yak</strong></td><td><a href="https://yieldyak.com/farms">Yield aggregator</a></td></tr><tr><td><strong>Yield Yak Swap</strong></td><td><a href="https://yieldyak.com/swap">DEX aggregator</a></td></tr><tr><td><strong>Penpie</strong></td><td><a href="https://www.pendle.magpiexyz.io/stake">ve-booster</a></td></tr></tbody></table>

### Upcoming Integrations

<table><thead><tr><th width="161">Protocol Name</th><th width="561">Protocol Website</th></tr></thead><tbody><tr><td><strong>Uniswap</strong></td><td><a href="https://app.uniswap.org/swap">https://app.uniswap.org/swap</a></td></tr></tbody></table>

### Indirect integrations

<table><thead><tr><th width="178">Name</th><th width="547.3333333333333">Website</th></tr></thead><tbody><tr><td><strong>Wombex</strong></td><td><a href="https://wombex.finance/#/arbitrum/">ve-booster</a></td></tr><tr><td><strong>Wombat</strong></td><td><a href="https://www.wombat.exchange/">AMM</a></td></tr><tr><td><strong>Pendle</strong></td><td><a href="https://app.pendle.finance/earn/fixed-yield">Interest rate swap</a></td></tr></tbody></table>


# Tokens

Below is a list of the integrated tokens in DeltaPrime. DeltaPrime provides decentralized loans which can be swapped for these tokens. This list includes their borrowing power, Snowtrace contract, and a link to their creator's platform. When you deposit funds on DeltaPrime, your deposit might be swapped for these tokens. While the development team attempts to only integrate high-quality tokens: **Always Do Your Own Research (DYOR) before investing.**

**Name:** Name as it is shown in DeltaPrime's UI\
**Contract Name:** The actual token name. Wrapped AVAX, bridged Bitcoin and Ether, etc.\
**Borrowable:** Whether you can lend and borrow this token on DeltaPrime\
**Borrowing Power:** How much you can borrow against this token when deposited in your Prime Account\
**Contract:** Smart contract on Snowtrace, showing all details of the token\
**Creator**: Creator of the token

## Avalanche

<table><thead><tr><th width="106.33333333333331">Name</th><th width="151">Contract Name</th><th width="122">Borrowable</th><th width="113">Borrowing Power</th><th width="104">Contract</th><th>Creator</th></tr></thead><tbody><tr><td><strong>AVAX</strong></td><td>WAVAX</td><td>Yes</td><td>5x</td><td><a href="https://snowtrace.io/token/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7">Link</a></td><td><a href="https://avax.network">Avalanche</a></td></tr><tr><td><strong>USDC</strong></td><td>USDC</td><td>Yes</td><td>5x</td><td><a href="https://snowtrace.io/token/0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e">Link</a></td><td><a href="https://www.centre.io/">Centre</a></td></tr><tr><td><strong>BTC</strong></td><td>BTC.b</td><td>Yes</td><td>5x</td><td><a href="https://snowtrace.io/address/0x152b9d0fdc40c096757f570a51e494bd4b943e50">Link</a></td><td><a href="https://www.avax.network/">Avalanche</a></td></tr><tr><td><strong>ETH</strong></td><td>WETH.e</td><td>Yes</td><td>5x</td><td><a href="https://snowtrace.io/address/0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab">Link</a></td><td><a href="https://www.avax.network/">Avalanche</a></td></tr><tr><td><strong>USDT</strong></td><td>USDt</td><td>Yes</td><td>5x</td><td><a href="https://snowtrace.io/address/0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7">Link</a></td><td><a href="https://tether.to">Tether</a></td></tr><tr><td><strong>GLP</strong></td><td>fsGLP</td><td>No</td><td>5x</td><td><a href="https://snowtrace.io/address/0x9e295B5B976a184B14aD8cd72413aD846C299660">Link</a></td><td><a href="https://gmx.io/">GMX</a></td></tr><tr><td><strong>sAVAX</strong></td><td>sAVAX</td><td>No</td><td>5x</td><td><a href="https://snowtrace.io/address/0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE">Link</a></td><td><a href="https://benqi.fi/">Benqi</a></td></tr><tr><td><strong>GMX</strong></td><td>GMX</td><td>No</td><td>5x</td><td><a href="https://snowtrace.io/address/0x62edc0692BD897D2295872a9FFCac5425011c661">Link</a></td><td><a href="https://gmx.io/">GMX</a></td></tr><tr><td><strong>JOE</strong></td><td>JOE</td><td>No</td><td>4x</td><td><a href="https://snowtrace.io/address/0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd">Link</a></td><td><a href="https://traderjoexyz.com/avalanche">Trader Joe</a></td></tr><tr><td><strong>QI</strong></td><td>QI</td><td>No</td><td>0x</td><td><a href="https://snowtrace.io/address/0x8729438eb15e2c8b576fcc6aecda6a148776c0f5">Link</a></td><td><a href="https://benqi.fi/">Benqi</a></td></tr><tr><td><strong>PNG</strong></td><td>PNG</td><td>No</td><td>0x</td><td><a href="https://snowtrace.io/address/0x60781C2586D68229fde47564546784ab3fACA982">Link</a></td><td><a href="https://www.pangolin.exchange/">Pangolin</a></td></tr><tr><td><strong>PTP</strong></td><td>PTP</td><td>No</td><td>0x</td><td><a href="https://snowtrace.io/address/0x22d4002028f537599bE9f666d1c4Fa138522f9c8">Link</a></td><td><a href="https://platypus.finance/">Platypus</a></td></tr></tbody></table>

## Arbitrum

<table><thead><tr><th width="114.33333333333331">Name</th><th width="151">Contract Name</th><th width="122">Borrowable</th><th width="113">Borrowing Power</th><th width="104">Contract</th><th>Creator</th></tr></thead><tbody><tr><td><strong>ETH</strong></td><td>WETH</td><td>Yes</td><td>5x</td><td><a href="https://arbiscan.io/address/0x82af49447d8a07e3bd95bd0d56f35241523fbab1">Link</a></td><td><a href="https://0x.org/">0xLabs</a></td></tr><tr><td><strong>USDC</strong></td><td>USDC</td><td>Yes</td><td>5x</td><td><a href="https://arbiscan.io/token/0xaf88d065e77c8cc2239327c5edb3a432268e5831">Link</a></td><td><a href="https://www.circle.com/en/">Circle</a></td></tr><tr><td><strong>ARB</strong></td><td>ARB</td><td>Yes</td><td>5x</td><td><a href="https://arbiscan.io/token/0x912CE59144191C1204E64559FE8253a0e49E6548">Link</a></td><td><a href="
https://arbitrum.foundation/">Arbitrum Foundation</a></td></tr><tr><td><strong>BTC</strong></td><td>WBTC</td><td>Yes</td><td>5x</td><td><a href="https://arbiscan.io/token/0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f">Link</a></td><td><a href="https://wbtc.network/">WBTC DAO</a></td></tr><tr><td><strong>USDT</strong></td><td>USDt</td><td>Soon</td><td>5x</td><td><a href="https://arbiscan.io/address/0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9">Link</a></td><td><a href="https://tether.to">Tether</a></td></tr><tr><td><strong>DAI</strong></td><td>DAI</td><td>Soon</td><td>5x</td><td><a href="https://arbiscan.io/address/0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1">Link</a></td><td><a href="https://makerdao.com/en/">Maker DAO</a></td></tr><tr><td><strong>FRAX</strong></td><td>FRAX</td><td>Soon</td><td>5x</td><td><a href="https://arbiscan.io/address/0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F">Link</a></td><td><a href="https://frax.finance/">Frax Finance</a></td></tr><tr><td><strong>LINK</strong></td><td>LINK</td><td>Soon</td><td>5x</td><td><a href="https://arbiscan.io/address/0xf97f4df75117a78c1A5a0DBb814Af92458539FB4">Link</a></td><td><a href="https://chain.link/">Chainlink </a></td></tr><tr><td><strong>USDC.e</strong></td><td>USDC.e</td><td>No</td><td>5x</td><td><a href="https://arbiscan.io/address/0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8">Link</a></td><td><a href="https://arbitrum.foundation/">Arbitrum Foundation</a></td></tr><tr><td><strong>UNI</strong></td><td>UNI</td><td>No</td><td>5x</td><td><a href="https://arbiscan.io/address/0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0">Link</a></td><td><a href="https://uniswap.org/">Uniswap</a></td></tr><tr><td><strong>GMX</strong></td><td>GMX</td><td>No</td><td>5x</td><td><a href="https://arbiscan.io/address/0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a">Link</a></td><td><a href="https://gmx.io/#/">GMX</a></td></tr><tr><td><strong>GLP</strong></td><td>sGLP</td><td>No</td><td>5x</td><td><a href="https://arbiscan.io/address/0x5402B5F40310bDED796c7D0F3FF6683f5C0cFfdf">Link</a></td><td><a href="https://gmx.io/#/">GMX</a></td></tr><tr><td><strong>wstETH</strong></td><td>wstETH</td><td>No</td><td>5x</td><td><a href="https://arbiscan.io/address/0x5979D7b546E38E414F7E9822514be443A4800529">Link</a></td><td><a href="https://lido.fi/">Lido</a></td></tr></tbody></table>


# Contracts

**Avalanche**

All of the contracts are verified in the [snowtrace](https://snowtrace.io/) block explorer.

<table><thead><tr><th width="298">Contract</th><th>Address</th></tr></thead><tbody><tr><td><strong>AssetsExposureController.sol</strong></td><td><a href="https://snowtrace.io/address/0x9f0798AF8eDb4b91301E6716948aE813Db31fb95">0x9f0798AF8eDb4b91301E6716948aE813Db31fb95</a></td></tr><tr><td><strong>AssetsOperationsFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0x5ddeb4AcFC36DC92A581E4154ab97335fbd4d064">0x5ddeb4AcFC36DC92A581E4154ab97335fbd4d064</a></td></tr><tr><td><strong>BtcBorrowIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0x05F08c14c430a1210678d322bf9b5DEb5AfAd5c7">0x05F08c14c430a1210678d322bf9b5DEb5AfAd5c7</a></td></tr><tr><td><strong>BtcBorrowIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x8f0848b329ad310abadd7f85c3c0cfeceb0a78fd">0x8F0848B329Ad310ABadD7f85C3c0cFEcEB0a78FD</a></td></tr><tr><td><strong>BtcDepositIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0x52b74a59cc8e7d099f5b4134c2f37789dd07061c">0x52B74A59Cc8e7D099f5b4134C2F37789DD07061c</a></td></tr><tr><td><strong>BtcDepositIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x637fdb03d95b36bb25b6b44964b4725482546a08">0x637FdB03d95b36Bb25B6b44964b4725482546A08</a></td></tr><tr><td><strong>BtcPool.sol</strong></td><td><a href="https://snowtrace.io/address/0xc15d068997102d0b267324451b2b5e0762e0b599">0xc15D068997102D0b267324451b2B5e0762E0b599</a></td></tr><tr><td><strong>BtcPoolTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x475589b0ed87591a893df42ec6076d2499bb63d0">0x475589b0Ed87591A893Df42EC6076d2499bB63d0</a></td></tr><tr><td><strong>DiamondCutFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0x5efffded487b62ba912a9bde3536abab0c703818">0x5EfFfdeD487B62ba912A9BdE3536ABAb0c703818</a></td></tr><tr><td><strong>DiamondInit.sol</strong></td><td><a href="https://snowtrace.io/address/0x6A47ecD88bb0c7a0eCCB3F22604A93c7Fe086181">0x6A47ecD88bb0c7a0eCCB3F22604A93c7Fe086181</a></td></tr><tr><td><strong>DiamondLoupeFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0xb2c4b9206988E160B55Eb9C9e29b7A9ab6A22CFC">0xb2c4b9206988E160B55Eb9C9e29b7A9ab6A22CFC</a></td></tr><tr><td><strong>EthBorrowIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0x23c69155bd7cc8f63cac203b364edb0e96dd7b93">0x23C69155Bd7CC8F63CAC203b364eDB0E96DD7B93</a></td></tr><tr><td><strong>EthBorrowIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x66b8Ad391b2d37E60B5B9ec7F96686E9Efedb2Cb">0x66b8Ad391b2d37E60B5B9ec7F96686E9Efedb2Cb</a></td></tr><tr><td><strong>EthDepositIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0xA0968752Fc6C830Fd75EE08B4FFbEa496981edF9">0xA0968752Fc6C830Fd75EE08B4FFbEa496981edF9</a></td></tr><tr><td><strong>EthDepositIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x796dbe7adc72158f08b0b79e20caa4293d32132f">0x796Dbe7Adc72158f08B0b79E20cAA4293d32132f</a></td></tr><tr><td><strong>EthPool.sol</strong></td><td><a href="https://snowtrace.io/address/0xfAf20ee5d8e9E72fEfA35e7566972e80118c7795">0xfAf20ee5d8e9E72fEfA35e7566972e80118c7795</a></td></tr><tr><td><strong>EthPoolTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0xD7fEB276ba254cD9b34804A986CE9a8C3E359148">0xD7fEB276ba254cD9b34804A986CE9a8C3E359148</a></td></tr><tr><td><strong>UsdtBorrowIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0xc295BB613C2eeD7954099610e6B30F92A22C6c4A#code">0xc295BB613C2eeD7954099610e6B30F92A22C6c4A</a></td></tr><tr><td><strong>UsdtBorrowIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x646aFd5FFF39962672bBbfAC80106F0f9d8ff9fe">0x646aFd5FFF39962672bBbfAC80106F0f9d8ff9fe</a></td></tr><tr><td><strong>UsdtDepositIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0x02f802E38D22405Fa4E1993858E7Bb5378777118">0x02f802E38D22405Fa4E1993858E7Bb5378777118</a></td></tr><tr><td><strong>UsdtDepositIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x5F6847cAc849d67AcfE2da9CCaff3DF11F9e1E9F">0x5F6847cAc849d67AcfE2da9CCaff3DF11F9e1E9F</a></td></tr><tr><td><strong>UsdtPool.sol</strong></td><td><a href="https://snowtrace.io/address/0xb02c43BFe00d03ecAe72BBB6960b23fC0BE22Cf7">0xb02c43BFe00d03ecAe72BBB6960b23fC0BE22Cf7</a></td></tr><tr><td><strong>UsdtPoolTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0xd222e10D7Fe6B7f9608F14A8B5Cf703c74eFBcA1">0xd222e10D7Fe6B7f9608F14A8B5Cf703c74eFBcA1</a></td></tr><tr><td><strong>LiquidationFlashloan.sol</strong></td><td><a href="https://snowtrace.io/address/0x3a7De0b05A0a7ed9C692E3523cA82Bf6dB345b95">0x3a7De0b05A0a7ed9C692E3523cA82Bf6dB345b95</a></td></tr><tr><td><strong>OwnershipFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0x10CC67F62d7869Ee3d48da50E0945e48aD68a859">0x10CC67F62d7869Ee3d48da50E0945e48aD68a859</a></td></tr><tr><td><strong>PangolinDEXFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0x61FF2aF3ff697D60817f9E5d76d8241Ed174680e">0x61FF2aF3ff697D60817f9E5d76d8241Ed174680e</a></td></tr><tr><td><strong>PangolinIntermediary.sol</strong></td><td><a href="https://snowtrace.io/address/0x493d936E3AeE38A93B4d83512f4A6993F579b81C">0x493d936E3AeE38A93B4d83512f4A6993F579b81C</a></td></tr><tr><td><strong>PangolinIntermediaryTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0xdB5D94B8Ed491B058F3e74D029775A14477cF7fA">0xdB5D94B8Ed491B058F3e74D029775A14477cF7fA</a></td></tr><tr><td><strong>SmartLoanDiamondBeacon.sol</strong></td><td><a href="https://snowtrace.io/address/0x2916B3bf7C35bd21e63D01C93C62FB0d4994e56D">0x2916B3bf7C35bd21e63D01C93C62FB0d4994e56D</a></td></tr><tr><td><strong>SmartLoanLiquidationFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0xBf98E0BDA81263eC6A4C2829E8c5d3CE665Be421">0xBf98E0BDA81263eC6A4C2829E8c5d3CE665Be421</a></td></tr><tr><td><strong>SmartLoansFactory.sol</strong></td><td><a href="https://snowtrace.io/address/0x63D1381EE0E01C509A95E1ffA6786387eFAc18E7">0x63D1381EE0E01C509A95E1ffA6786387eFAc18E7</a></td></tr><tr><td><strong>SmartLoansFactoryTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x3Ea9D480295A73fd2aF95b4D96c2afF88b21B03D">0x3Ea9D480295A73fd2aF95b4D96c2afF88b21B03D</a></td></tr><tr><td><strong>SmartLoanViewFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0x8e2Bd83111e72556942F9161ec8920E92bCEf70a">0x8e2Bd83111e72556942F9161ec8920E92bCEf70a</a></td></tr><tr><td><strong>SmartLoanWrappedNativeTokenFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0x42F6420BeB11bc760761Ba4263ee813dd61Aba7A">0x42F6420BeB11bc760761Ba4263ee813dd61Aba7A</a></td></tr><tr><td><strong>SolvencyFacetProd.sol</strong></td><td><a href="https://snowtrace.io/address/0x05fF7CA3aE0f6B8F110069aD31425e173df7A5Dc">0x05fF7CA3aE0f6B8F110069aD31425e173df7A5Dc</a></td></tr><tr><td><strong>TokenManager.sol</strong></td><td><a href="https://snowtrace.io/address/0x938a0caa7a2Bf44E4be060e83C5579dEC0bC8518">0x938a0caa7a2Bf44E4be060e83C5579dEC0bC8518</a></td></tr><tr><td><strong>TokenManagerTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0xF3978209B7cfF2b90100C6F87CEC77dE928Ed58e">0xF3978209B7cfF2b90100C6F87CEC77dE928Ed58e</a></td></tr><tr><td><strong>TraderJoeDEXFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0x46Fad5174C90367f1e2b1C5b9d18cF7b50dFB60B">0x46Fad5174C90367f1e2b1C5b9d18cF7b50dFB60B</a></td></tr><tr><td><strong>TraderJoeIntermediary.sol</strong></td><td><a href="https://snowtrace.io/address/0x3de81ce90f5a27c5e6a5adb04b54aba488a6d14e">0x3De81CE90f5A27C5E6A5aDb04b54ABA488a6d14E</a></td></tr><tr><td><strong>TraderJoeIntermediaryTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x4eEcb72b47a32786e08581D6226e95d9AE3bB1Af">0x4eEcb72b47a32786e08581D6226e95d9AE3bB1Af</a></td></tr><tr><td><strong>UsdcBorrowIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0xC8E3750D97deA029ec0a790f7c8079d1B59C8711">0xC8E3750D97deA029ec0a790f7c8079d1B59C8711</a></td></tr><tr><td><strong>UsdcBorrowIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x93a0F1d983aE56ab19fE72961842e9e576830E80">0x93a0F1d983aE56ab19fE72961842e9e576830E80</a></td></tr><tr><td><strong>UsdcDepositIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0x58570d85D9103b8793969Cf9536F28db103B971e">0x58570d85D9103b8793969Cf9536F28db103B971e</a></td></tr><tr><td><strong>UsdcDepositIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x58Da820738d3bC3583566ECFc5660B176AC446A6">0x58Da820738d3bC3583566ECFc5660B176AC446A6</a></td></tr><tr><td><strong>UsdcPool.sol</strong></td><td><a href="https://snowtrace.io/address/0x731a272d0701326C971A03Cd2D1EeE718E37729a">0x731a272d0701326C971A03Cd2D1EeE718E37729a</a></td></tr><tr><td><strong>UsdcPoolTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x2323dAC85C6Ab9bd6a8B5Fb75B0581E31232d12b">0x2323dAC85C6Ab9bd6a8B5Fb75B0581E31232d12b</a></td></tr><tr><td><strong>UsdcVariableUtilisationRatesCalculator.sol</strong></td><td><a href="https://snowtrace.io/address/0x4513778CC03f0C2F6c1901E60c9a584Ff9341bC5">0x4513778CC03f0C2F6c1901E60c9a584Ff9341bC5</a></td></tr><tr><td><strong>VectorFinanceFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0xa22eBaCf90FCF5cD5c8d09DAfFb52d34F407Db8e">0xa22eBaCf90FCF5cD5c8d09DAfFb52d34F407Db8e</a></td></tr><tr><td><strong>WavaxBorrowIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0x8cfb12c33f159d12f9ca76dac6f819a7823e9815">0x8cFb12c33F159D12F9Ca76dac6F819a7823e9815</a></td></tr><tr><td><strong>WavaxBorrowIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0x7201e8cB96fF5bDfa69377f2F29a21027FF7dBB1">0x7201e8cB96fF5bDfa69377f2F29a21027FF7dBB1</a></td></tr><tr><td><strong>WavaxDepositIndex.sol</strong></td><td><a href="https://snowtrace.io/address/0xcD5779708841007CbA891EfdF5aa7B01E539420D">0xcD5779708841007CbA891EfdF5aa7B01E539420D</a></td></tr><tr><td><strong>WavaxDepositIndexTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0xaB764b1E960E346a7f5c8CC92D5750D0F0782aD2">0xaB764b1E960E346a7f5c8CC92D5750D0F0782aD2</a></td></tr><tr><td><strong>WavaxPoolTUP.sol</strong></td><td><a href="https://snowtrace.io/address/0xD26E504fc642B96751fD55D3E68AF295806542f5">0xD26E504fc642B96751fD55D3E68AF295806542f5</a></td></tr><tr><td><strong>WavaxVariableUtilisationRatesCalculator.sol</strong></td><td><a href="https://snowtrace.io/address/0x3f13aa421fce99a68c9b9687156a2212d2d4e303">0x3f13aA421FcE99a68c9B9687156A2212D2d4e303</a></td></tr><tr><td><strong>YieldYakFacet.sol</strong></td><td><a href="https://snowtrace.io/address/0xE06E2e12B352F93Ba02fAA23FFcE8CEbF6f89F78">0xE06E2e12B352F93Ba02fAA23FFcE8CEbF6f89F78</a></td></tr></tbody></table>

**Arbitrum**

All of the contracts are verified in the [arbiscan](https://arbiscan.io/) block explorer.

| Contract                               | Address                                                                                                              |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| ArbBorrowIndex                         | [0xb6093532b771c993956287a56027DA6764Aad3C5](https://arbiscan.io/address/0xb6093532b771c993956287a56027DA6764Aad3C5) |
| ArbBorrowIndexTUP                      | [0xA508C3ceDb25aF7fBC3B9C339Fad6380470AFb74](https://arbiscan.io/address/0xA508C3ceDb25aF7fBC3B9C339Fad6380470AFb74) |
| ArbDepositIndex                        | [0x2AF68733C1E2100D6620a2Aa4D88d27C9d3523d7](https://arbiscan.io/address/0x2AF68733C1E2100D6620a2Aa4D88d27C9d3523d7) |
| ArbDepositIndexTUP                     | [0xdEab10Eb04525Ad8eb466d7A3634a4fB27040147](https://arbiscan.io/address/0xdEab10Eb04525Ad8eb466d7A3634a4fB27040147) |
| ArbPoolFactory                         | [0xd1f36C815477fFf312B8f5b25e1B284735819119](https://arbiscan.io/address/0xd1f36C815477fFf312B8f5b25e1B284735819119) |
| ArbPoolTUP                             | [0x2B8C610F3fC6F883817637d15514293565C3d08A](https://arbiscan.io/address/0x2B8C610F3fC6F883817637d15514293565C3d08A) |
| ArbVariableUtilisationRatesCalculator  | [0x5d776f18289C1CaDbb11D77723c3D0605912b34f](https://arbiscan.io/address/0x5d776f18289C1CaDbb11D77723c3D0605912b34f) |
| AssetsExposureController               | [0x565Fd824c52014b8FC48Dd74508c256F4916C00A](https://arbiscan.io/address/0x565Fd824c52014b8FC48Dd74508c256F4916C00A) |
| AssetsOperationsArbitrumFacet          | [0xFEff079984F30474CfFe73e650e79074C239D1EB](https://arbiscan.io/address/0xFEff079984F30474CfFe73e650e79074C239D1EB) |
| BeefyFinanceArbitrumFacet              | [0xA264670A3f118602AcEC40eC18228D50a4B026D6](https://arbiscan.io/address/0xA264670A3f118602AcEC40eC18228D50a4B026D6) |
| BtcBorrowIndex                         | [0xF7844AEb8C2e94684018892AfB25087d2fe262Cd](https://arbiscan.io/address/0xF7844AEb8C2e94684018892AfB25087d2fe262Cd) |
| DaiBorrowIndex                         | [0xF8d1b34651f2c9230beB9b83B2260529769FDeA4](https://arbiscan.io/address/0xF8d1b34651f2c9230beB9b83B2260529769FDeA4) |
| DepositSwapArbitrum                    | [0x0B420F7002375543D04471bf84EaD6fb0F0bCcea](https://arbiscan.io/address/0x0B420F7002375543D04471bf84EaD6fb0F0bCcea) |
| DepositSwapArbitrumTUP                 | [0x889Cfe41a376CFeF8F28E48A848728D5377552b9](https://arbiscan.io/address/0x889Cfe41a376CFeF8F28E48A848728D5377552b9) |
| DiamondCutFacet                        | [0x44ac7Fdf6726777fa23cd39bA26a69593803CC77](https://arbiscan.io/address/0x44ac7Fdf6726777fa23cd39bA26a69593803CC77) |
| DiamondInit                            | [0x3E273bcc448d22b9329a56da3a91ace1B57e7D04](https://arbiscan.io/address/0x3E273bcc448d22b9329a56da3a91ace1B57e7D04) |
| DiamondLoupeFacet                      | [0x69BeC70a49728544Fc402Ebb631Fb5B0b172b23F](https://arbiscan.io/address/0x69BeC70a49728544Fc402Ebb631Fb5B0b172b23F) |
| EthPool                                | [0x58ee09B419fB027315C7CA5390298a7355F4b166](https://arbiscan.io/address/0x58ee09B419fB027315C7CA5390298a7355F4b166) |
| GLPFacetArbi                           | [0xaD7eF2225866C3e274c5D4cb5adEF77e6A5295d1](https://arbiscan.io/address/0xaD7eF2225866C3e274c5D4cb5adEF77e6A5295d1) |
| HealthMeterFacetProd                   | [0x16238eaE4155FE1ecA0614Cfc23F218771AaC8F9](https://arbiscan.io/address/0x16238eaE4155FE1ecA0614Cfc23F218771AaC8F9) |
| LevelFinanceFacet                      | [0x17fa27FD76c0c5d97d18b3e78885e0b32c92F66c](https://arbiscan.io/address/0x17fa27FD76c0c5d97d18b3e78885e0b32c92F66c) |
| LiquidationFlashloanArbitrum           | [0x5A8053F32C0cc29E6C6703e1C80b85750f52a788](https://arbiscan.io/address/0x5A8053F32C0cc29E6C6703e1C80b85750f52a788) |
| OwnershipFacet                         | [0x8F1374641d3Cd7896c29E905346a9630260770B2](https://arbiscan.io/address/0x8F1374641d3Cd7896c29E905346a9630260770B2) |
| ParaSwapFacet                          | [0x3B963b73561adEC65b51E730A8bCB153Bc066AC3](https://arbiscan.io/address/0x3B963b73561adEC65b51E730A8bCB153Bc066AC3) |
| SmartLoanDiamondBeacon                 | [0x62Cf82FB0484aF382714cD09296260edc1DC0c6c](https://arbiscan.io/address/0x62Cf82FB0484aF382714cD09296260edc1DC0c6c) |
| SmartLoanLiquidationFacet              | [0x686E838a3733a2400E94dc41338e55dec52893a0](https://arbiscan.io/address/0x686E838a3733a2400E94dc41338e55dec52893a0) |
| SmartLoanViewFacet                     | [0xD9EB3D537517040B339e6bea8dfA8EDe7f364512](https://arbiscan.io/address/0xD9EB3D537517040B339e6bea8dfA8EDe7f364512) |
| SmartLoanWrappedNativeTokenFacet       | [0x388f7Ca764a8EF001f3Ae4d2d9e0ACF57A492d54](https://arbiscan.io/address/0x388f7Ca764a8EF001f3Ae4d2d9e0ACF57A492d54) |
| SmartLoansFactory                      | [0x8b5c0352dd98BE579285DA94e51Ea9DC749eb22D](https://arbiscan.io/address/0x8b5c0352dd98BE579285DA94e51Ea9DC749eb22D) |
| SmartLoansFactoryTUP                   | [0xFf5e3dDaefF411a1dC6CcE00014e4Bca39265c20](https://arbiscan.io/address/0xFf5e3dDaefF411a1dC6CcE00014e4Bca39265c20) |
| SolvencyFacetProd                      | [0xE4f74717fba81709439493Daf6DaD9a355d9Dbc8](https://arbiscan.io/address/0xE4f74717fba81709439493Daf6DaD9a355d9Dbc8) |
| SolvencyFacetProdArbitrum              | [0xf102C7eBB6B3FbCf69Ca180FB910D917fB427681](https://arbiscan.io/address/0xf102C7eBB6B3FbCf69Ca180FB910D917fB427681) |
| SushiSwapDEXFacet                      | [0x9523615C15d3743Cb3198B4464048B064f1530B2](https://arbiscan.io/address/0x9523615C15d3743Cb3198B4464048B064f1530B2) |
| SushiSwapIntermediary                  | [0xbAdC83c88D486FB919E5E4360F96954c1b4a52E1](https://arbiscan.io/address/0xbAdC83c88D486FB919E5E4360F96954c1b4a52E1) |
| SushiSwapIntermediaryTUP               | [0xfd5665022359586Af38836b88E52E4690a3a7B79](https://arbiscan.io/address/0xfd5665022359586Af38836b88E52E4690a3a7B79) |
| TokenManager                           | [0x8463b7D47cF404c59A7318719fd8625433a823de](https://arbiscan.io/address/0x8463b7D47cF404c59A7318719fd8625433a823de) |
| TokenManagerTUP                        | [0x0a0D954d4b0F0b47a5990C0abd179A90fF74E255](https://arbiscan.io/address/0x0a0D954d4b0F0b47a5990C0abd179A90fF74E255) |
| TraderJoeV2ArbitrumFacet               | [0xB4554D255682c78043e5E41CB7D0CC070065751c](https://arbiscan.io/address/0xB4554D255682c78043e5E41CB7D0CC070065751c) |
| UsdcBorrowIndex                        | [0x526a9c538bB4d07Ca07d6e785A3790b9740bAB35](https://arbiscan.io/address/0x526a9c538bB4d07Ca07d6e785A3790b9740bAB35) |
| UsdcBorrowIndexTUP                     | [0xB13c4760CF2E9CD219Ec86EbE3660e520fDB8799](https://arbiscan.io/address/0xB13c4760CF2E9CD219Ec86EbE3660e520fDB8799) |
| UsdcDepositIndex                       | [0xA22a30894333Cc5B66240c722Ca55F8C7691d77f](https://arbiscan.io/address/0xA22a30894333Cc5B66240c722Ca55F8C7691d77f) |
| UsdcDepositIndexTUP                    | [0x56F67141ba2197854D447128A8Aad9B517b8fD43](https://arbiscan.io/address/0x56F67141ba2197854D447128A8Aad9B517b8fD43) |
| UsdcPool                               | [0x2A1384b1bcaD3a8ECf0D4E4b2a3F92250f7f1D51](https://arbiscan.io/address/0x2A1384b1bcaD3a8ECf0D4E4b2a3F92250f7f1D51) |
| UsdcPoolFactory                        | [0xA5984CAefafc5eA215147Ab100268b37191a5b48](https://arbiscan.io/address/0xA5984CAefafc5eA215147Ab100268b37191a5b48) |
| UsdcPoolTUP                            | [0x8FE3842e0B7472a57f2A2D56cF6bCe08517A1De0](https://arbiscan.io/address/0x8FE3842e0B7472a57f2A2D56cF6bCe08517A1De0) |
| UsdcVariableUtilisationRatesCalculator | [0x38c8a29Fe32C6d95E6622944A953aaa29A526133](https://arbiscan.io/address/0x38c8a29Fe32C6d95E6622944A953aaa29A526133) |
| WethBorrowIndex                        | [0xb83264fF25F271b7ac8e422DBB4Ce433723282AF](https://arbiscan.io/address/0xb83264fF25F271b7ac8e422DBB4Ce433723282AF) |
| WethBorrowIndexTUP                     | [0x9d0Ac60fDF8BF94EaFF4489ACCFff4c8F5CD51C1](https://arbiscan.io/address/0x9d0Ac60fDF8BF94EaFF4489ACCFff4c8F5CD51C1) |
| WethDepositIndex                       | [0xC4644cBCf08122A9B23853C9d57589c0339c4AE3](https://arbiscan.io/address/0xC4644cBCf08122A9B23853C9d57589c0339c4AE3) |
| WethDepositIndexTUP                    | [0x5C671Dae4C78f8beBa83aE67cee0f00B783E497C](https://arbiscan.io/address/0x5C671Dae4C78f8beBa83aE67cee0f00B783E497C) |
| WethPool                               | [0x483ea73F891525a62bEe36de6A2f25C425A331Bb](https://arbiscan.io/address/0x483ea73F891525a62bEe36de6A2f25C425A331Bb) |
| WethPoolFactory                        | [0x00c0B37923eE924AFE61806Bd4Dc0345dC1Cb9FF](https://arbiscan.io/address/0x00c0B37923eE924AFE61806Bd4Dc0345dC1Cb9FF) |
| WethPoolTUP                            | [0x0BeBEB5679115f143772CfD97359BBcc393d46b3](https://arbiscan.io/address/0x0BeBEB5679115f143772CfD97359BBcc393d46b3) |
| WethVariableUtilisationRatesCalculator | [0x0D184ADF34065598311233A1d37765f76fbC5a72](https://arbiscan.io/address/0x0D184ADF34065598311233A1d37765f76fbC5a72) |
| YieldYakFacetArbi                      | [0xE714274dfdC4A2ac7c89c83EE5f2eb77dFD783A6](https://arbiscan.io/address/0xE714274dfdC4A2ac7c89c83EE5f2eb77dFD783A6) |
| YieldYakSwapArbitrumFacet              | [0x39c575A79506147379DA7545814eBcF5f3FBD44d](https://arbiscan.io/address/0x39c575A79506147379DA7545814eBcF5f3FBD44d) |


# How to run your own liquidation bot

{% hint style="info" %}
DeltaPrime's liquidation bots are currently on a whitelist basis. If you want to run your own liquidation bot, please reach out to us in our Discord.
{% endhint %}

[Liquidation ](/protocol/security/liquidations)is an action of forcibly repaying part of the debt in order to bring loan back to a solvent state. It is only possible to perform this action for accounts that are insolvent (`HealthRatio<1`).

## HealthRatio

`HealthRatio` used in smart contracts differs from the one displayed in the UI.\
Health meter presented in the UI stays inbetween 0 and 100%; 0% meaning that the account is insolvent. \
&#x20;\
`HealthRatio` used by smart contracts is defined as `ThresholdWeightedValue` / `Debt`.\
Those two values can be obtained by calling the `SolvencyFacetProd.sol:getThresholdWeightedValue()` and \
`SolvencyFacetProd.sol`:`getDebt()` respectively.

```solidity
function getThresholdWeightedValue() public view returns (uint256) {
function getDebt() public view returns (uint256)
```

## Get SmartLoan address

In order to perform liquidations one first needs to obtain `SmartLoan(s)` address(es) which can be achieved by interacting with the `SmartLoansFactoryTUP` (`TransparentUpgradeableProxy`) contract that is deployed on the Avalanche mainnet under the address `0x3Ea9D480295A73fd2aF95b4D96c2afF88b21B03D`.

\
The `SmartLoansFactory.sol` contract exposes a public `getAllLoans()` method that returns an array containing all `SmartLoan`s addresses. \
It is also possible to obtain a `SmartLoan` contract address for a specific user (wallet) by calling the following method `SmartLoansFactory.sol:getLoanForOwner()`.

```solidity
function getAllLoans() public view returns (address[] memory)
function getLoanForOwner(address _owner) external view returns (address)
```

## Get SmartLoan full status

\
With the use of a `SmartLoan` address one can call that contract's `SolvencyFacetProd`.sol:`getFullLoanStatus()` method that returns an array consisting of the following  values `[totalValue, debt, thresholdWeightedValue, healthRatio, isSolvent].`&#x20;

```solidity
function getFullLoanStatus() public view returns (uint256[5] memory)
```

To execute a liquidation of a chosen loan one has to execute the `SmartLoanLiquidationFacet.sol:liquidateLoan()` method.&#x20;

```solidity
function liquidateLoan(bytes32[] memory assetsToRepay, uint256[] memory amountsToRepay, uint256 _liquidationBonusPercent)
```

The `assetsToRepay` parameter specifies which assets are going to be repaid back to the lending pools. \
The `amountsToRepay` parameter defines in what amounts should the selected `assetsToRepay` be repaid. \
The `_liquidationBonusPercent` parameter defines the liquidation bonus % value.\
It's value must stay inbetween `0` and `_MAX_LIQUIDATION_BONUS`. \
`_MAX_LIQUIDATION_BONUS` can be can be obtained by calling the `SmartLoanLiquidationFacet.sol:getMaxLiquidationBonus()` method.

```solidity
function getMaxLiquidationBonus() public pure returns (uint256)
```

\
The above values should be calculated in a way that results in a loan  which \
`HealthRatio ∈ <1;_MAX_HEALTH_AFTER_LIQUIDATION>`.

`_MAX_HEALTH_AFTER_LIQUIDATION` can be obtained by calling the `SmartLoanLiquidationFacet.sol:getMaxHealthAfterLiquidation()`method.

```solidity
function getMaxHealthAfterLiquidation() public pure returns (uint256)
```

## Unstake positions

By default no swaps or unstaking takes place during a liqudiation. The liquidator specifies the repay amounts, supplies tokens if needed and at the end the liquidator receives tokens from the account being liquidated equal in the USD value to the USD value of the tokens supplied (+ the bonus fee).\
However, in some cases the staked positions are non-transferrable (e.g. VectorFinance). For this reason it is possible to unstake one's staked positions despite not being an owner of that given loan. This is only possible in a scenario where the loan is already insolvent and serves the purpose of preparing the loan to be further liquidated.\
\
You can obtain loan's staked positions using the following method `SmartLoanViewFacet.sol:getStakedPositions()`. \
Use the `balanceSelector` & `unstakeSelector` methods selectors to check the balance of a staked position and to execute the relevant `unstake()` method respectively.

```solidity
function getStakedPositions() external view returns (IStakingPositions.StakedPosition[] memory _positions)

struct StakedPosition {
        address asset;
        bytes32 symbol;
        bytes32 identifier;
        bytes4 balanceSelector;
        bytes4 unstakeSelector;
    }
```

## Example liquidation bot implementation

{% hint style="info" %}
An example `javascript` implementation of a liquidation bot can be found [here](https://github.com/DeltaPrimeLabs/deltaprime-primeloans/blob/deltaprime-beta-code-freeze-final-reverted-empty/tools/liquidation/monitor-and-liquidate-flashloan.js).

This implementation uses a flashloan to borrow tokens needed to repay the loan prior to the liquidation but it is also possible to write a liquidation bot that uses solely the liquidator's funds.
{% endhint %}


# Community Content

Got some amazing DeltaPrime content, made by your own hand? Awesome! [Let us know](https://discord.gg/9bwsnsHEzD)!&#x20;

#### **Vedran Mijatović - Moj Kripto**

{% embed url="<https://mojkripto.com/deltaprime-undercollateralized-loans/?lang=en>" %}
What is DeltaPrime?
{% endembed %}

#### Lucas Baker - Jump Crypto

{% embed url="<https://jumpcrypto.com/paradigms-for-on-chain-credit/>" %}
How does DeltaPrime differ from projects like Goldfinch or AAVE?
{% endembed %}

**Margim**

{% embed url="<https://medium.com/@margimlvlv/unlock-the-blockchain-681307f8e12b>" %}
Liquidations during the Alpha version
{% endembed %}

#### **BETA VERSION**

**Harry.Avax**

{% embed url="<https://twitter.com/harry_avax/status/1619049311140184064?s=20>" %}
A clear and elaborate example on one way to make money with DeltaPrime
{% endembed %}

#### **ALPHA VERSION**

**Crypto Cam**

{% embed url="<https://twitter.com/CryptoCam22/status/1574963690117681152>" %}
Video on DeltaPrime's alpha version
{% endembed %}

**Caesar - Heroes of NFT**

{% embed url="<https://twitter.com/CaesarJulius0/status/1577757232418226176?s=19&t=vNDBDX-OMXMRMJS6l-kQ8w>" %}
Introductory thread on DeltaPrime
{% endembed %}

**Dammy Dee**

{% embed url="<https://twitter.com/Its_Dammydee/status/1580601569141063683?s=20&t=UFAWoICJlv844BOjUmPtRQ>" %}
Story of Chris <> DeltaPrime: ELI7
{% endembed %}

**Valency**

{% embed url="<https://twitter.com/king_valency/status/1587041432614969344?s=19&t=A85ehqMN5K12awlTcCaD0A>" %}
Introductory story / thread + videos on how to get in Alpha
{% endembed %}

**Intechlligence**

{% embed url="<https://twitter.com/intechlligence/status/1581205301478313984?s=20&t=j1Kl11Dv9-4OiRxIBtRYKw>" %}
Introductory  thread on DeltaPrime
{% endembed %}

{% embed url="<https://twitter.com/OFlourish/status/1584215214912049153?s=19&t=C1AK8WtcOh1SYJOloCwoRw>" %}
DeltaPrime one-pager
{% endembed %}

**KCee**

{% embed url="<https://twitter.com/Val_kcee/status/1583463977673445376?s=19&t=YLLNHQugcN1edN7xnR_UTw>" %}
Introductory story on DeltaPrime
{% endembed %}

**CryptoBoy**

{% embed url="<https://youtu.be/I7bEawm0DuI>" %}
Video on how to get from not having a wallet to creating your Prime Account
{% endembed %}


# Socials

### Discord

{% embed url="<https://discord.com/invite/9bwsnsHEzD>" %}

### Medium

{% embed url="<https://medium.com/@Delta_Prime>" %}

### Twitter

{% embed url="<https://twitter.com/DeltaPrimeDefi>" %}


# Brand Assets

{% embed url="<https://drive.google.com/drive/folders/1iYpGBpQ5KqQaBe4KIpWSOEkFZTIhiP_s?usp=sharing>" %}


