2021-08-02 13:06:33 +02:00

8 lines
125 B
Plaintext

contract C =
record state = {x : int}
function inc(x) = x + 1
stateful entrypoint f() =
let s = state
state.x