Files
numscript/internal/interpreter/testdata/script-tests/variable-asset.num
Alessandro ScandoneandGitHub db978f043e test: address pr comments (#86)
* test: moved testdata folder
* test: make test parallel
* chore: remove comments
2025-07-24 12:16:55 +02:00

22 lines
303 B
Plaintext

vars {
asset $ass
monetary $bal = balance(@alice, $ass)
}
send [$ass 15] (
source = {
@alice
@bob
}
destination = @swap
)
send [$ass *] (
source = @swap
destination = {
max $bal to @alice_2
remaining to @bob_2
}
)