sophia/test/contracts/clone_simple.aes

7 lines
162 B
Plaintext

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