183 lines
5.3 KiB
JSON
183 lines
5.3 KiB
JSON
{
|
|
"v": 1,
|
|
"kind": "aere-conformance-vector",
|
|
"id": "payment-receipt/company-p1.risk-other-payment",
|
|
"artifact": "payment-receipt",
|
|
"title": "the issuer attached an ALLOW verdict that was made for a payment to someone else",
|
|
"source": "derived from payment-receipt/company-p1.valid",
|
|
"requires": [],
|
|
"exercises": [
|
|
"envelope.form",
|
|
"envelope.integrity",
|
|
"receipt.amount",
|
|
"receipt.binding",
|
|
"receipt.chain",
|
|
"receipt.policy",
|
|
"receipt.risk"
|
|
],
|
|
"base": "payment-receipt/company-p1.valid",
|
|
"mutation": {
|
|
"producer": "the risk verdict was computed for another payee; its hashes are on the instruction; instructionHash and statementHash recomputed",
|
|
"changed": [
|
|
[
|
|
"inputs",
|
|
"payee"
|
|
],
|
|
[
|
|
"receipt",
|
|
"instruction",
|
|
"risk",
|
|
"inputsHash"
|
|
],
|
|
[
|
|
"receipt",
|
|
"instruction",
|
|
"risk",
|
|
"verdictHash"
|
|
],
|
|
[
|
|
"receipt",
|
|
"envelope",
|
|
"statement",
|
|
"instructionHash"
|
|
],
|
|
[
|
|
"receipt",
|
|
"envelope",
|
|
"statementHash"
|
|
]
|
|
]
|
|
},
|
|
"input": {
|
|
"receipt": {
|
|
"instruction": {
|
|
"v": 1,
|
|
"kind": "aere-payment-receipt-instruction",
|
|
"chainId": 28001,
|
|
"payer": "0x86d6c68408ddb2cc0d1cf4dfd6e07d3830600faf",
|
|
"payee": "0x5c5dc3eb504affbb15d0237fd0bff509840ebf64",
|
|
"asset": "native",
|
|
"decimals": 18,
|
|
"amount": "400000000000000000",
|
|
"amountUsd": "0.200000",
|
|
"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"
|
|
},
|
|
"txHash": "0xfd50a39264c2498e675edeaa45622b93244bb72b0f384380bc20840e3bb19cb6",
|
|
"blockHash": "0x3c2fc5e4071a6ddcc4b5f843d142dbaeaa7019edf9ceee45fe51a0365dd0c102",
|
|
"risk": {
|
|
"policyId": "payee-company-28001-2026-10-02",
|
|
"policyHash": "0x49c2478b8a5a5bc30dbfc8d2a10e1365126f1b10bc94beb67d678cd02d5bf390",
|
|
"inputsHash": "0x699e6b5a508e93339006b465c7235badaa972915f38de4724e2ffbe5272bf667",
|
|
"verdictHash": "0xfa6e292b1d912a6c1f514c85e3748384d6aaa1974970842e2b31c7b07a62815a",
|
|
"decision": "ALLOW",
|
|
"unmeasured": [
|
|
"sanctions screening: no source consulted",
|
|
"identity or verification tier of the payer: none",
|
|
"device, session or location of the payer: none",
|
|
"chargeback or fraud history: none",
|
|
"the payer's payments outside this issuer's own receipts: none"
|
|
]
|
|
},
|
|
"purpose": "test purchase P1",
|
|
"issuedAt": "2026-10-02T17:16:49.250Z"
|
|
},
|
|
"envelope": {
|
|
"v": 1,
|
|
"kind": "aere-proof-of-settlement-attestation",
|
|
"statement": {
|
|
"v": 1,
|
|
"kind": "aere-proof-of-settlement",
|
|
"instructionHash": "0x8eebaedc3b6da74173fa7b87f28990030a674e77f3099f22cacd3cfe12398183",
|
|
"txHash": "0xfd50a39264c2498e675edeaa45622b93244bb72b0f384380bc20840e3bb19cb6",
|
|
"blockHash": "0x3c2fc5e4071a6ddcc4b5f843d142dbaeaa7019edf9ceee45fe51a0365dd0c102",
|
|
"chainId": 28001,
|
|
"from": "0x86d6c68408ddb2cc0d1cf4dfd6e07d3830600faf",
|
|
"to": "0x5c5dc3eb504affbb15d0237fd0bff509840ebf64",
|
|
"amount": "400000000000000000",
|
|
"asset": "native",
|
|
"createdAt": "2026-10-02T17:16:49.250Z"
|
|
},
|
|
"statementHash": "0x881c2e5a9782102d3ad02b03225c215d81ca27842601f4cfb37fe6ea151e76c6"
|
|
}
|
|
},
|
|
"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": "0x1111111111111111111111111111111111111111",
|
|
"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
|
|
},
|
|
"tx": {
|
|
"from": "0x86d6c68408ddb2cc0d1cf4dfd6e07d3830600faf",
|
|
"to": "0x5c5dc3eb504affbb15d0237fd0bff509840ebf64",
|
|
"value": "0x58d15e176280000",
|
|
"blockHash": "0x3c2fc5e4071a6ddcc4b5f843d142dbaeaa7019edf9ceee45fe51a0365dd0c102"
|
|
},
|
|
"txReceipt": {
|
|
"status": "0x1",
|
|
"blockHash": "0x3c2fc5e4071a6ddcc4b5f843d142dbaeaa7019edf9ceee45fe51a0365dd0c102"
|
|
},
|
|
"chain": 28001
|
|
},
|
|
"expected": {
|
|
"verdict": "INVALID",
|
|
"failed": [
|
|
"receipt.risk"
|
|
],
|
|
"levels": {
|
|
"integrity": "FAILED",
|
|
"authenticity": "NOT_MEASURED",
|
|
"anchoring": "NOT_MEASURED",
|
|
"finality": "NOT_MEASURED"
|
|
}
|
|
}
|
|
}
|