Mark Spanbroek
|
3a8ce485e4
|
[sales] Use Clock instead of getTime()
|
2022-05-19 10:38:19 +02:00 |
Mark Spanbroek
|
8d19476a4c
|
[sales] Ensure that Sales is completely stopped
|
2022-05-19 10:38:19 +02:00 |
Mark Spanbroek
|
d564cc2375
|
[sales] Use UInt256 for size and duration
Use the same data types for availability and requests
for simplicity.
|
2022-05-19 09:36:47 +02:00 |
Mark Spanbroek
|
fae05fce86
|
[contracts] Do not crash when contract interaction fails
Log error instead.
|
2022-04-21 14:04:07 +02:00 |
markspanbroek
|
1a3003e043
|
Update to latest dagger-contracts (#78)
- StorageRequest struct has changed
- StorageRequested event has changed,
it no longer returns the entire request,
but only the id and the ask
|
2022-04-11 12:03:55 -06:00 |
Mark Spanbroek
|
befebcf325
|
[sales] Make storage available again when offer expires
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
55e326b467
|
[sales] Introduce Negotiation object
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
e46c9816fa
|
[sales] Make storage available again when offer declined
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
5d434f20d3
|
[sales] onSale() callback is optional
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
3810889fcb
|
[sales] Do not call onSale() when someone else's offer is selected
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
71f25d40c7
|
[market] offerStorage() returns submitted offer
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
2ffde32772
|
[sales] call onSale() when offer has been selected
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
71baedb5ec
|
[sales] Set offer expiry timestamp
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
76be728f61
|
[sales] Availability.new -> Availability.init
|
2022-04-04 11:29:32 +02:00 |
Mark Spanbroek
|
061b32296a
|
Introduce Sales
|
2022-04-04 11:29:32 +02:00 |