kompass-sdk 0.1.0
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/dist/a2a/agent-card.d.ts +13 -0
- package/dist/a2a/agent-card.d.ts.map +1 -0
- package/dist/a2a/agent-card.js +52 -0
- package/dist/a2a/agent-card.js.map +1 -0
- package/dist/a2a/bridge.d.ts +52 -0
- package/dist/a2a/bridge.d.ts.map +1 -0
- package/dist/a2a/bridge.js +123 -0
- package/dist/a2a/bridge.js.map +1 -0
- package/dist/a2a/client.d.ts +34 -0
- package/dist/a2a/client.d.ts.map +1 -0
- package/dist/a2a/client.js +65 -0
- package/dist/a2a/client.js.map +1 -0
- package/dist/a2a/server.d.ts +17 -0
- package/dist/a2a/server.d.ts.map +1 -0
- package/dist/a2a/server.js +194 -0
- package/dist/a2a/server.js.map +1 -0
- package/dist/abi.d.ts +1068 -0
- package/dist/abi.d.ts.map +1 -0
- package/dist/abi.js +1372 -0
- package/dist/abi.js.map +1 -0
- package/dist/adapters/agentkit.d.ts +41 -0
- package/dist/adapters/agentkit.d.ts.map +1 -0
- package/dist/adapters/agentkit.js +67 -0
- package/dist/adapters/agentkit.js.map +1 -0
- package/dist/adapters/generic.d.ts +35 -0
- package/dist/adapters/generic.d.ts.map +1 -0
- package/dist/adapters/generic.js +47 -0
- package/dist/adapters/generic.js.map +1 -0
- package/dist/adapters/index.d.ts +5 -0
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/index.js +5 -0
- package/dist/adapters/index.js.map +1 -0
- package/dist/adapters/langchain.d.ts +26 -0
- package/dist/adapters/langchain.d.ts.map +1 -0
- package/dist/adapters/langchain.js +228 -0
- package/dist/adapters/langchain.js.map +1 -0
- package/dist/adapters/openclaw.d.ts +18 -0
- package/dist/adapters/openclaw.d.ts.map +1 -0
- package/dist/adapters/openclaw.js +168 -0
- package/dist/adapters/openclaw.js.map +1 -0
- package/dist/aggregator.d.ts +36 -0
- package/dist/aggregator.d.ts.map +1 -0
- package/dist/aggregator.js +168 -0
- package/dist/aggregator.js.map +1 -0
- package/dist/backends/acp.d.ts +29 -0
- package/dist/backends/acp.d.ts.map +1 -0
- package/dist/backends/acp.js +126 -0
- package/dist/backends/acp.js.map +1 -0
- package/dist/backends/types.d.ts +59 -0
- package/dist/backends/types.d.ts.map +1 -0
- package/dist/backends/types.js +2 -0
- package/dist/backends/types.js.map +1 -0
- package/dist/bridge.d.ts +35 -0
- package/dist/bridge.d.ts.map +1 -0
- package/dist/bridge.js +192 -0
- package/dist/bridge.js.map +1 -0
- package/dist/cli.d.ts +12 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +331 -0
- package/dist/cli.js.map +1 -0
- package/dist/discover.d.ts +15 -0
- package/dist/discover.d.ts.map +1 -0
- package/dist/discover.js +163 -0
- package/dist/discover.js.map +1 -0
- package/dist/escrow.d.ts +45 -0
- package/dist/escrow.d.ts.map +1 -0
- package/dist/escrow.js +243 -0
- package/dist/escrow.js.map +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +145 -0
- package/dist/index.js.map +1 -0
- package/dist/intents.d.ts +28 -0
- package/dist/intents.d.ts.map +1 -0
- package/dist/intents.js +111 -0
- package/dist/intents.js.map +1 -0
- package/dist/matching.d.ts +29 -0
- package/dist/matching.d.ts.map +1 -0
- package/dist/matching.js +147 -0
- package/dist/matching.js.map +1 -0
- package/dist/pipelineAbi.d.ts +113 -0
- package/dist/pipelineAbi.d.ts.map +1 -0
- package/dist/pipelineAbi.js +74 -0
- package/dist/pipelineAbi.js.map +1 -0
- package/dist/pipelines.d.ts +42 -0
- package/dist/pipelines.d.ts.map +1 -0
- package/dist/pipelines.js +185 -0
- package/dist/pipelines.js.map +1 -0
- package/dist/registry.d.ts +36 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +187 -0
- package/dist/registry.js.map +1 -0
- package/dist/reputation.d.ts +10 -0
- package/dist/reputation.d.ts.map +1 -0
- package/dist/reputation.js +33 -0
- package/dist/reputation.js.map +1 -0
- package/dist/router.d.ts +72 -0
- package/dist/router.d.ts.map +1 -0
- package/dist/router.js +190 -0
- package/dist/router.js.map +1 -0
- package/dist/simple.d.ts +160 -0
- package/dist/simple.d.ts.map +1 -0
- package/dist/simple.js +237 -0
- package/dist/simple.js.map +1 -0
- package/dist/sources/a2a-wellknown.d.ts +8 -0
- package/dist/sources/a2a-wellknown.d.ts.map +1 -0
- package/dist/sources/a2a-wellknown.js +104 -0
- package/dist/sources/a2a-wellknown.js.map +1 -0
- package/dist/sources/acp.d.ts +7 -0
- package/dist/sources/acp.d.ts.map +1 -0
- package/dist/sources/acp.js +86 -0
- package/dist/sources/acp.js.map +1 -0
- package/dist/sources/adp.d.ts +7 -0
- package/dist/sources/adp.d.ts.map +1 -0
- package/dist/sources/adp.js +59 -0
- package/dist/sources/adp.js.map +1 -0
- package/dist/sources/erc8004.d.ts +7 -0
- package/dist/sources/erc8004.d.ts.map +1 -0
- package/dist/sources/erc8004.js +150 -0
- package/dist/sources/erc8004.js.map +1 -0
- package/dist/sources/index.d.ts +17 -0
- package/dist/sources/index.d.ts.map +1 -0
- package/dist/sources/index.js +35 -0
- package/dist/sources/index.js.map +1 -0
- package/dist/sources/kompass-registry.d.ts +8 -0
- package/dist/sources/kompass-registry.d.ts.map +1 -0
- package/dist/sources/kompass-registry.js +62 -0
- package/dist/sources/kompass-registry.js.map +1 -0
- package/dist/sources/l402-directory.d.ts +7 -0
- package/dist/sources/l402-directory.d.ts.map +1 -0
- package/dist/sources/l402-directory.js +42 -0
- package/dist/sources/l402-directory.js.map +1 -0
- package/dist/sources/mcp-registry.d.ts +8 -0
- package/dist/sources/mcp-registry.d.ts.map +1 -0
- package/dist/sources/mcp-registry.js +85 -0
- package/dist/sources/mcp-registry.js.map +1 -0
- package/dist/sources/skills.d.ts +8 -0
- package/dist/sources/skills.d.ts.map +1 -0
- package/dist/sources/skills.js +153 -0
- package/dist/sources/skills.js.map +1 -0
- package/dist/sources/types.d.ts +72 -0
- package/dist/sources/types.d.ts.map +1 -0
- package/dist/sources/types.js +8 -0
- package/dist/sources/types.js.map +1 -0
- package/dist/sources/x402-ecosystem.d.ts +7 -0
- package/dist/sources/x402-ecosystem.d.ts.map +1 -0
- package/dist/sources/x402-ecosystem.js +78 -0
- package/dist/sources/x402-ecosystem.js.map +1 -0
- package/dist/types.d.ts +133 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/unified.d.ts +90 -0
- package/dist/unified.d.ts.map +1 -0
- package/dist/unified.js +107 -0
- package/dist/unified.js.map +1 -0
- package/dist/x402.d.ts +30 -0
- package/dist/x402.d.ts.map +1 -0
- package/dist/x402.js +79 -0
- package/dist/x402.js.map +1 -0
- package/package.json +61 -0
- package/scripts/bootstrap-agents.mjs +246 -0
- package/src/.gitkeep +0 -0
- package/src/a2a/agent-card.ts +66 -0
- package/src/a2a/bridge.ts +168 -0
- package/src/a2a/client.ts +92 -0
- package/src/a2a/server.ts +234 -0
- package/src/abi.ts +1373 -0
- package/src/adapters/agentkit.ts +83 -0
- package/src/adapters/generic.ts +62 -0
- package/src/adapters/index.ts +4 -0
- package/src/adapters/langchain.ts +282 -0
- package/src/adapters/openclaw.ts +203 -0
- package/src/aggregator.ts +203 -0
- package/src/backends/acp.ts +199 -0
- package/src/backends/types.ts +78 -0
- package/src/bridge.ts +263 -0
- package/src/cli.ts +397 -0
- package/src/discover.ts +187 -0
- package/src/escrow.ts +284 -0
- package/src/index.ts +245 -0
- package/src/intents.ts +166 -0
- package/src/matching.ts +192 -0
- package/src/pipelineAbi.ts +74 -0
- package/src/pipelines.ts +253 -0
- package/src/registry.ts +232 -0
- package/src/reputation.ts +43 -0
- package/src/router.ts +279 -0
- package/src/simple.ts +366 -0
- package/src/sources/a2a-wellknown.ts +120 -0
- package/src/sources/acp.ts +91 -0
- package/src/sources/adp.ts +64 -0
- package/src/sources/erc8004.ts +166 -0
- package/src/sources/index.ts +52 -0
- package/src/sources/kompass-registry.ts +67 -0
- package/src/sources/l402-directory.ts +51 -0
- package/src/sources/mcp-registry.ts +104 -0
- package/src/sources/skills.ts +161 -0
- package/src/sources/types.ts +82 -0
- package/src/sources/x402-ecosystem.ts +86 -0
- package/src/types.ts +147 -0
- package/src/unified.ts +155 -0
- package/src/x402.ts +122 -0
- package/tests/pipelineFlow.test.ts +239 -0
- package/tsconfig.json +20 -0
package/dist/abi.d.ts
ADDED
|
@@ -0,0 +1,1068 @@
|
|
|
1
|
+
export declare const KompassEscrowAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "_paymentToken";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
readonly internalType: "address";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "_treasury";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "_feeBps";
|
|
13
|
+
readonly type: "uint16";
|
|
14
|
+
readonly internalType: "uint16";
|
|
15
|
+
}];
|
|
16
|
+
readonly stateMutability: "nonpayable";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "function";
|
|
19
|
+
readonly name: "claimRefund";
|
|
20
|
+
readonly inputs: readonly [{
|
|
21
|
+
readonly name: "jobId";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
readonly internalType: "uint256";
|
|
24
|
+
}];
|
|
25
|
+
readonly outputs: readonly [];
|
|
26
|
+
readonly stateMutability: "nonpayable";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "function";
|
|
29
|
+
readonly name: "complete";
|
|
30
|
+
readonly inputs: readonly [{
|
|
31
|
+
readonly name: "jobId";
|
|
32
|
+
readonly type: "uint256";
|
|
33
|
+
readonly internalType: "uint256";
|
|
34
|
+
}, {
|
|
35
|
+
readonly name: "reason";
|
|
36
|
+
readonly type: "bytes32";
|
|
37
|
+
readonly internalType: "bytes32";
|
|
38
|
+
}, {
|
|
39
|
+
readonly name: "optParams";
|
|
40
|
+
readonly type: "bytes";
|
|
41
|
+
readonly internalType: "bytes";
|
|
42
|
+
}];
|
|
43
|
+
readonly outputs: readonly [];
|
|
44
|
+
readonly stateMutability: "nonpayable";
|
|
45
|
+
}, {
|
|
46
|
+
readonly type: "function";
|
|
47
|
+
readonly name: "completeMilestone";
|
|
48
|
+
readonly inputs: readonly [{
|
|
49
|
+
readonly name: "jobId";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
readonly internalType: "uint256";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "milestoneIndex";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
readonly internalType: "uint256";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "reason";
|
|
58
|
+
readonly type: "bytes32";
|
|
59
|
+
readonly internalType: "bytes32";
|
|
60
|
+
}];
|
|
61
|
+
readonly outputs: readonly [];
|
|
62
|
+
readonly stateMutability: "nonpayable";
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "completePartial";
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly name: "jobId";
|
|
68
|
+
readonly type: "uint256";
|
|
69
|
+
readonly internalType: "uint256";
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "percentageBps";
|
|
72
|
+
readonly type: "uint16";
|
|
73
|
+
readonly internalType: "uint16";
|
|
74
|
+
}, {
|
|
75
|
+
readonly name: "reason";
|
|
76
|
+
readonly type: "bytes32";
|
|
77
|
+
readonly internalType: "bytes32";
|
|
78
|
+
}];
|
|
79
|
+
readonly outputs: readonly [];
|
|
80
|
+
readonly stateMutability: "nonpayable";
|
|
81
|
+
}, {
|
|
82
|
+
readonly type: "function";
|
|
83
|
+
readonly name: "createJob";
|
|
84
|
+
readonly inputs: readonly [{
|
|
85
|
+
readonly name: "provider";
|
|
86
|
+
readonly type: "address";
|
|
87
|
+
readonly internalType: "address";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "evaluator";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
readonly internalType: "address";
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "expiredAt";
|
|
94
|
+
readonly type: "uint256";
|
|
95
|
+
readonly internalType: "uint256";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "description";
|
|
98
|
+
readonly type: "string";
|
|
99
|
+
readonly internalType: "string";
|
|
100
|
+
}, {
|
|
101
|
+
readonly name: "hook";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
readonly internalType: "address";
|
|
104
|
+
}];
|
|
105
|
+
readonly outputs: readonly [{
|
|
106
|
+
readonly name: "jobId";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
readonly internalType: "uint256";
|
|
109
|
+
}];
|
|
110
|
+
readonly stateMutability: "nonpayable";
|
|
111
|
+
}, {
|
|
112
|
+
readonly type: "function";
|
|
113
|
+
readonly name: "createJobWithMilestones";
|
|
114
|
+
readonly inputs: readonly [{
|
|
115
|
+
readonly name: "provider";
|
|
116
|
+
readonly type: "address";
|
|
117
|
+
readonly internalType: "address";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "evaluator";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
readonly internalType: "address";
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "expiredAt";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
readonly internalType: "uint256";
|
|
126
|
+
}, {
|
|
127
|
+
readonly name: "description";
|
|
128
|
+
readonly type: "string";
|
|
129
|
+
readonly internalType: "string";
|
|
130
|
+
}, {
|
|
131
|
+
readonly name: "hook";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
}, {
|
|
135
|
+
readonly name: "milestoneBudgetSharesBps";
|
|
136
|
+
readonly type: "uint16[]";
|
|
137
|
+
readonly internalType: "uint16[]";
|
|
138
|
+
}];
|
|
139
|
+
readonly outputs: readonly [{
|
|
140
|
+
readonly name: "jobId";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
readonly internalType: "uint256";
|
|
143
|
+
}];
|
|
144
|
+
readonly stateMutability: "nonpayable";
|
|
145
|
+
}, {
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
readonly name: "feeBps";
|
|
148
|
+
readonly inputs: readonly [];
|
|
149
|
+
readonly outputs: readonly [{
|
|
150
|
+
readonly name: "";
|
|
151
|
+
readonly type: "uint16";
|
|
152
|
+
readonly internalType: "uint16";
|
|
153
|
+
}];
|
|
154
|
+
readonly stateMutability: "view";
|
|
155
|
+
}, {
|
|
156
|
+
readonly type: "function";
|
|
157
|
+
readonly name: "fund";
|
|
158
|
+
readonly inputs: readonly [{
|
|
159
|
+
readonly name: "jobId";
|
|
160
|
+
readonly type: "uint256";
|
|
161
|
+
readonly internalType: "uint256";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "expectedBudget";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
readonly internalType: "uint256";
|
|
166
|
+
}, {
|
|
167
|
+
readonly name: "optParams";
|
|
168
|
+
readonly type: "bytes";
|
|
169
|
+
readonly internalType: "bytes";
|
|
170
|
+
}];
|
|
171
|
+
readonly outputs: readonly [];
|
|
172
|
+
readonly stateMutability: "nonpayable";
|
|
173
|
+
}, {
|
|
174
|
+
readonly type: "function";
|
|
175
|
+
readonly name: "getMilestones";
|
|
176
|
+
readonly inputs: readonly [{
|
|
177
|
+
readonly name: "jobId";
|
|
178
|
+
readonly type: "uint256";
|
|
179
|
+
readonly internalType: "uint256";
|
|
180
|
+
}];
|
|
181
|
+
readonly outputs: readonly [{
|
|
182
|
+
readonly name: "";
|
|
183
|
+
readonly type: "tuple[]";
|
|
184
|
+
readonly internalType: "struct IACP.Milestone[]";
|
|
185
|
+
readonly components: readonly [{
|
|
186
|
+
readonly name: "budgetShareBps";
|
|
187
|
+
readonly type: "uint16";
|
|
188
|
+
readonly internalType: "uint16";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "deliverable";
|
|
191
|
+
readonly type: "bytes32";
|
|
192
|
+
readonly internalType: "bytes32";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "status";
|
|
195
|
+
readonly type: "uint8";
|
|
196
|
+
readonly internalType: "enum IACP.MilestoneStatus";
|
|
197
|
+
}];
|
|
198
|
+
}];
|
|
199
|
+
readonly stateMutability: "view";
|
|
200
|
+
}, {
|
|
201
|
+
readonly type: "function";
|
|
202
|
+
readonly name: "jobs";
|
|
203
|
+
readonly inputs: readonly [{
|
|
204
|
+
readonly name: "";
|
|
205
|
+
readonly type: "uint256";
|
|
206
|
+
readonly internalType: "uint256";
|
|
207
|
+
}];
|
|
208
|
+
readonly outputs: readonly [{
|
|
209
|
+
readonly name: "client";
|
|
210
|
+
readonly type: "address";
|
|
211
|
+
readonly internalType: "address";
|
|
212
|
+
}, {
|
|
213
|
+
readonly name: "provider";
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
readonly internalType: "address";
|
|
216
|
+
}, {
|
|
217
|
+
readonly name: "evaluator";
|
|
218
|
+
readonly type: "address";
|
|
219
|
+
readonly internalType: "address";
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "hook";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
readonly internalType: "address";
|
|
224
|
+
}, {
|
|
225
|
+
readonly name: "budget";
|
|
226
|
+
readonly type: "uint256";
|
|
227
|
+
readonly internalType: "uint256";
|
|
228
|
+
}, {
|
|
229
|
+
readonly name: "expiredAt";
|
|
230
|
+
readonly type: "uint256";
|
|
231
|
+
readonly internalType: "uint256";
|
|
232
|
+
}, {
|
|
233
|
+
readonly name: "status";
|
|
234
|
+
readonly type: "uint8";
|
|
235
|
+
readonly internalType: "enum IACP.JobStatus";
|
|
236
|
+
}, {
|
|
237
|
+
readonly name: "description";
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
readonly internalType: "string";
|
|
240
|
+
}, {
|
|
241
|
+
readonly name: "deliverable";
|
|
242
|
+
readonly type: "bytes32";
|
|
243
|
+
readonly internalType: "bytes32";
|
|
244
|
+
}, {
|
|
245
|
+
readonly name: "milestoneCount";
|
|
246
|
+
readonly type: "uint8";
|
|
247
|
+
readonly internalType: "uint8";
|
|
248
|
+
}, {
|
|
249
|
+
readonly name: "currentMilestone";
|
|
250
|
+
readonly type: "uint8";
|
|
251
|
+
readonly internalType: "uint8";
|
|
252
|
+
}];
|
|
253
|
+
readonly stateMutability: "view";
|
|
254
|
+
}, {
|
|
255
|
+
readonly type: "function";
|
|
256
|
+
readonly name: "nextJobId";
|
|
257
|
+
readonly inputs: readonly [];
|
|
258
|
+
readonly outputs: readonly [{
|
|
259
|
+
readonly name: "";
|
|
260
|
+
readonly type: "uint256";
|
|
261
|
+
readonly internalType: "uint256";
|
|
262
|
+
}];
|
|
263
|
+
readonly stateMutability: "view";
|
|
264
|
+
}, {
|
|
265
|
+
readonly type: "function";
|
|
266
|
+
readonly name: "paymentToken";
|
|
267
|
+
readonly inputs: readonly [];
|
|
268
|
+
readonly outputs: readonly [{
|
|
269
|
+
readonly name: "";
|
|
270
|
+
readonly type: "address";
|
|
271
|
+
readonly internalType: "contract IERC20";
|
|
272
|
+
}];
|
|
273
|
+
readonly stateMutability: "view";
|
|
274
|
+
}, {
|
|
275
|
+
readonly type: "function";
|
|
276
|
+
readonly name: "reject";
|
|
277
|
+
readonly inputs: readonly [{
|
|
278
|
+
readonly name: "jobId";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
readonly internalType: "uint256";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "reason";
|
|
283
|
+
readonly type: "bytes32";
|
|
284
|
+
readonly internalType: "bytes32";
|
|
285
|
+
}, {
|
|
286
|
+
readonly name: "optParams";
|
|
287
|
+
readonly type: "bytes";
|
|
288
|
+
readonly internalType: "bytes";
|
|
289
|
+
}];
|
|
290
|
+
readonly outputs: readonly [];
|
|
291
|
+
readonly stateMutability: "nonpayable";
|
|
292
|
+
}, {
|
|
293
|
+
readonly type: "function";
|
|
294
|
+
readonly name: "releasedBudget";
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly name: "";
|
|
297
|
+
readonly type: "uint256";
|
|
298
|
+
readonly internalType: "uint256";
|
|
299
|
+
}];
|
|
300
|
+
readonly outputs: readonly [{
|
|
301
|
+
readonly name: "";
|
|
302
|
+
readonly type: "uint256";
|
|
303
|
+
readonly internalType: "uint256";
|
|
304
|
+
}];
|
|
305
|
+
readonly stateMutability: "view";
|
|
306
|
+
}, {
|
|
307
|
+
readonly type: "function";
|
|
308
|
+
readonly name: "setBudget";
|
|
309
|
+
readonly inputs: readonly [{
|
|
310
|
+
readonly name: "jobId";
|
|
311
|
+
readonly type: "uint256";
|
|
312
|
+
readonly internalType: "uint256";
|
|
313
|
+
}, {
|
|
314
|
+
readonly name: "amount";
|
|
315
|
+
readonly type: "uint256";
|
|
316
|
+
readonly internalType: "uint256";
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "optParams";
|
|
319
|
+
readonly type: "bytes";
|
|
320
|
+
readonly internalType: "bytes";
|
|
321
|
+
}];
|
|
322
|
+
readonly outputs: readonly [];
|
|
323
|
+
readonly stateMutability: "nonpayable";
|
|
324
|
+
}, {
|
|
325
|
+
readonly type: "function";
|
|
326
|
+
readonly name: "setProvider";
|
|
327
|
+
readonly inputs: readonly [{
|
|
328
|
+
readonly name: "jobId";
|
|
329
|
+
readonly type: "uint256";
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
}, {
|
|
332
|
+
readonly name: "provider";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
readonly internalType: "address";
|
|
335
|
+
}, {
|
|
336
|
+
readonly name: "optParams";
|
|
337
|
+
readonly type: "bytes";
|
|
338
|
+
readonly internalType: "bytes";
|
|
339
|
+
}];
|
|
340
|
+
readonly outputs: readonly [];
|
|
341
|
+
readonly stateMutability: "nonpayable";
|
|
342
|
+
}, {
|
|
343
|
+
readonly type: "function";
|
|
344
|
+
readonly name: "submit";
|
|
345
|
+
readonly inputs: readonly [{
|
|
346
|
+
readonly name: "jobId";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
readonly internalType: "uint256";
|
|
349
|
+
}, {
|
|
350
|
+
readonly name: "deliverable";
|
|
351
|
+
readonly type: "bytes32";
|
|
352
|
+
readonly internalType: "bytes32";
|
|
353
|
+
}, {
|
|
354
|
+
readonly name: "optParams";
|
|
355
|
+
readonly type: "bytes";
|
|
356
|
+
readonly internalType: "bytes";
|
|
357
|
+
}];
|
|
358
|
+
readonly outputs: readonly [];
|
|
359
|
+
readonly stateMutability: "nonpayable";
|
|
360
|
+
}, {
|
|
361
|
+
readonly type: "function";
|
|
362
|
+
readonly name: "submitMilestone";
|
|
363
|
+
readonly inputs: readonly [{
|
|
364
|
+
readonly name: "jobId";
|
|
365
|
+
readonly type: "uint256";
|
|
366
|
+
readonly internalType: "uint256";
|
|
367
|
+
}, {
|
|
368
|
+
readonly name: "milestoneIndex";
|
|
369
|
+
readonly type: "uint256";
|
|
370
|
+
readonly internalType: "uint256";
|
|
371
|
+
}, {
|
|
372
|
+
readonly name: "deliverable";
|
|
373
|
+
readonly type: "bytes32";
|
|
374
|
+
readonly internalType: "bytes32";
|
|
375
|
+
}];
|
|
376
|
+
readonly outputs: readonly [];
|
|
377
|
+
readonly stateMutability: "nonpayable";
|
|
378
|
+
}, {
|
|
379
|
+
readonly type: "function";
|
|
380
|
+
readonly name: "treasury";
|
|
381
|
+
readonly inputs: readonly [];
|
|
382
|
+
readonly outputs: readonly [{
|
|
383
|
+
readonly name: "";
|
|
384
|
+
readonly type: "address";
|
|
385
|
+
readonly internalType: "address";
|
|
386
|
+
}];
|
|
387
|
+
readonly stateMutability: "view";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "event";
|
|
390
|
+
readonly name: "BudgetSet";
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly name: "jobId";
|
|
393
|
+
readonly type: "uint256";
|
|
394
|
+
readonly indexed: true;
|
|
395
|
+
readonly internalType: "uint256";
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "amount";
|
|
398
|
+
readonly type: "uint256";
|
|
399
|
+
readonly indexed: false;
|
|
400
|
+
readonly internalType: "uint256";
|
|
401
|
+
}];
|
|
402
|
+
readonly anonymous: false;
|
|
403
|
+
}, {
|
|
404
|
+
readonly type: "event";
|
|
405
|
+
readonly name: "JobCompleted";
|
|
406
|
+
readonly inputs: readonly [{
|
|
407
|
+
readonly name: "jobId";
|
|
408
|
+
readonly type: "uint256";
|
|
409
|
+
readonly indexed: true;
|
|
410
|
+
readonly internalType: "uint256";
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "evaluator";
|
|
413
|
+
readonly type: "address";
|
|
414
|
+
readonly indexed: true;
|
|
415
|
+
readonly internalType: "address";
|
|
416
|
+
}, {
|
|
417
|
+
readonly name: "reason";
|
|
418
|
+
readonly type: "bytes32";
|
|
419
|
+
readonly indexed: false;
|
|
420
|
+
readonly internalType: "bytes32";
|
|
421
|
+
}];
|
|
422
|
+
readonly anonymous: false;
|
|
423
|
+
}, {
|
|
424
|
+
readonly type: "event";
|
|
425
|
+
readonly name: "JobCompletedPartial";
|
|
426
|
+
readonly inputs: readonly [{
|
|
427
|
+
readonly name: "jobId";
|
|
428
|
+
readonly type: "uint256";
|
|
429
|
+
readonly indexed: true;
|
|
430
|
+
readonly internalType: "uint256";
|
|
431
|
+
}, {
|
|
432
|
+
readonly name: "evaluator";
|
|
433
|
+
readonly type: "address";
|
|
434
|
+
readonly indexed: true;
|
|
435
|
+
readonly internalType: "address";
|
|
436
|
+
}, {
|
|
437
|
+
readonly name: "percentageBps";
|
|
438
|
+
readonly type: "uint16";
|
|
439
|
+
readonly indexed: false;
|
|
440
|
+
readonly internalType: "uint16";
|
|
441
|
+
}, {
|
|
442
|
+
readonly name: "reason";
|
|
443
|
+
readonly type: "bytes32";
|
|
444
|
+
readonly indexed: false;
|
|
445
|
+
readonly internalType: "bytes32";
|
|
446
|
+
}];
|
|
447
|
+
readonly anonymous: false;
|
|
448
|
+
}, {
|
|
449
|
+
readonly type: "event";
|
|
450
|
+
readonly name: "JobCreated";
|
|
451
|
+
readonly inputs: readonly [{
|
|
452
|
+
readonly name: "jobId";
|
|
453
|
+
readonly type: "uint256";
|
|
454
|
+
readonly indexed: true;
|
|
455
|
+
readonly internalType: "uint256";
|
|
456
|
+
}, {
|
|
457
|
+
readonly name: "client";
|
|
458
|
+
readonly type: "address";
|
|
459
|
+
readonly indexed: true;
|
|
460
|
+
readonly internalType: "address";
|
|
461
|
+
}, {
|
|
462
|
+
readonly name: "provider";
|
|
463
|
+
readonly type: "address";
|
|
464
|
+
readonly indexed: false;
|
|
465
|
+
readonly internalType: "address";
|
|
466
|
+
}, {
|
|
467
|
+
readonly name: "evaluator";
|
|
468
|
+
readonly type: "address";
|
|
469
|
+
readonly indexed: false;
|
|
470
|
+
readonly internalType: "address";
|
|
471
|
+
}, {
|
|
472
|
+
readonly name: "expiredAt";
|
|
473
|
+
readonly type: "uint256";
|
|
474
|
+
readonly indexed: false;
|
|
475
|
+
readonly internalType: "uint256";
|
|
476
|
+
}];
|
|
477
|
+
readonly anonymous: false;
|
|
478
|
+
}, {
|
|
479
|
+
readonly type: "event";
|
|
480
|
+
readonly name: "JobExpired";
|
|
481
|
+
readonly inputs: readonly [{
|
|
482
|
+
readonly name: "jobId";
|
|
483
|
+
readonly type: "uint256";
|
|
484
|
+
readonly indexed: true;
|
|
485
|
+
readonly internalType: "uint256";
|
|
486
|
+
}];
|
|
487
|
+
readonly anonymous: false;
|
|
488
|
+
}, {
|
|
489
|
+
readonly type: "event";
|
|
490
|
+
readonly name: "JobFunded";
|
|
491
|
+
readonly inputs: readonly [{
|
|
492
|
+
readonly name: "jobId";
|
|
493
|
+
readonly type: "uint256";
|
|
494
|
+
readonly indexed: true;
|
|
495
|
+
readonly internalType: "uint256";
|
|
496
|
+
}, {
|
|
497
|
+
readonly name: "client";
|
|
498
|
+
readonly type: "address";
|
|
499
|
+
readonly indexed: true;
|
|
500
|
+
readonly internalType: "address";
|
|
501
|
+
}, {
|
|
502
|
+
readonly name: "amount";
|
|
503
|
+
readonly type: "uint256";
|
|
504
|
+
readonly indexed: false;
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
}];
|
|
507
|
+
readonly anonymous: false;
|
|
508
|
+
}, {
|
|
509
|
+
readonly type: "event";
|
|
510
|
+
readonly name: "JobRejected";
|
|
511
|
+
readonly inputs: readonly [{
|
|
512
|
+
readonly name: "jobId";
|
|
513
|
+
readonly type: "uint256";
|
|
514
|
+
readonly indexed: true;
|
|
515
|
+
readonly internalType: "uint256";
|
|
516
|
+
}, {
|
|
517
|
+
readonly name: "rejector";
|
|
518
|
+
readonly type: "address";
|
|
519
|
+
readonly indexed: true;
|
|
520
|
+
readonly internalType: "address";
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "reason";
|
|
523
|
+
readonly type: "bytes32";
|
|
524
|
+
readonly indexed: false;
|
|
525
|
+
readonly internalType: "bytes32";
|
|
526
|
+
}];
|
|
527
|
+
readonly anonymous: false;
|
|
528
|
+
}, {
|
|
529
|
+
readonly type: "event";
|
|
530
|
+
readonly name: "JobSubmitted";
|
|
531
|
+
readonly inputs: readonly [{
|
|
532
|
+
readonly name: "jobId";
|
|
533
|
+
readonly type: "uint256";
|
|
534
|
+
readonly indexed: true;
|
|
535
|
+
readonly internalType: "uint256";
|
|
536
|
+
}, {
|
|
537
|
+
readonly name: "provider";
|
|
538
|
+
readonly type: "address";
|
|
539
|
+
readonly indexed: true;
|
|
540
|
+
readonly internalType: "address";
|
|
541
|
+
}, {
|
|
542
|
+
readonly name: "deliverable";
|
|
543
|
+
readonly type: "bytes32";
|
|
544
|
+
readonly indexed: false;
|
|
545
|
+
readonly internalType: "bytes32";
|
|
546
|
+
}];
|
|
547
|
+
readonly anonymous: false;
|
|
548
|
+
}, {
|
|
549
|
+
readonly type: "event";
|
|
550
|
+
readonly name: "MilestoneApproved";
|
|
551
|
+
readonly inputs: readonly [{
|
|
552
|
+
readonly name: "jobId";
|
|
553
|
+
readonly type: "uint256";
|
|
554
|
+
readonly indexed: true;
|
|
555
|
+
readonly internalType: "uint256";
|
|
556
|
+
}, {
|
|
557
|
+
readonly name: "milestoneIndex";
|
|
558
|
+
readonly type: "uint256";
|
|
559
|
+
readonly indexed: false;
|
|
560
|
+
readonly internalType: "uint256";
|
|
561
|
+
}, {
|
|
562
|
+
readonly name: "reason";
|
|
563
|
+
readonly type: "bytes32";
|
|
564
|
+
readonly indexed: false;
|
|
565
|
+
readonly internalType: "bytes32";
|
|
566
|
+
}];
|
|
567
|
+
readonly anonymous: false;
|
|
568
|
+
}, {
|
|
569
|
+
readonly type: "event";
|
|
570
|
+
readonly name: "MilestoneSubmitted";
|
|
571
|
+
readonly inputs: readonly [{
|
|
572
|
+
readonly name: "jobId";
|
|
573
|
+
readonly type: "uint256";
|
|
574
|
+
readonly indexed: true;
|
|
575
|
+
readonly internalType: "uint256";
|
|
576
|
+
}, {
|
|
577
|
+
readonly name: "milestoneIndex";
|
|
578
|
+
readonly type: "uint256";
|
|
579
|
+
readonly indexed: false;
|
|
580
|
+
readonly internalType: "uint256";
|
|
581
|
+
}, {
|
|
582
|
+
readonly name: "deliverable";
|
|
583
|
+
readonly type: "bytes32";
|
|
584
|
+
readonly indexed: false;
|
|
585
|
+
readonly internalType: "bytes32";
|
|
586
|
+
}];
|
|
587
|
+
readonly anonymous: false;
|
|
588
|
+
}, {
|
|
589
|
+
readonly type: "event";
|
|
590
|
+
readonly name: "PaymentReleased";
|
|
591
|
+
readonly inputs: readonly [{
|
|
592
|
+
readonly name: "jobId";
|
|
593
|
+
readonly type: "uint256";
|
|
594
|
+
readonly indexed: true;
|
|
595
|
+
readonly internalType: "uint256";
|
|
596
|
+
}, {
|
|
597
|
+
readonly name: "provider";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
readonly indexed: true;
|
|
600
|
+
readonly internalType: "address";
|
|
601
|
+
}, {
|
|
602
|
+
readonly name: "amount";
|
|
603
|
+
readonly type: "uint256";
|
|
604
|
+
readonly indexed: false;
|
|
605
|
+
readonly internalType: "uint256";
|
|
606
|
+
}];
|
|
607
|
+
readonly anonymous: false;
|
|
608
|
+
}, {
|
|
609
|
+
readonly type: "event";
|
|
610
|
+
readonly name: "ProviderSet";
|
|
611
|
+
readonly inputs: readonly [{
|
|
612
|
+
readonly name: "jobId";
|
|
613
|
+
readonly type: "uint256";
|
|
614
|
+
readonly indexed: true;
|
|
615
|
+
readonly internalType: "uint256";
|
|
616
|
+
}, {
|
|
617
|
+
readonly name: "provider";
|
|
618
|
+
readonly type: "address";
|
|
619
|
+
readonly indexed: false;
|
|
620
|
+
readonly internalType: "address";
|
|
621
|
+
}];
|
|
622
|
+
readonly anonymous: false;
|
|
623
|
+
}, {
|
|
624
|
+
readonly type: "event";
|
|
625
|
+
readonly name: "Refunded";
|
|
626
|
+
readonly inputs: readonly [{
|
|
627
|
+
readonly name: "jobId";
|
|
628
|
+
readonly type: "uint256";
|
|
629
|
+
readonly indexed: true;
|
|
630
|
+
readonly internalType: "uint256";
|
|
631
|
+
}, {
|
|
632
|
+
readonly name: "client";
|
|
633
|
+
readonly type: "address";
|
|
634
|
+
readonly indexed: true;
|
|
635
|
+
readonly internalType: "address";
|
|
636
|
+
}, {
|
|
637
|
+
readonly name: "amount";
|
|
638
|
+
readonly type: "uint256";
|
|
639
|
+
readonly indexed: false;
|
|
640
|
+
readonly internalType: "uint256";
|
|
641
|
+
}];
|
|
642
|
+
readonly anonymous: false;
|
|
643
|
+
}, {
|
|
644
|
+
readonly type: "error";
|
|
645
|
+
readonly name: "EvaluatorRequired";
|
|
646
|
+
readonly inputs: readonly [];
|
|
647
|
+
}, {
|
|
648
|
+
readonly type: "error";
|
|
649
|
+
readonly name: "ExpiryInPast";
|
|
650
|
+
readonly inputs: readonly [];
|
|
651
|
+
}, {
|
|
652
|
+
readonly type: "error";
|
|
653
|
+
readonly name: "InvalidBudget";
|
|
654
|
+
readonly inputs: readonly [];
|
|
655
|
+
}, {
|
|
656
|
+
readonly type: "error";
|
|
657
|
+
readonly name: "InvalidMilestoneIndex";
|
|
658
|
+
readonly inputs: readonly [];
|
|
659
|
+
}, {
|
|
660
|
+
readonly type: "error";
|
|
661
|
+
readonly name: "InvalidMilestoneShares";
|
|
662
|
+
readonly inputs: readonly [];
|
|
663
|
+
}, {
|
|
664
|
+
readonly type: "error";
|
|
665
|
+
readonly name: "InvalidMilestoneStatus";
|
|
666
|
+
readonly inputs: readonly [];
|
|
667
|
+
}, {
|
|
668
|
+
readonly type: "error";
|
|
669
|
+
readonly name: "InvalidStatus";
|
|
670
|
+
readonly inputs: readonly [];
|
|
671
|
+
}, {
|
|
672
|
+
readonly type: "error";
|
|
673
|
+
readonly name: "NotExpired";
|
|
674
|
+
readonly inputs: readonly [];
|
|
675
|
+
}, {
|
|
676
|
+
readonly type: "error";
|
|
677
|
+
readonly name: "NotMilestoneJob";
|
|
678
|
+
readonly inputs: readonly [];
|
|
679
|
+
}, {
|
|
680
|
+
readonly type: "error";
|
|
681
|
+
readonly name: "ProviderAlreadySet";
|
|
682
|
+
readonly inputs: readonly [];
|
|
683
|
+
}, {
|
|
684
|
+
readonly type: "error";
|
|
685
|
+
readonly name: "ProviderNotSet";
|
|
686
|
+
readonly inputs: readonly [];
|
|
687
|
+
}, {
|
|
688
|
+
readonly type: "error";
|
|
689
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
690
|
+
readonly inputs: readonly [];
|
|
691
|
+
}, {
|
|
692
|
+
readonly type: "error";
|
|
693
|
+
readonly name: "SafeERC20FailedOperation";
|
|
694
|
+
readonly inputs: readonly [{
|
|
695
|
+
readonly name: "token";
|
|
696
|
+
readonly type: "address";
|
|
697
|
+
readonly internalType: "address";
|
|
698
|
+
}];
|
|
699
|
+
}, {
|
|
700
|
+
readonly type: "error";
|
|
701
|
+
readonly name: "Unauthorized";
|
|
702
|
+
readonly inputs: readonly [];
|
|
703
|
+
}, {
|
|
704
|
+
readonly type: "error";
|
|
705
|
+
readonly name: "ZeroAddress";
|
|
706
|
+
readonly inputs: readonly [];
|
|
707
|
+
}];
|
|
708
|
+
export declare const KompassRegistryAbi: readonly [{
|
|
709
|
+
readonly type: "constructor";
|
|
710
|
+
readonly inputs: readonly [{
|
|
711
|
+
readonly name: "_resolver";
|
|
712
|
+
readonly type: "address";
|
|
713
|
+
readonly internalType: "address";
|
|
714
|
+
}, {
|
|
715
|
+
readonly name: "_ensRegistry";
|
|
716
|
+
readonly type: "address";
|
|
717
|
+
readonly internalType: "address";
|
|
718
|
+
}];
|
|
719
|
+
readonly stateMutability: "nonpayable";
|
|
720
|
+
}, {
|
|
721
|
+
readonly type: "function";
|
|
722
|
+
readonly name: "KEY_CATEGORIES";
|
|
723
|
+
readonly inputs: readonly [];
|
|
724
|
+
readonly outputs: readonly [{
|
|
725
|
+
readonly name: "";
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
readonly internalType: "string";
|
|
728
|
+
}];
|
|
729
|
+
readonly stateMutability: "view";
|
|
730
|
+
}, {
|
|
731
|
+
readonly type: "function";
|
|
732
|
+
readonly name: "KEY_DESCRIPTION";
|
|
733
|
+
readonly inputs: readonly [];
|
|
734
|
+
readonly outputs: readonly [{
|
|
735
|
+
readonly name: "";
|
|
736
|
+
readonly type: "string";
|
|
737
|
+
readonly internalType: "string";
|
|
738
|
+
}];
|
|
739
|
+
readonly stateMutability: "view";
|
|
740
|
+
}, {
|
|
741
|
+
readonly type: "function";
|
|
742
|
+
readonly name: "KEY_ENDPOINT_A2A";
|
|
743
|
+
readonly inputs: readonly [];
|
|
744
|
+
readonly outputs: readonly [{
|
|
745
|
+
readonly name: "";
|
|
746
|
+
readonly type: "string";
|
|
747
|
+
readonly internalType: "string";
|
|
748
|
+
}];
|
|
749
|
+
readonly stateMutability: "view";
|
|
750
|
+
}, {
|
|
751
|
+
readonly type: "function";
|
|
752
|
+
readonly name: "KEY_ENDPOINT_MCP";
|
|
753
|
+
readonly inputs: readonly [];
|
|
754
|
+
readonly outputs: readonly [{
|
|
755
|
+
readonly name: "";
|
|
756
|
+
readonly type: "string";
|
|
757
|
+
readonly internalType: "string";
|
|
758
|
+
}];
|
|
759
|
+
readonly stateMutability: "view";
|
|
760
|
+
}, {
|
|
761
|
+
readonly type: "function";
|
|
762
|
+
readonly name: "KEY_ERC8004_ID";
|
|
763
|
+
readonly inputs: readonly [];
|
|
764
|
+
readonly outputs: readonly [{
|
|
765
|
+
readonly name: "";
|
|
766
|
+
readonly type: "string";
|
|
767
|
+
readonly internalType: "string";
|
|
768
|
+
}];
|
|
769
|
+
readonly stateMutability: "view";
|
|
770
|
+
}, {
|
|
771
|
+
readonly type: "function";
|
|
772
|
+
readonly name: "KEY_PRICING_MODEL";
|
|
773
|
+
readonly inputs: readonly [];
|
|
774
|
+
readonly outputs: readonly [{
|
|
775
|
+
readonly name: "";
|
|
776
|
+
readonly type: "string";
|
|
777
|
+
readonly internalType: "string";
|
|
778
|
+
}];
|
|
779
|
+
readonly stateMutability: "view";
|
|
780
|
+
}, {
|
|
781
|
+
readonly type: "function";
|
|
782
|
+
readonly name: "KEY_PRICING_RATE";
|
|
783
|
+
readonly inputs: readonly [];
|
|
784
|
+
readonly outputs: readonly [{
|
|
785
|
+
readonly name: "";
|
|
786
|
+
readonly type: "string";
|
|
787
|
+
readonly internalType: "string";
|
|
788
|
+
}];
|
|
789
|
+
readonly stateMutability: "view";
|
|
790
|
+
}, {
|
|
791
|
+
readonly type: "function";
|
|
792
|
+
readonly name: "KEY_TYPE";
|
|
793
|
+
readonly inputs: readonly [];
|
|
794
|
+
readonly outputs: readonly [{
|
|
795
|
+
readonly name: "";
|
|
796
|
+
readonly type: "string";
|
|
797
|
+
readonly internalType: "string";
|
|
798
|
+
}];
|
|
799
|
+
readonly stateMutability: "view";
|
|
800
|
+
}, {
|
|
801
|
+
readonly type: "function";
|
|
802
|
+
readonly name: "deregister";
|
|
803
|
+
readonly inputs: readonly [];
|
|
804
|
+
readonly outputs: readonly [];
|
|
805
|
+
readonly stateMutability: "nonpayable";
|
|
806
|
+
}, {
|
|
807
|
+
readonly type: "function";
|
|
808
|
+
readonly name: "ensNodes";
|
|
809
|
+
readonly inputs: readonly [{
|
|
810
|
+
readonly name: "";
|
|
811
|
+
readonly type: "address";
|
|
812
|
+
readonly internalType: "address";
|
|
813
|
+
}];
|
|
814
|
+
readonly outputs: readonly [{
|
|
815
|
+
readonly name: "";
|
|
816
|
+
readonly type: "bytes32";
|
|
817
|
+
readonly internalType: "bytes32";
|
|
818
|
+
}];
|
|
819
|
+
readonly stateMutability: "view";
|
|
820
|
+
}, {
|
|
821
|
+
readonly type: "function";
|
|
822
|
+
readonly name: "ensRegistry";
|
|
823
|
+
readonly inputs: readonly [];
|
|
824
|
+
readonly outputs: readonly [{
|
|
825
|
+
readonly name: "";
|
|
826
|
+
readonly type: "address";
|
|
827
|
+
readonly internalType: "contract IENSRegistry";
|
|
828
|
+
}];
|
|
829
|
+
readonly stateMutability: "view";
|
|
830
|
+
}, {
|
|
831
|
+
readonly type: "function";
|
|
832
|
+
readonly name: "getAgentProfile";
|
|
833
|
+
readonly inputs: readonly [{
|
|
834
|
+
readonly name: "agent";
|
|
835
|
+
readonly type: "address";
|
|
836
|
+
readonly internalType: "address";
|
|
837
|
+
}];
|
|
838
|
+
readonly outputs: readonly [{
|
|
839
|
+
readonly name: "agentType";
|
|
840
|
+
readonly type: "string";
|
|
841
|
+
readonly internalType: "string";
|
|
842
|
+
}, {
|
|
843
|
+
readonly name: "categories";
|
|
844
|
+
readonly type: "string";
|
|
845
|
+
readonly internalType: "string";
|
|
846
|
+
}, {
|
|
847
|
+
readonly name: "erc8004Id";
|
|
848
|
+
readonly type: "string";
|
|
849
|
+
readonly internalType: "string";
|
|
850
|
+
}, {
|
|
851
|
+
readonly name: "pricingModel";
|
|
852
|
+
readonly type: "string";
|
|
853
|
+
readonly internalType: "string";
|
|
854
|
+
}, {
|
|
855
|
+
readonly name: "pricingRate";
|
|
856
|
+
readonly type: "string";
|
|
857
|
+
readonly internalType: "string";
|
|
858
|
+
}, {
|
|
859
|
+
readonly name: "endpointMcp";
|
|
860
|
+
readonly type: "string";
|
|
861
|
+
readonly internalType: "string";
|
|
862
|
+
}, {
|
|
863
|
+
readonly name: "endpointA2a";
|
|
864
|
+
readonly type: "string";
|
|
865
|
+
readonly internalType: "string";
|
|
866
|
+
}, {
|
|
867
|
+
readonly name: "description";
|
|
868
|
+
readonly type: "string";
|
|
869
|
+
readonly internalType: "string";
|
|
870
|
+
}];
|
|
871
|
+
readonly stateMutability: "view";
|
|
872
|
+
}, {
|
|
873
|
+
readonly type: "function";
|
|
874
|
+
readonly name: "getEnsNode";
|
|
875
|
+
readonly inputs: readonly [{
|
|
876
|
+
readonly name: "agent";
|
|
877
|
+
readonly type: "address";
|
|
878
|
+
readonly internalType: "address";
|
|
879
|
+
}];
|
|
880
|
+
readonly outputs: readonly [{
|
|
881
|
+
readonly name: "";
|
|
882
|
+
readonly type: "bytes32";
|
|
883
|
+
readonly internalType: "bytes32";
|
|
884
|
+
}];
|
|
885
|
+
readonly stateMutability: "view";
|
|
886
|
+
}, {
|
|
887
|
+
readonly type: "function";
|
|
888
|
+
readonly name: "getRecord";
|
|
889
|
+
readonly inputs: readonly [{
|
|
890
|
+
readonly name: "ensNode";
|
|
891
|
+
readonly type: "bytes32";
|
|
892
|
+
readonly internalType: "bytes32";
|
|
893
|
+
}, {
|
|
894
|
+
readonly name: "key";
|
|
895
|
+
readonly type: "string";
|
|
896
|
+
readonly internalType: "string";
|
|
897
|
+
}];
|
|
898
|
+
readonly outputs: readonly [{
|
|
899
|
+
readonly name: "";
|
|
900
|
+
readonly type: "string";
|
|
901
|
+
readonly internalType: "string";
|
|
902
|
+
}];
|
|
903
|
+
readonly stateMutability: "view";
|
|
904
|
+
}, {
|
|
905
|
+
readonly type: "function";
|
|
906
|
+
readonly name: "isRegistered";
|
|
907
|
+
readonly inputs: readonly [{
|
|
908
|
+
readonly name: "";
|
|
909
|
+
readonly type: "address";
|
|
910
|
+
readonly internalType: "address";
|
|
911
|
+
}];
|
|
912
|
+
readonly outputs: readonly [{
|
|
913
|
+
readonly name: "";
|
|
914
|
+
readonly type: "bool";
|
|
915
|
+
readonly internalType: "bool";
|
|
916
|
+
}];
|
|
917
|
+
readonly stateMutability: "view";
|
|
918
|
+
}, {
|
|
919
|
+
readonly type: "function";
|
|
920
|
+
readonly name: "registerAgent";
|
|
921
|
+
readonly inputs: readonly [{
|
|
922
|
+
readonly name: "ensNode";
|
|
923
|
+
readonly type: "bytes32";
|
|
924
|
+
readonly internalType: "bytes32";
|
|
925
|
+
}];
|
|
926
|
+
readonly outputs: readonly [];
|
|
927
|
+
readonly stateMutability: "nonpayable";
|
|
928
|
+
}, {
|
|
929
|
+
readonly type: "function";
|
|
930
|
+
readonly name: "resolver";
|
|
931
|
+
readonly inputs: readonly [];
|
|
932
|
+
readonly outputs: readonly [{
|
|
933
|
+
readonly name: "";
|
|
934
|
+
readonly type: "address";
|
|
935
|
+
readonly internalType: "contract IENSResolver";
|
|
936
|
+
}];
|
|
937
|
+
readonly stateMutability: "view";
|
|
938
|
+
}, {
|
|
939
|
+
readonly type: "event";
|
|
940
|
+
readonly name: "AgentDeregistered";
|
|
941
|
+
readonly inputs: readonly [{
|
|
942
|
+
readonly name: "agent";
|
|
943
|
+
readonly type: "address";
|
|
944
|
+
readonly indexed: true;
|
|
945
|
+
readonly internalType: "address";
|
|
946
|
+
}, {
|
|
947
|
+
readonly name: "ensNode";
|
|
948
|
+
readonly type: "bytes32";
|
|
949
|
+
readonly indexed: true;
|
|
950
|
+
readonly internalType: "bytes32";
|
|
951
|
+
}];
|
|
952
|
+
readonly anonymous: false;
|
|
953
|
+
}, {
|
|
954
|
+
readonly type: "event";
|
|
955
|
+
readonly name: "AgentRegistered";
|
|
956
|
+
readonly inputs: readonly [{
|
|
957
|
+
readonly name: "agent";
|
|
958
|
+
readonly type: "address";
|
|
959
|
+
readonly indexed: true;
|
|
960
|
+
readonly internalType: "address";
|
|
961
|
+
}, {
|
|
962
|
+
readonly name: "ensNode";
|
|
963
|
+
readonly type: "bytes32";
|
|
964
|
+
readonly indexed: true;
|
|
965
|
+
readonly internalType: "bytes32";
|
|
966
|
+
}];
|
|
967
|
+
readonly anonymous: false;
|
|
968
|
+
}, {
|
|
969
|
+
readonly type: "error";
|
|
970
|
+
readonly name: "AlreadyRegistered";
|
|
971
|
+
readonly inputs: readonly [];
|
|
972
|
+
}, {
|
|
973
|
+
readonly type: "error";
|
|
974
|
+
readonly name: "NotNodeOwner";
|
|
975
|
+
readonly inputs: readonly [];
|
|
976
|
+
}, {
|
|
977
|
+
readonly type: "error";
|
|
978
|
+
readonly name: "NotRegistered";
|
|
979
|
+
readonly inputs: readonly [];
|
|
980
|
+
}];
|
|
981
|
+
export declare const ERC8004ReputationAbi: readonly [{
|
|
982
|
+
readonly type: "function";
|
|
983
|
+
readonly name: "getClients";
|
|
984
|
+
readonly inputs: readonly [{
|
|
985
|
+
readonly name: "agentId";
|
|
986
|
+
readonly type: "uint256";
|
|
987
|
+
readonly internalType: "uint256";
|
|
988
|
+
}];
|
|
989
|
+
readonly outputs: readonly [{
|
|
990
|
+
readonly name: "";
|
|
991
|
+
readonly type: "address[]";
|
|
992
|
+
readonly internalType: "address[]";
|
|
993
|
+
}];
|
|
994
|
+
readonly stateMutability: "view";
|
|
995
|
+
}, {
|
|
996
|
+
readonly type: "function";
|
|
997
|
+
readonly name: "getSummary";
|
|
998
|
+
readonly inputs: readonly [{
|
|
999
|
+
readonly name: "agentId";
|
|
1000
|
+
readonly type: "uint256";
|
|
1001
|
+
readonly internalType: "uint256";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly name: "clientAddresses";
|
|
1004
|
+
readonly type: "address[]";
|
|
1005
|
+
readonly internalType: "address[]";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly name: "tag1";
|
|
1008
|
+
readonly type: "string";
|
|
1009
|
+
readonly internalType: "string";
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly name: "tag2";
|
|
1012
|
+
readonly type: "string";
|
|
1013
|
+
readonly internalType: "string";
|
|
1014
|
+
}];
|
|
1015
|
+
readonly outputs: readonly [{
|
|
1016
|
+
readonly name: "count";
|
|
1017
|
+
readonly type: "uint64";
|
|
1018
|
+
readonly internalType: "uint64";
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly name: "summaryValue";
|
|
1021
|
+
readonly type: "int128";
|
|
1022
|
+
readonly internalType: "int128";
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly name: "summaryValueDecimals";
|
|
1025
|
+
readonly type: "uint8";
|
|
1026
|
+
readonly internalType: "uint8";
|
|
1027
|
+
}];
|
|
1028
|
+
readonly stateMutability: "view";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly type: "function";
|
|
1031
|
+
readonly name: "giveFeedback";
|
|
1032
|
+
readonly inputs: readonly [{
|
|
1033
|
+
readonly name: "agentId";
|
|
1034
|
+
readonly type: "uint256";
|
|
1035
|
+
readonly internalType: "uint256";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly name: "value";
|
|
1038
|
+
readonly type: "int128";
|
|
1039
|
+
readonly internalType: "int128";
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly name: "valueDecimals";
|
|
1042
|
+
readonly type: "uint8";
|
|
1043
|
+
readonly internalType: "uint8";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly name: "tag1";
|
|
1046
|
+
readonly type: "string";
|
|
1047
|
+
readonly internalType: "string";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly name: "tag2";
|
|
1050
|
+
readonly type: "string";
|
|
1051
|
+
readonly internalType: "string";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly name: "endpoint";
|
|
1054
|
+
readonly type: "string";
|
|
1055
|
+
readonly internalType: "string";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly name: "feedbackURI";
|
|
1058
|
+
readonly type: "string";
|
|
1059
|
+
readonly internalType: "string";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly name: "feedbackHash";
|
|
1062
|
+
readonly type: "bytes32";
|
|
1063
|
+
readonly internalType: "bytes32";
|
|
1064
|
+
}];
|
|
1065
|
+
readonly outputs: readonly [];
|
|
1066
|
+
readonly stateMutability: "nonpayable";
|
|
1067
|
+
}];
|
|
1068
|
+
//# sourceMappingURL=abi.d.ts.map
|