https://gitlab.com/tezos/tezos
Raw File
Tip revision: 217376cd2d8baa6fe702886fa4901dc3d5b11e80 authored by iguerNL@Functori on 20 December 2023, 15:07:42 UTC
WIP: add counters in cryptobox
Tip revision: 217376c
no_default_target.tz
storage (pair string nat) ;
parameter
  (or unit (or %data string nat)) ;
code { UNPAIR ;
       IF_LEFT
         { DROP ; NIL operation ; PAIR }
         { IF_LEFT
             { DIP { UNPAIR ; DROP } }
             { DUG 1; UNPAIR ; DIP { DROP } } ;
           PAIR ; NIL operation ; PAIR }
     }
back to top