Equations
It's not as tough as it looks, give it a try and understand how we operate.
Last updated
It's not as tough as it looks, give it a try and understand how we operate.
Last updated
Swaps between LUX and LUM during deposits and withdrawals are always honored 1:1. The amount of LUX deposited will always result in the same amount of LUM. The amount of LUM withdrawn from the staking contract will always result in the same amount of LUX.
The treasury deposits LUX into the distributor. The distributor then deposits LUX into the staking contract, creating an imbalance between LUX and LUM.
LUM is rebased to correct this imbalance between LUX deposited (d) and LUM outstanding (o). The rebase brings LUM outstanding back up to parity so that 1 LUM equals 1 staked LUX.
Circulating Supply is equal to total LUX minted, minus the total balance of Luxor stored as collateral for SOR (s), our stable coin.
Minting enables users to purchase bonds. This bond price is the mint price.
LUX has an intrinsic value of 1 USD (not to be confused by backing as defined below), which is roughly equivalent to $1. In order to make a profit from minting, Luxor charges a premium for each minting action.
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 LUX is minted from the profit and subsequently distributed among all stakers.
The debt ratio is the total of all LUX promised to bonders divided by the total supply of LUX. This allows us to measure the debt of the system.
Bond payout determines the number of LUX sold to a minter.
For reserve mints, the market value of the assets supplied by the minter is used to determine the bond payout.
For example, if a user supplies 1000 DAI and the mint price is 250 DAI, the user will be entitled 4 LUX.
For liquidity mints, the market value of the LP tokens supplied by the minter is used to determine the bond payout. For example, if a user supplies 0.001 LUX-FTM 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 LUX.
LUX supply does not have a hard cap. Its supply increases when:
LUX is minted and distributed to LUM holders (those staking LUX).
LUX is minted for the bonder. This happens whenever a bond is purchased.
LUX is minted for the DAO.
This happens whenever someone purchases a bond with a tax fee.
At the end of each epoch, the treasury mints LUX at a set reward rate. These LUX will be distributed to those staking in the protocol.
Whenever someone purchases a bond, a set number of LUX is minted.
These LUX will not be released to the minter 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 Minting section above to see how it is calculated.
The DAO receives the same amount of LUX as the minter. This represents the DAO profit.
Treasury assets may be divided into two categories: reserves and liquidity.
Unlike other reserve currencies, Luxor DAO guarantees a defendable price floor, which is determined by the equation above, where the floor equals the value of the protocol's reserves divided by the circulating (c) supply.
The intuition here is for each dollar value in our reserves, we are able to cover the circulating supply at a floating price floor.
Reserves are stated in the Dashboard and equal to the following:
Where b is the balance held in the Treasury and p is the asset price.