Yield tokens or YTs are fungible ERC-20/ERC-1155 tokens that allow speculators to profit from the rise in the yield rate of variable-rate yield protocols (such as Compound, Aave, and Yearn) or hedge part of their borrowing costs of a loan (e.g. Dai borrower on Compound would purchase cDAI YTs on 88mph).
YTs can be purchased by users when a fixed yield rate deposit is made on 88mph, and each YT is tied to a deposit. YTs give holders the right to earn all the future variable-rate yields generated by the corresponding deposit + the purchase cost of the YTs.
YTs are more than an instrument for speculating on yields. When someone buys YTs, the insolvency risk of the fixed yield rate depositors is decreased, via decreasing the amount of promised fixed-rate yield that is not backed by real assets.
Given a deposit with term length , deposit amount , and fixed yield rate , the yield tokens of this deposit are offered at a cost of which is the fixed yield amount offered to the user. This equality is expected, since the point of selling yield tokens is to generate enough funds to pay out the promised fixed yield.
The buyer of the yield tokens would be earning the floating rate yield generated by the deposit amount for the term length , so the price for the yield generated by is (whose unit is ). This price remains fixed even as time passes, though the actual implementation is more capital efficient as it deducts the floating rate yield generated so far from the cost of the yield tokens.
This means that whenever a user makes a deposit, 88mph is essentially creating a sell order for the tokenized yield at a fixed price, which is equal to the fixed yield rate offered by the oracle. Suppose that there exists a market price for future yield . If , then the sell order will be completely filled, ensuring 88mph’s ability to give the user the promised fixed yield upon maturity date. If , then the sell order will not be filled at all, meaning 88mph will be offering a kind of “naked” fixed yield on this deposit, which can only be realized by increased floating rate yield offered by the underlying yield protocol. From this, we can see that it’s better for 88mph to err on the side of security and offer a lower fixed yield rate than the expected market price for future yield, which is what 88mph currently does.
The yield payment to yield token holders is automatically triggered whenever part or all of the corresponding deposit is withdrawn, and it is also possible to manually trigger it by calling the contract function
When the underlying deposit of a set of yield tokens is withdrawn before maturity, the token holders will receive a refund, the amount of which is the minimum of an estimated lost yield calculated using the average floating yield rate and the fixed-rate yield offered on the withdrawn funds. If the deposit is withdrawn completely, the yield token holders will no longer receive interest payments, and a new yield token contract will be created when the user tops up the deposit in the future. The possibility of early withdrawal makes the return on yield tokens less certain, making it more difficult to price them.
As 88mph has multiple YTs tied to a single pool, ERC-1155 standard allows the protocol to easily map to a single 1155 contract with multiple token IDs each representing a YT.
YTs are also an ERC-20 because when a YT is minted for the first time, 88mph deploys a wrapper contract allowing users to interact with the YT through the ERC-20 interface, which makes it easy to trade it on DEXes, etc; since no major DEX supports trading 1155 tokens.