Detailed mechanics
Overview
At the outset a pool is created by a single address with a specific NFT collection and LTV (loan to value - w.r.t to the floor price of the said collection).
Liquidity = Assets
The pool’s total-liquidity is split in two: the available-liquidity (cash, ready to use) and the loaned-liquidity (liquidity currently being loaned to debtors).
Tokens = Liabilities
The total amount of pool-tokens are split amongst the LPs (liquidity providers).
The tokens give to their owner property over the pool’s liquidity as well as voting abilities in matters of pool-management, both in prorata to the total token amount.
Tokens
Tokens are emitted/burned during deposit/withdraw of liquidity.
Liquidity deposit
When a new LP wants to enter the pool, or if a former one wants to increase its contribution, he brings in a certain amount of liquidity and is rewarded with an amount of pool-tokens computed in pro-rata to the pool’s total-liquidity and total pool-tokens :
Please take note that the newly minted tokens are distributed with respect to the total-liquidity (= loaned-liquidity + available-liquidity), making a newcomer fully take part in the current loans, thereby exposing him to the associated risk and potential rewards.
A certain minimum amount of liquidity is required in order to enter the pool.
Liquidity withdrawal
When a LP desires to partially or totally leave the pool, he forfeits a share of his LP tokens (which are burned in the process) and withdraws the corresponding amount of available-liquidity :
This operation can only be performed at the end of the vesting period, which will be detailed in the next part.
Interest rates
Rate referendum
Each LP sets the rate at which he wishes the loans were issued. The pool’s rate (the real rate at which the loans are issued) is then computed as the weighted mean of all LPs’ preferences on the basis of each one’s token share:
This system is akin to a community vote, whereby the pool’s rate reflects the preferences of all LPs proportionally to their contribution.
Rate update
Direct
Each LP can update its rate preference once per day. To avoid re-computing the previous sum (and consequently the unnecessary gas fees) during such an update, the following equivalent formula is used:
Indirect
When the amount of tokens possessed by a LP is changed (either upon withdraw/deposit of liquidity) his voting power is diminished/increased accordingly as the pool rate is updated as follows:
New LP arrival
Upon entry of a new member to the pool with a token amount , both the rate and the total number of tokens need to be updated simultaneously; leading to the following formula:
Vesting
Upon entry to the pool, in order to encourage lower rates and discourage manipulations, a vesting mechanism is established: the LP can retrieve its liquidity from the pool only after a certain period directly proportional to the rate he has set-up.
Where is expressed in days, the in %, and is a constant (homogeneous to a duration). Both and must be strictly positive.
And when an LP sets a new rate preference, a new vesting time is recomputed, however it cannot be lesser than the remaining vesting duration he is currently in:
Loans
The pool emits loans using its available-liquidity.
✅If a loan is successful both the capital and interest flows are collected by the pool. Thereby transforming the lended-liquidity back to the available-liquidity, with a net-gain coming from the interest-rate.
🚫And if it isn’t, the collateral (NFT) is put into a Dutch auction sale, then the retrieved cash amount is transferred back to the pool.
It is easy to see that the amount of total liquidity over the total amount of tokens represents the overall pool’s performance, and can be used to gauge its P&L.
Last updated