mirror of
https://github.com/hanzo-fi/numscript.git
synced 2026-10-30 20:54:52 +00:00
* fix: update schemas * fix: update the schema of new specs file generator * fix: update specs $schema field to the new one
38 lines
706 B
JSON
38 lines
706 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/formancehq/numscript/main/v1.specs.schema.json",
|
|
"featureFlags": [
|
|
"experimental-asset-scaling"
|
|
],
|
|
"balances": [
|
|
{
|
|
"account": "acc",
|
|
"asset": "BTC/2",
|
|
"amount": 2
|
|
},
|
|
{
|
|
"account": "acc",
|
|
"asset": "BTC/8",
|
|
"amount": 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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|