mirror of
https://github.com/hanzoai/numscript.git
synced 2026-10-30 18:26:57 +00:00
* feat: feature flag syntax * feat: change syntax * feat: reject invalid features * feat: add static check of unknown features * feat: more defensive args handling * fix: fix typo
31 lines
599 B
JSON
31 lines
599 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/specs.schema.json",
|
|
"featureFlags": [
|
|
"experimental-asset-scaling"
|
|
],
|
|
"balances": {
|
|
"acc": {
|
|
"BTC/2": 2,
|
|
"BTC/8": 1000000
|
|
}
|
|
},
|
|
"testCases": [
|
|
{
|
|
"it": "handles kept",
|
|
"expect.postings": [
|
|
{
|
|
"source": "acc",
|
|
"destination": "swap",
|
|
"amount": 1000000,
|
|
"asset": "BTC/8"
|
|
},
|
|
{
|
|
"source": "swap",
|
|
"destination": "acc",
|
|
"amount": 1,
|
|
"asset": "BTC/2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |