Skip to content

Commit b8fc7a6

Browse files
swellanderescottalexander
authored andcommitted
more minor text changes
1 parent fba0df1 commit b8fc7a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,19 +477,19 @@ sequenceDiagram
477477

478478
* 📣 This function allows users to assert that an event will have a true/false outcome
479479

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`
481481

482482
* ⏱️ It should accept 0 for `startTime` and set it to `block.timestamp`
483483

484484
* ⏳ It should accept 0 for `endTime` and default to `startTime + MINIMUM_ASSERTION_WINDOW`
485485

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
487487

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`
489489

490490
* 🏗️ It should create a new `EventAssertion` struct with relevant properties set - see if you can figure it out
491491

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!
493493

494494
* 📣 It should emit the `EventAsserted` event
495495

0 commit comments

Comments
 (0)