63 Commits (cb38e617b3146520b000e71ec3e6e7aa2a0fb16c)

Author SHA1 Message Date
Daniel Karzel 95d8910013
Monitor oracle attestation after completed setup 3 years ago
Lucas Soriano del Pino 09c331f547
Replace CFD actor Address with MessageChannel in oracle::Actor 3 years ago
Lucas Soriano del Pino 16e1f95ec0
Replace CFD actor Address with MessageChannel in monitor::Actor 3 years ago
Daniel Karzel 7665f4cdfc
Collaborative close payout 3 years ago
Mariusz Klochowicz 801b05cf5b
Borrow CfdState when updating state in the database 3 years ago
Mariusz Klochowicz 4ffb9bff91
Propose settlement based on the payout curve and current BitMex price 3 years ago
Mariusz Klochowicz 5964ec53cf
Monitor for close finality 3 years ago
Thomas Eizinger 67a39aa5bd
Re-introduce library 3 years ago
Thomas Eizinger b546c45d7f
Only process CFDs where we have a DLC 3 years ago
Thomas Eizinger fbcb629a8e
Properly model event IDs 3 years ago
Thomas Eizinger 9c0d320dc1
Rename `OracleEventId` 3 years ago
Daniel Karzel bf596dfdad
Make payout and attestation price available in `model::Attestation` 3 years ago
Lucas Soriano del Pino 11e2771c45
Rename MonitorEvent to MonitorAttestation 3 years ago
Lucas Soriano del Pino 5b9a9db6df
Only fetch announcements when needed 3 years ago
Mariusz Klochowicz e050bdc043
Sign and broadcast collaborative settlement 3 years ago
Daniel Karzel d6aed063fc
Missing CFD feed updates 3 years ago
Daniel Karzel cea476c606
More resilient loop error handling 3 years ago
Daniel Karzel 9666b63cb7
Optional state transition and early exit 3 years ago
Daniel Karzel d86fd3493b
Display `CetStatus` as part of `NotReady` error 3 years ago
Daniel Karzel ad7a024c02
Separate `Attestation` struct in model 3 years ago
Daniel Karzel 971b9f9368
Replace `Announcements` with requesting specific `Announcement` 3 years ago
Philipp Hoenisch 9de0376daa
Bug fix: Remove pending roll over requests 3 years ago
Philipp Hoenisch 9b755b9a59
PR feedback and fmt 3 years ago
Lucas Soriano del Pino 5cd723441d
Implement rollover protocol in daemons 3 years ago
Mariusz Klochowicz eb33172e9f
Handle collab settlement response from the maker 3 years ago
Daniel Karzel 159240cc9f
Wire in automatic CET publication 3 years ago
Daniel Karzel 2f9a969aba
Use `OracleEventId` instead of `String` for `Attestation` id 3 years ago
Philipp Hoenisch b012aa7a37
Rollover order boilerplate 3 years ago
Mariusz Klochowicz 36c04140f6
Optimise data structure used for settlement proposals 3 years ago
Daniel Karzel 8a2f2b83cc
`BTreeMap` for announcements in cfd actors 3 years ago
Daniel Karzel 61d62e7263
Taker uses latest announcements from oracle to start contract setup 3 years ago
Mariusz Klochowicz 30a549c8bb
Allow accepting/rejecting settlement proposals in the maker daemon 3 years ago
Daniel Karzel eef1b7348b
Transition cfd to new state when handling an event 3 years ago
Daniel Karzel 13814813a9
Refresh feed after state transition after monitor event 3 years ago
Daniel Karzel fed9a8bde6
Fix commit transaction publication 3 years ago
Thomas Eizinger 1560d86698
Move re-broadcasting functionality from actor ctor to housekeeping 3 years ago
Thomas Eizinger f028ca662d
Don't take announcements from oracle for now 3 years ago
Daniel Karzel 550bdcdd22
Integrate settlement endpoint into actions 3 years ago
Daniel Karzel 9c02592836
Pass order_id instead of msg to handle func 3 years ago
Daniel Karzel 592e81c897
Re-trigger sending commit in case we start up in `PendingCommit` 3 years ago
Daniel Karzel 42b4701bc7
Non-collaborative close by publishing commit tx 3 years ago
Thomas Eizinger ee785354f3
Directly initialize feed with list of current CFDs 3 years ago
Mariusz cf08326c64
Add a taker endpoint for initiating collaborative settlement (#175) 3 years ago
Lucas Soriano del Pino 23d7c6110f
Watch relevant olivia announcements and attestations 3 years ago
Thomas Eizinger 00883af0a9
Don't panic on unexpected messages 3 years ago
Mariusz Klochowicz bfbaee08ac
Use current price in profit margin calculations 3 years ago
Mariusz Klochowicz 3badba7067
Revert "Use current price in profit margin calculations" 3 years ago
Daniel Karzel c3f8b4b35b
Handle existing Cfds upon daemon startup 3 years ago
Mariusz Klochowicz 4b8237c9d6
Use current price in profit margin calculations 3 years ago
Thomas Eizinger 904d81d51f
Refactor setup_contract to be just an async function 3 years ago