codex-contracts-eth/contracts
Eric Mastro 1fff2f7295 [marketplace] add isFinished
Add function `isFinished` that checks whethere the state has been set to `RequestState.Finished` (which is not being set yet) or if the contract was started (`RequestState.Started`) and the contract duration has lapsed.

To facilitate `isFinished`, the contract start time (`startedAt`) was added to calculate the contract end time.
2022-10-25 12:38:19 +11:00
..
AccountLocks.sol [marketplace] tests for Failed state 2022-10-25 12:38:19 +11:00
Collateral.sol [marketplace] Add tests for freeing a slot 2022-10-25 12:38:19 +11:00
Marketplace.sol [marketplace] add isFinished 2022-10-25 12:38:19 +11:00
Proofs.sol [marketplace] add isFinished 2022-10-25 12:38:19 +11:00
Storage.sol [marketplace] Add tests for freeing a slot 2022-10-25 12:38:19 +11:00
TestAccountLocks.sol [marketplace] extend lock expiry 2022-09-20 15:59:03 +10:00
TestCollateral.sol [marketplace] tests for Failed state 2022-10-25 12:38:19 +11:00
TestMarketplace.sol update fillSlot and freeSlot state requirements 2022-09-21 20:52:44 +10:00
TestProofs.sol [marketplace] Add tests for freeing a slot 2022-09-21 20:52:44 +10:00
TestStorage.sol [marketplace] Add tests for freeing a slot 2022-10-25 12:38:19 +11:00
TestToken.sol Lint with solhint 2022-02-10 07:46:03 +01:00