You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -477,19 +477,19 @@ sequenceDiagram
477
477
478
478
* 📣 This function allows users to assert that an event will have a true/false outcome
479
479
480
-
* 💸 It should require a minimum reward amount (`MINIMUM_REWARD`) that is sent. if it is not enough then revert with `NotEnoughValue`
480
+
* 💸 It should require a minimum reward `msg.value` (`MINIMUM_REWARD`) to be included with the transaction. If it is not enough, revert with `NotEnoughValue`
481
481
482
482
* ⏱️ It should accept 0 for `startTime` and set it to `block.timestamp`
483
483
484
484
* ⏳ It should accept 0 for `endTime` and default to `startTime + MINIMUM_ASSERTION_WINDOW`
485
485
486
-
* 🕰️ It should check if the given `startTime` is less than the current time (`block.timestamp`) and revert with `InvalidTime` if it is earlier
486
+
* 🕰️ It should check that the given `startTime` is less than the current time (`block.timestamp`) and revert with `InvalidTime` if it is not
487
487
488
-
* 🧭 It should validate the time window given >= `MINIMUM_ASSERTION_WINDOW`, otherwise revert with `InvalidTime`
488
+
* 🧭 It should validate the time window given is >= `MINIMUM_ASSERTION_WINDOW`, otherwise revert with `InvalidTime`
489
489
490
490
* 🏗️ It should create a new `EventAssertion` struct with relevant properties set - see if you can figure it out
491
491
492
-
* 🗂️ That struct should be stored in the `assertions` mapping. You can use `nextAssertionId` but don't forget to increment it
492
+
* 🗂️ That struct should be stored in the `assertions` mapping. You can use `nextAssertionId` but don't forget to increment it!
0 commit comments