ligo/src/test/contracts/double_michelson_or.mligo

10 lines
296 B
Plaintext
Raw Normal View History

2020-03-30 13:20:14 +02:00
type storage = (int,string) michelson_or
type foobar = (int, int ) michelson_or
type return = operation list * storage
let main (action, store : unit * storage) : return =
let foo = (M_right ("one") : storage) in
let bar = (M_right 1 : foobar) in
(([] : operation list), (foo: storage))