Yogen always anyone to create "future swaps": swap that are scheduled to happen in the future, at a specific date. The idea behind this concept is to be able to speculate on the change of value between a pair of tokens.
For example, let's take the COMP / AAVE pair with a current price of 1 COMP = 1 AAVE. Alice thinks the value of AAVE is going to increase a lot in the future, so she creates a future swap proposal from 100 COMP to 100 AAVE with a delivery date on the 2021/07/31. On the other side, Bob is more bullish on COMP and is looking to dump his AAVE tokens, so he decides to accept this proposal.
On the 2021/07/31, two scenarios are possible:
Additionally, every time a user is going to take a position on a future swap, they will be receiving an NFT token representing their side of the swap (initiator or counterparty). This feature allows a bunch of additional scenarios, such as:
The hardest part for me during this virtual hackathon was to work on all the stack at the same time by myself (contracts, front-end, etc...).
On top of that, the integration of many different techs was complicated: new project such as Textile, or multi-chain supports using Arbitrum, etc...
I tried to overcome these issues by focusing on the most important parts of the project and go straight to the point on the available features.
Discussion