finproof 0.1.0

Deterministic financial programming language and verification engine.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
currency USD

account Customer: asset USD = 100
account Merchant: asset USD = 0

transaction Sale {
    pay 60 USD
    from Customer
    to Merchant
}

transaction FailedSale {
    pay 100 USD
    from Customer
    to Merchant
}