mirror of
https://github.com/hanzo-fi/numscript.git
synced 2026-10-30 20:54:52 +00:00
reworked balances representation (both internal and external) so that it handles colors as an ad-hoc field instead of relying of string convetions
32 lines
550 B
JSON
32 lines
550 B
JSON
{
|
|
"featureFlags": [
|
|
"experimental-mid-script-function-call"
|
|
],
|
|
"testCases": [
|
|
{
|
|
"it": "-",
|
|
"balances": [
|
|
{
|
|
"account": "acc",
|
|
"asset": "USD/2",
|
|
"amount": 10
|
|
}
|
|
],
|
|
"expect.postings": [
|
|
{
|
|
"source": "acc",
|
|
"destination": "world",
|
|
"amount": 3,
|
|
"asset": "USD/2"
|
|
},
|
|
{
|
|
"source": "world",
|
|
"destination": "dest",
|
|
"amount": 7,
|
|
"asset": "USD/2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|