391 Commits (c75abf8297d8665b3590a9131a75f9f90fb1c4a0)

Author SHA1 Message Date
Daniel Karzel 7355c339a6
Remove todo in favour of warning for awareness 3 years ago
Daniel Karzel 0d9cf7df85
Always cleanup order upon rejection 3 years ago
Lucas Soriano del Pino 1342db80b1
Use MessageChannel in post_cfd_action HTTP handler 3 years ago
Lucas Soriano del Pino f393e42113
Introduce maker_cfd::CfdAction enum 3 years ago
Thomas Eizinger 237f4c25bf
Revert "Db refactor" 3 years ago
Lucas Soriano del Pino 3d9601e665
Use MessageChannel in post_sell_order HTTP handler 3 years ago
Mariusz Klochowicz 3730cfae36
Reduce code duplication in cfd actors 3 years ago
Philipp Hoenisch e1206d38f0
Provide margin of counterparty 3 years ago
Lucas Soriano del Pino 370d40f0c2
Use MessageChannels in maker_inc_connections::Actor 3 years ago
Philipp Hoenisch 6b116bfdbd
Log details if order was rejected 3 years ago
Philipp Hoenisch 2cc2822075
Set default log level for whole crate 3 years ago
Mariusz Klochowicz 6779486f76
Create wrapper functions to avoid the need for manually refreshing feed 3 years ago
Mariusz Klochowicz dc0abb92d3
Remove stale TODO 3 years ago
Philipp Hoenisch 535e238d52
Add hard boundaries to take order request 3 years ago
Daniel Karzel dce6eb3c3d
Remove Todo because we already have a ticket 3 years ago
Daniel Karzel a44f05b381
Lock in profit on collaborative close price 3 years ago
Mariusz Klochowicz 43a1a74185
Make PendingClose a UI-only state of a CFD 3 years ago
Mariusz Klochowicz 7f63b7689e
Display link to collaborative settlement transaction in the Cfd details 3 years ago
DelicioiusHair 5cf88a2b01 DB code rebasing for #88 3 years ago
Thomas Eizinger f043928250
Introduce a `fan_out::Actor` instead of iterating in the `oracle::Actor` 3 years ago
Daniel Karzel 9c6511a141
Re-order the contract setup for resilient error handling 3 years ago
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
Lucas Soriano del Pino 641819bfb3
Edit payout_curve::calculate docstring 3 years ago
Thomas Eizinger b546c45d7f
Only process CFDs where we have a DLC 3 years ago
Mariusz Klochowicz 0b74c478b1
Print unpublished transaction hex for debugging purposes 3 years ago
Thomas Eizinger 3a45c328ea
Remove unwrap from main and improve error messages 3 years ago
Thomas Eizinger b8aa0a6486
Remove dbg! in test 3 years ago
Thomas Eizinger a416283094
Only fetch attestation that are likely to have occured 3 years ago
Thomas Eizinger 013d9f2ef0
Introduce drop-in replacement for tokio::spawn that logs errors 3 years ago
Thomas Eizinger fbcb629a8e
Properly model event IDs 3 years ago
Thomas Eizinger f37b0a8d7c
Drop `async` and `Result` from fn signature 3 years ago
Thomas Eizinger e919b7a0a0
Prefer `.parse` over `FromStr` to avoid an import 3 years ago
Thomas Eizinger f38cac0ce5
Refer to types within `fmt` module via module qualifier 3 years ago
Thomas Eizinger 9c0d320dc1
Rename `OracleEventId` 3 years ago
Daniel Karzel 5beb401e79
Transaction ids and payout in the UI 3 years ago
Daniel Karzel a385342db1
Add txid to `model::Attesttion` so we can easily access it 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
Lucas Soriano del Pino 70107f4d81
Implement From<model::cfd::Cet> for monitor::Cet 3 years ago
Lucas Soriano del Pino 380740e312
Monitor CETs based on a script pubkey in the transaction 3 years ago
Lucas Soriano del Pino 6a9144f7a1
Make monitor::Cet private 3 years ago
DelicioiusHair 15229d31cf
Add ultra-fancy payout curve module 3 years ago