payable contract Test = payable entrypoint foo(x : int) = () function bar() = 42