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
28 lines
441 B
JSON
28 lines
441 B
JSON
{
|
|
"testCases": [
|
|
{
|
|
"it": "-",
|
|
"balances": [
|
|
{
|
|
"account": "A",
|
|
"asset": "USD/2",
|
|
"amount": 400
|
|
},
|
|
{
|
|
"account": "C",
|
|
"asset": "USD/2",
|
|
"amount": 90
|
|
}
|
|
],
|
|
"expect.postings": [
|
|
{
|
|
"source": "A",
|
|
"destination": "B",
|
|
"amount": 100,
|
|
"asset": "USD/2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|