6 Commits

Author SHA1 Message Date
Eric Mastro
a51491a6cb
Add SetMap tests 2022-11-22 16:49:08 +11:00
Eric Mastro
7e937a1e02
rename AddressSetMap to Bytes32AddressSetMap 2022-11-21 16:19:50 +11:00
Eric Mastro
5974ec00a7
add Bytes32AddressSetMap for active requests by host
Add `Bytes32AddressSetMap` which maps addresses to a requestId. This is used in `Marketplace.activeRequestsForHost`, where all addresses for a particular requestId are listed. This can then be used to iterate and list out the actives requests for a particular address in a view function only. This allows for all addresses for a request to be cleared in situations such as when a request fails or is cancelled.
2022-11-18 18:46:03 +11:00
Eric Mastro
3ec0412f72
Add SetMap type for mapping all requests 2022-11-17 23:11:23 +11:00
Eric Mastro
ea0164ee0e
add ability to get all requests 2022-11-17 17:39:17 +11:00
Eric Mastro
0890081d11
switch to a lib, and generalise the api 2022-11-17 16:25:45 +11:00