mirror of
https://github.com/hanzo-fi/numscript.git
synced 2026-10-30 20:54:52 +00:00
* test: moved testdata folder * test: make test parallel * chore: remove comments
15 lines
304 B
Plaintext
15 lines
304 B
Plaintext
|
|
vars { monetary $amt = overdraft(@user:001, USD/2) }
|
|
|
|
|
|
// we have at most 1000 USD/2 to remove user:001's debt
|
|
send [USD/2 1000] (
|
|
source = @world
|
|
destination = {
|
|
// but we send at most what we need to cancel the debt
|
|
max $amt to @user:001
|
|
remaining kept
|
|
}
|
|
)
|
|
|