ligo/src/test/contracts/expected/michelson_pair_tree.religo

14 lines
329 B
Plaintext
Raw Normal View History

2020-06-03 12:41:26 +02:00
type inner_storage = michelson_pair(int, "one", nat, "two");
type storage = michelson_pair
(int, "three", inner_storage, "four");
type return = (list(operation), storage);
let main =
2020-06-04 21:36:12 +02:00
((action, store): (unit, storage)): return =>
2020-06-03 12:41:26 +02:00
{
let foo = (3, (1, 2n));
(([] : list(operation)), (foo : storage))
};