103 lines
2.4 KiB
JSON
103 lines
2.4 KiB
JSON
{
|
|
"v": 1,
|
|
"kind": "aere-conformance-vector",
|
|
"id": "payment-risk/company-p1.form-history",
|
|
"artifact": "payment-risk",
|
|
"title": "a history entry the engine cannot count (it is refused, not left out of the window)",
|
|
"source": "derived from payment-risk/company-p1.valid",
|
|
"requires": [],
|
|
"exercises": [
|
|
"risk.asset",
|
|
"risk.counterparty",
|
|
"risk.form",
|
|
"risk.limit",
|
|
"risk.rate",
|
|
"risk.window"
|
|
],
|
|
"base": "payment-risk/company-p1.valid",
|
|
"mutation": {
|
|
"op": "set",
|
|
"path": [
|
|
"inputs",
|
|
"history"
|
|
],
|
|
"value": [
|
|
{
|
|
"at": "yesterday",
|
|
"amountUsd": "0.100000"
|
|
}
|
|
]
|
|
},
|
|
"input": {
|
|
"policy": {
|
|
"v": 1,
|
|
"kind": "aere-payment-risk-policy",
|
|
"id": "payee-company-28001-2026-10-02",
|
|
"currency": "USD",
|
|
"perPaymentMaxUsd": "1.000000",
|
|
"window": {
|
|
"seconds": 86400,
|
|
"maxUsd": "2.500000",
|
|
"maxCount": 3
|
|
},
|
|
"allowedAssets": [
|
|
{
|
|
"chainId": 28001,
|
|
"asset": "native",
|
|
"decimals": 18
|
|
}
|
|
],
|
|
"refusedCounterparties": [
|
|
{
|
|
"address": "0x0000000000000000000000000000000000000000",
|
|
"reason": "the zero address: funds sent there are unrecoverable",
|
|
"source": "measured on every EVM chain"
|
|
},
|
|
{
|
|
"address": "0x4145d6f639436d840957f2d4b9f2e73f34f56b5d",
|
|
"reason": "a contract that only pays out through its own job flow (AereComputeMarketV3 on 28001): a plain transfer to it is lost",
|
|
"source": "tools/aere-market-settlement/desfasurare-28001.json"
|
|
},
|
|
{
|
|
"address": "0x70099e62735500aa2f85b60c518551a57b202d54",
|
|
"reason": "a contract with no path to withdraw what is sent to it (AereNotary on 28001)",
|
|
"source": "contracts/deployments/notary-28001.json"
|
|
}
|
|
],
|
|
"requireRate": true
|
|
},
|
|
"inputs": {
|
|
"chainId": 28001,
|
|
"payer": "0x86d6c68408ddb2cc0d1cf4dfd6e07d3830600faf",
|
|
"payee": "0x5c5dc3eb504affbb15d0237fd0bff509840ebf64",
|
|
"asset": "native",
|
|
"amount": "400000000000000000",
|
|
"rate": {
|
|
"usdPerUnit": "0.5",
|
|
"source": "declared by the payee for this test (28001 has no market price; tAERE is a test asset)",
|
|
"at": "2026-10-02T17:16:44.549Z"
|
|
},
|
|
"identity": null,
|
|
"history": [
|
|
{
|
|
"at": "yesterday",
|
|
"amountUsd": "0.100000"
|
|
}
|
|
],
|
|
"now": 1790961406
|
|
}
|
|
},
|
|
"expected": {
|
|
"verdict": "INVALID",
|
|
"failed": [
|
|
"risk.form"
|
|
],
|
|
"levels": {
|
|
"integrity": "FAILED",
|
|
"authenticity": "NOT_MEASURED",
|
|
"anchoring": "NOT_MEASURED",
|
|
"finality": "NOT_MEASURED"
|
|
}
|
|
}
|
|
}
|