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
592 B
JSON
34 lines
592 B
JSON
{
|
|
"testCases": [
|
|
{
|
|
"it": "-",
|
|
"balances": [
|
|
{
|
|
"account": "src1",
|
|
"asset": "COIN",
|
|
"amount": 1000
|
|
},
|
|
{
|
|
"account": "src2",
|
|
"asset": "COIN",
|
|
"amount": 1000
|
|
}
|
|
],
|
|
"expect.postings": [
|
|
{
|
|
"source": "src1",
|
|
"destination": "platform",
|
|
"amount": 40,
|
|
"asset": "COIN"
|
|
},
|
|
{
|
|
"source": "src2",
|
|
"destination": "platform",
|
|
"amount": 60,
|
|
"asset": "COIN"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|