Eric Mastro
6df5a7cf54
[chore] clean up `array[32, byte]` types
...
- rename `ContractId` to `SlotId`
- add `RequestId`, `PurchaseId`, `Nonce` types as aliases of `array[32, byte]`
- rename `Proving.contracts` to `Proving.slots`
- change signatures of `isSlotCancelled` and `isCancelled` to use `SlotId` and `RequestId` types, respectively.
- change all references to `RequestId`, `SlotId`, and `PurchaseId`
2022-08-26 13:29:09 +10:00
Mark Spanbroek
b4b6fdb7c6
[contracts] subscribe to SlotFilled event
2022-08-08 14:00:55 +02:00
Mark Spanbroek
04e0c54e95
[market] Remove old getHost() overload
...
Is superseded by the new overload that includes
a slot id parameter.
2022-08-08 14:00:55 +02:00
Mark Spanbroek
156cd5ba73
[market] Replace fulfillRequest() by fillSlot()
2022-08-08 14:00:55 +02:00
Mark Spanbroek
360c03e7c4
[contracts] Rename: maxPrice -> reward
2022-08-08 14:00:55 +02:00
Mark Spanbroek
96ca1de768
Cleanup: remove StorageOffer everywhere
2022-07-20 13:43:20 +02:00
Mark Spanbroek
0636c94b74
[market] Add market.getSigner()
2022-07-20 13:43:20 +02:00
Mark Spanbroek
03b92a2067
[market] Add market.getHost()
2022-07-20 13:43:20 +02:00
Mark Spanbroek
b414ecd67e
[market] Add market.getRequest()
2022-07-20 13:43:20 +02:00
Mark Spanbroek
b7ab9481d9
[market] Update to latest dagger-contracts
2022-07-20 13:43:20 +02:00
Michael Bradley
209343087c
Change every dagger to codex ( #102 )
2022-05-19 13:56:03 -06:00
Mark Spanbroek
09a7aa3eed
[clock] Replace Market.waitUntil() with Clock.waitUntil()
2022-05-19 10:38:19 +02:00
Mark Spanbroek
7f9fa0a183
[tests] move ethertest module up one level
...
It's going to be used by both contract and integration tests.
2022-05-19 10:38:19 +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
71f25d40c7
[market] offerStorage() returns submitted offer
2022-04-04 11:29:32 +02:00
Mark Spanbroek
94e34e7d28
[market] requestStorage() returns submitted request
2022-04-04 11:29:32 +02:00
Mark Spanbroek
291c506e0b
[market] Fix timing of test for slow CI
2022-04-04 11:29:32 +02:00
Mark Spanbroek
dd89a55351
[market] Add Market.getTime()
2022-04-04 11:29:32 +02:00
Mark Spanbroek
75ec8c0bfd
[market] wait until request/offer expires
2022-04-04 10:03:46 +02:00
Mark Spanbroek
8ff748eff8
[market] select a storage offer
2022-04-04 10:03:46 +02:00
Mark Spanbroek
5ea64522d8
[market] subscribe to offers for a certain request
2022-04-04 10:03:46 +02:00
Mark Spanbroek
9f76e714a2
[market] submit storage offers
2022-04-04 10:03:46 +02:00
Mark Spanbroek
e52153e2ba
[market] Require a storage contract with a signer
2022-04-04 10:03:46 +02:00
Mark Spanbroek
e78a0fb43e
[contracts] Wrap contracts in Market abstraction
2022-04-04 10:03:46 +02:00