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
29 lines
482 B
JSON
29 lines
482 B
JSON
{
|
|
"testCases": [
|
|
{
|
|
"it": "-",
|
|
"balances": [
|
|
{
|
|
"account": "a",
|
|
"asset": "COIN",
|
|
"amount": 123
|
|
}
|
|
],
|
|
"expect.postings": [
|
|
{
|
|
"source": "world",
|
|
"destination": "dest1",
|
|
"amount": 20,
|
|
"asset": "COIN"
|
|
},
|
|
{
|
|
"source": "world",
|
|
"destination": "dest2",
|
|
"amount": 80,
|
|
"asset": "COIN"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|