---
description: >-
  Overview of how SMART Alpha works and what users can expect in different
  scenarios
---

# Beginner's Guide to SMART Alpha

**SMART Alpha** allows users to calibrate their exposure to the performance of an underlying asset. It does so by redistributing the performance of an aggregated pool of the underlying asset between two groups of users: a senior side, and a junior side. Whereas the senior side of the pool receives dampened exposure to both upside and downside movements, the junior side takes on levered exposure. Put another way, junior depositors are buying asset price risk off of senior depositors, guaranteeing them price protection up to a certain threshold, in exchange for greater upside potential.&#x20;

The outcome is a two-sided marketplace for asset price risk, generalizable to any ERC-20 token.

## How to Enter or Exit a SMART Alpha Pool

SMART Alpha implements an epoch-based approach in which users can only enter and exit pools **once a week at Monday, 9:30 AM EST / EDT**. In between epochs, users will be able to signal their intent to enter, exit, or switch sides within the pool for their given ERC-20 token. The composition of these pools, namely, the ratio of deposits in the senior side versus those in the junior side, are what determine how much downside protection the former, and for the latter, leverage, receives.

Depositors on both sides of a given pool receive an ERC-20 token as proof of liquidity. For example, if you were to deposit Ether into its senior SMART Alpha pool, you would receive a bb\_senETH token in return. Like any ERC-20, these tokens would then be further usable within other trading, lending, or derivative applications. These ERC-20 tokens are perpetual, meaning that new epochs do not bring new tokens.&#x20;

{% hint style="info" %}
Both entering and exiting SMART Alpha pools requires the user to deposit either the underlying or derivative asset, respectively, prior to the advancement of the next epoch. This could be done six days and 23 hours in advance, or a minute in advance.
{% endhint %}

## How Junior and Senior Outcomes are Calculated

The current implementation of SMART Alpha calculates senior rates as a function of junior-side pool dominance. Senior rate is defined as the maximum amount of downside price movement the underlying asset can experience in a week before senior depositors suffer dollar-denominated losses. Junior dominance is defined as the share of a given ERC-20 token’s pool that is comprised of junior depositors.

**There are two things to note under the current model:**

* **The senior rate is calculated as 80% of junior pool dominance**
* **The senior rate is capped at 35% downside protection for any given epoch**

Consider the following illustrative examples:

### **At 50% Junior Dominance**

![At +10% price action, the senior side forgoes 82.37% of its relative upside.](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwDcvjnSJA583d2gQS%2Fimage.png?alt=media\&token=360a10d9-e8f3-4ffd-b5bf-acf48351d292)

![At -10% price action, the senior side is compensated for nominal loss until the 35% threshold is met](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwG6f6mGGpVd36O1_2%2Fimage.png?alt=media\&token=c10c09b4-6c23-41d1-a969-f4da5e92a95d)

![At -50% price action, the senior side begins to take losses after the 35% thresholdd](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwHpqcjdoXhfxy1IUz%2Fimage.png?alt=media\&token=1272b6fe-1a3b-4dc9-ab60-b67f5a3644f6)

### At 10% Junior Dominance

![At +10% price action, junior levered upside converges on 9.39x the underlying.](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwUglgHCJ6iRel7LiO%2Fimage.png?alt=media\&token=20478460-0fe9-48f0-8847-60a024b2145f)

![At -5% price action, junior levered downside converges on 10x the underlying. ](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwUy9I8-c1WTtKp-y8%2Fimage.png?alt=media\&token=f58c2e64-8d7b-423c-83da-48f284b2f898)

![At -10% price action, the senior side is exposed to more nominal downside. ](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwV9r--_04EBLo650d%2Fimage.png?alt=media\&token=2f6913cc-9bf8-4322-af9a-bac5f291b8d7)

### At 90% Junior Dominance

![At +10% price action, senior upside exposure converges on 55%.](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwVj6asP33E1i2tw9n%2Fimage.png?alt=media\&token=6c4cacb7-c116-4ce9-a457-19dcff37d7d3)

![At -10% price action, the junior downside converges on 1x.](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwW-79_SCuiuOLlFAN%2Fimage.png?alt=media\&token=318032a5-e192-452e-bd52-a93d384784c2)

![At -50% price action, senior downside protection remains capped at 35%.](https://742178816-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIu3rMElIO-jG68zdaV%2F-Miw3O6vxof2cJ5ucCWM%2F-MiwWB2_k6bQFvSOgdYr%2Fimage.png?alt=media\&token=e12f63fa-d90b-44eb-830b-ccdc12673ecc)

## SMART Alpha System Parameters

Once the smart contracts for SMART Alpha are deployed on a given blockchain network, there are only a handful of parameters that can be altered, the power with which to do so having been handed over to the BarnBridge DAO. These parameters are:

* Status of the Guardian Contract&#x20;
* Owner of the Guardian Contract
* Fee Structure
* Underlying Asset Price Oracle
* Accounting Model
* Senior Rate Model

Note that the Guardian Contract only holds the borrow to stop and resume deposits into SMART Alpha; it cannot exercise any control over deposited assets.&#x20;

{% hint style="info" %}
SMART Alpha only charges a fee on the winning side of a given epoch.
{% endhint %}
