Revision 422227a6e82fd6b67b680663bdfee69fb256a661 authored by Marge Bot on 14 August 2023, 10:09:14 UTC, committed by Marge Bot on 14 August 2023, 10:09:14 UTC
Co-authored-by: Valentin Chaboche <valentin.chaboche@nomadic-labs.com>

Approved-by: Pierrick Couderc <pierrick.couderc@nomadic-labs.com>
Approved-by: Thomas Letan <lthms@nomadic-labs.com>

See merge request https://gitlab.com/tezos/tezos/-/merge_requests/9613
2 parent s 5745a2e + b4644ca
Raw File
tzip4_view.tz
parameter (or (pair %view_const unit (contract nat)) (pair %view_add (pair int int) (contract int)));
storage unit;
code {
       CAR;
       IF_LEFT {CDR; AMOUNT; PUSH nat 5; TRANSFER_TOKENS; NIL operation; SWAP; CONS; UNIT; SWAP; PAIR}
               {UNPAIR; UNPAIR; ADD; AMOUNT; SWAP; TRANSFER_TOKENS; NIL operation; SWAP; CONS; UNIT; SWAP; PAIR};
       }
back to top