303 lines
11 KiB
JSON
303 lines
11 KiB
JSON
{
|
|
"la": "2026-10-02T17:16:44.551Z",
|
|
"chainId": 28001,
|
|
"rpc": "https://testnet-rpc.aere.network",
|
|
"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
|
|
},
|
|
"policyHash": "0x49c2478b8a5a5bc30dbfc8d2a10e1365126f1b10bc94beb67d678cd02d5bf390",
|
|
"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"
|
|
},
|
|
"plati": [
|
|
{
|
|
"eticheta": "P1",
|
|
"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": "0xfc4cf1b16150c6a614c2184cd88673aa2b13b7fd6b56ec0bff1ec835b83afe13",
|
|
"verdictHash": "0xf3ed4242b45057c3569846e9168bab453702206578250810732351ce7f196f66",
|
|
"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"
|
|
},
|
|
"verificare": {
|
|
"verdict": "VALID",
|
|
"motive": [],
|
|
"amountUsd": "0.200000",
|
|
"chainChecked": true
|
|
},
|
|
"verifyProof": {
|
|
"verdict": "VALID",
|
|
"statementHash": "0x1a76b3cfeab71bf185344b8c64571117c8194300bd969f48469f4a451bf51fa0",
|
|
"levels": [
|
|
{
|
|
"level": "form",
|
|
"state": "PASSED",
|
|
"detail": "kind=aere-proof-of-settlement-attestation"
|
|
},
|
|
{
|
|
"level": "integrity",
|
|
"state": "PASSED",
|
|
"detail": "sha256(statement) == statementHash (0x1a76b3cfeab71bf1..)"
|
|
},
|
|
{
|
|
"level": "signature",
|
|
"state": "ABSENT",
|
|
"detail": "the envelope carries no signature"
|
|
},
|
|
{
|
|
"level": "finality",
|
|
"state": "PASSED",
|
|
"detail": "post-quantum: the state of block 4449151, the parent of anchor 4449152 whose post-quantum certificate verified here records this statementHash in AereNotary 0x70099e62735500aa2f85b60c518551a57b202d54 as first seen at 2026-10-02T17:16:51.000Z (1790961411); first seen in block 4449144, transaction 0x0c3ec57754dc3ab4.. (located through the endpoint's logs, not part of what is certified)"
|
|
}
|
|
]
|
|
},
|
|
"cli": [
|
|
"receipt: 0.200000 USD = 400000000000000000 units of native at 0.5 USD/unit (declared by the payee for this test (28001 has no market price; tAERE is a test asset)), 0x86d6c684.. -> 0x5c5dc3eb.., tx 0xfd50a39264c2498e.., risk ALLOW under policy 0x49c2478b8a5a5bc3..",
|
|
"rules: VALID (transaction compared on chain)",
|
|
"envelope (reference verifier): VALID; finality PASSED: post-quantum: the state of block 4449151, the parent of anchor 4449152 whose post-quantum certificate verified here records this statementHa",
|
|
"VALID, notarized under a post-quantum certified anchor"
|
|
]
|
|
},
|
|
{
|
|
"eticheta": "P2",
|
|
"verdict": {
|
|
"v": 1,
|
|
"kind": "aere-payment-risk-verdict",
|
|
"policyId": "payee-company-28001-2026-10-02",
|
|
"policyHash": "0x49c2478b8a5a5bc30dbfc8d2a10e1365126f1b10bc94beb67d678cd02d5bf390",
|
|
"inputsHash": "0x6dfef476dd4be04db918de89084a17074b16825d846f4674037cbaf1cbf9caad",
|
|
"decision": "REFUSE",
|
|
"reasons": [
|
|
"above the per-payment limit: 1.500000 USD > 1.000000 USD"
|
|
],
|
|
"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"
|
|
],
|
|
"measured": {
|
|
"amountUsd": "1.500000",
|
|
"windowUsd": "0.200000",
|
|
"windowCount": 1,
|
|
"windowStart": 1790875051,
|
|
"historyCounted": 1
|
|
},
|
|
"verdictHash": "0x5709b7902a1d542aeebef7c1eca01bdd6fd4dc457bb108ffc9ec4855fcd63cc7"
|
|
},
|
|
"nonce": [
|
|
78,
|
|
78
|
|
]
|
|
},
|
|
{
|
|
"eticheta": "P3",
|
|
"chitante": [
|
|
{
|
|
"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": "0xaf62a46d6251a885f3302153dcea57141b0d3802882bb0ac763bf45c08732266",
|
|
"blockHash": "0x2a7d37e1ebdd5dcd2e403b52ab406f62d9e5fc22c9cebd3fd67a2a631187c692",
|
|
"risk": {
|
|
"policyId": "payee-company-28001-2026-10-02",
|
|
"policyHash": "0x49c2478b8a5a5bc30dbfc8d2a10e1365126f1b10bc94beb67d678cd02d5bf390",
|
|
"inputsHash": "0x4816a80bba24a3ea9d227715f2fb0bb6cd2476a9b4b3ad44ec58ccdc260a1324",
|
|
"verdictHash": "0xdcdf6e662514763fb76e5e96277fac0d5ed392d92be567d50a2ed88f2e6717a0",
|
|
"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 P3a",
|
|
"issuedAt": "2026-10-02T17:17:34.958Z"
|
|
},
|
|
{
|
|
"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": "0x0f5171a865aefa7559620f80f51ab7b2ca31355c656d96e2001a173f569b8d73",
|
|
"blockHash": "0x341e5939a7e1d34db1b5b0d12b0bb3cd8d9fea0922bf3a41f04668e350200f58",
|
|
"risk": {
|
|
"policyId": "payee-company-28001-2026-10-02",
|
|
"policyHash": "0x49c2478b8a5a5bc30dbfc8d2a10e1365126f1b10bc94beb67d678cd02d5bf390",
|
|
"inputsHash": "0xf745936b47ee82ffecb3d7529a2bb5b8a9b999d4c9726a02de19725dd582f4b1",
|
|
"verdictHash": "0x8795afd5fa93e8c4e1566714c943d71193908717cc2943f18c81cd51ed61aacf",
|
|
"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 P3b",
|
|
"issuedAt": "2026-10-02T17:17:37.356Z"
|
|
}
|
|
],
|
|
"refuz": {
|
|
"v": 1,
|
|
"kind": "aere-payment-risk-verdict",
|
|
"policyId": "payee-company-28001-2026-10-02",
|
|
"policyHash": "0x49c2478b8a5a5bc30dbfc8d2a10e1365126f1b10bc94beb67d678cd02d5bf390",
|
|
"inputsHash": "0xa9e716869f824105697646c74b5df55f4478f1696b4af633a034e6a0f3c88d49",
|
|
"decision": "REFUSE",
|
|
"reasons": [
|
|
"above the window count: 4 payments in 86400 s > 3"
|
|
],
|
|
"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"
|
|
],
|
|
"measured": {
|
|
"amountUsd": "0.200000",
|
|
"windowUsd": "0.600000",
|
|
"windowCount": 3,
|
|
"windowStart": 1790875056,
|
|
"historyCounted": 3
|
|
},
|
|
"verdictHash": "0x86efebc76881eb2104598e72458da58c2e768167dffc954187f2fa81edb8d31f"
|
|
}
|
|
}
|
|
],
|
|
"istoric": [
|
|
{
|
|
"at": 1790961406,
|
|
"amountUsd": "0.200000",
|
|
"payee": "0x5c5dc3eb504affbb15d0237fd0bff509840ebf64",
|
|
"txHash": "0xfd50a39264c2498e675edeaa45622b93244bb72b0f384380bc20840e3bb19cb6"
|
|
},
|
|
{
|
|
"at": 1790961452,
|
|
"amountUsd": "0.200000",
|
|
"payee": "0x5c5dc3eb504affbb15d0237fd0bff509840ebf64",
|
|
"txHash": "0xaf62a46d6251a885f3302153dcea57141b0d3802882bb0ac763bf45c08732266"
|
|
},
|
|
{
|
|
"at": 1790961453,
|
|
"amountUsd": "0.200000",
|
|
"payee": "0x5c5dc3eb504affbb15d0237fd0bff509840ebf64",
|
|
"txHash": "0x0f5171a865aefa7559620f80f51ab7b2ca31355c656d96e2001a173f569b8d73"
|
|
}
|
|
],
|
|
"negative": {
|
|
"N1": {
|
|
"verdict": "INVALID",
|
|
"motive": [
|
|
"the envelope does not commit to this instruction (instructionHash, statementHash or the fields differ)",
|
|
"amountUsd is not amount x the declared rate",
|
|
"the risk verdict does not reproduce from the inputs and the policy (inputsHash or verdictHash differ)",
|
|
"the transaction on chain is not this payment (from, to, value, block or status differ)"
|
|
],
|
|
"amountUsd": "0.200000",
|
|
"chainChecked": true
|
|
},
|
|
"N2": {
|
|
"verdict": "INVALID",
|
|
"motive": [
|
|
"the policy shown does not hash to the policy the verdict names (a policy changed under its hash)",
|
|
"the risk verdict does not reproduce from the inputs and the policy (inputsHash or verdictHash differ)"
|
|
],
|
|
"amountUsd": "0.200000",
|
|
"chainChecked": true
|
|
}
|
|
},
|
|
"rezumat": {
|
|
"verzi": 9,
|
|
"rosii": 0
|
|
}
|
|
} |