mirror of
https://github.com/hanzoai/numscript.git
synced 2026-10-30 18:26:57 +00:00
* feat: feature flag syntax * feat: change syntax * feat: reject invalid features * feat: add static check of unknown features * feat: more defensive args handling * fix: fix typo
15 lines
342 B
Plaintext
15 lines
342 B
Plaintext
|
|
send [USD/2 10000] (
|
|
source = {
|
|
// first, pull from the user balance
|
|
@users:1234:main
|
|
// then, pull from the user's vouchers,
|
|
// fairly using the ones that expire first
|
|
@users:1234:vouchers:2024-01-31
|
|
@users:1234:vouchers:2024-02-17
|
|
@users:1234:vouchers:2024-03-22
|
|
}
|
|
destination = @orders:4567:payment
|
|
)
|
|
|