This repository was archived by the owner on Aug 31, 2023. It is now read-only.
Replies: 1 comment 3 replies
-
|
Maybe it's not that a hard problem: One approach could be to treat the position as closed at expiry. The oracle attested to the price, meaning, we would know which CET becomes valid and how much money each party would get. If the taker is online, we can collaboratively remove the CETs and settle into the channel, however, if the taker is not online, the maker will need to force close the channel after some time to get his money. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wasn't sure where to post it so I thought I'd create a discussion here.
In the mocks we have decided to have fixed length CFDs, i.e. a CFD always has an expiry.
This is not easily achievable: the CFD position is on layer 2 and cannot automatically be closed into the channel. Closing the CFD position would mean we close the channel which is a bad experience.
What's the best way to deal with this?
Beta Was this translation helpful? Give feedback.
All reactions