Equations
Staking
Swaps between OHM and sOHM during staking and unstaking are always honored 1:1. The amount of OHM deposited into the staking contract will always result in the same amount of sOHM. And the amount of sOHM withdrawn from the staking contract will always result in the same amount of OHM.
The treasury deposits OHM into the distributor. The distributor then deposits OHM into the staking contract, creating an imbalance between OHM and sOHM. sOHM is rebased to correct this imbalance between OHM deposited and sOHM outstanding. The rebase brings sOHM outstanding back up to parity so that 1 sOHM equals 1 staked OHM.
Bonding
OHM has an intrinsic value of 1 DAI, which is roughly equivalent to $1. In order to make a profit from bonding, Olympus charges a premium for each bond.
The premium is derived from the debt ratio of the system and a scaling variable called BCV. BCV allows us to control the rate at which bond prices increase.
The premium determines profit due to the protocol and in turn, stakers. This is because new OHM is minted from the profit and subsequently distributed among all stakers.
The debt ratio is the total of all OHM promised to bonders divided by the total supply of OHM. This allows us to measure the debt of the system.
Bond payout determines the number of OHM sold to a bonder. For reserve bonds, the market value of the assets supplied by the bonder is used to determine the bond payout. For example, if a user supplies 1000 DAI and the bond price is 250 DAI, the user will be entitled 4 OHM.
For liquidity bonds, the market value of the LP tokens supplied by the bonder is used to determine the bond payout. For example, if a user supplies 0.001 OHM-DAI LP token which is valued at 1000 DAI at the time of bonding, and the bond price is 250 DAI, the user will be entitled 4 OHM.
OHM Supply
OHM supply does not have a hard cap. Its supply increases when:
OHM is minted and distributed to the stakers.
OHM is minted for the bonder. This happens whenever someone purchases a bond.
OHM is minted for the DAO. This happens whenever someone purchases a bond. The DAO gets the same number of OHM as the bonder.
OHM is minted for the team, investors, advisors, or the DAO. This happens whenever
the aforementioned party exercises their pOHM.
At the end of each epoch, the treasury mints OHM at a set reward rate. These OHM will be distributed to all the stakers in the protocol. You can track the latest reward rate on the Olympus Policy dashboard.
Whenever someone purchases a bond, a set number of OHM is minted. These OHM will not be released to the bonder all at once - they are vested to the bonder linearly over time. The bond payout uses a different formula for different types of bonds. Check the bonding section above to see how it is calculated.
The DAO receives the same amount of OHM as the bonder. This represents the DAO profit.
The individual would supply 1 pOHM along with 1 DAI to mint 1 OHM. The pOHM is subsequently burned. Read this Medium article for more information on pOHM.
Backing per OHM
Every OHM in circulation is backed by the Olympus treasury. The assets in the treasury can be divided into two categories: stablecoin and non-stablecoin.
The stablecoin balance in the treasury grows when bonds are sold. RFV is calculated differently for different bond types.
For reserve bonds such as DAI bond and FRAX bond, the RFV simply equals to the amount of the underlying asset supplied by the bonder.
For LP bonds such as OHM-DAI bond and OHM-FRAX bond, the RFV is calculated differently because the protocol needs to mark down its value. Why? The LP token pair consists of OHM, and each OHM in circulation will be backed by these LP tokens - there is a cyclical dependency. To safely guarantee all circulating OHM are backed, the protocol marks down the value of these LP tokens, hence the name risk-free value (RFV).