BCD

Tezos Contract Explorer
Search Networks Deploy
  • Home
  • /
  • Ghostnet
  • /
  • KT1ST76...56bF
operations (1)Storage Code Interact Tokens Fork Statistics Details
Latest
​x
 
1
parameter (pair (key %public_key) (signature %signature) (bytes %payload_bytes));
2
storage unit;
3
code { UNPAIR ;
4
       UNPAIR 3 ;
5
       CHECK_SIGNATURE ;
6
       IF
7
         { NIL operation ; PAIR }
8
         { DROP ; PUSH string "Invalid signature" ; FAILWITH } }