Sequential
By default, Aqua code is executed line by line, sequentially.
Contract
Data from the first line is available on the second line
A second line will be executed only if the first line succeeded
If any line failed, then the whole block is failed
If all lines succeeded, then the whole block is succeeded
A block of code is any number of lines on the same indentation level or deeper.
Sequential operations
call arrow
Any runnable piece of code in Aqua is an arrow from its domain to the codomain.
on
on
denotes the peer where the code must be executed. on
is handled sequentially, and the code inside is executed line by line by default.
Last updated
Was this helpful?