dagger-contracts/contracts
Eric Mastro 716b864f02 [marketplace] update state getter
Update `Marketplace.state` getter to to take `isCancelled` into account. This state can then be used internally and externally.

Add checks to `proofEnd`, `isProofRequired`, `willProofBeRequired`, and `getChallenge` that understands if the request is in a state to accept proofs. If not, return other values.

Add `slotMustAcceptProofs` modifier, originally introduced in a later PR, which requires the request to be in state of the request accepting proofs.

Add tests for all the above.
2022-09-20 15:59:03 +10:00
..
AccountLocks.sol [marketplace] extend lock expiry 2022-09-20 15:59:03 +10:00
Collateral.sol Rename invariants to avoid name clashes 2022-03-15 10:01:12 +01:00
Marketplace.sol [marketplace] update state getter 2022-09-20 15:59:03 +10:00
Proofs.sol [proofs] Submitting proof emits event containing proof 2022-04-12 09:04:29 +02:00
Storage.sol [marketplace] update state getter 2022-09-20 15:59:03 +10:00
TestAccountLocks.sol [marketplace] extend lock expiry 2022-09-20 15:59:03 +10:00
TestCollateral.sol Prevent withdrawal of locked collateral 2022-03-01 09:38:53 +01:00
TestMarketplace.sol [marketplace] update state getter 2022-09-20 15:59:03 +10:00
TestProofs.sol [proofs] Submitting proof emits event containing proof 2022-04-12 09:04:29 +02:00
TestToken.sol Lint with solhint 2022-02-10 07:46:03 +01:00