codex-contracts-eth/test
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.test.js [marketplace] address various PR comments 2022-09-20 15:59:03 +10:00
Collateral.test.js [marketplace] tests for Failed state 2022-10-25 12:38:19 +11:00
Marketplace.test.js [marketplace] add isFinished 2022-10-25 12:38:19 +11:00
Proofs.test.js [marketplace] Add tests for freeing a slot 2022-10-25 12:38:19 +11:00
Storage.test.js [marketplace] add isFinished 2022-10-25 12:38:19 +11:00
evm.js [proofs] Test that pointer increases by one every block 2022-04-05 11:36:31 +02:00
examples.js [marketplace] update contract state to failed 2022-09-21 20:52:44 +10:00
ids.js [marketplace] update contract state to failed 2022-09-21 20:52:44 +10:00
marketplace.js update fillSlot and freeSlot state requirements 2022-09-21 20:52:44 +10:00
price.js [marketplace] Reward is paid out per second per slot 2022-08-08 11:51:14 +02:00
time.js Move periodOf(), periodStart(), periodEnd() into time module 2022-03-15 10:01:12 +01:00