ligo/test/contracts/if.tz

5 lines
112 B
Plaintext
Raw Normal View History

2017-07-24 17:06:56 +04:00
parameter bool;
storage unit;
return bool;
code {CAR; IF {PUSH bool True} {PUSH bool False}; UNIT; SWAP; PAIR};