codex-contracts-eth/contracts
Eric Mastro cde5436262
get request from slot id (#34)
* get request from slot id

- Add public function to get request from slot id.
- Add chai test assertion that compares requests. Usage: `expect(await marketplace.getRequestFromSlotId(slotId(slot))).to.be.request(request)`

This is used when restoring active sales, and a node calls `mySlots`, then iterates the slots and needs originating request details.

* merge upstream changes
2023-01-24 15:59:56 +11:00
..
Collateral.sol [style] enforce `_` prefix for private names 2023-01-23 15:10:23 +01:00
Configuration.sol [marketplace] introduce MarketplaceConfiguration struct 2023-01-23 15:10:23 +01:00
Marketplace.sol get request from slot id (#34) 2023-01-24 15:59:56 +11:00
Periods.sol [style] enforce `_` prefix for private names 2023-01-23 15:10:23 +01:00
Proofs.sol [style] enforce `_` prefix for private names 2023-01-23 15:10:23 +01:00
Requests.sol [marketplace] test & fix slotState() 2023-01-23 15:10:23 +01:00
StateRetrieval.sol [style] enforce `_` prefix for private names 2023-01-23 15:10:23 +01:00
TestCollateral.sol [style] Use _ for private and internal functions 2023-01-23 15:10:23 +01:00
TestMarketplace.sol [marketplace] test & fix slotState() 2023-01-23 15:10:23 +01:00
TestProofs.sol [style] enforce `_` prefix for private names 2023-01-23 15:10:23 +01:00
TestToken.sol Lint with solhint 2022-02-10 07:46:03 +01:00