Open norswap opened 2 years ago
Some thinking through the "prediction market" use case.
price($YES) + price($NO) == 1$
. At the end, you can cash out the winning's side token for 1$ while the other side's is worth 0.
$YES + $NO > 1$
and you can buy a bundle and make an instant profit. On the other hand if $YES decreases, then you can buy $YES + $NO from the pools for less than 1$ and make a profit by holding until settlement. This is a really cool approach, now that I think of it, but it has very little overlap with the CFD protocol 😅 Another cool use case: gas price futures. Essentially just a pool that tracks the Ethereum (or Optimism) gas price. If you're a protocol that has to regularly make transactions, you can buy these tokens when the gas price is cheap to "lock in" the cheap gas price. On the flip side, network validators could enter the short side, to "lock in" today's high gas price.
The concern here is that sometimes it's very very obvious the price is low, and other times it's very very obvious the price is high. Unlike token price, gas price is not supposed to reflect some kind of fair value price. It can be obviously clear to everyone that demand is high right now for a particular reason, so gas price is high, but that it will come down soon.
The solution would be to encode a premium into the price. The problem is obviously how this premium can be determined. We could up with a formula that compares the pool sizes (excluding protocol position) in order to determine the premium. So when e.g. the pools are unbalanced 10:1, the premium would be extremely high to reflect that the expected price is much higher.
The Alkimya protocol intends to do something like this, although they call it "block space derivatives".
Been thinking about the use cases for the protocol a bit more.
In the current form, here's what I see the use cases are:
This is not bad, but I think we can have more use cases:
X > Y
. The trick is that this borrowing is done atomically when depositing into a pool, and the X balance is credited to a new "virtual account" (e.g. the address is the hash of the user's address). The only way to access the virtual account is to withdraw from the pool (and "repay" the loan) or for the loan to be liquidated. These loans can be permissionlessly liquidated if they get below a minimum health threshold, and liquidation will be incentivized.I'll update this when I have more ideas. One I'm thinking through at the moment is prediction markets!