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
26 lines
425 B
JSON
26 lines
425 B
JSON
{
|
|
"featureFlags": [
|
|
"experimental-overdraft-function"
|
|
],
|
|
"testCases": [
|
|
{
|
|
"it": "-",
|
|
"balances": [
|
|
{
|
|
"account": "user:001",
|
|
"asset": "USD/2",
|
|
"amount": -100
|
|
}
|
|
],
|
|
"expect.postings": [
|
|
{
|
|
"source": "world",
|
|
"destination": "user:001",
|
|
"amount": 100,
|
|
"asset": "USD/2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|