sophia/test/contracts/multiplication_server.aes
2018-12-22 01:23:40 +01:00

8 lines
125 B
Plaintext

contract MultiplicationServer =
function multiply(x : int, y : int) =
switch(Call.value >= 100)
true => x * y