Easy2uz reads almost like English and compiles to ReaperVM bytecode. The same engine runs the enterprise treasury and the STS bank-reserve token.
// compiles with POST /easy2uz/compile
contract SavingsBank
mapping deposits
function deposit(amount:number)
set deposits[sender] = deposits[sender] + amount
return 1
end
function withdraw(amount:number)
require deposits[sender] >= amount
set deposits[sender] = deposits[sender] - amount
return 1
end
function balanceOf(who:address)
return deposits[who]
end