sophia/test/contracts/clone_simple.aes
2021-05-11 14:24:06 +02:00

7 lines
153 B
Plaintext

contract interface I =
entrypoint init : () => void
contract C =
entrypoint f(i : I) =
let Some(c1) = Chain.clone(ref=i, protected = true)
2