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
34 lines
610 B
JSON
34 lines
610 B
JSON
{
|
|
"testCases": [
|
|
{
|
|
"it": "-",
|
|
"balances": [
|
|
{
|
|
"account": "users:001",
|
|
"asset": "CREDIT",
|
|
"amount": 100
|
|
},
|
|
{
|
|
"account": "users:002",
|
|
"asset": "CREDIT",
|
|
"amount": 110
|
|
}
|
|
],
|
|
"expect.postings": [
|
|
{
|
|
"source": "users:001",
|
|
"destination": "foo",
|
|
"amount": 100,
|
|
"asset": "CREDIT"
|
|
},
|
|
{
|
|
"source": "users:002",
|
|
"destination": "bar",
|
|
"amount": 100,
|
|
"asset": "CREDIT"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|