docs: Use consistent event definitions between examples #787

Merged
davidyuk merged 1 commits from github/fork/davidyuk/patch-3 into lima 2021-06-24 16:30:09 +09:00
Showing only changes of commit 4630f8a09b - Show all commits

View File

@ -686,8 +686,8 @@ will emit one Event of each kind in the example.
``` ```
entrypoint emit_events() : () = entrypoint emit_events() : () =
Chain.event(TheFirstEvent(42)) Chain.event(Event1(42, 34, "foo"))
Chain.event(AnotherEvent(Contract.address, "This is not indexed")) Chain.event(Event2("This is not indexed", Contract.address))
``` ```
#### Argument order #### Argument order