ligo/test/contracts/create_contract_literal.tz
2017-12-21 11:15:43 +01:00

15 lines
483 B
Plaintext

parameter key_hash;
storage string;
return unit;
code { CAR;
DIP { UNIT;
PUSH tez "100.00"; PUSH bool False;
PUSH bool False; NONE key_hash };
CREATE_CONTRACT { parameter string ;
storage unit ;
return string ;
code {CAR; UNIT; SWAP; PAIR } } ;
DIP{PUSH string ""}; PUSH tez "0.00";
PUSH string "abcdefg"; TRANSFER_TOKENS;
DIP{DROP}; UNIT; PAIR};