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
22 lines
303 B
Plaintext
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
|
|
}
|
|
)
|