@agentbadge/circle-payments 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/diagrams/architecture.mmd +38 -0
- package/diagrams/architecture.svg +1 -0
- package/diagrams/escrow-lifecycle.mmd +11 -0
- package/diagrams/escrow-lifecycle.svg +1 -0
- package/diagrams/payment-flow.mmd +25 -0
- package/diagrams/payment-flow.svg +1 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -41,6 +41,11 @@ from `@agentbadge/circle-payments` — never from the underlying SDKs directly.
|
|
|
41
41
|
|
|
42
42
|
## Architecture
|
|
43
43
|
|
|
44
|
+
<img src="https://cdn.jsdelivr.net/npm/@agentbadge/circle-payments@0.1.2/diagrams/architecture.svg" alt="Package architecture — middleware, router, scheme handles, escrow stack" width="800"/>
|
|
45
|
+
|
|
46
|
+
<details>
|
|
47
|
+
<summary>Mermaid source</summary>
|
|
48
|
+
|
|
44
49
|
```mermaid
|
|
45
50
|
flowchart LR
|
|
46
51
|
subgraph Server["Hono server"]
|
|
@@ -82,8 +87,15 @@ flowchart LR
|
|
|
82
87
|
CM --> E8183
|
|
83
88
|
```
|
|
84
89
|
|
|
90
|
+
</details>
|
|
91
|
+
|
|
85
92
|
## Payment flow (x402)
|
|
86
93
|
|
|
94
|
+
<img src="https://cdn.jsdelivr.net/npm/@agentbadge/circle-payments@0.1.2/diagrams/payment-flow.svg" alt="x402 payment sequence — 402 challenge, sign, verify, settle" width="800"/>
|
|
95
|
+
|
|
96
|
+
<details>
|
|
97
|
+
<summary>Mermaid source</summary>
|
|
98
|
+
|
|
87
99
|
```mermaid
|
|
88
100
|
sequenceDiagram
|
|
89
101
|
participant A as Buyer agent
|
|
@@ -112,8 +124,15 @@ sequenceDiagram
|
|
|
112
124
|
S-->>A: 200 + PAYMENT-RESPONSE + body
|
|
113
125
|
```
|
|
114
126
|
|
|
127
|
+
</details>
|
|
128
|
+
|
|
115
129
|
## ERC-8183 escrow lifecycle (Arc)
|
|
116
130
|
|
|
131
|
+
<img src="https://cdn.jsdelivr.net/npm/@agentbadge/circle-payments@0.1.2/diagrams/escrow-lifecycle.svg" alt="ERC-8183 job lifecycle — Open, Funded, Submitted, Completed/Rejected/Expired" width="700"/>
|
|
132
|
+
|
|
133
|
+
<details>
|
|
134
|
+
<summary>Mermaid source</summary>
|
|
135
|
+
|
|
117
136
|
```mermaid
|
|
118
137
|
stateDiagram-v2
|
|
119
138
|
[*] --> Open: client createJob(provider,<br/>evaluator, expiredAt, description)
|
|
@@ -128,6 +147,8 @@ stateDiagram-v2
|
|
|
128
147
|
Expired --> [*]
|
|
129
148
|
```
|
|
130
149
|
|
|
150
|
+
</details>
|
|
151
|
+
|
|
131
152
|
## Install
|
|
132
153
|
|
|
133
154
|
```bash
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
flowchart LR
|
|
2
|
+
subgraph Server["Hono server"]
|
|
3
|
+
MW["requirePayment()<br/>middleware"]
|
|
4
|
+
RT["createPaymentRouter()<br/>router.ts"]
|
|
5
|
+
PR["PRICE_TABLE<br/>pricing.ts"]
|
|
6
|
+
ID["identityExtension()<br/>identity.ts"]
|
|
7
|
+
LG["FailureStore<br/>ledger.ts"]
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
subgraph Schemes["Scheme handles (schemes/)"]
|
|
11
|
+
GW["Gateway batch<br/>gateway.ts"]
|
|
12
|
+
EX["Exact EIP-3009<br/>exact.ts"]
|
|
13
|
+
AS["Arc self-settle<br/>arc-self-settle.ts"]
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
subgraph Escrow["Agentic commerce (escrow/)"]
|
|
17
|
+
E8["createErc8183()<br/>erc8183.ts"]
|
|
18
|
+
EV["createEvaluator()<br/>evaluator.ts"]
|
|
19
|
+
CM["createCommissionSplitter()<br/>commission.ts"]
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
subgraph Ext["External"]
|
|
23
|
+
FAC["x402.org facilitator"]
|
|
24
|
+
CGW["Circle Gateway"]
|
|
25
|
+
ARC["Arc testnet<br/>USDC 0x3600…0000"]
|
|
26
|
+
E8183["ERC-8183 AgenticCommerce<br/>0x0747…4583"]
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
MW --> RT
|
|
30
|
+
MW --> ID
|
|
31
|
+
MW --> LG
|
|
32
|
+
RT --> GW & EX & AS
|
|
33
|
+
GW --> CGW
|
|
34
|
+
EX --> FAC
|
|
35
|
+
AS --> ARC
|
|
36
|
+
E8 --> E8183
|
|
37
|
+
EV --> E8
|
|
38
|
+
CM --> E8183
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="container" width="1266.859375" xmlns="http://www.w3.org/2000/svg" class="flowchart" height="908" viewBox="0 0 1266.859375 908" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#container{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#container .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#container .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#container .error-icon{fill:#552222;}#container .error-text{fill:#552222;stroke:#552222;}#container .edge-thickness-normal{stroke-width:1px;}#container .edge-thickness-thick{stroke-width:3.5px;}#container .edge-pattern-solid{stroke-dasharray:0;}#container .edge-thickness-invisible{stroke-width:0;fill:none;}#container .edge-pattern-dashed{stroke-dasharray:3;}#container .edge-pattern-dotted{stroke-dasharray:2;}#container .marker{fill:#333333;stroke:#333333;}#container .marker.cross{stroke:#333333;}#container svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#container p{margin:0;}#container .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#container .cluster-label text{fill:#333;}#container .cluster-label span{color:#333;}#container .cluster-label span p{background-color:transparent;}#container .label text,#container span{fill:#333;color:#333;}#container .node rect,#container .node circle,#container .node ellipse,#container .node polygon,#container .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#container .rough-node .label text,#container .node .label text,#container .image-shape .label,#container .icon-shape .label{text-anchor:middle;}#container .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#container .rough-node .label,#container .node .label,#container .image-shape .label,#container .icon-shape .label{text-align:center;}#container .node.clickable{cursor:pointer;}#container .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#container .arrowheadPath{fill:#333333;}#container .edgePath .path{stroke:#333333;stroke-width:1px;}#container .flowchart-link{stroke:#333333;fill:none;}#container .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#container .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#container .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#container .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#container .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#container .cluster text{fill:#333;}#container .cluster span{color:#333;}#container div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#container .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#container rect.text{fill:none;stroke-width:0;}#container .icon-shape,#container .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#container .icon-shape p,#container .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#container .icon-shape .label rect,#container .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#container .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#container .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#container .node .neo-node{stroke:#9370DB;}#container [data-look="neo"].node rect,#container [data-look="neo"].cluster rect,#container [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].swimlane.cluster rect{filter:none;}#container [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#container [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#container [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].node circle .state-start{fill:#000000;}#container [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="container_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"></path></marker><marker id="container_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"></path></marker><marker id="container_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"></path></marker><marker id="container_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"></polygon></marker><marker id="container_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"></circle></marker><marker id="container_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"></circle></marker><marker id="container_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"></circle></marker><marker id="container_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"></circle></marker><marker id="container_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"></path></marker><marker id="container_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"></path></marker><marker id="container_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"></path></marker><marker id="container_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"></path></marker><g class="root"><g class="clusters"><g class="cluster" id="container-Ext" data-look="classic"><rect style="" x="950.859375" y="20" width="308" height="870"></rect><g class="cluster-label" transform="translate(1075.171875, 20)"><foreignObject width="59.375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5;"><span class="nodeLabel"><p>External</p></span></div></foreignObject></g></g><g class="cluster" id="container-Escrow" data-look="classic"><rect style="" x="267.9375" y="624" width="632.921875" height="276"></rect><g class="cluster-label" transform="translate(481.71875, 624)"><foreignObject width="205.359375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5;"><span class="nodeLabel"><p>Agentic commerce (escrow/)</p></span></div></foreignObject></g></g><g class="cluster" id="container-Schemes" data-look="classic"><rect style="" x="594.046875" y="8" width="306.8125" height="404"></rect><g class="cluster-label" transform="translate(644.9453125, 8)"><foreignObject width="205.015625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5;"><span class="nodeLabel"><p>Scheme handles (schemes/)</p></span></div></foreignObject></g></g><g class="cluster" id="container-Server" data-look="classic"><rect style="" x="8" y="25" width="536.046875" height="579"></rect><g class="cluster-label" transform="translate(231.890625, 25)"><foreignObject width="88.265625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5;"><span class="nodeLabel"><p>Hono server</p></span></div></foreignObject></g></g></g><g class="edgePaths"><path d="M140.247,417L157.362,371.833C174.477,326.667,208.707,236.333,229.989,191.167C251.271,146,259.604,146,267.271,146C274.938,146,281.938,146,285.438,146L288.938,146" id="container-L_MW_RT_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MW_RT_0" data-points="W3sieCI6MTQwLjI0NzA3NjYxMjkwMzIxLCJ5Ijo0MTd9LHsieCI6MjQyLjkzNzUsInkiOjE0Nn0seyJ4IjoyNjcuOTM3NSwieSI6MTQ2fSx7IngiOjI5Mi45Mzc1LCJ5IjoxNDZ9XQ==" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M210.307,417L215.746,414.5C221.184,412,232.061,407,241.666,404.5C251.271,402,259.604,402,269.691,402C279.779,402,291.62,402,297.54,402L303.461,402" id="container-L_MW_ID_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MW_ID_0" data-points="W3sieCI6MjEwLjMwNzI5MTY2NjY2NjY5LCJ5Ijo0MTd9LHsieCI6MjQyLjkzNzUsInkiOjQwMn0seyJ4IjoyNjcuOTM3NSwieSI6NDAyfSx7IngiOjMwNy40NjA5Mzc1LCJ5Ijo0MDJ9XQ==" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M187.378,495L196.638,500.833C205.898,506.667,224.418,518.333,237.844,524.167C251.271,530,259.604,530,273.901,530C288.198,530,308.458,530,318.589,530L328.719,530" id="container-L_MW_LG_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MW_LG_0" data-points="W3sieCI6MTg3LjM3Nzk1NjA4MTA4MTEsInkiOjQ5NX0seyJ4IjoyNDIuOTM3NSwieSI6NTMwfSx7IngiOjI2Ny45Mzc1LCJ5Ijo1MzB9LHsieCI6MzMyLjcxODc1LCJ5Ijo1MzB9XQ==" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M490.119,185L499.107,189.167C508.095,193.333,526.071,201.667,539.226,205.833C552.38,210,560.714,210,569.047,210C577.38,210,585.714,210,600.987,210C616.26,210,638.474,210,649.581,210L660.688,210" id="container-L_RT_GW_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_RT_GW_0" data-points="W3sieCI6NDkwLjExOTI2MjY5NTMxMjUsInkiOjE4NX0seyJ4Ijo1NDQuMDQ2ODc1LCJ5IjoyMTB9LHsieCI6NTY5LjA0Njg3NSwieSI6MjEwfSx7IngiOjU5NC4wNDY4NzUsInkiOjIxMH0seyJ4Ijo2NjQuNjg3NSwieSI6MjEwfV0=" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M490.119,107L499.107,102.833C508.095,98.667,526.071,90.333,539.226,86.167C552.38,82,560.714,82,569.047,82C577.38,82,585.714,82,601.085,82C616.456,82,638.865,82,650.069,82L661.273,82" id="container-L_RT_EX_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_RT_EX_0" data-points="W3sieCI6NDkwLjExOTI2MjY5NTMxMjUsInkiOjEwN30seyJ4Ijo1NDQuMDQ2ODc1LCJ5Ijo4Mn0seyJ4Ijo1NjkuMDQ2ODc1LCJ5Ijo4Mn0seyJ4Ijo1OTQuMDQ2ODc1LCJ5Ijo4Mn0seyJ4Ijo2NjUuMjczNDM3NSwieSI6ODJ9XQ==" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M434.035,185L452.37,210.5C470.705,236,507.376,287,529.878,312.5C552.38,338,560.714,338,569.047,338C577.38,338,585.714,338,599.986,338C614.258,338,634.469,338,644.574,338L654.68,338" id="container-L_RT_AS_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_RT_AS_0" data-points="W3sieCI6NDM0LjAzNDU0NTg5ODQzNzUsInkiOjE4NX0seyJ4Ijo1NDQuMDQ2ODc1LCJ5IjozMzh9LHsieCI6NTY5LjA0Njg3NSwieSI6MzM4fSx7IngiOjU5NC4wNDY4NzUsInkiOjMzOH0seyJ4Ijo2NTguNjc5Njg3NSwieSI6MzM4fV0=" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M830.219,210L841.992,210C853.766,210,877.313,210,893.253,210C909.193,210,917.526,210,925.859,210C934.193,210,942.526,210,957.938,210C973.349,210,995.839,210,1007.083,210L1018.328,210" id="container-L_GW_CGW_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_GW_CGW_0" data-points="W3sieCI6ODMwLjIxODc1LCJ5IjoyMTB9LHsieCI6OTAwLjg1OTM3NSwieSI6MjEwfSx7IngiOjkyNS44NTkzNzUsInkiOjIxMH0seyJ4Ijo5NTAuODU5Mzc1LCJ5IjoyMTB9LHsieCI6MTAyMi4zMjgxMjUsInkiOjIxMH1d" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M829.633,82L841.504,82C853.375,82,877.117,82,893.155,82C909.193,82,917.526,82,925.859,82C934.193,82,942.526,82,955.466,82C968.406,82,985.953,82,994.727,82L1003.5,82" id="container-L_EX_FAC_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_EX_FAC_0" data-points="W3sieCI6ODI5LjYzMjgxMjUsInkiOjgyfSx7IngiOjkwMC44NTkzNzUsInkiOjgyfSx7IngiOjkyNS44NTkzNzUsInkiOjgyfSx7IngiOjk1MC44NTkzNzUsInkiOjgyfSx7IngiOjEwMDcuNSwieSI6ODJ9XQ==" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M836.227,338L846.999,338C857.771,338,879.315,338,894.254,338C909.193,338,917.526,338,925.859,338C934.193,338,942.526,338,954.94,338C967.354,338,983.849,338,992.096,338L1000.344,338" id="container-L_AS_ARC_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_AS_ARC_0" data-points="W3sieCI6ODM2LjIyNjU2MjUsInkiOjMzOH0seyJ4Ijo5MDAuODU5Mzc1LCJ5IjozMzh9LHsieCI6OTI1Ljg1OTM3NSwieSI6MzM4fSx7IngiOjk1MC44NTkzNzUsInkiOjMzOH0seyJ4IjoxMDA0LjM0Mzc1LCJ5IjozMzh9XQ==" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M831.898,698L843.392,698C854.885,698,877.872,698,893.533,698C909.193,698,917.526,698,925.859,698C934.193,698,942.526,698,963.347,710.761C984.168,723.522,1017.477,749.045,1034.132,761.806L1050.786,774.567" id="container-L_E8_E8183_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_E8_E8183_0" data-points="W3sieCI6ODMxLjg5ODQzNzUsInkiOjY5OH0seyJ4Ijo5MDAuODU5Mzc1LCJ5Ijo2OTh9LHsieCI6OTI1Ljg1OTM3NSwieSI6Njk4fSx7IngiOjk1MC44NTkzNzUsInkiOjY5OH0seyJ4IjoxMDUzLjk2MTA2OTkxNTI1NDMsInkiOjc3N31d" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M497.695,698L505.421,698C513.146,698,528.596,698,540.488,698C552.38,698,560.714,698,569.047,698C577.38,698,585.714,698,600.707,698C615.701,698,637.354,698,648.181,698L659.008,698" id="container-L_EV_E8_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_EV_E8_0" data-points="W3sieCI6NDk3LjY5NTMxMjUsInkiOjY5OH0seyJ4Ijo1NDQuMDQ2ODc1LCJ5Ijo2OTh9LHsieCI6NTY5LjA0Njg3NSwieSI6Njk4fSx7IngiOjU5NC4wNDY4NzUsInkiOjY5OH0seyJ4Ijo2NjMuMDA3ODEyNSwieSI6Njk4fV0=" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path><path d="M875.859,826L880.026,826C884.193,826,892.526,826,900.859,826C909.193,826,917.526,826,925.859,826C934.193,826,942.526,826,950.194,825.773C957.862,825.545,964.865,825.091,968.366,824.863L971.868,824.636" id="container-L_CM_E8183_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_CM_E8183_0" data-points="W3sieCI6ODc1Ljg1OTM3NSwieSI6ODI2fSx7IngiOjkwMC44NTkzNzUsInkiOjgyNn0seyJ4Ijo5MjUuODU5Mzc1LCJ5Ijo4MjZ9LHsieCI6OTUwLjg1OTM3NSwieSI6ODI2fSx7IngiOjk3NS44NTkzNzUsInkiOjgyNC4zNzY2MjMzNzY2MjMzfV0=" data-look="classic" marker-end="url(#container_flowchart-v2-pointEnd)"></path></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_MW_RT_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_MW_ID_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_MW_LG_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_RT_GW_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_RT_EX_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_RT_AS_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_GW_CGW_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_EX_FAC_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_AS_ARC_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_E8_E8183_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_EV_E8_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_CM_E8183_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="container-flowchart-MW-0" data-look="classic" transform="translate(125.46875, 456)"><rect class="basic label-container" style="" x="-92.46875" y="-39" width="184.9375" height="78"></rect><g class="label" style="" transform="translate(-62.46875, -24)"><rect></rect><foreignObject width="124.9375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>requirePayment()<br/>middleware</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-RT-1" data-look="classic" transform="translate(405.9921875, 146)"><rect class="basic label-container" style="" x="-113.0546875" y="-39" width="226.109375" height="78"></rect><g class="label" style="" transform="translate(-83.0546875, -24)"><rect></rect><foreignObject width="166.109375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>createPaymentRouter()<br/>router.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-PR-2" data-look="classic" transform="translate(405.9921875, 274)"><rect class="basic label-container" style="" x="-75.8203125" y="-39" width="151.640625" height="78"></rect><g class="label" style="" transform="translate(-45.8203125, -24)"><rect></rect><foreignObject width="91.640625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>PRICE_TABLE<br/>pricing.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-ID-3" data-look="classic" transform="translate(405.9921875, 402)"><rect class="basic label-container" style="" x="-98.53125" y="-39" width="197.0625" height="78"></rect><g class="label" style="" transform="translate(-68.53125, -24)"><rect></rect><foreignObject width="137.0625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>identityExtension()<br/>identity.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-LG-4" data-look="classic" transform="translate(405.9921875, 530)"><rect class="basic label-container" style="" x="-73.2734375" y="-39" width="146.546875" height="78"></rect><g class="label" style="" transform="translate(-43.2734375, -24)"><rect></rect><foreignObject width="86.546875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>FailureStore<br/>ledger.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-GW-5" data-look="classic" transform="translate(747.453125, 210)"><rect class="basic label-container" style="" x="-82.765625" y="-39" width="165.53125" height="78"></rect><g class="label" style="" transform="translate(-52.765625, -24)"><rect></rect><foreignObject width="105.53125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Gateway batch<br/>gateway.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-EX-6" data-look="classic" transform="translate(747.453125, 82)"><rect class="basic label-container" style="" x="-82.1796875" y="-39" width="164.359375" height="78"></rect><g class="label" style="" transform="translate(-52.1796875, -24)"><rect></rect><foreignObject width="104.359375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Exact EIP-3009<br/>exact.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-AS-7" data-look="classic" transform="translate(747.453125, 338)"><rect class="basic label-container" style="" x="-88.7734375" y="-39" width="177.546875" height="78"></rect><g class="label" style="" transform="translate(-58.7734375, -24)"><rect></rect><foreignObject width="117.546875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Arc self-settle<br/>arc-self-settle.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-E8-8" data-look="classic" transform="translate(747.453125, 698)"><rect class="basic label-container" style="" x="-84.4453125" y="-39" width="168.890625" height="78"></rect><g class="label" style="" transform="translate(-54.4453125, -24)"><rect></rect><foreignObject width="108.890625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>createErc8183()<br/>erc8183.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-EV-9" data-look="classic" transform="translate(405.9921875, 698)"><rect class="basic label-container" style="" x="-91.703125" y="-39" width="183.40625" height="78"></rect><g class="label" style="" transform="translate(-61.703125, -24)"><rect></rect><foreignObject width="123.40625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>createEvaluator()<br/>evaluator.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-CM-10" data-look="classic" transform="translate(747.453125, 826)"><rect class="basic label-container" style="" x="-128.40625" y="-39" width="256.8125" height="78"></rect><g class="label" style="" transform="translate(-98.40625, -24)"><rect></rect><foreignObject width="196.8125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>createCommissionSplitter()<br/>commission.ts</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-FAC-11" data-look="classic" transform="translate(1104.859375, 82)"><rect class="basic label-container" style="" x="-97.359375" y="-27" width="194.71875" height="54"></rect><g class="label" style="" transform="translate(-67.359375, -12)"><rect></rect><foreignObject width="134.71875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>x402.org facilitator</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-CGW-12" data-look="classic" transform="translate(1104.859375, 210)"><rect class="basic label-container" style="" x="-82.53125" y="-27" width="165.0625" height="54"></rect><g class="label" style="" transform="translate(-52.53125, -12)"><rect></rect><foreignObject width="105.0625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Circle Gateway</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-ARC-13" data-look="classic" transform="translate(1104.859375, 338)"><rect class="basic label-container" style="" x="-100.515625" y="-39" width="201.03125" height="78"></rect><g class="label" style="" transform="translate(-70.515625, -24)"><rect></rect><foreignObject width="141.03125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Arc testnet<br/>USDC 0x3600…0000</p></span></div></foreignObject></g></g><g class="node default" id="container-flowchart-E8183-14" data-look="classic" transform="translate(1104.859375, 816)"><rect class="basic label-container" style="" x="-129" y="-39" width="258" height="78"></rect><g class="label" style="" transform="translate(-99, -24)"><rect></rect><foreignObject width="198" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>ERC-8183 AgenticCommerce<br/>0x0747…4583</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="container-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"></feDropShadow></filter></defs><defs><filter id="container-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"></feDropShadow></filter></defs></svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
stateDiagram-v2
|
|
2
|
+
[*] --> Open: client createJob(provider,<br/>evaluator, expiredAt, description)
|
|
3
|
+
Open --> Funded: provider setBudget +<br/>client approve USDC + fund
|
|
4
|
+
Funded --> Submitted: provider submit(deliverable)
|
|
5
|
+
Funded --> Expired: claimRefund (past expiredAt)
|
|
6
|
+
Submitted --> Completed: evaluator complete<br/>(escrow → provider, fee → treasury)
|
|
7
|
+
Submitted --> Rejected: evaluator reject<br/>(escrow → client)
|
|
8
|
+
Submitted --> Expired: claimRefund (past expiredAt)
|
|
9
|
+
Completed --> [*]
|
|
10
|
+
Rejected --> [*]
|
|
11
|
+
Expired --> [*]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="container" width="700.328125" xmlns="http://www.w3.org/2000/svg" class="statediagram" height="702" viewBox="0 0 700.328125 702" role="graphics-document document" aria-roledescription="stateDiagram"><style>#container{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#container .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#container .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#container .error-icon{fill:#552222;}#container .error-text{fill:#552222;stroke:#552222;}#container .edge-thickness-normal{stroke-width:1px;}#container .edge-thickness-thick{stroke-width:3.5px;}#container .edge-pattern-solid{stroke-dasharray:0;}#container .edge-thickness-invisible{stroke-width:0;fill:none;}#container .edge-pattern-dashed{stroke-dasharray:3;}#container .edge-pattern-dotted{stroke-dasharray:2;}#container .marker{fill:#333333;stroke:#333333;}#container .marker.cross{stroke:#333333;}#container svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#container p{margin:0;}#container defs [id$="-barbEnd"]{fill:#333333;stroke:#333333;}#container g.stateGroup text{fill:#9370DB;stroke:none;font-size:10px;}#container g.stateGroup text{fill:#333;stroke:none;font-size:10px;}#container g.stateGroup .state-title{font-weight:bolder;fill:#131300;}#container g.stateGroup rect{fill:#ECECFF;stroke:#9370DB;}#container g.stateGroup line{stroke:#333333;stroke-width:1;}#container .transition{stroke:#333333;stroke-width:1;fill:none;}#container .stateGroup .composit{fill:white;border-bottom:1px;}#container .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px;}#container .state-note{stroke:#aaaa33;fill:#fff5ad;}#container .state-note text{fill:black;stroke:none;font-size:10px;}#container .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#container .edgeLabel .label rect{fill:#ECECFF;opacity:0.5;}#container .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#container .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#container .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#container .edgeLabel .label text{fill:#333;}#container .label div .edgeLabel{color:#333;}#container .stateLabel text{fill:#131300;font-size:10px;font-weight:bold;}#container .node circle.state-start{fill:#333333;stroke:#333333;}#container .node .fork-join{fill:#333333;stroke:#333333;}#container .node circle.state-end{fill:#9370DB;stroke:white;stroke-width:1.5;}#container .end-state-inner{fill:white;stroke-width:1.5;}#container .node rect{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#container .node polygon{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#container [id$="-barbEnd"]{fill:#333333;}#container .statediagram-cluster rect{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#container .cluster-label,#container .nodeLabel{color:#131300;}#container .statediagram-cluster rect.outer{rx:5px;ry:5px;}#container .statediagram-state .divider{stroke:#9370DB;}#container .statediagram-state .title-state{rx:5px;ry:5px;}#container .statediagram-cluster.statediagram-cluster .inner{fill:white;}#container .statediagram-cluster.statediagram-cluster-alt .inner{fill:#f0f0f0;}#container .statediagram-cluster .inner{rx:0;ry:0;}#container .statediagram-state rect.basic{rx:5px;ry:5px;}#container .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#f0f0f0;}#container .note-edge{stroke-dasharray:5;}#container .statediagram-note rect{fill:#fff5ad;stroke:#aaaa33;stroke-width:1px;rx:0;ry:0;}#container .statediagram-note rect{fill:#fff5ad;stroke:#aaaa33;stroke-width:1px;rx:0;ry:0;}#container .statediagram-note text{fill:black;}#container .statediagram-note .nodeLabel{color:black;}#container .statediagram .edgeLabel{color:red;}#container [id$="-dependencyStart"],#container [id$="-dependencyEnd"]{fill:#333333;stroke:#333333;stroke-width:1;}#container .statediagramTitleText{text-anchor:middle;font-size:18px;fill:#333;}#container [data-look="neo"].statediagram-cluster rect{fill:#ECECFF;stroke:#9370DB;stroke-width:1;}#container [data-look="neo"].statediagram-cluster rect.outer{rx:5px;ry:5px;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container .node .neo-node{stroke:#9370DB;}#container [data-look="neo"].node rect,#container [data-look="neo"].cluster rect,#container [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].swimlane.cluster rect{filter:none;}#container [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#container [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#container [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].node circle .state-start{fill:#000000;}#container [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><defs><marker id="container_stateDiagram-barbEnd" refX="19" refY="7" markerWidth="20" markerHeight="14" markerUnits="userSpaceOnUse" orient="auto"><path d="M 19,7 L9,13 L14,7 L9,1 Z"></path></marker></defs><g class="root"><g class="clusters"></g><g class="edgePaths"><path d="M441.246,22L441.246,32.167C441.246,42.333,441.246,62.667,441.246,83C441.246,103.333,441.246,123.667,441.246,133.833L441.246,144" id="container-edge0" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge0" data-points="W3sieCI6NDQxLjI0NjA5Mzc1LCJ5IjoyMn0seyJ4Ijo0NDEuMjQ2MDkzNzUsInkiOjgzfSx7IngiOjQ0MS4yNDYwOTM3NSwieSI6MTQ0fV0=" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M441.246,184L441.246,192.167C441.246,200.333,441.246,216.667,441.246,233C441.246,249.333,441.246,265.667,441.246,273.833L441.246,282" id="container-edge1" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge1" data-points="W3sieCI6NDQxLjI0NjA5Mzc1LCJ5IjoxODR9LHsieCI6NDQxLjI0NjA5Mzc1LCJ5IjoyMzN9LHsieCI6NDQxLjI0NjA5Mzc1LCJ5IjoyODJ9XQ==" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M406.34,317.942L386.977,326.785C367.615,335.628,328.889,353.314,309.527,370.99C290.164,388.667,290.164,406.333,290.164,415.167L290.164,424" id="container-edge2" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge2" data-points="W3sieCI6NDA2LjMzOTg0Mzc1LCJ5IjozMTcuOTQxODc3NjAxNjc1NH0seyJ4IjoyOTAuMTY0MDYyNSwieSI6MzcxfSx7IngiOjI5MC4xNjQwNjI1LCJ5Ijo0MjR9XQ==" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M476.152,317.942L495.515,326.785C514.878,335.628,553.603,353.314,572.965,374.324C592.328,395.333,592.328,419.667,592.328,446C592.328,472.333,592.328,500.667,584.797,525C577.266,549.333,562.205,569.667,554.674,579.833L547.143,590" id="container-edge3" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge3" data-points="W3sieCI6NDc2LjE1MjM0Mzc1LCJ5IjozMTcuOTQxODc3NjAxNjc1NH0seyJ4Ijo1OTIuMzI4MTI1LCJ5IjozNzF9LHsieCI6NTkyLjMyODEyNSwieSI6NDQ0fSx7IngiOjU5Mi4zMjgxMjUsInkiOjUyOX0seyJ4Ijo1NDcuMTQyOTM5ODE0ODE0OCwieSI6NTkwfV0=" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M247.302,464L224.085,474.833C200.868,485.667,154.434,507.333,131.217,528.333C108,549.333,108,569.667,108,579.833L108,590" id="container-edge4" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge4" data-points="W3sieCI6MjQ3LjMwMTkzMDE0NzA1ODg0LCJ5Ijo0NjR9LHsieCI6MTA4LCJ5Ijo1Mjl9LHsieCI6MTA4LCJ5Ijo1OTB9XQ==" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M290.164,464L290.164,474.833C290.164,485.667,290.164,507.333,290.164,528.333C290.164,549.333,290.164,569.667,290.164,579.833L290.164,590" id="container-edge5" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge5" data-points="W3sieCI6MjkwLjE2NDA2MjUsInkiOjQ2NH0seyJ4IjoyOTAuMTY0MDYyNSwieSI6NTI5fSx7IngiOjI5MC4xNjQwNjI1LCJ5Ijo1OTB9XQ==" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M333.026,464L356.243,474.833C379.46,485.667,425.894,507.333,456.642,528.333C487.39,549.333,502.452,569.667,509.982,579.833L517.513,590" id="container-edge6" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge6" data-points="W3sieCI6MzMzLjAyNjE5NDg1Mjk0MTE2LCJ5Ijo0NjR9LHsieCI6NDcyLjMyODEyNSwieSI6NTI5fSx7IngiOjUxNy41MTMzMTAxODUxODUyLCJ5Ijo1OTB9XQ==" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M108,630L108,634.167C108,638.333,108,646.667,132.161,655.926C156.321,665.185,204.643,675.37,228.804,680.462L252.964,685.555" id="container-edge7" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge7" data-points="W3sieCI6MTA4LCJ5Ijo2MzB9LHsieCI6MTA4LCJ5Ijo2NTV9LHsieCI6MjUyLjk2NDMwNDUxODgwMDI1LCJ5Ijo2ODUuNTU0OTIxNTkyNjAwNX1d" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M290.164,630L290.164,634.167C290.164,638.333,290.164,646.667,285.91,655.319C281.657,663.972,273.149,672.944,268.895,677.43L264.641,681.916" id="container-edge8" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge8" data-points="W3sieCI6MjkwLjE2NDA2MjUsInkiOjYzMH0seyJ4IjoyOTAuMTY0MDYyNSwieSI6NjU1fSx7IngiOjI2NC42NDE0MzY5MjUwMjMsInkiOjY4MS45MTU3MjQ2MDIyNDE0fV0=" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path><path d="M532.328,630L532.328,634.167C532.328,638.333,532.328,646.667,488.07,656.03C443.812,665.394,355.295,675.789,311.037,680.986L266.779,686.183" id="container-edge9" class="edge-thickness-normal edge-pattern-solid transition" style="fill:none;;;fill:none" data-edge="true" data-et="edge" data-id="edge9" data-points="W3sieCI6NTMyLjMyODEyNSwieSI6NjMwfSx7IngiOjUzMi4zMjgxMjUsInkiOjY1NX0seyJ4IjoyNjYuNzc5MTQ0NzA3ODUzOSwieSI6Njg2LjE4MjgzOTQ2MjA3NDh9XQ==" data-look="classic" marker-end="url(#container_stateDiagram-barbEnd)"></path></g><g class="edgeLabels"><g class="edgeLabel" transform="translate(441.24609375, 83)"><g class="label" data-id="edge0" transform="translate(-100, -36)"><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>client createJob(provider,<br/>evaluator, expiredAt, description)</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(441.24609375, 233)"><g class="label" data-id="edge1" transform="translate(-98.484375, -24)"><foreignObject width="196.96875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>provider setBudget +<br/>client approve USDC + fund</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(290.1640625, 371)"><g class="label" data-id="edge2" transform="translate(-100, -24)"><foreignObject width="200" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>provider submit(deliverable)</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(592.328125, 444)"><g class="label" data-id="edge3" transform="translate(-100, -24)"><foreignObject width="200" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>claimRefund (past expiredAt)</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(108, 529)"><g class="label" data-id="edge4" transform="translate(-100, -36)"><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>evaluator complete<br/>(escrow → provider, fee → treasury)</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(290.1640625, 529)"><g class="label" data-id="edge5" transform="translate(-62.1640625, -24)"><foreignObject width="124.328125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>evaluator reject<br/>(escrow → client)</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(437.07317, 512.5496)"><g class="label" data-id="edge6" transform="translate(-100, -24)"><foreignObject width="200" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>claimRefund (past expiredAt)</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="edge7" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="edge8" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="edge9" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="container-state-root_start-0" data-look="classic" transform="translate(441.24609375, 15)"><circle class="state-start" r="7" width="14" height="14"></circle></g><g class="node statediagram-state" id="container-state-Open-1" data-look="classic" transform="translate(441.24609375, 164)"><rect class="basic label-container" style="" rx="5" ry="5" x="-27.34375" y="-20" width="54.6875" height="40"></rect><g class="label" style="" transform="translate(-19.34375, -12)"><rect></rect><foreignObject width="38.6875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>Open</p></span></div></foreignObject></g></g><g class="node statediagram-state" id="container-state-Funded-3" data-look="classic" transform="translate(441.24609375, 302)"><rect class="basic label-container" style="" rx="5" ry="5" x="-34.90625" y="-20" width="69.8125" height="40"></rect><g class="label" style="" transform="translate(-26.90625, -12)"><rect></rect><foreignObject width="53.8125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>Funded</p></span></div></foreignObject></g></g><g class="node statediagram-state" id="container-state-Submitted-6" data-look="classic" transform="translate(290.1640625, 444)"><rect class="basic label-container" style="" rx="5" ry="5" x="-45.6875" y="-20" width="91.375" height="40"></rect><g class="label" style="" transform="translate(-37.6875, -12)"><rect></rect><foreignObject width="75.375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>Submitted</p></span></div></foreignObject></g></g><g class="node statediagram-state" id="container-state-Expired-9" data-look="classic" transform="translate(532.328125, 610)"><rect class="basic label-container" style="" rx="5" ry="5" x="-35.1640625" y="-20" width="70.328125" height="40"></rect><g class="label" style="" transform="translate(-27.1640625, -12)"><rect></rect><foreignObject width="54.328125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>Expired</p></span></div></foreignObject></g></g><g class="node statediagram-state" id="container-state-Completed-7" data-look="classic" transform="translate(108, 610)"><rect class="basic label-container" style="" rx="5" ry="5" x="-47.1796875" y="-20" width="94.359375" height="40"></rect><g class="label" style="" transform="translate(-39.1796875, -12)"><rect></rect><foreignObject width="78.359375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>Completed</p></span></div></foreignObject></g></g><g class="node statediagram-state" id="container-state-Rejected-8" data-look="classic" transform="translate(290.1640625, 610)"><rect class="basic label-container" style="" rx="5" ry="5" x="-39.421875" y="-20" width="78.84375" height="40"></rect><g class="label" style="" transform="translate(-31.421875, -12)"><rect></rect><foreignObject width="62.84375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>Rejected</p></span></div></foreignObject></g></g><g class="node default" id="container-state-root_end-9" data-look="classic" transform="translate(259.8203125, 687)"><g class="outer-path"><path d="M7 0 C7 0.40517908122283747, 6.964012880168563 0.816513743121899, 6.893654271085456 1.2155372436685123 C6.823295662002349 1.6145607442151257, 6.716427752933756 2.013397210557766, 6.5778483455013586 2.394141003279681 C6.439268938068961 2.7748847960015954, 6.26476736710249 3.149104622578984, 6.062177826491071 3.4999999999999996 C5.859588285879653 3.8508953774210153, 5.622755194947063 4.189128084166967, 5.362311101832846 4.499513267805774 C5.10186700871863 4.809898451444582, 4.809898451444583 5.10186700871863, 4.499513267805775 5.362311101832846 C4.189128084166968 5.622755194947063, 3.8508953774210166 5.859588285879652, 3.500000000000001 6.06217782649107 C3.149104622578985 6.264767367102489, 2.7748847960015963 6.439268938068961, 2.3941410032796817 6.5778483455013586 C2.013397210557767 6.716427752933756, 1.6145607442151264 6.823295662002349, 1.2155372436685128 6.893654271085456 C0.8165137431218992 6.964012880168563, 0.4051790812228379 7, 4.286263797015736e-16 7 C-0.405179081222837 7, -0.8165137431218985 6.964012880168563, -1.2155372436685121 6.893654271085456 C-1.6145607442151257 6.823295662002349, -2.0133972105577667 6.716427752933756, -2.394141003279681 6.5778483455013586 C-2.774884796001595 6.439268938068961, -3.149104622578983 6.26476736710249, -3.4999999999999982 6.062177826491071 C-3.8508953774210135 5.859588285879653, -4.189128084166966 5.6227551949470636, -4.499513267805773 5.362311101832848 C-4.809898451444581 5.101867008718632, -5.101867008718628 4.809898451444586, -5.3623111018328435 4.499513267805779 C-5.622755194947059 4.189128084166971, -5.859588285879649 3.8508953774210206, -6.062177826491068 3.5000000000000053 C-6.264767367102486 3.14910462257899, -6.439268938068958 2.774884796001602, -6.577848345501356 2.394141003279688 C-6.716427752933754 2.0133972105577738, -6.823295662002347 1.614560744215134, -6.893654271085454 1.215537243668521 C-6.9640128801685615 0.816513743121908, -6.999999999999999 0.4051790812228472, -7 1.0183126166254463e-14 C-7.000000000000001 -0.40517908122282686, -6.964012880168565 -0.8165137431218878, -6.893654271085459 -1.215537243668501 C-6.823295662002352 -1.6145607442151142, -6.716427752933759 -2.0133972105577542, -6.577848345501363 -2.394141003279669 C-6.439268938068967 -2.7748847960015834, -6.264767367102496 -3.149104622578972, -6.062177826491078 -3.4999999999999876 C-5.859588285879661 -3.8508953774210033, -5.6227551949470715 -4.1891280841669545, -5.362311101832856 -4.499513267805763 C-5.10186700871864 -4.809898451444571, -4.809898451444594 -5.10186700871862, -4.499513267805787 -5.362311101832836 C-4.189128084166979 -5.622755194947053, -3.850895377421028 -5.859588285879643, -3.5000000000000133 -6.062177826491062 C-3.1491046225789985 -6.264767367102482, -2.774884796001611 -6.439268938068954, -2.3941410032796973 -6.577848345501353 C-2.0133972105577835 -6.716427752933752, -1.6145607442151435 -6.823295662002345, -1.2155372436685306 -6.893654271085453 C-0.8165137431219176 -6.9640128801685615, -0.40517908122285695 -6.999999999999999, -1.9937625952807352e-14 -7 C0.4051790812228171 -7.000000000000001, 0.8165137431218781 -6.964012880168565, 1.2155372436684913 -6.89365427108546 C1.6145607442151044 -6.823295662002354, 2.013397210557745 -6.716427752933763, 2.3941410032796595 -6.5778483455013665 C2.774884796001574 -6.43926893806897, 3.149104622578963 -6.2647673671025, 3.499999999999979 -6.062177826491083 C3.8508953774209953 -5.859588285879665, 4.189128084166947 -5.622755194947077, 4.499513267805756 -5.362311101832862 C4.809898451444564 -5.1018670087186475, 5.101867008718613 -4.809898451444602, 5.362311101832829 -4.499513267805796 C5.622755194947046 -4.189128084166989, 5.859588285879637 -3.8508953774210393, 6.062177826491056 -3.500000000000025 C6.2647673671024755 -3.1491046225790105, 6.439268938068949 -2.774884796001623, 6.577848345501348 -2.3941410032797092 C6.716427752933747 -2.0133972105577955, 6.823295662002342 -1.6145607442151562, 6.893654271085451 -1.2155372436685434 C6.96401288016856 -0.8165137431219307, 6.982275711847575 -0.2025895406114567, 7 -3.2800750208310675e-14 C7.017724288152425 0.2025895406113911, 7.017724288152424 -0.2025895406114242, 7 0" stroke="none" stroke-width="0" fill="#ECECFF" style=""></path><path d="M7 0 C7 0.40517908122283747, 6.964012880168563 0.816513743121899, 6.893654271085456 1.2155372436685123 C6.823295662002349 1.6145607442151257, 6.716427752933756 2.013397210557766, 6.5778483455013586 2.394141003279681 C6.439268938068961 2.7748847960015954, 6.26476736710249 3.149104622578984, 6.062177826491071 3.4999999999999996 C5.859588285879653 3.8508953774210153, 5.622755194947063 4.189128084166967, 5.362311101832846 4.499513267805774 C5.10186700871863 4.809898451444582, 4.809898451444583 5.10186700871863, 4.499513267805775 5.362311101832846 C4.189128084166968 5.622755194947063, 3.8508953774210166 5.859588285879652, 3.500000000000001 6.06217782649107 C3.149104622578985 6.264767367102489, 2.7748847960015963 6.439268938068961, 2.3941410032796817 6.5778483455013586 C2.013397210557767 6.716427752933756, 1.6145607442151264 6.823295662002349, 1.2155372436685128 6.893654271085456 C0.8165137431218992 6.964012880168563, 0.4051790812228379 7, 4.286263797015736e-16 7 C-0.405179081222837 7, -0.8165137431218985 6.964012880168563, -1.2155372436685121 6.893654271085456 C-1.6145607442151257 6.823295662002349, -2.0133972105577667 6.716427752933756, -2.394141003279681 6.5778483455013586 C-2.774884796001595 6.439268938068961, -3.149104622578983 6.26476736710249, -3.4999999999999982 6.062177826491071 C-3.8508953774210135 5.859588285879653, -4.189128084166966 5.6227551949470636, -4.499513267805773 5.362311101832848 C-4.809898451444581 5.101867008718632, -5.101867008718628 4.809898451444586, -5.3623111018328435 4.499513267805779 C-5.622755194947059 4.189128084166971, -5.859588285879649 3.8508953774210206, -6.062177826491068 3.5000000000000053 C-6.264767367102486 3.14910462257899, -6.439268938068958 2.774884796001602, -6.577848345501356 2.394141003279688 C-6.716427752933754 2.0133972105577738, -6.823295662002347 1.614560744215134, -6.893654271085454 1.215537243668521 C-6.9640128801685615 0.816513743121908, -6.999999999999999 0.4051790812228472, -7 1.0183126166254463e-14 C-7.000000000000001 -0.40517908122282686, -6.964012880168565 -0.8165137431218878, -6.893654271085459 -1.215537243668501 C-6.823295662002352 -1.6145607442151142, -6.716427752933759 -2.0133972105577542, -6.577848345501363 -2.394141003279669 C-6.439268938068967 -2.7748847960015834, -6.264767367102496 -3.149104622578972, -6.062177826491078 -3.4999999999999876 C-5.859588285879661 -3.8508953774210033, -5.6227551949470715 -4.1891280841669545, -5.362311101832856 -4.499513267805763 C-5.10186700871864 -4.809898451444571, -4.809898451444594 -5.10186700871862, -4.499513267805787 -5.362311101832836 C-4.189128084166979 -5.622755194947053, -3.850895377421028 -5.859588285879643, -3.5000000000000133 -6.062177826491062 C-3.1491046225789985 -6.264767367102482, -2.774884796001611 -6.439268938068954, -2.3941410032796973 -6.577848345501353 C-2.0133972105577835 -6.716427752933752, -1.6145607442151435 -6.823295662002345, -1.2155372436685306 -6.893654271085453 C-0.8165137431219176 -6.9640128801685615, -0.40517908122285695 -6.999999999999999, -1.9937625952807352e-14 -7 C0.4051790812228171 -7.000000000000001, 0.8165137431218781 -6.964012880168565, 1.2155372436684913 -6.89365427108546 C1.6145607442151044 -6.823295662002354, 2.013397210557745 -6.716427752933763, 2.3941410032796595 -6.5778483455013665 C2.774884796001574 -6.43926893806897, 3.149104622578963 -6.2647673671025, 3.499999999999979 -6.062177826491083 C3.8508953774209953 -5.859588285879665, 4.189128084166947 -5.622755194947077, 4.499513267805756 -5.362311101832862 C4.809898451444564 -5.1018670087186475, 5.101867008718613 -4.809898451444602, 5.362311101832829 -4.499513267805796 C5.622755194947046 -4.189128084166989, 5.859588285879637 -3.8508953774210393, 6.062177826491056 -3.500000000000025 C6.2647673671024755 -3.1491046225790105, 6.439268938068949 -2.774884796001623, 6.577848345501348 -2.3941410032797092 C6.716427752933747 -2.0133972105577955, 6.823295662002342 -1.6145607442151562, 6.893654271085451 -1.2155372436685434 C6.96401288016856 -0.8165137431219307, 6.982275711847575 -0.2025895406114567, 7 -3.2800750208310675e-14 C7.017724288152425 0.2025895406113911, 7.017724288152424 -0.2025895406114242, 7 0" stroke="#333333" stroke-width="2" fill="none" stroke-dasharray="0 0" style=""></path><g><path d="M2.5 0 C2.5 0.14470681472244193, 2.487147457203058 0.29161205111496386, 2.46201938253052 0.4341204441673258 C2.436891307857982 0.5766288372196877, 2.3987241974763416 0.7190704323420595, 2.3492315519647713 0.8550503583141718 C2.299738906453201 0.991030284286284, 2.2374169168223177 1.124680222349637, 2.165063509461097 1.2499999999999998 C2.092710102099876 1.3753197776503625, 2.0081268553382365 1.496117172916774, 1.915111107797445 1.6069690242163481 C1.8220953602566536 1.7178208755159223, 1.7178208755159226 1.8220953602566536, 1.6069690242163484 1.915111107797445 C1.4961171729167742 2.0081268553382365, 1.375319777650363 2.0927101020998755, 1.2500000000000002 2.1650635094610964 C1.1246802223496375 2.2374169168223172, 0.9910302842862845 2.2997389064532, 0.8550503583141721 2.349231551964771 C0.7190704323420597 2.3987241974763416, 0.576628837219688 2.436891307857982, 0.43412044416732604 2.46201938253052 C0.291612051114964 2.487147457203058, 0.14470681472244212 2.5, 1.5308084989341916e-16 2.5 C-0.1447068147224418 2.5, -0.2916120511149638 2.487147457203058, -0.43412044416732576 2.46201938253052 C-0.5766288372196877 2.436891307857982, -0.7190704323420595 2.3987241974763416, -0.8550503583141718 2.3492315519647713 C-0.991030284286284 2.299738906453201, -1.124680222349637 2.2374169168223177, -1.2499999999999996 2.165063509461097 C-1.375319777650362 2.092710102099876, -1.4961171729167733 2.008126855338237, -1.6069690242163475 1.9151111077974459 C-1.7178208755159217 1.8220953602566548, -1.822095360256653 1.7178208755159234, -1.9151111077974443 1.6069690242163495 C-2.0081268553382357 1.4961171729167755, -2.0927101020998746 1.3753197776503645, -2.1650635094610955 1.250000000000002 C-2.2374169168223164 1.1246802223496395, -2.2997389064531992 0.9910302842862865, -2.34923155196477 0.8550503583141743 C-2.3987241974763407 0.7190704323420621, -2.436891307857981 0.5766288372196907, -2.4620193825305194 0.434120444167329 C-2.487147457203058 0.29161205111496724, -2.5 0.14470681472244545, -2.5 3.636830773662308e-15 C-2.5 -0.14470681472243818, -2.4871474572030587 -0.2916120511149599, -2.4620193825305208 -0.4341204441673218 C-2.436891307857983 -0.5766288372196837, -2.398724197476343 -0.7190704323420553, -2.3492315519647726 -0.8550503583141675 C-2.2997389064532023 -0.9910302842862798, -2.23741691682232 -1.1246802223496328, -2.165063509461099 -1.2499999999999956 C-2.092710102099878 -1.3753197776503583, -2.00812685533824 -1.4961171729167695, -1.9151111077974488 -1.606969024216344 C-1.8220953602566576 -1.7178208755159183, -1.7178208755159263 -1.82209536025665, -1.6069690242163523 -1.9151111077974416 C-1.4961171729167784 -2.0081268553382334, -1.3753197776503672 -2.0927101020998724, -1.2500000000000047 -2.1650635094610937 C-1.1246802223496422 -2.237416916822315, -0.9910302842862897 -2.299738906453198, -0.8550503583141776 -2.3492315519647686 C-0.7190704323420656 -2.3987241974763394, -0.5766288372196942 -2.4368913078579806, -0.43412044416733236 -2.462019382530519 C-0.29161205111497057 -2.4871474572030574, -0.1447068147224489 -2.4999999999999996, -7.120580697431198e-15 -2.5 C0.14470681472243463 -2.5000000000000004, 0.29161205111495647 -2.487147457203059, 0.4341204441673183 -2.4620193825305217 C0.5766288372196802 -2.436891307857984, 0.7190704323420518 -2.3987241974763442, 0.8550503583141642 -2.349231551964774 C0.9910302842862766 -2.2997389064532037, 1.1246802223496295 -2.2374169168223212, 1.2499999999999925 -2.165063509461101 C1.3753197776503554 -2.0927101020998804, 1.4961171729167668 -2.008126855338242, 1.6069690242163412 -1.915111107797451 C1.7178208755159157 -1.82209536025666, 1.8220953602566472 -1.7178208755159294, 1.915111107797439 -1.6069690242163557 C2.0081268553382308 -1.496117172916782, 2.09271010209987 -1.3753197776503712, 2.1650635094610915 -1.2500000000000089 C2.237416916822313 -1.1246802223496466, 2.299738906453196 -0.9910302842862939, 2.3492315519647673 -0.855050358314182 C2.3987241974763385 -0.71907043234207, 2.4368913078579792 -0.5766288372196986, 2.462019382530518 -0.4341204441673369 C2.487147457203057 -0.29161205111497523, 2.4936698970884197 -0.07235340736123454, 2.5 -1.1714553645825241e-14 C2.5063301029115803 0.07235340736121111, 2.50633010291158 -0.07235340736122292, 2.5 0" stroke="none" stroke-width="0" fill="#9370DB" style=""></path><path d="M2.5 0 C2.5 0.14470681472244193, 2.487147457203058 0.29161205111496386, 2.46201938253052 0.4341204441673258 C2.436891307857982 0.5766288372196877, 2.3987241974763416 0.7190704323420595, 2.3492315519647713 0.8550503583141718 C2.299738906453201 0.991030284286284, 2.2374169168223177 1.124680222349637, 2.165063509461097 1.2499999999999998 C2.092710102099876 1.3753197776503625, 2.0081268553382365 1.496117172916774, 1.915111107797445 1.6069690242163481 C1.8220953602566536 1.7178208755159223, 1.7178208755159226 1.8220953602566536, 1.6069690242163484 1.915111107797445 C1.4961171729167742 2.0081268553382365, 1.375319777650363 2.0927101020998755, 1.2500000000000002 2.1650635094610964 C1.1246802223496375 2.2374169168223172, 0.9910302842862845 2.2997389064532, 0.8550503583141721 2.349231551964771 C0.7190704323420597 2.3987241974763416, 0.576628837219688 2.436891307857982, 0.43412044416732604 2.46201938253052 C0.291612051114964 2.487147457203058, 0.14470681472244212 2.5, 1.5308084989341916e-16 2.5 C-0.1447068147224418 2.5, -0.2916120511149638 2.487147457203058, -0.43412044416732576 2.46201938253052 C-0.5766288372196877 2.436891307857982, -0.7190704323420595 2.3987241974763416, -0.8550503583141718 2.3492315519647713 C-0.991030284286284 2.299738906453201, -1.124680222349637 2.2374169168223177, -1.2499999999999996 2.165063509461097 C-1.375319777650362 2.092710102099876, -1.4961171729167733 2.008126855338237, -1.6069690242163475 1.9151111077974459 C-1.7178208755159217 1.8220953602566548, -1.822095360256653 1.7178208755159234, -1.9151111077974443 1.6069690242163495 C-2.0081268553382357 1.4961171729167755, -2.0927101020998746 1.3753197776503645, -2.1650635094610955 1.250000000000002 C-2.2374169168223164 1.1246802223496395, -2.2997389064531992 0.9910302842862865, -2.34923155196477 0.8550503583141743 C-2.3987241974763407 0.7190704323420621, -2.436891307857981 0.5766288372196907, -2.4620193825305194 0.434120444167329 C-2.487147457203058 0.29161205111496724, -2.5 0.14470681472244545, -2.5 3.636830773662308e-15 C-2.5 -0.14470681472243818, -2.4871474572030587 -0.2916120511149599, -2.4620193825305208 -0.4341204441673218 C-2.436891307857983 -0.5766288372196837, -2.398724197476343 -0.7190704323420553, -2.3492315519647726 -0.8550503583141675 C-2.2997389064532023 -0.9910302842862798, -2.23741691682232 -1.1246802223496328, -2.165063509461099 -1.2499999999999956 C-2.092710102099878 -1.3753197776503583, -2.00812685533824 -1.4961171729167695, -1.9151111077974488 -1.606969024216344 C-1.8220953602566576 -1.7178208755159183, -1.7178208755159263 -1.82209536025665, -1.6069690242163523 -1.9151111077974416 C-1.4961171729167784 -2.0081268553382334, -1.3753197776503672 -2.0927101020998724, -1.2500000000000047 -2.1650635094610937 C-1.1246802223496422 -2.237416916822315, -0.9910302842862897 -2.299738906453198, -0.8550503583141776 -2.3492315519647686 C-0.7190704323420656 -2.3987241974763394, -0.5766288372196942 -2.4368913078579806, -0.43412044416733236 -2.462019382530519 C-0.29161205111497057 -2.4871474572030574, -0.1447068147224489 -2.4999999999999996, -7.120580697431198e-15 -2.5 C0.14470681472243463 -2.5000000000000004, 0.29161205111495647 -2.487147457203059, 0.4341204441673183 -2.4620193825305217 C0.5766288372196802 -2.436891307857984, 0.7190704323420518 -2.3987241974763442, 0.8550503583141642 -2.349231551964774 C0.9910302842862766 -2.2997389064532037, 1.1246802223496295 -2.2374169168223212, 1.2499999999999925 -2.165063509461101 C1.3753197776503554 -2.0927101020998804, 1.4961171729167668 -2.008126855338242, 1.6069690242163412 -1.915111107797451 C1.7178208755159157 -1.82209536025666, 1.8220953602566472 -1.7178208755159294, 1.915111107797439 -1.6069690242163557 C2.0081268553382308 -1.496117172916782, 2.09271010209987 -1.3753197776503712, 2.1650635094610915 -1.2500000000000089 C2.237416916822313 -1.1246802223496466, 2.299738906453196 -0.9910302842862939, 2.3492315519647673 -0.855050358314182 C2.3987241974763385 -0.71907043234207, 2.4368913078579792 -0.5766288372196986, 2.462019382530518 -0.4341204441673369 C2.487147457203057 -0.29161205111497523, 2.4936698970884197 -0.07235340736123454, 2.5 -1.1714553645825241e-14 C2.5063301029115803 0.07235340736121111, 2.50633010291158 -0.07235340736122292, 2.5 0" stroke="#9370DB" stroke-width="2" fill="none" stroke-dasharray="0 0" style=""></path></g></g></g></g></g></g><defs><filter id="container-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"></feDropShadow></filter></defs><defs><filter id="container-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"></feDropShadow></filter></defs></svg>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
sequenceDiagram
|
|
2
|
+
participant A as Buyer agent
|
|
3
|
+
participant S as Server (requirePayment)
|
|
4
|
+
participant R as PaymentRouter
|
|
5
|
+
participant F as Facilitator / Arc RPC
|
|
6
|
+
|
|
7
|
+
A->>S: GET /resource (no payment)
|
|
8
|
+
S->>R: buildAccepts(price, payTo)
|
|
9
|
+
R-->>S: accepts[] (gateway, exact, arc-broadcast)
|
|
10
|
+
S-->>A: 402 + PAYMENT-REQUIRED (+ agentbadge ext)
|
|
11
|
+
A->>A: pick rail, sign EIP-3009
|
|
12
|
+
alt Arc self-settle
|
|
13
|
+
A->>F: broadcast transferWithAuthorization (gas in USDC)
|
|
14
|
+
F-->>A: txHash
|
|
15
|
+
end
|
|
16
|
+
A->>S: GET /resource + payment-signature
|
|
17
|
+
S->>R: verify(payload, requirements)
|
|
18
|
+
alt exact / gateway
|
|
19
|
+
R->>F: facilitator verify+settle
|
|
20
|
+
else arc self-settle
|
|
21
|
+
R->>F: getTransactionReceipt(txHash)<br/>check Transfer log + replay
|
|
22
|
+
end
|
|
23
|
+
F-->>R: settled
|
|
24
|
+
R-->>S: SettleResult
|
|
25
|
+
S-->>A: 200 + PAYMENT-RESPONSE + body
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="container" width="1309" xmlns="http://www.w3.org/2000/svg" height="1047" viewBox="-55 -10 1309 1047" role="graphics-document document" aria-roledescription="sequence"><g><rect x="1040" y="961" fill="#eaeaea" stroke="#666" width="164" height="65" name="F" rx="3" ry="3" class="actor actor-bottom"></rect><text x="1122" y="993.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="1122" dy="0">Facilitator / Arc RPC</tspan></text></g><g><rect x="756" y="961" fill="#eaeaea" stroke="#666" width="150" height="65" name="R" rx="3" ry="3" class="actor actor-bottom"></rect><text x="831" y="993.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="831" dy="0">PaymentRouter</tspan></text></g><g><rect x="371" y="961" fill="#eaeaea" stroke="#666" width="196" height="65" name="S" rx="3" ry="3" class="actor actor-bottom"></rect><text x="469" y="993.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="469" dy="0">Server (requirePayment)</tspan></text></g><g><rect x="0" y="961" fill="#eaeaea" stroke="#666" width="150" height="65" name="A" rx="3" ry="3" class="actor actor-bottom"></rect><text x="75" y="993.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="75" dy="0">Buyer agent</tspan></text></g><g><line id="actor3" x1="1122" y1="65" x2="1122" y2="961" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="F" data-et="life-line" data-id="F"></line><g id="root-3" data-et="participant" data-type="participant" data-id="F"><rect x="1040" y="0" fill="#eaeaea" stroke="#666" width="164" height="65" name="F" rx="3" ry="3" class="actor actor-top"></rect><text x="1122" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="1122" dy="0">Facilitator / Arc RPC</tspan></text></g></g><g><line id="actor2" x1="831" y1="65" x2="831" y2="961" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="R" data-et="life-line" data-id="R"></line><g id="root-2" data-et="participant" data-type="participant" data-id="R"><rect x="756" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" name="R" rx="3" ry="3" class="actor actor-top"></rect><text x="831" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="831" dy="0">PaymentRouter</tspan></text></g></g><g><line id="actor1" x1="469" y1="65" x2="469" y2="961" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="S" data-et="life-line" data-id="S"></line><g id="root-1" data-et="participant" data-type="participant" data-id="S"><rect x="371" y="0" fill="#eaeaea" stroke="#666" width="196" height="65" name="S" rx="3" ry="3" class="actor actor-top"></rect><text x="469" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="469" dy="0">Server (requirePayment)</tspan></text></g></g><g><line id="actor0" x1="75" y1="65" x2="75" y2="961" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="A" data-et="life-line" data-id="A"></line><g id="root-0" data-et="participant" data-type="participant" data-id="A"><rect x="0" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" name="A" rx="3" ry="3" class="actor actor-top"></rect><text x="75" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="75" dy="0">Buyer agent</tspan></text></g></g><style>#container{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#container .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#container .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#container .error-icon{fill:#552222;}#container .error-text{fill:#552222;stroke:#552222;}#container .edge-thickness-normal{stroke-width:1px;}#container .edge-thickness-thick{stroke-width:3.5px;}#container .edge-pattern-solid{stroke-dasharray:0;}#container .edge-thickness-invisible{stroke-width:0;fill:none;}#container .edge-pattern-dashed{stroke-dasharray:3;}#container .edge-pattern-dotted{stroke-dasharray:2;}#container .marker{fill:#333333;stroke:#333333;}#container .marker.cross{stroke:#333333;}#container svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#container p{margin:0;}#container .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#container rect.actor.outer-path[data-look="neo"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container rect.note[data-look="neo"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container text.actor>tspan{fill:black;stroke:none;}#container .actor-line{stroke:#9370DB;}#container .innerArc{stroke-width:1.5;stroke-dasharray:none;}#container .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#container .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#container [id$="-arrowhead"] path{fill:#333;stroke:#333;}#container .sequenceNumber{fill:white;}#container [id$="-sequencenumber"]{fill:#333;}#container [id$="-crosshead"] path{fill:#333;stroke:#333;}#container .messageText{fill:#333;stroke:none;}#container .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#container .labelText,#container .labelText>tspan{fill:black;stroke:none;}#container .loopText,#container .loopText>tspan{fill:black;stroke:none;}#container .sectionTitle,#container .sectionTitle>tspan{fill:black;stroke:none;}#container .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#container .note{stroke:#aaaa33;fill:#fff5ad;}#container .noteText,#container .noteText>tspan{fill:black;stroke:none;font-weight:normal;}#container .activation0{fill:#f4f4f4;stroke:#666;}#container .activation1{fill:#f4f4f4;stroke:#666;}#container .activation2{fill:#f4f4f4;stroke:#666;}#container .actorPopupMenu{position:absolute;}#container .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#container .actor-man circle,#container line{fill:#ECECFF;stroke-width:2px;}#container g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#container .node .neo-node{stroke:#9370DB;}#container [data-look="neo"].node rect,#container [data-look="neo"].cluster rect,#container [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].swimlane.cluster rect{filter:none;}#container [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#container [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#container [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].node circle .state-start{fill:#000000;}#container [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#container :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g></g><defs><symbol id="container-computer" width="24" height="24"><path transform="scale(.5)" d="M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"></path></symbol></defs><defs><symbol id="container-database" fill-rule="evenodd" clip-rule="evenodd"><path transform="scale(.5)" d="M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"></path></symbol></defs><defs><symbol id="container-clock" width="24" height="24"><path transform="scale(.5)" d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"></path></symbol></defs><defs><marker id="container-arrowhead" refX="7.9" refY="5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M -1 0 L 10 5 L 0 10 z"></path></marker></defs><defs><marker id="container-crosshead" markerWidth="15" markerHeight="8" orient="auto" refX="4" refY="4.5"><path fill="none" stroke="#000000" stroke-width="1pt" d="M 1,2 L 6,7 M 6,2 L 1,7" style="stroke-dasharray: 0, 0;"></path></marker></defs><defs><marker id="container-filled-head" refX="15.5" refY="7" markerWidth="20" markerHeight="28" orient="auto"><path d="M 18,7 L9,13 L14,7 L9,1 Z"></path></marker></defs><defs><marker id="container-sequencenumber" refX="15" refY="15" markerWidth="60" markerHeight="40" orient="auto"><circle cx="15" cy="15" r="6"></circle></marker></defs><defs><marker id="container-solidTopArrowHead" refX="7.9" refY="7.25" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 0 L 10 8 L 0 8 z"></path></marker></defs><defs><marker id="container-solidBottomArrowHead" refX="7.9" refY="0.75" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 0 L 10 0 L 0 8 z"></path></marker></defs><defs><marker id="container-stickTopArrowHead" refX="7.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 0 L 7 7" stroke="black" stroke-width="1.5" fill="none"></path></marker></defs><defs><marker id="container-stickBottomArrowHead" refX="7.5" refY="0" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 7 L 7 0" stroke="black" stroke-width="1.5" fill="none"></path></marker></defs><g data-et="control-structure" data-id="i8"><line x1="64" y1="345" x2="1133" y2="345" class="loopLine"></line><line x1="1133" y1="345" x2="1133" y2="486" class="loopLine"></line><line x1="64" y1="486" x2="1133" y2="486" class="loopLine"></line><line x1="64" y1="345" x2="64" y2="486" class="loopLine"></line><polygon points="64,345 114,345 114,358 105.6,365 64,365" class="labelBox"></polygon><text x="89" y="358" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="labelText" style="font-size: 16px; font-weight: 400;">alt</text><text x="623.5" y="363" text-anchor="middle" class="loopText" style="font-size: 16px; font-weight: 400;"><tspan x="623.5">[Arc self-settle]</tspan></text></g><g data-et="control-structure" data-id="i15"><line x1="820" y1="592" x2="1133" y2="592" class="loopLine"></line><line x1="1133" y1="592" x2="1133" y2="797" class="loopLine"></line><line x1="820" y1="797" x2="1133" y2="797" class="loopLine"></line><line x1="820" y1="592" x2="820" y2="797" class="loopLine"></line><line x1="820" y1="690" x2="1133" y2="690" class="loopLine" style="stroke-dasharray: 3, 3;"></line><polygon points="820,592 870,592 870,605 861.6,612 820,612" class="labelBox"></polygon><text x="845" y="605" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="labelText" style="font-size: 16px; font-weight: 400;">alt</text><text x="1001.5" y="610" text-anchor="middle" class="loopText" style="font-size: 16px; font-weight: 400;"><tspan x="1001.5">[exact / gateway]</tspan></text><text x="976.5" y="708" text-anchor="middle" class="sectionTitle" style="font-size: 16px; font-weight: 400;">[arc self-settle]</text></g><text x="271" y="80" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">GET /resource (no payment)</text><line x1="76" y1="113" x2="465" y2="113" class="messageLine0" data-et="message" data-id="i0" data-from="A" data-to="S" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="fill: none;"></line><text x="649" y="128" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">buildAccepts(price, payTo)</text><line x1="470" y1="161" x2="827" y2="161" class="messageLine0" data-et="message" data-id="i1" data-from="S" data-to="R" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="fill: none;"></line><text x="652" y="176" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">accepts[] (gateway, exact, arc-broadcast)</text><line x1="830" y1="209" x2="473" y2="209" class="messageLine1" data-et="message" data-id="i2" data-from="R" data-to="S" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line><text x="274" y="224" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">402 + PAYMENT-REQUIRED (+ agentbadge ext)</text><line x1="468" y1="257" x2="79" y2="257" class="messageLine1" data-et="message" data-id="i3" data-from="S" data-to="A" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line><text x="76" y="272" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">pick rail, sign EIP-3009</text><path d="M 76,305 C 136,295 136,335 76,325" class="messageLine0" data-et="message" data-id="i4" data-from="A" data-to="A" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="fill: none;"></path><text x="597" y="395" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">broadcast transferWithAuthorization (gas in USDC)</text><line x1="76" y1="428" x2="1118" y2="428" class="messageLine0" data-et="message" data-id="i6" data-from="A" data-to="F" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="fill: none;"></line><text x="600" y="443" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">txHash</text><line x1="1121" y1="476" x2="79" y2="476" class="messageLine1" data-et="message" data-id="i7" data-from="F" data-to="A" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line><text x="271" y="501" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">GET /resource + payment-signature</text><line x1="76" y1="534" x2="465" y2="534" class="messageLine0" data-et="message" data-id="i9" data-from="A" data-to="S" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="fill: none;"></line><text x="649" y="549" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">verify(payload, requirements)</text><line x1="470" y1="582" x2="827" y2="582" class="messageLine0" data-et="message" data-id="i10" data-from="S" data-to="R" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="fill: none;"></line><text x="975" y="642" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">facilitator verify+settle</text><line x1="832" y1="675" x2="1118" y2="675" class="messageLine0" data-et="message" data-id="i12" data-from="R" data-to="F" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="fill: none;"></line><text x="975" y="735" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">getTransactionReceipt(txHash)</text><text x="975" y="754" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">check Transfer log + replay</text><line x1="832" y1="787" x2="1118" y2="787" class="messageLine0" data-et="message" data-id="i14" data-from="R" data-to="F" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="fill: none;"></line><text x="978" y="812" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">settled</text><line x1="1121" y1="845" x2="835" y2="845" class="messageLine1" data-et="message" data-id="i16" data-from="F" data-to="R" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line><text x="652" y="860" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">SettleResult</text><line x1="830" y1="893" x2="473" y2="893" class="messageLine1" data-et="message" data-id="i17" data-from="R" data-to="S" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line><text x="274" y="908" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">200 + PAYMENT-RESPONSE + body</text><line x1="468" y1="941" x2="79" y2="941" class="messageLine1" data-et="message" data-id="i18" data-from="S" data-to="A" stroke-width="2" stroke="none" marker-end="url(#container-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line></svg>
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentbadge/circle-payments",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Circle Gateway nanopayments + x402 payment rails (Base Sepolia, Arc) for AgentBadge \u2014 trusted agent payments",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
|
-
"dist"
|
|
9
|
+
"dist",
|
|
10
|
+
"diagrams"
|
|
10
11
|
],
|
|
11
12
|
"author": "AgentBadge",
|
|
12
13
|
"license": "MIT",
|