https://gitlab.com/tezos/tezos
Raw File
Tip revision: 4c7bc5991909be8e0b89e5587ab1c1dbbde0a958 authored by Marina Polubelova on 19 January 2024, 13:05:28 UTC
change consensus_rights_delay only for mainnet
Tip revision: 4c7bc59
split_ticket_00.tzt
code SPLIT_TICKET;
input
  {
    Stack_elt (ticket string) (Pair "KT1Q36KWPSba7dHsH5E4ZsQHehrChc51e19d" "Blue" 42) ;
    Stack_elt (pair nat nat) (Pair 24 18) ;
  } ;
output
  {
    Stack_elt
      (option (pair (ticket string) (ticket string)))
      (Some
         (Pair
            (Pair "KT1Q36KWPSba7dHsH5E4ZsQHehrChc51e19d" "Blue" 24)
            (Pair "KT1Q36KWPSba7dHsH5E4ZsQHehrChc51e19d" "Blue" 18)
         )
      ) ;
  } ;
back to top