Some checks failed
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Failing after 6m0s
Five receipt members added in the last two days — `held_minor`, `known_through`, `captures`, `reclaims`, `refunded_minor` — had no published vector and no independent reader. By this repository's own bar that means their canonical form was pinned by nothing but the implementation that wrote them. `conformance/v1/lifecycle.json` is one hash-chained log holding the life of a money hold: a hold captured in part and then reclaimed past its deadline, a hold captured and settled, a spend refunded by its issuer, a refund refused to its subject, and a point that states its revocation marker on some receipts and not others. It publishes the joules, gross money and refunds a reader must restore. `verify_lifecycle.py` reads it by the specification's rules, sharing no code with the reference implementation, and restored the same ledger on its first run. Its selftest re-reads the log with each rule broken — restoring a captured hold's whole reservation, restoring a reclaimed hold's money, subtracting a refund from the gross debit — and requires every one refused, so a pass means the log distinguishes the rules. It runs in CI beside the replay reader, and a Rust test reads the committed pack through the library. Regenerating the vectors produced exactly one new file. Every existing pack came out byte-identical, which is independent confirmation that none of the receipt changes altered a published vector. The x402 profile now spans the lifecycle, and this is where our side differs from the wire it rides: **every capture seals its own measurement.** A stream paid per chunk gets a receipt per chunk, each committing to that draw's amount and the energy metered since the last — so a dispute over the third step has the third step's evidence, not one total sealed afterwards. `capture`, `reclaim` and `refund` are on the profile; ingest reads `auth-capture` and `batch-settlement` and takes the capture deadline from the requirement; and the refund goes through the runtime's rule, so the agent cannot refund itself. Co-Authored-By: Claude <[email protected]>
268 lines
27 KiB
JSON
268 lines
27 KiB
JSON
{
|
|
"entries": [
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a0590288b36373657100647072657678403030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303065747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a006768656c645f756a1901f4677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f38715642697948677665726469637465616c6c6f77686772616e745f6964784063326630653165323137636535303161396332303638316631323864656439333331656133363236666632633961336362623935303666656335356533643333687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6a68656c645f6d696e6f721902586b6a63705f72656365697074656a63702f326c7061796c6f61645f6861736878406130303430353938653039373838666337626330633035376233643063396664633432393933343436363334346136303766383238343162366435636661346271656e657267795f70726f76656e616e636569457374696d61746f72736275646765745f72656d61696e696e675f756a1927105840d73d0ec2bb86a8d2115ee38324e7fdce15708102d492eb9e943f593a388faec9b6a4e3b326458758dc5c89ac6d803d7d4f2804a8c52699b63697d482e441050e",
|
|
"what": "a priced hold with a capture deadline",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 10000,
|
|
"budget_uj": 10000,
|
|
"cost_uj": 0,
|
|
"energy_provenance": "Estimator",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "c2f0e1e217ce501a9c20681f128ded9331ea3626ff2c9a3cbb9506fec55e3d33",
|
|
"held_minor": 600,
|
|
"held_uj": 500,
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 0,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "allow"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a05902c9b36373657101647072657678403461653035326435323361313434353131616430623662323435306461323532623864653164353430396133633931373033393038326335346133326663363365747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a1878677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f38715642697948677665726469637465616c6c6f77686361707475726573784034616530353264353233613134343531316164306236623234353064613235326238646531643534303961336339313730333930383263353461333266633633686772616e745f6964784063326630653165323137636535303161396332303638316631323864656439333331656133363236666632633961336362623935303666656335356533643333687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6b6a63705f72656365697074656a63702f326c7061796c6f61645f686173687840613030343035393865303937383866633762633063303537623364306339666463343239393334343636333434613630376638323834316236643563666134626d646562697465645f6d696e6f7218c871656e657267795f70726f76656e616e63656748775368756e74736275646765745f72656d61696e696e675f756a1926985840b8a706cbdd1c29805544c4bc524ed307d05a5e7ae0afd954c1020d70b90f26c4a5660a261f5bc2910496fde8f8759c28b4dc5587ef58f8641e58b8bb27200f01",
|
|
"what": "a capture drawing 200 of the 600 held",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9880,
|
|
"budget_uj": 10000,
|
|
"captures": "4ae052d523a144511ad0b6b2450da252b8de1d5409a3c917039082c54a32fc63",
|
|
"cost_uj": 120,
|
|
"debited_minor": 200,
|
|
"energy_provenance": "HwShunt",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "c2f0e1e217ce501a9c20681f128ded9331ea3626ff2c9a3cbb9506fec55e3d33",
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "4ae052d523a144511ad0b6b2450da252b8de1d5409a3c917039082c54a32fc63",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 1,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "allow"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a05902cdb36373657102647072657678403539663636316435616439666266643038383533346633376134363637303031356366633465323666343634626564626636646364616336393635323133396565747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a00677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f3871564269794867766572646963746464656e79686361707475726573784034616530353264353233613134343531316164306236623234353064613235326238646531643534303961336339313730333930383263353461333266633633686772616e745f6964784063326630653165323137636535303161396332303638316631323864656439333331656133363236666632633961336362623935303666656335356533643333687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6b64656e795f726561736f6e67657870697265646b6a63705f72656365697074656a63702f326c7061796c6f61645f6861736878406130303430353938653039373838666337626330633035376233643063396664633432393933343436363334346136303766383238343162366435636661346271656e657267795f70726f76656e616e636569457374696d61746f72736275646765745f72656d61696e696e675f756a19251c5840ceb634e85da24d2d1abc56d4755ed4e359c46ec1832160c40a808f2da063e52f26e7a6e13b7d3c024002330f37c6ea5408b65c194382d8cd555faa7487417404",
|
|
"what": "a capture past the deadline, refused expired",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9500,
|
|
"budget_uj": 10000,
|
|
"captures": "4ae052d523a144511ad0b6b2450da252b8de1d5409a3c917039082c54a32fc63",
|
|
"cost_uj": 0,
|
|
"deny_reason": "expired",
|
|
"energy_provenance": "Estimator",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "c2f0e1e217ce501a9c20681f128ded9331ea3626ff2c9a3cbb9506fec55e3d33",
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "59f661d5ad9fbfd088534f37a46670015cfc4e26f464bedbf6dcdac69652139e",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 2,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "deny"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a05902bab26373657103647072657678406333343833373366363435333135363434336161643731373064333436396434316533316230306361323566326261346630303538356163633362643135663165747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a00677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f38715642697948677665726469637465616c6c6f77686772616e745f6964784063326630653165323137636535303161396332303638316631323864656439333331656133363236666632633961336362623935303666656335356533643333687265636c61696d73784034616530353264353233613134343531316164306236623234353064613235326238646531643534303961336339313730333930383263353461333266633633687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6b6a63705f72656365697074656a63702f326c7061796c6f61645f6861736878406130303430353938653039373838666337626330633035376233643063396664633432393933343436363334346136303766383238343162366435636661346271656e657267795f70726f76656e616e636569457374696d61746f72736275646765745f72656d61696e696e675f756a19251c584041cb44e5f574b484ee9ab173af3b27bb228f467eae934e4d3f938c38f5882ff005dab58063516f508f355b194b8c42a1b4a8564d3a83f2ee93e2ef218444f400",
|
|
"what": "the reclaim of the hold's remaining money",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9500,
|
|
"budget_uj": 10000,
|
|
"cost_uj": 0,
|
|
"energy_provenance": "Estimator",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "c2f0e1e217ce501a9c20681f128ded9331ea3626ff2c9a3cbb9506fec55e3d33",
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "c348373f6453156443aad7170d3469d41e31b00ca25f2ba4f00585acc3bd15f1",
|
|
"reclaims": "4ae052d523a144511ad0b6b2450da252b8de1d5409a3c917039082c54a32fc63",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 3,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "allow"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a059028db36373657104647072657678403163383962363431303366666263306233613432356338643436613130343165613938363964663834663534333930343630333762663665386565616432656265747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a0a677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f38715642697948677665726469637465616c6c6f77686772616e745f6964784034373038633937323835613861636662383930663031383930643266373964636533666535313738373434386361363738366437333235656536323762666137687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6b6a63705f72656365697074656a63702f326c7061796c6f61645f686173687840613030343035393865303937383866633762633063303537623364306339666463343239393334343636333434613630376638323834316236643563666134626d646562697465645f6d696e6f7219012c6d6b6e6f776e5f7468726f7567680771656e657267795f70726f76656e616e63656748775368756e74736275646765745f72656d61696e696e675f756a1927065840092bf49b9f01d949b42006495ccde52a7e68dfa0bcc8bda0bb8f86c991d84c3a0184c9352d27499d829b2a1ba1fd317ff3801910eab94e54a769620d3867a30d",
|
|
"what": "a priced call, from a point stating its revocation marker",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9990,
|
|
"budget_uj": 10000,
|
|
"cost_uj": 10,
|
|
"debited_minor": 300,
|
|
"energy_provenance": "HwShunt",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7",
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"known_through": 7,
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "1c89b64103ffbc0b3a425c8d46a1041ea9869df84f5439046037bf6e8eead2eb",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 4,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "allow"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a059028fb36373657105647072657678403331663864373365636338396330643363653264333736353264303931646366373563646363623262346538343139336434363866386661353761663065646665747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a00677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f38715642697948677665726469637465616c6c6f77686772616e745f6964784034373038633937323835613861636662383930663031383930643266373964636533666535313738373434386361363738366437333235656536323762666137687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6b6a63705f72656365697074656a63702f326c7061796c6f61645f686173687840613030343035393865303937383866633762633063303537623364306339666463343239393334343636333434613630376638323834316236643563666134626d6b6e6f776e5f7468726f756768076e726566756e6465645f6d696e6f72187871656e657267795f70726f76656e616e636569457374696d61746f72736275646765745f72656d61696e696e675f756a192706584040d77c8b75cead2c099f6fa49ac796134db03a0b86b4d39b9db0d93361691ee71ce262efa34023c716e99ab0ade1f9b437c2d773c036546758d26895981a740e",
|
|
"what": "the issuer's refund of 120",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9990,
|
|
"budget_uj": 10000,
|
|
"cost_uj": 0,
|
|
"energy_provenance": "Estimator",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7",
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"known_through": 7,
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "31f8d73ecc89c0d3ce2d37652d091dcf75cdccb2b4e84193d468f8fa57af0edf",
|
|
"refunded_minor": 120,
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 5,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "allow"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a0590297b36373657106647072657678403730303263346139636538303737623433376630313832346238313935303064316538323362313866343865623563323338353431646564313663623932303465747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a00677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f3871564269794867766572646963746464656e79686772616e745f6964784034373038633937323835613861636662383930663031383930643266373964636533666535313738373434386361363738366437333235656536323762666137687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6b64656e795f726561736f6e6d77726f6e672d7375626a6563746b6a63705f72656365697074656a63702f326c7061796c6f61645f686173687840613030343035393865303937383866633762633063303537623364306339666463343239393334343636333434613630376638323834316236643563666134626d6b6e6f776e5f7468726f7567680771656e657267795f70726f76656e616e636569457374696d61746f72736275646765745f72656d61696e696e675f756a19270658401ef62f7f5894a356a52b93d9955e748e27cd6efa93a61474bb6568aa1dc4b63c22aa197e58f75d95285aa92721b6af8934435db2b043a532a1a25201676fef08",
|
|
"what": "the subject's refund, refused wrong-subject",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9990,
|
|
"budget_uj": 10000,
|
|
"cost_uj": 0,
|
|
"deny_reason": "wrong-subject",
|
|
"energy_provenance": "Estimator",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7",
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"known_through": 7,
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "7002c4a9ce8077b437f01824b819500d1e823b18f48eb5c238541ded16cb9204",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 6,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "deny"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a0590297b46373657107647072657678403664656163323934306463346337633031646438323435663264633534633065333035656537656530353739326236373362646239373431653666346661656465747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a006768656c645f756a1901f4677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f38715642697948677665726469637465616c6c6f77686772616e745f6964784034373038633937323835613861636662383930663031383930643266373964636533666535313738373434386361363738366437333235656536323762666137687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6a68656c645f6d696e6f721901906b6a63705f72656365697074656a63702f326c7061796c6f61645f686173687840613030343035393865303937383866633762633063303537623364306339666463343239393334343636333434613630376638323834316236643563666134626d6b6e6f776e5f7468726f7567680771656e657267795f70726f76656e616e636569457374696d61746f72736275646765745f72656d61696e696e675f756a19270658402c7596329cb1384ec29cf55c674beac0640eadef0aa4aa1bb11e24be87c9dffbb1bb6605e35594b70ee3aae82bdd05694e6658052f74d102cb9a7f07a379b40a",
|
|
"what": "a priced hold with no deadline",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9990,
|
|
"budget_uj": 10000,
|
|
"cost_uj": 0,
|
|
"energy_provenance": "Estimator",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7",
|
|
"held_minor": 400,
|
|
"held_uj": 500,
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"known_through": 7,
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "6deac2940dc4c7c01dd8245f2dc54c0e305ee7ee05792b673bdb9741e6f4faed",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 7,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "allow"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a05902d8b46373657108647072657678403361626661313233313838336533396461306138366235333234306561373566666264656361666530383139623737323736336636303635396563626536623465747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a183c677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f38715642697948677665726469637465616c6c6f77686361707475726573784033616266613132333138383365333964613061383662353332343065613735666662646563616665303831396237373237363366363036353965636265366234686772616e745f6964784034373038633937323835613861636662383930663031383930643266373964636533666535313738373434386361363738366437333235656536323762666137687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6b6a63705f72656365697074656a63702f326c7061796c6f61645f686173687840613030343035393865303937383866633762633063303537623364306339666463343239393334343636333434613630376638323834316236643563666134626d646562697465645f6d696e6f7218966d6b6e6f776e5f7468726f7567680771656e657267795f70726f76656e616e63656748775368756e74736275646765745f72656d61696e696e675f756a1926ca5840ca9ebd59f61b4775a36c6d99c0395f6adbc8d6b7d5f82a33451bb987d44abbe0306ca377ae61042bb2de6604ba547d1d1156a766a2652abc8055c2c322b7b809",
|
|
"what": "a capture drawing 150 of the 400 held",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9930,
|
|
"budget_uj": 10000,
|
|
"captures": "3abfa1231883e39da0a86b53240ea75ffbdecafe0819b772763f60659ecbe6b4",
|
|
"cost_uj": 60,
|
|
"debited_minor": 150,
|
|
"energy_provenance": "HwShunt",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7",
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"known_through": 7,
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "3abfa1231883e39da0a86b53240ea75ffbdecafe0819b772763f60659ecbe6b4",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 8,
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "allow"
|
|
}
|
|
},
|
|
{
|
|
"envelope_hex": "d284581fa201270458196469643a6578616d706c653a6a63702d7265666572656e6365a05902d6b46373657109647072657678403433373061343836356538656665343431663064646632333438613333616662363532623431653935396264326237343464383532653064326236313234393465747275737467636f6e74726f6c66616374696f6e637061796669737375657278386469643a6b65793a7a364d6b6f6e334e656364364e6b6b79666f476f48786964327a6e476335394c55334b376d756261526346624c664c5867636f73745f756a0f67736574746c6573784033616266613132333138383365333964613061383662353332343065613735666662646563616665303831396237373237363366363036353965636265366234677374657761726478196469643a6578616d706c653a6a63702d7265666572656e6365677375626a65637478386469643a6b65793a7a364d6b6f39685467674d776a535445614a615055664536747163793278765536426e4e713365336f38715642697948677665726469637465616c6c6f77686772616e745f6964784034373038633937323835613861636662383930663031383930643266373964636533666535313738373434386361363738366437333235656536323762666137687265736f75726365784034303439346231633132616135636163376430636333326237353165653635326235666434396635356534376439336366316134346432353036336461623438696275646765745f756a1927106a6672616d655f6b696e6469746f6f6c2d63616c6c6b6a63705f72656365697074656a63702f326c7061796c6f61645f686173687840613030343035393865303937383866633762633063303537623364306339666463343239393334343636333434613630376638323834316236643563666134626d646562697465645f6d696e6f7218286d6b6e6f776e5f7468726f7567680771656e657267795f70726f76656e616e63656748775368756e74736275646765745f72656d61696e696e675f756a1926bb5840fcb3c073b6c5fdcbb7c577d7bb6496382390cf5a8b133ea57add2686739c437f40709802616b2f73d83c937ae80a4546ebfd52927f7292648e3438c8bfdce401",
|
|
"what": "the settle resolving the hold at a further 40",
|
|
"wire": {
|
|
"action": "pay",
|
|
"budget_remaining_uj": 9915,
|
|
"budget_uj": 10000,
|
|
"cost_uj": 15,
|
|
"debited_minor": 40,
|
|
"energy_provenance": "HwShunt",
|
|
"frame_kind": "tool-call",
|
|
"grant_id": "4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7",
|
|
"issuer": "did:key:z6Mkon3Necd6NkkyfoGoHxid2znGc59LU3K7mubaRcFbLfLX",
|
|
"jcp_receipt": "jcp/2",
|
|
"known_through": 7,
|
|
"payload_hash": "a0040598e09788fc7bc0c057b3d0c9fdc429934466344a607f82841b6d5cfa4b",
|
|
"prev": "4370a4865e8efe441f0ddf2348a33afb652b41e959bd2b744d852e0d2b612494",
|
|
"resource": "40494b1c12aa5cac7d0cc32b751ee652b5fd49f55e47d93cf1a44d25063dab48",
|
|
"seq": 9,
|
|
"settles": "3abfa1231883e39da0a86b53240ea75ffbdecafe0819b772763f60659ecbe6b4",
|
|
"steward": "did:example:jcp-reference",
|
|
"subject": "did:key:z6Mko9hTggMwjSTEaJaPUfE6tqcy2xvU6BnNq3e3o8qVBiyH",
|
|
"trust": "control",
|
|
"verdict": "allow"
|
|
}
|
|
}
|
|
],
|
|
"money_after": {
|
|
"4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7": 490,
|
|
"c2f0e1e217ce501a9c20681f128ded9331ea3626ff2c9a3cbb9506fec55e3d33": 200
|
|
},
|
|
"note": "The life of a money hold (SPEC §8.1, C32) as one hash-chained log. A reader restores: each entry's own debits; for a hold no entry settles, what it still reserves — its held_uj and held_minor LESS what the entries naming it in `captures` debited — and no money at all once an allowed entry names it in `reclaims`; and each allowed entry's refunded_minor as a refund, beside a gross debit that never decreases.",
|
|
"refunded_after": {
|
|
"4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7": 120
|
|
},
|
|
"spent_after": {
|
|
"4708c97285a8acfb890f01890d2f79dce3fe51787448ca6786d7325ee627bfa7": 85,
|
|
"c2f0e1e217ce501a9c20681f128ded9331ea3626ff2c9a3cbb9506fec55e3d33": 500
|
|
}
|
|
}
|