ligo/test/contracts/tez_add_sub.tz

7 lines
173 B
Plaintext
Raw Normal View History

2017-07-24 17:06:56 +04:00
parameter (pair tez tez);
storage unit;
return (pair tez tez);
code {CADR; DUP; DUP; CAR; DIP{CDR}; ADD;
DIP{DUP; CAR; DIP{CDR}; SUB};
PAIR; UNIT; SWAP; PAIR};