mirror of
https://github.com/hanzo-fi/numscript.git
synced 2026-10-30 20:54:52 +00:00
15 lines
247 B
Plaintext
15 lines
247 B
Plaintext
vars {
|
|
monetary $jon_balance = balance(@jon, EUR/2)
|
|
|
|
// The amount to send
|
|
monetary $amt
|
|
|
|
// The end balance we don't want to exceed
|
|
monetary $limit
|
|
}
|
|
|
|
send $amt (
|
|
source = max $limit - $jon_balance from @alice
|
|
destination = @jon
|
|
)
|