conformance: a conformance suite for the AIP-23 proof kinds (one verdict form over the published verifiers, 35 rules derived from code, 122 vectors, a runner for any implementation, a second verifier in Python); four defects it found in the published verifiers are fixed here: the market judge accepted a timeline with its submission event withheld, and three verifiers threw on malformed input instead of refusing by name

This commit is contained in:
Aere Network committed 2026-10-03 13:26:03 +03:00
1 parent 2c000478dc
commit c9f2932e04
145 files changed
+17395 -104

No files matched your search

@@ -0,0 +1,92 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.asset",
"artifact": "payment-risk",
"title": "an asset the policy does not allow",
"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",
"asset"
],
"value": "other-token"
},
"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": "other-token",
"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": [],
"now": 1790961406
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.asset"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,92 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.counterparty",
"artifact": "payment-risk",
"title": "the payee is a refused counterparty of the policy",
"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",
"payee"
],
"value": "0x0000000000000000000000000000000000000000"
},
"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": "0x0000000000000000000000000000000000000000",
"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": [],
"now": 1790961406
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.counterparty"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,92 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.form-amount",
"artifact": "payment-risk",
"title": "the amount is zero",
"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",
"amount"
],
"value": "0"
},
"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": "0",
"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": [],
"now": 1790961406
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.form"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,102 @@
{
"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"
}
}
}
@@ -0,0 +1,90 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.form-time",
"artifact": "payment-risk",
"title": "no time given",
"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": "remove",
"path": [
"inputs",
"now"
]
},
"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": []
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.form"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,92 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.form",
"artifact": "payment-risk",
"title": "the payer is not an address",
"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",
"payer"
],
"value": "0x1234"
},
"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": "0x1234",
"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": [],
"now": 1790961406
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.form"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,92 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.limit",
"artifact": "payment-risk",
"title": "an amount above the per-payment limit",
"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",
"amount"
],
"value": "2400000000000000000"
},
"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": "2400000000000000000",
"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": [],
"now": 1790961406
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.limit"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,93 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.rate-number",
"artifact": "payment-risk",
"title": "the USD rate given as a JSON number instead of a decimal string (refused, not rounded)",
"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",
"rate",
"usdPerUnit"
],
"value": 0.5
},
"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": [],
"now": 1790961406
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.rate"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,86 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.rate",
"artifact": "payment-risk",
"title": "no USD rate declared, and the policy requires one",
"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": "remove",
"path": [
"inputs",
"rate"
]
},
"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",
"identity": null,
"history": [],
"now": 1790961406
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.rate"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,83 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.valid",
"artifact": "payment-risk",
"title": "the recorded payment to a company, allowed by its policy",
"source": "recorded (payments, 2026-10-02)",
"requires": [],
"exercises": [
"risk.asset",
"risk.counterparty",
"risk.form",
"risk.limit",
"risk.rate",
"risk.window"
],
"base": null,
"mutation": null,
"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": [],
"now": 1790961406
}
},
"expected": {
"verdict": "VALID",
"failed": [],
"levels": {
"integrity": "PASSED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}
@@ -0,0 +1,118 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "payment-risk/company-p1.window",
"artifact": "payment-risk",
"title": "three payments already in the window (the fourth is one too many)",
"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": 1790961396,
"amountUsd": "0.100000"
},
{
"at": 1790961386,
"amountUsd": "0.100000"
},
{
"at": 1790961376,
"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": 1790961396,
"amountUsd": "0.100000"
},
{
"at": 1790961386,
"amountUsd": "0.100000"
},
{
"at": 1790961376,
"amountUsd": "0.100000"
}
],
"now": 1790961406
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"risk.window"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}