Registry Contract
The Registry contract creates the interactions between the DOA and the buyer. two interested parties (the buyer and the seller).
It provides the following functionality:
Communicates with Vesting Contract - The Registry Contract has special permissions to update Vesting Positions.
Offers tokens to the market - Holders of Vesting positions use the registry to offer their tokens at the specified discount. When those tokens are purchased, the original holder receives their share of the liquidity.
Allows purchasers to buy locked ILV - A purchaser decides the length of their lock-up, which determines their discount, and the number of tokens they wish to purchase, limited by the number of tokens on offer.
Allows Shard NFT holders to stake - Before the newly created Shard NFTs can receive Revenue Distributions and Yield Rewards, they must stake in the Rewards contract. An auto-stake option exists to make this seamless.
Withdraws tokens from the market - Holders of Vesting positions that have previously offered their tokens can withdraw them from the market, allowing holders the control to only offer when they wish.
Redeems NFTs for ILV - Once the locking period expires on an NFT, the holder redeems it for ILV.
Views total ILV offered - Self-explanatory.
We should clarify that at no point does a purchaser interact with a single holder of a Vesting position. Instead, the prospective buyer only interacts with the aggregate of all Vesting positions that have offered their tokens. Vesting position holders don’t determine the price or the lock-up. Set discounts exist for each lock-up period, fully defined and controlled by the Council, and Vesting Position holders choose to make their tokens available, or not.