@pushchain/core 6.0.27-alpha.2 → 6.0.27-alpha.4
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/AGW.md +83 -7
- package/CHANGELOG.md +13 -0
- package/MARKETPLACE.md +206 -0
- package/package.json +2 -1
- package/src/lib/agentic/codec/rules.js +74 -69
- package/src/lib/agentic/codec/universal.js +15 -3
- package/src/lib/agentic/constants.d.ts +36 -1
- package/src/lib/agentic/constants.js +14 -1
- package/src/lib/agentic/contracts/prc20-metadata.d.ts +1 -1
- package/src/lib/agentic/contracts/prc20-metadata.js +11 -5
- package/src/lib/agentic/contracts/reader.d.ts +21 -0
- package/src/lib/agentic/contracts/reader.js +3 -0
- package/src/lib/agentic/error-messages.d.ts +3 -0
- package/src/lib/agentic/error-messages.js +125 -0
- package/src/lib/agentic/errors.d.ts +12 -3
- package/src/lib/agentic/errors.js +76 -0
- package/src/lib/agentic/management/common.js +6 -0
- package/src/lib/agentic/management/destination.d.ts +5 -0
- package/src/lib/agentic/management/destination.js +32 -0
- package/src/lib/agentic/management/prepare.js +80 -55
- package/src/lib/agentic/management/svm-public.js +13 -4
- package/src/lib/agentic/presets/catalog.d.ts +2 -0
- package/src/lib/agentic/presets/catalog.js +9 -0
- package/src/lib/agentic/presets/default-policy.d.ts +9 -0
- package/src/lib/agentic/presets/default-policy.js +85 -0
- package/src/lib/agentic/presets/default-tokens.d.ts +4 -0
- package/src/lib/agentic/presets/default-tokens.js +39 -0
- package/src/lib/agentic/presets/index.js +47 -22
- package/src/lib/agentic/presets/routes.d.ts +9 -0
- package/src/lib/agentic/presets/routes.js +50 -0
- package/src/lib/agentic/presets/types.d.ts +24 -8
- package/src/lib/agentic/public-rule.js +13 -2
- package/src/lib/constants/index.d.ts +35 -0
- package/src/lib/index.d.ts +4 -0
- package/src/lib/index.js +6 -2
- package/src/lib/job/job.d.ts +35 -0
- package/src/lib/job/job.js +382 -0
- package/src/lib/job/types.d.ts +94 -0
- package/src/lib/job/types.js +3 -0
- package/src/lib/job/watch.d.ts +3 -0
- package/src/lib/job/watch.js +169 -0
- package/src/lib/job-spec/codec.d.ts +18 -0
- package/src/lib/job-spec/codec.js +348 -0
- package/src/lib/job-spec/constants.d.ts +32 -0
- package/src/lib/job-spec/constants.js +36 -0
- package/src/lib/job-spec/helpers.d.ts +19 -0
- package/src/lib/job-spec/helpers.js +138 -0
- package/src/lib/job-spec/index.d.ts +14 -0
- package/src/lib/job-spec/index.js +17 -0
- package/src/lib/job-spec/preview.d.ts +8 -0
- package/src/lib/job-spec/preview.js +298 -0
- package/src/lib/job-spec/read.d.ts +20 -0
- package/src/lib/job-spec/read.js +224 -0
- package/src/lib/job-spec/schema.d.ts +290 -0
- package/src/lib/job-spec/schema.js +70 -0
- package/src/lib/job-spec/types.d.ts +139 -0
- package/src/lib/job-spec/types.js +3 -0
- package/src/lib/market/contracts/AgenticCommerce.d.ts +1026 -0
- package/src/lib/market/contracts/AgenticCommerce.js +1317 -0
- package/src/lib/market/contracts/RulesBindingHook.d.ts +235 -0
- package/src/lib/market/contracts/RulesBindingHook.js +314 -0
- package/src/lib/market/contracts/UniversalMarketplace.d.ts +1770 -0
- package/src/lib/market/contracts/UniversalMarketplace.js +2295 -0
- package/src/lib/market/contracts/UniversalMarketplaceErrors.d.ts +309 -0
- package/src/lib/market/contracts/UniversalMarketplaceErrors.js +416 -0
- package/src/lib/market/contracts/UniversalMarketplaceRules.d.ts +241 -0
- package/src/lib/market/contracts/UniversalMarketplaceRules.js +323 -0
- package/src/lib/market/data.d.ts +8 -0
- package/src/lib/market/data.js +60 -0
- package/src/lib/market/deployment.d.ts +14 -0
- package/src/lib/market/deployment.js +23 -0
- package/src/lib/market/deposit.d.ts +24 -0
- package/src/lib/market/deposit.js +271 -0
- package/src/lib/market/errors.d.ts +13 -0
- package/src/lib/market/errors.js +81 -0
- package/src/lib/market/history.d.ts +6 -0
- package/src/lib/market/history.js +83 -0
- package/src/lib/market/index.d.ts +4 -0
- package/src/lib/market/index.js +12 -0
- package/src/lib/market/kernel-wire.d.ts +15 -0
- package/src/lib/market/kernel-wire.js +41 -0
- package/src/lib/market/market.d.ts +55 -0
- package/src/lib/market/market.js +635 -0
- package/src/lib/market/rules.d.ts +106 -0
- package/src/lib/market/rules.js +293 -0
- package/src/lib/market/runtime.d.ts +35 -0
- package/src/lib/market/runtime.js +130 -0
- package/src/lib/market/types.d.ts +180 -0
- package/src/lib/market/types.js +3 -0
- package/src/lib/orchestrator/internals/errors.d.ts +9 -2
- package/src/lib/orchestrator/internals/errors.js +9 -2
- package/src/lib/orchestrator/internals/push-chain-tx.js +17 -3
- package/src/lib/push-chain/push-chain.d.ts +44 -1
- package/src/lib/push-chain/push-chain.js +23 -3
- package/src/lib/read-state/read-params.d.ts +9 -0
- package/src/lib/read-state/read-params.js +5 -1
- package/src/lib/universal/prc20-address.js +18 -4
- package/src/lib/utils.d.ts +15 -0
- package/src/lib/utils.js +4 -0
|
@@ -0,0 +1,1770 @@
|
|
|
1
|
+
export declare const MARKETPLACE_ABI: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [];
|
|
4
|
+
readonly stateMutability: "nonpayable";
|
|
5
|
+
}, {
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "ADMIN_ROLE";
|
|
8
|
+
readonly inputs: readonly [];
|
|
9
|
+
readonly outputs: readonly [{
|
|
10
|
+
readonly name: "";
|
|
11
|
+
readonly type: "bytes32";
|
|
12
|
+
readonly internalType: "bytes32";
|
|
13
|
+
}];
|
|
14
|
+
readonly stateMutability: "view";
|
|
15
|
+
}, {
|
|
16
|
+
readonly type: "function";
|
|
17
|
+
readonly name: "AGW_FACTORY";
|
|
18
|
+
readonly inputs: readonly [];
|
|
19
|
+
readonly outputs: readonly [{
|
|
20
|
+
readonly name: "";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
readonly internalType: "contract IAGWFactory";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "view";
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "function";
|
|
27
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
28
|
+
readonly inputs: readonly [];
|
|
29
|
+
readonly outputs: readonly [{
|
|
30
|
+
readonly name: "";
|
|
31
|
+
readonly type: "bytes32";
|
|
32
|
+
readonly internalType: "bytes32";
|
|
33
|
+
}];
|
|
34
|
+
readonly stateMutability: "view";
|
|
35
|
+
}, {
|
|
36
|
+
readonly type: "function";
|
|
37
|
+
readonly name: "KERNEL";
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly outputs: readonly [{
|
|
40
|
+
readonly name: "";
|
|
41
|
+
readonly type: "address";
|
|
42
|
+
readonly internalType: "contract IAgenticCommerce";
|
|
43
|
+
}];
|
|
44
|
+
readonly stateMutability: "view";
|
|
45
|
+
}, {
|
|
46
|
+
readonly type: "function";
|
|
47
|
+
readonly name: "MODE_SINGLE";
|
|
48
|
+
readonly inputs: readonly [];
|
|
49
|
+
readonly outputs: readonly [{
|
|
50
|
+
readonly name: "";
|
|
51
|
+
readonly type: "bytes32";
|
|
52
|
+
readonly internalType: "bytes32";
|
|
53
|
+
}];
|
|
54
|
+
readonly stateMutability: "view";
|
|
55
|
+
}, {
|
|
56
|
+
readonly type: "function";
|
|
57
|
+
readonly name: "OPENJOB_LANE";
|
|
58
|
+
readonly inputs: readonly [];
|
|
59
|
+
readonly outputs: readonly [{
|
|
60
|
+
readonly name: "";
|
|
61
|
+
readonly type: "uint192";
|
|
62
|
+
readonly internalType: "uint192";
|
|
63
|
+
}];
|
|
64
|
+
readonly stateMutability: "view";
|
|
65
|
+
}, {
|
|
66
|
+
readonly type: "function";
|
|
67
|
+
readonly name: "PUSH_CHAIN_HASH";
|
|
68
|
+
readonly inputs: readonly [];
|
|
69
|
+
readonly outputs: readonly [{
|
|
70
|
+
readonly name: "";
|
|
71
|
+
readonly type: "bytes32";
|
|
72
|
+
readonly internalType: "bytes32";
|
|
73
|
+
}];
|
|
74
|
+
readonly stateMutability: "view";
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
readonly name: "RULES";
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly outputs: readonly [{
|
|
80
|
+
readonly name: "";
|
|
81
|
+
readonly type: "address";
|
|
82
|
+
readonly internalType: "contract IUniversalMarketplaceRules";
|
|
83
|
+
}];
|
|
84
|
+
readonly stateMutability: "view";
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "function";
|
|
87
|
+
readonly name: "activeJobOf";
|
|
88
|
+
readonly inputs: readonly [{
|
|
89
|
+
readonly name: "agw";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
readonly internalType: "address";
|
|
92
|
+
}];
|
|
93
|
+
readonly outputs: readonly [{
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "uint256";
|
|
96
|
+
readonly internalType: "uint256";
|
|
97
|
+
}];
|
|
98
|
+
readonly stateMutability: "view";
|
|
99
|
+
}, {
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly name: "agentCardCount";
|
|
102
|
+
readonly inputs: readonly [];
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly name: "";
|
|
105
|
+
readonly type: "uint256";
|
|
106
|
+
readonly internalType: "uint256";
|
|
107
|
+
}];
|
|
108
|
+
readonly stateMutability: "view";
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "function";
|
|
111
|
+
readonly name: "agentCardOf";
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly name: "";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
readonly internalType: "address";
|
|
116
|
+
}];
|
|
117
|
+
readonly outputs: readonly [{
|
|
118
|
+
readonly name: "";
|
|
119
|
+
readonly type: "uint256";
|
|
120
|
+
readonly internalType: "uint256";
|
|
121
|
+
}];
|
|
122
|
+
readonly stateMutability: "view";
|
|
123
|
+
}, {
|
|
124
|
+
readonly type: "function";
|
|
125
|
+
readonly name: "agentCardVersion";
|
|
126
|
+
readonly inputs: readonly [{
|
|
127
|
+
readonly name: "";
|
|
128
|
+
readonly type: "uint256";
|
|
129
|
+
readonly internalType: "uint256";
|
|
130
|
+
}];
|
|
131
|
+
readonly outputs: readonly [{
|
|
132
|
+
readonly name: "";
|
|
133
|
+
readonly type: "uint256";
|
|
134
|
+
readonly internalType: "uint256";
|
|
135
|
+
}];
|
|
136
|
+
readonly stateMutability: "view";
|
|
137
|
+
}, {
|
|
138
|
+
readonly type: "function";
|
|
139
|
+
readonly name: "agwOfJob";
|
|
140
|
+
readonly inputs: readonly [{
|
|
141
|
+
readonly name: "";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
readonly internalType: "uint256";
|
|
144
|
+
}];
|
|
145
|
+
readonly outputs: readonly [{
|
|
146
|
+
readonly name: "";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
readonly internalType: "address";
|
|
149
|
+
}];
|
|
150
|
+
readonly stateMutability: "view";
|
|
151
|
+
}, {
|
|
152
|
+
readonly type: "function";
|
|
153
|
+
readonly name: "buildCreateJobCalldata";
|
|
154
|
+
readonly inputs: readonly [{
|
|
155
|
+
readonly name: "cardId";
|
|
156
|
+
readonly type: "uint256";
|
|
157
|
+
readonly internalType: "uint256";
|
|
158
|
+
}, {
|
|
159
|
+
readonly name: "owner";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
readonly internalType: "address";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "index";
|
|
164
|
+
readonly type: "uint96";
|
|
165
|
+
readonly internalType: "uint96";
|
|
166
|
+
}, {
|
|
167
|
+
readonly name: "job";
|
|
168
|
+
readonly type: "tuple";
|
|
169
|
+
readonly internalType: "struct JobInputs";
|
|
170
|
+
readonly components: readonly [{
|
|
171
|
+
readonly name: "principal";
|
|
172
|
+
readonly type: "uint256";
|
|
173
|
+
readonly internalType: "uint256";
|
|
174
|
+
}, {
|
|
175
|
+
readonly name: "expiredAt";
|
|
176
|
+
readonly type: "uint48";
|
|
177
|
+
readonly internalType: "uint48";
|
|
178
|
+
}, {
|
|
179
|
+
readonly name: "executeBy";
|
|
180
|
+
readonly type: "uint48";
|
|
181
|
+
readonly internalType: "uint48";
|
|
182
|
+
}, {
|
|
183
|
+
readonly name: "params";
|
|
184
|
+
readonly type: "int256[]";
|
|
185
|
+
readonly internalType: "int256[]";
|
|
186
|
+
}];
|
|
187
|
+
}];
|
|
188
|
+
readonly outputs: readonly [{
|
|
189
|
+
readonly name: "mode";
|
|
190
|
+
readonly type: "bytes32";
|
|
191
|
+
readonly internalType: "bytes32";
|
|
192
|
+
}, {
|
|
193
|
+
readonly name: "executionCalldata";
|
|
194
|
+
readonly type: "bytes";
|
|
195
|
+
readonly internalType: "bytes";
|
|
196
|
+
}];
|
|
197
|
+
readonly stateMutability: "view";
|
|
198
|
+
}, {
|
|
199
|
+
readonly type: "function";
|
|
200
|
+
readonly name: "cardOfJob";
|
|
201
|
+
readonly inputs: readonly [{
|
|
202
|
+
readonly name: "";
|
|
203
|
+
readonly type: "uint256";
|
|
204
|
+
readonly internalType: "uint256";
|
|
205
|
+
}];
|
|
206
|
+
readonly outputs: readonly [{
|
|
207
|
+
readonly name: "";
|
|
208
|
+
readonly type: "uint256";
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
}];
|
|
211
|
+
readonly stateMutability: "view";
|
|
212
|
+
}, {
|
|
213
|
+
readonly type: "function";
|
|
214
|
+
readonly name: "cardVersionOfJob";
|
|
215
|
+
readonly inputs: readonly [{
|
|
216
|
+
readonly name: "";
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
readonly internalType: "uint256";
|
|
219
|
+
}];
|
|
220
|
+
readonly outputs: readonly [{
|
|
221
|
+
readonly name: "";
|
|
222
|
+
readonly type: "uint256";
|
|
223
|
+
readonly internalType: "uint256";
|
|
224
|
+
}];
|
|
225
|
+
readonly stateMutability: "view";
|
|
226
|
+
}, {
|
|
227
|
+
readonly type: "function";
|
|
228
|
+
readonly name: "ceaDeployment";
|
|
229
|
+
readonly inputs: readonly [{
|
|
230
|
+
readonly name: "";
|
|
231
|
+
readonly type: "bytes32";
|
|
232
|
+
readonly internalType: "bytes32";
|
|
233
|
+
}];
|
|
234
|
+
readonly outputs: readonly [{
|
|
235
|
+
readonly name: "ceaFactory";
|
|
236
|
+
readonly type: "address";
|
|
237
|
+
readonly internalType: "address";
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "ceaProxyImpl";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
readonly internalType: "address";
|
|
242
|
+
}];
|
|
243
|
+
readonly stateMutability: "view";
|
|
244
|
+
}, {
|
|
245
|
+
readonly type: "function";
|
|
246
|
+
readonly name: "computeCEA";
|
|
247
|
+
readonly inputs: readonly [{
|
|
248
|
+
readonly name: "agw";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "chainHash";
|
|
253
|
+
readonly type: "bytes32";
|
|
254
|
+
readonly internalType: "bytes32";
|
|
255
|
+
}];
|
|
256
|
+
readonly outputs: readonly [{
|
|
257
|
+
readonly name: "";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
readonly internalType: "address";
|
|
260
|
+
}];
|
|
261
|
+
readonly stateMutability: "view";
|
|
262
|
+
}, {
|
|
263
|
+
readonly type: "function";
|
|
264
|
+
readonly name: "disableAgentCard";
|
|
265
|
+
readonly inputs: readonly [{
|
|
266
|
+
readonly name: "cardId";
|
|
267
|
+
readonly type: "uint256";
|
|
268
|
+
readonly internalType: "uint256";
|
|
269
|
+
}];
|
|
270
|
+
readonly outputs: readonly [];
|
|
271
|
+
readonly stateMutability: "nonpayable";
|
|
272
|
+
}, {
|
|
273
|
+
readonly type: "function";
|
|
274
|
+
readonly name: "evaluator";
|
|
275
|
+
readonly inputs: readonly [];
|
|
276
|
+
readonly outputs: readonly [{
|
|
277
|
+
readonly name: "";
|
|
278
|
+
readonly type: "address";
|
|
279
|
+
readonly internalType: "address";
|
|
280
|
+
}];
|
|
281
|
+
readonly stateMutability: "view";
|
|
282
|
+
}, {
|
|
283
|
+
readonly type: "function";
|
|
284
|
+
readonly name: "getAgentCard";
|
|
285
|
+
readonly inputs: readonly [{
|
|
286
|
+
readonly name: "cardId";
|
|
287
|
+
readonly type: "uint256";
|
|
288
|
+
readonly internalType: "uint256";
|
|
289
|
+
}];
|
|
290
|
+
readonly outputs: readonly [{
|
|
291
|
+
readonly name: "v";
|
|
292
|
+
readonly type: "tuple";
|
|
293
|
+
readonly internalType: "struct AgentCardView";
|
|
294
|
+
readonly components: readonly [{
|
|
295
|
+
readonly name: "card";
|
|
296
|
+
readonly type: "tuple";
|
|
297
|
+
readonly internalType: "struct AgentCard";
|
|
298
|
+
readonly components: readonly [{
|
|
299
|
+
readonly name: "provider";
|
|
300
|
+
readonly type: "address";
|
|
301
|
+
readonly internalType: "address";
|
|
302
|
+
}, {
|
|
303
|
+
readonly name: "jobType";
|
|
304
|
+
readonly type: "bytes32";
|
|
305
|
+
readonly internalType: "bytes32";
|
|
306
|
+
}, {
|
|
307
|
+
readonly name: "metadataURI";
|
|
308
|
+
readonly type: "string";
|
|
309
|
+
readonly internalType: "string";
|
|
310
|
+
}, {
|
|
311
|
+
readonly name: "metadataHash";
|
|
312
|
+
readonly type: "bytes32";
|
|
313
|
+
readonly internalType: "bytes32";
|
|
314
|
+
}, {
|
|
315
|
+
readonly name: "chainNamespace";
|
|
316
|
+
readonly type: "string";
|
|
317
|
+
readonly internalType: "string";
|
|
318
|
+
}, {
|
|
319
|
+
readonly name: "providerFee";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
readonly internalType: "uint256";
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "paymentToken";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
readonly internalType: "address";
|
|
326
|
+
}, {
|
|
327
|
+
readonly name: "principalMin";
|
|
328
|
+
readonly type: "uint256";
|
|
329
|
+
readonly internalType: "uint256";
|
|
330
|
+
}, {
|
|
331
|
+
readonly name: "principalMax";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
readonly internalType: "uint256";
|
|
334
|
+
}, {
|
|
335
|
+
readonly name: "minDuration";
|
|
336
|
+
readonly type: "uint32";
|
|
337
|
+
readonly internalType: "uint32";
|
|
338
|
+
}, {
|
|
339
|
+
readonly name: "maxDuration";
|
|
340
|
+
readonly type: "uint32";
|
|
341
|
+
readonly internalType: "uint32";
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "minExecuteWindow";
|
|
344
|
+
readonly type: "uint32";
|
|
345
|
+
readonly internalType: "uint32";
|
|
346
|
+
}, {
|
|
347
|
+
readonly name: "settleWindow";
|
|
348
|
+
readonly type: "uint32";
|
|
349
|
+
readonly internalType: "uint32";
|
|
350
|
+
}, {
|
|
351
|
+
readonly name: "active";
|
|
352
|
+
readonly type: "bool";
|
|
353
|
+
readonly internalType: "bool";
|
|
354
|
+
}];
|
|
355
|
+
}, {
|
|
356
|
+
readonly name: "rules";
|
|
357
|
+
readonly type: "bytes";
|
|
358
|
+
readonly internalType: "bytes";
|
|
359
|
+
}, {
|
|
360
|
+
readonly name: "jobSpecTemplate";
|
|
361
|
+
readonly type: "bytes";
|
|
362
|
+
readonly internalType: "bytes";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "version";
|
|
365
|
+
readonly type: "uint256";
|
|
366
|
+
readonly internalType: "uint256";
|
|
367
|
+
}, {
|
|
368
|
+
readonly name: "verified";
|
|
369
|
+
readonly type: "bool";
|
|
370
|
+
readonly internalType: "bool";
|
|
371
|
+
}, {
|
|
372
|
+
readonly name: "disabled";
|
|
373
|
+
readonly type: "bool";
|
|
374
|
+
readonly internalType: "bool";
|
|
375
|
+
}];
|
|
376
|
+
}];
|
|
377
|
+
readonly stateMutability: "view";
|
|
378
|
+
}, {
|
|
379
|
+
readonly type: "function";
|
|
380
|
+
readonly name: "getAgentRating";
|
|
381
|
+
readonly inputs: readonly [{
|
|
382
|
+
readonly name: "agent";
|
|
383
|
+
readonly type: "address";
|
|
384
|
+
readonly internalType: "address";
|
|
385
|
+
}];
|
|
386
|
+
readonly outputs: readonly [{
|
|
387
|
+
readonly name: "";
|
|
388
|
+
readonly type: "uint256";
|
|
389
|
+
readonly internalType: "uint256";
|
|
390
|
+
}];
|
|
391
|
+
readonly stateMutability: "view";
|
|
392
|
+
}, {
|
|
393
|
+
readonly type: "function";
|
|
394
|
+
readonly name: "getRoleAdmin";
|
|
395
|
+
readonly inputs: readonly [{
|
|
396
|
+
readonly name: "role";
|
|
397
|
+
readonly type: "bytes32";
|
|
398
|
+
readonly internalType: "bytes32";
|
|
399
|
+
}];
|
|
400
|
+
readonly outputs: readonly [{
|
|
401
|
+
readonly name: "";
|
|
402
|
+
readonly type: "bytes32";
|
|
403
|
+
readonly internalType: "bytes32";
|
|
404
|
+
}];
|
|
405
|
+
readonly stateMutability: "view";
|
|
406
|
+
}, {
|
|
407
|
+
readonly type: "function";
|
|
408
|
+
readonly name: "grantRole";
|
|
409
|
+
readonly inputs: readonly [{
|
|
410
|
+
readonly name: "role";
|
|
411
|
+
readonly type: "bytes32";
|
|
412
|
+
readonly internalType: "bytes32";
|
|
413
|
+
}, {
|
|
414
|
+
readonly name: "account";
|
|
415
|
+
readonly type: "address";
|
|
416
|
+
readonly internalType: "address";
|
|
417
|
+
}];
|
|
418
|
+
readonly outputs: readonly [];
|
|
419
|
+
readonly stateMutability: "nonpayable";
|
|
420
|
+
}, {
|
|
421
|
+
readonly type: "function";
|
|
422
|
+
readonly name: "hasRole";
|
|
423
|
+
readonly inputs: readonly [{
|
|
424
|
+
readonly name: "role";
|
|
425
|
+
readonly type: "bytes32";
|
|
426
|
+
readonly internalType: "bytes32";
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "account";
|
|
429
|
+
readonly type: "address";
|
|
430
|
+
readonly internalType: "address";
|
|
431
|
+
}];
|
|
432
|
+
readonly outputs: readonly [{
|
|
433
|
+
readonly name: "";
|
|
434
|
+
readonly type: "bool";
|
|
435
|
+
readonly internalType: "bool";
|
|
436
|
+
}];
|
|
437
|
+
readonly stateMutability: "view";
|
|
438
|
+
}, {
|
|
439
|
+
readonly type: "function";
|
|
440
|
+
readonly name: "hook";
|
|
441
|
+
readonly inputs: readonly [];
|
|
442
|
+
readonly outputs: readonly [{
|
|
443
|
+
readonly name: "";
|
|
444
|
+
readonly type: "address";
|
|
445
|
+
readonly internalType: "address";
|
|
446
|
+
}];
|
|
447
|
+
readonly stateMutability: "view";
|
|
448
|
+
}, {
|
|
449
|
+
readonly type: "function";
|
|
450
|
+
readonly name: "initialize";
|
|
451
|
+
readonly inputs: readonly [{
|
|
452
|
+
readonly name: "p";
|
|
453
|
+
readonly type: "tuple";
|
|
454
|
+
readonly internalType: "struct InitParams";
|
|
455
|
+
readonly components: readonly [{
|
|
456
|
+
readonly name: "agwFactory";
|
|
457
|
+
readonly type: "address";
|
|
458
|
+
readonly internalType: "address";
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "kernel";
|
|
461
|
+
readonly type: "address";
|
|
462
|
+
readonly internalType: "address";
|
|
463
|
+
}, {
|
|
464
|
+
readonly name: "hook";
|
|
465
|
+
readonly type: "address";
|
|
466
|
+
readonly internalType: "address";
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "evaluator";
|
|
469
|
+
readonly type: "address";
|
|
470
|
+
readonly internalType: "address";
|
|
471
|
+
}, {
|
|
472
|
+
readonly name: "rules";
|
|
473
|
+
readonly type: "address";
|
|
474
|
+
readonly internalType: "address";
|
|
475
|
+
}, {
|
|
476
|
+
readonly name: "admin";
|
|
477
|
+
readonly type: "address";
|
|
478
|
+
readonly internalType: "address";
|
|
479
|
+
}];
|
|
480
|
+
}];
|
|
481
|
+
readonly outputs: readonly [];
|
|
482
|
+
readonly stateMutability: "nonpayable";
|
|
483
|
+
}, {
|
|
484
|
+
readonly type: "function";
|
|
485
|
+
readonly name: "isAgentCardDisabled";
|
|
486
|
+
readonly inputs: readonly [{
|
|
487
|
+
readonly name: "";
|
|
488
|
+
readonly type: "uint256";
|
|
489
|
+
readonly internalType: "uint256";
|
|
490
|
+
}];
|
|
491
|
+
readonly outputs: readonly [{
|
|
492
|
+
readonly name: "";
|
|
493
|
+
readonly type: "bool";
|
|
494
|
+
readonly internalType: "bool";
|
|
495
|
+
}];
|
|
496
|
+
readonly stateMutability: "view";
|
|
497
|
+
}, {
|
|
498
|
+
readonly type: "function";
|
|
499
|
+
readonly name: "isAgentCardVerified";
|
|
500
|
+
readonly inputs: readonly [{
|
|
501
|
+
readonly name: "";
|
|
502
|
+
readonly type: "uint256";
|
|
503
|
+
readonly internalType: "uint256";
|
|
504
|
+
}];
|
|
505
|
+
readonly outputs: readonly [{
|
|
506
|
+
readonly name: "";
|
|
507
|
+
readonly type: "bool";
|
|
508
|
+
readonly internalType: "bool";
|
|
509
|
+
}];
|
|
510
|
+
readonly stateMutability: "view";
|
|
511
|
+
}, {
|
|
512
|
+
readonly type: "function";
|
|
513
|
+
readonly name: "openJob";
|
|
514
|
+
readonly inputs: readonly [{
|
|
515
|
+
readonly name: "p";
|
|
516
|
+
readonly type: "tuple";
|
|
517
|
+
readonly internalType: "struct OpenJobParams";
|
|
518
|
+
readonly components: readonly [{
|
|
519
|
+
readonly name: "cardId";
|
|
520
|
+
readonly type: "uint256";
|
|
521
|
+
readonly internalType: "uint256";
|
|
522
|
+
}, {
|
|
523
|
+
readonly name: "cardVersion";
|
|
524
|
+
readonly type: "uint256";
|
|
525
|
+
readonly internalType: "uint256";
|
|
526
|
+
}, {
|
|
527
|
+
readonly name: "job";
|
|
528
|
+
readonly type: "tuple";
|
|
529
|
+
readonly internalType: "struct JobInputs";
|
|
530
|
+
readonly components: readonly [{
|
|
531
|
+
readonly name: "principal";
|
|
532
|
+
readonly type: "uint256";
|
|
533
|
+
readonly internalType: "uint256";
|
|
534
|
+
}, {
|
|
535
|
+
readonly name: "expiredAt";
|
|
536
|
+
readonly type: "uint48";
|
|
537
|
+
readonly internalType: "uint48";
|
|
538
|
+
}, {
|
|
539
|
+
readonly name: "executeBy";
|
|
540
|
+
readonly type: "uint48";
|
|
541
|
+
readonly internalType: "uint48";
|
|
542
|
+
}, {
|
|
543
|
+
readonly name: "params";
|
|
544
|
+
readonly type: "int256[]";
|
|
545
|
+
readonly internalType: "int256[]";
|
|
546
|
+
}];
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: "session";
|
|
549
|
+
readonly type: "tuple";
|
|
550
|
+
readonly internalType: "struct Session";
|
|
551
|
+
readonly components: readonly [{
|
|
552
|
+
readonly name: "sessionValidator";
|
|
553
|
+
readonly type: "address";
|
|
554
|
+
readonly internalType: "address";
|
|
555
|
+
}, {
|
|
556
|
+
readonly name: "sessionValidatorInitData";
|
|
557
|
+
readonly type: "bytes";
|
|
558
|
+
readonly internalType: "bytes";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "salt";
|
|
561
|
+
readonly type: "bytes32";
|
|
562
|
+
readonly internalType: "bytes32";
|
|
563
|
+
}, {
|
|
564
|
+
readonly name: "userOpPolicies";
|
|
565
|
+
readonly type: "tuple[]";
|
|
566
|
+
readonly internalType: "struct PolicyData[]";
|
|
567
|
+
readonly components: readonly [{
|
|
568
|
+
readonly name: "policy";
|
|
569
|
+
readonly type: "address";
|
|
570
|
+
readonly internalType: "address";
|
|
571
|
+
}, {
|
|
572
|
+
readonly name: "initData";
|
|
573
|
+
readonly type: "bytes";
|
|
574
|
+
readonly internalType: "bytes";
|
|
575
|
+
}];
|
|
576
|
+
}, {
|
|
577
|
+
readonly name: "erc7739Policies";
|
|
578
|
+
readonly type: "tuple";
|
|
579
|
+
readonly internalType: "struct ERC7739Data";
|
|
580
|
+
readonly components: readonly [{
|
|
581
|
+
readonly name: "allowedERC7739Content";
|
|
582
|
+
readonly type: "tuple[]";
|
|
583
|
+
readonly internalType: "struct ERC7739Context[]";
|
|
584
|
+
readonly components: readonly [{
|
|
585
|
+
readonly name: "appDomainSeparator";
|
|
586
|
+
readonly type: "bytes32";
|
|
587
|
+
readonly internalType: "bytes32";
|
|
588
|
+
}, {
|
|
589
|
+
readonly name: "contentNames";
|
|
590
|
+
readonly type: "string[]";
|
|
591
|
+
readonly internalType: "string[]";
|
|
592
|
+
}];
|
|
593
|
+
}, {
|
|
594
|
+
readonly name: "erc1271Policies";
|
|
595
|
+
readonly type: "tuple[]";
|
|
596
|
+
readonly internalType: "struct PolicyData[]";
|
|
597
|
+
readonly components: readonly [{
|
|
598
|
+
readonly name: "policy";
|
|
599
|
+
readonly type: "address";
|
|
600
|
+
readonly internalType: "address";
|
|
601
|
+
}, {
|
|
602
|
+
readonly name: "initData";
|
|
603
|
+
readonly type: "bytes";
|
|
604
|
+
readonly internalType: "bytes";
|
|
605
|
+
}];
|
|
606
|
+
}];
|
|
607
|
+
}, {
|
|
608
|
+
readonly name: "actions";
|
|
609
|
+
readonly type: "tuple[]";
|
|
610
|
+
readonly internalType: "struct ActionData[]";
|
|
611
|
+
readonly components: readonly [{
|
|
612
|
+
readonly name: "actionTargetSelector";
|
|
613
|
+
readonly type: "bytes4";
|
|
614
|
+
readonly internalType: "bytes4";
|
|
615
|
+
}, {
|
|
616
|
+
readonly name: "actionTarget";
|
|
617
|
+
readonly type: "address";
|
|
618
|
+
readonly internalType: "address";
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "actionPolicies";
|
|
621
|
+
readonly type: "tuple[]";
|
|
622
|
+
readonly internalType: "struct PolicyData[]";
|
|
623
|
+
readonly components: readonly [{
|
|
624
|
+
readonly name: "policy";
|
|
625
|
+
readonly type: "address";
|
|
626
|
+
readonly internalType: "address";
|
|
627
|
+
}, {
|
|
628
|
+
readonly name: "initData";
|
|
629
|
+
readonly type: "bytes";
|
|
630
|
+
readonly internalType: "bytes";
|
|
631
|
+
}];
|
|
632
|
+
}];
|
|
633
|
+
}, {
|
|
634
|
+
readonly name: "permitERC4337Paymaster";
|
|
635
|
+
readonly type: "bool";
|
|
636
|
+
readonly internalType: "bool";
|
|
637
|
+
}];
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "intent";
|
|
640
|
+
readonly type: "tuple";
|
|
641
|
+
readonly internalType: "struct OwnerIntent";
|
|
642
|
+
readonly components: readonly [{
|
|
643
|
+
readonly name: "owner";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
readonly internalType: "address";
|
|
646
|
+
}, {
|
|
647
|
+
readonly name: "wallet";
|
|
648
|
+
readonly type: "address";
|
|
649
|
+
readonly internalType: "address";
|
|
650
|
+
}, {
|
|
651
|
+
readonly name: "executor";
|
|
652
|
+
readonly type: "address";
|
|
653
|
+
readonly internalType: "address";
|
|
654
|
+
}, {
|
|
655
|
+
readonly name: "index";
|
|
656
|
+
readonly type: "uint96";
|
|
657
|
+
readonly internalType: "uint96";
|
|
658
|
+
}, {
|
|
659
|
+
readonly name: "sessionHash";
|
|
660
|
+
readonly type: "bytes32";
|
|
661
|
+
readonly internalType: "bytes32";
|
|
662
|
+
}, {
|
|
663
|
+
readonly name: "mode";
|
|
664
|
+
readonly type: "bytes32";
|
|
665
|
+
readonly internalType: "bytes32";
|
|
666
|
+
}, {
|
|
667
|
+
readonly name: "execCalldataHash";
|
|
668
|
+
readonly type: "bytes32";
|
|
669
|
+
readonly internalType: "bytes32";
|
|
670
|
+
}, {
|
|
671
|
+
readonly name: "nonceKey";
|
|
672
|
+
readonly type: "uint192";
|
|
673
|
+
readonly internalType: "uint192";
|
|
674
|
+
}, {
|
|
675
|
+
readonly name: "nonceSeq";
|
|
676
|
+
readonly type: "uint64";
|
|
677
|
+
readonly internalType: "uint64";
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: "grantNonce";
|
|
680
|
+
readonly type: "uint64";
|
|
681
|
+
readonly internalType: "uint64";
|
|
682
|
+
}, {
|
|
683
|
+
readonly name: "deadline";
|
|
684
|
+
readonly type: "uint48";
|
|
685
|
+
readonly internalType: "uint48";
|
|
686
|
+
}, {
|
|
687
|
+
readonly name: "signerChainId";
|
|
688
|
+
readonly type: "uint256";
|
|
689
|
+
readonly internalType: "uint256";
|
|
690
|
+
}];
|
|
691
|
+
}, {
|
|
692
|
+
readonly name: "sig";
|
|
693
|
+
readonly type: "bytes";
|
|
694
|
+
readonly internalType: "bytes";
|
|
695
|
+
}, {
|
|
696
|
+
readonly name: "label";
|
|
697
|
+
readonly type: "string";
|
|
698
|
+
readonly internalType: "string";
|
|
699
|
+
}];
|
|
700
|
+
}];
|
|
701
|
+
readonly outputs: readonly [{
|
|
702
|
+
readonly name: "jobId";
|
|
703
|
+
readonly type: "uint256";
|
|
704
|
+
readonly internalType: "uint256";
|
|
705
|
+
}, {
|
|
706
|
+
readonly name: "agw";
|
|
707
|
+
readonly type: "address";
|
|
708
|
+
readonly internalType: "address";
|
|
709
|
+
}, {
|
|
710
|
+
readonly name: "rulesId";
|
|
711
|
+
readonly type: "bytes32";
|
|
712
|
+
readonly internalType: "bytes32";
|
|
713
|
+
}];
|
|
714
|
+
readonly stateMutability: "nonpayable";
|
|
715
|
+
}, {
|
|
716
|
+
readonly type: "function";
|
|
717
|
+
readonly name: "pause";
|
|
718
|
+
readonly inputs: readonly [];
|
|
719
|
+
readonly outputs: readonly [];
|
|
720
|
+
readonly stateMutability: "nonpayable";
|
|
721
|
+
}, {
|
|
722
|
+
readonly type: "function";
|
|
723
|
+
readonly name: "paused";
|
|
724
|
+
readonly inputs: readonly [];
|
|
725
|
+
readonly outputs: readonly [{
|
|
726
|
+
readonly name: "";
|
|
727
|
+
readonly type: "bool";
|
|
728
|
+
readonly internalType: "bool";
|
|
729
|
+
}];
|
|
730
|
+
readonly stateMutability: "view";
|
|
731
|
+
}, {
|
|
732
|
+
readonly type: "function";
|
|
733
|
+
readonly name: "previewIntent";
|
|
734
|
+
readonly inputs: readonly [{
|
|
735
|
+
readonly name: "r";
|
|
736
|
+
readonly type: "tuple";
|
|
737
|
+
readonly internalType: "struct IntentRequest";
|
|
738
|
+
readonly components: readonly [{
|
|
739
|
+
readonly name: "cardId";
|
|
740
|
+
readonly type: "uint256";
|
|
741
|
+
readonly internalType: "uint256";
|
|
742
|
+
}, {
|
|
743
|
+
readonly name: "owner";
|
|
744
|
+
readonly type: "address";
|
|
745
|
+
readonly internalType: "address";
|
|
746
|
+
}, {
|
|
747
|
+
readonly name: "index";
|
|
748
|
+
readonly type: "uint96";
|
|
749
|
+
readonly internalType: "uint96";
|
|
750
|
+
}, {
|
|
751
|
+
readonly name: "job";
|
|
752
|
+
readonly type: "tuple";
|
|
753
|
+
readonly internalType: "struct JobInputs";
|
|
754
|
+
readonly components: readonly [{
|
|
755
|
+
readonly name: "principal";
|
|
756
|
+
readonly type: "uint256";
|
|
757
|
+
readonly internalType: "uint256";
|
|
758
|
+
}, {
|
|
759
|
+
readonly name: "expiredAt";
|
|
760
|
+
readonly type: "uint48";
|
|
761
|
+
readonly internalType: "uint48";
|
|
762
|
+
}, {
|
|
763
|
+
readonly name: "executeBy";
|
|
764
|
+
readonly type: "uint48";
|
|
765
|
+
readonly internalType: "uint48";
|
|
766
|
+
}, {
|
|
767
|
+
readonly name: "params";
|
|
768
|
+
readonly type: "int256[]";
|
|
769
|
+
readonly internalType: "int256[]";
|
|
770
|
+
}];
|
|
771
|
+
}, {
|
|
772
|
+
readonly name: "deadline";
|
|
773
|
+
readonly type: "uint48";
|
|
774
|
+
readonly internalType: "uint48";
|
|
775
|
+
}, {
|
|
776
|
+
readonly name: "signerChainId";
|
|
777
|
+
readonly type: "uint256";
|
|
778
|
+
readonly internalType: "uint256";
|
|
779
|
+
}];
|
|
780
|
+
}, {
|
|
781
|
+
readonly name: "s";
|
|
782
|
+
readonly type: "tuple";
|
|
783
|
+
readonly internalType: "struct Session";
|
|
784
|
+
readonly components: readonly [{
|
|
785
|
+
readonly name: "sessionValidator";
|
|
786
|
+
readonly type: "address";
|
|
787
|
+
readonly internalType: "address";
|
|
788
|
+
}, {
|
|
789
|
+
readonly name: "sessionValidatorInitData";
|
|
790
|
+
readonly type: "bytes";
|
|
791
|
+
readonly internalType: "bytes";
|
|
792
|
+
}, {
|
|
793
|
+
readonly name: "salt";
|
|
794
|
+
readonly type: "bytes32";
|
|
795
|
+
readonly internalType: "bytes32";
|
|
796
|
+
}, {
|
|
797
|
+
readonly name: "userOpPolicies";
|
|
798
|
+
readonly type: "tuple[]";
|
|
799
|
+
readonly internalType: "struct PolicyData[]";
|
|
800
|
+
readonly components: readonly [{
|
|
801
|
+
readonly name: "policy";
|
|
802
|
+
readonly type: "address";
|
|
803
|
+
readonly internalType: "address";
|
|
804
|
+
}, {
|
|
805
|
+
readonly name: "initData";
|
|
806
|
+
readonly type: "bytes";
|
|
807
|
+
readonly internalType: "bytes";
|
|
808
|
+
}];
|
|
809
|
+
}, {
|
|
810
|
+
readonly name: "erc7739Policies";
|
|
811
|
+
readonly type: "tuple";
|
|
812
|
+
readonly internalType: "struct ERC7739Data";
|
|
813
|
+
readonly components: readonly [{
|
|
814
|
+
readonly name: "allowedERC7739Content";
|
|
815
|
+
readonly type: "tuple[]";
|
|
816
|
+
readonly internalType: "struct ERC7739Context[]";
|
|
817
|
+
readonly components: readonly [{
|
|
818
|
+
readonly name: "appDomainSeparator";
|
|
819
|
+
readonly type: "bytes32";
|
|
820
|
+
readonly internalType: "bytes32";
|
|
821
|
+
}, {
|
|
822
|
+
readonly name: "contentNames";
|
|
823
|
+
readonly type: "string[]";
|
|
824
|
+
readonly internalType: "string[]";
|
|
825
|
+
}];
|
|
826
|
+
}, {
|
|
827
|
+
readonly name: "erc1271Policies";
|
|
828
|
+
readonly type: "tuple[]";
|
|
829
|
+
readonly internalType: "struct PolicyData[]";
|
|
830
|
+
readonly components: readonly [{
|
|
831
|
+
readonly name: "policy";
|
|
832
|
+
readonly type: "address";
|
|
833
|
+
readonly internalType: "address";
|
|
834
|
+
}, {
|
|
835
|
+
readonly name: "initData";
|
|
836
|
+
readonly type: "bytes";
|
|
837
|
+
readonly internalType: "bytes";
|
|
838
|
+
}];
|
|
839
|
+
}];
|
|
840
|
+
}, {
|
|
841
|
+
readonly name: "actions";
|
|
842
|
+
readonly type: "tuple[]";
|
|
843
|
+
readonly internalType: "struct ActionData[]";
|
|
844
|
+
readonly components: readonly [{
|
|
845
|
+
readonly name: "actionTargetSelector";
|
|
846
|
+
readonly type: "bytes4";
|
|
847
|
+
readonly internalType: "bytes4";
|
|
848
|
+
}, {
|
|
849
|
+
readonly name: "actionTarget";
|
|
850
|
+
readonly type: "address";
|
|
851
|
+
readonly internalType: "address";
|
|
852
|
+
}, {
|
|
853
|
+
readonly name: "actionPolicies";
|
|
854
|
+
readonly type: "tuple[]";
|
|
855
|
+
readonly internalType: "struct PolicyData[]";
|
|
856
|
+
readonly components: readonly [{
|
|
857
|
+
readonly name: "policy";
|
|
858
|
+
readonly type: "address";
|
|
859
|
+
readonly internalType: "address";
|
|
860
|
+
}, {
|
|
861
|
+
readonly name: "initData";
|
|
862
|
+
readonly type: "bytes";
|
|
863
|
+
readonly internalType: "bytes";
|
|
864
|
+
}];
|
|
865
|
+
}];
|
|
866
|
+
}, {
|
|
867
|
+
readonly name: "permitERC4337Paymaster";
|
|
868
|
+
readonly type: "bool";
|
|
869
|
+
readonly internalType: "bool";
|
|
870
|
+
}];
|
|
871
|
+
}];
|
|
872
|
+
readonly outputs: readonly [{
|
|
873
|
+
readonly name: "i";
|
|
874
|
+
readonly type: "tuple";
|
|
875
|
+
readonly internalType: "struct OwnerIntent";
|
|
876
|
+
readonly components: readonly [{
|
|
877
|
+
readonly name: "owner";
|
|
878
|
+
readonly type: "address";
|
|
879
|
+
readonly internalType: "address";
|
|
880
|
+
}, {
|
|
881
|
+
readonly name: "wallet";
|
|
882
|
+
readonly type: "address";
|
|
883
|
+
readonly internalType: "address";
|
|
884
|
+
}, {
|
|
885
|
+
readonly name: "executor";
|
|
886
|
+
readonly type: "address";
|
|
887
|
+
readonly internalType: "address";
|
|
888
|
+
}, {
|
|
889
|
+
readonly name: "index";
|
|
890
|
+
readonly type: "uint96";
|
|
891
|
+
readonly internalType: "uint96";
|
|
892
|
+
}, {
|
|
893
|
+
readonly name: "sessionHash";
|
|
894
|
+
readonly type: "bytes32";
|
|
895
|
+
readonly internalType: "bytes32";
|
|
896
|
+
}, {
|
|
897
|
+
readonly name: "mode";
|
|
898
|
+
readonly type: "bytes32";
|
|
899
|
+
readonly internalType: "bytes32";
|
|
900
|
+
}, {
|
|
901
|
+
readonly name: "execCalldataHash";
|
|
902
|
+
readonly type: "bytes32";
|
|
903
|
+
readonly internalType: "bytes32";
|
|
904
|
+
}, {
|
|
905
|
+
readonly name: "nonceKey";
|
|
906
|
+
readonly type: "uint192";
|
|
907
|
+
readonly internalType: "uint192";
|
|
908
|
+
}, {
|
|
909
|
+
readonly name: "nonceSeq";
|
|
910
|
+
readonly type: "uint64";
|
|
911
|
+
readonly internalType: "uint64";
|
|
912
|
+
}, {
|
|
913
|
+
readonly name: "grantNonce";
|
|
914
|
+
readonly type: "uint64";
|
|
915
|
+
readonly internalType: "uint64";
|
|
916
|
+
}, {
|
|
917
|
+
readonly name: "deadline";
|
|
918
|
+
readonly type: "uint48";
|
|
919
|
+
readonly internalType: "uint48";
|
|
920
|
+
}, {
|
|
921
|
+
readonly name: "signerChainId";
|
|
922
|
+
readonly type: "uint256";
|
|
923
|
+
readonly internalType: "uint256";
|
|
924
|
+
}];
|
|
925
|
+
}];
|
|
926
|
+
readonly stateMutability: "view";
|
|
927
|
+
}, {
|
|
928
|
+
readonly type: "function";
|
|
929
|
+
readonly name: "registerAgentCard";
|
|
930
|
+
readonly inputs: readonly [{
|
|
931
|
+
readonly name: "c";
|
|
932
|
+
readonly type: "tuple";
|
|
933
|
+
readonly internalType: "struct AgentCard";
|
|
934
|
+
readonly components: readonly [{
|
|
935
|
+
readonly name: "provider";
|
|
936
|
+
readonly type: "address";
|
|
937
|
+
readonly internalType: "address";
|
|
938
|
+
}, {
|
|
939
|
+
readonly name: "jobType";
|
|
940
|
+
readonly type: "bytes32";
|
|
941
|
+
readonly internalType: "bytes32";
|
|
942
|
+
}, {
|
|
943
|
+
readonly name: "metadataURI";
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
readonly internalType: "string";
|
|
946
|
+
}, {
|
|
947
|
+
readonly name: "metadataHash";
|
|
948
|
+
readonly type: "bytes32";
|
|
949
|
+
readonly internalType: "bytes32";
|
|
950
|
+
}, {
|
|
951
|
+
readonly name: "chainNamespace";
|
|
952
|
+
readonly type: "string";
|
|
953
|
+
readonly internalType: "string";
|
|
954
|
+
}, {
|
|
955
|
+
readonly name: "providerFee";
|
|
956
|
+
readonly type: "uint256";
|
|
957
|
+
readonly internalType: "uint256";
|
|
958
|
+
}, {
|
|
959
|
+
readonly name: "paymentToken";
|
|
960
|
+
readonly type: "address";
|
|
961
|
+
readonly internalType: "address";
|
|
962
|
+
}, {
|
|
963
|
+
readonly name: "principalMin";
|
|
964
|
+
readonly type: "uint256";
|
|
965
|
+
readonly internalType: "uint256";
|
|
966
|
+
}, {
|
|
967
|
+
readonly name: "principalMax";
|
|
968
|
+
readonly type: "uint256";
|
|
969
|
+
readonly internalType: "uint256";
|
|
970
|
+
}, {
|
|
971
|
+
readonly name: "minDuration";
|
|
972
|
+
readonly type: "uint32";
|
|
973
|
+
readonly internalType: "uint32";
|
|
974
|
+
}, {
|
|
975
|
+
readonly name: "maxDuration";
|
|
976
|
+
readonly type: "uint32";
|
|
977
|
+
readonly internalType: "uint32";
|
|
978
|
+
}, {
|
|
979
|
+
readonly name: "minExecuteWindow";
|
|
980
|
+
readonly type: "uint32";
|
|
981
|
+
readonly internalType: "uint32";
|
|
982
|
+
}, {
|
|
983
|
+
readonly name: "settleWindow";
|
|
984
|
+
readonly type: "uint32";
|
|
985
|
+
readonly internalType: "uint32";
|
|
986
|
+
}, {
|
|
987
|
+
readonly name: "active";
|
|
988
|
+
readonly type: "bool";
|
|
989
|
+
readonly internalType: "bool";
|
|
990
|
+
}];
|
|
991
|
+
}, {
|
|
992
|
+
readonly name: "rules";
|
|
993
|
+
readonly type: "bytes";
|
|
994
|
+
readonly internalType: "bytes";
|
|
995
|
+
}, {
|
|
996
|
+
readonly name: "jobSpecTemplate";
|
|
997
|
+
readonly type: "bytes";
|
|
998
|
+
readonly internalType: "bytes";
|
|
999
|
+
}];
|
|
1000
|
+
readonly outputs: readonly [{
|
|
1001
|
+
readonly name: "cardId";
|
|
1002
|
+
readonly type: "uint256";
|
|
1003
|
+
readonly internalType: "uint256";
|
|
1004
|
+
}];
|
|
1005
|
+
readonly stateMutability: "nonpayable";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly type: "function";
|
|
1008
|
+
readonly name: "renounceRole";
|
|
1009
|
+
readonly inputs: readonly [{
|
|
1010
|
+
readonly name: "role";
|
|
1011
|
+
readonly type: "bytes32";
|
|
1012
|
+
readonly internalType: "bytes32";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly name: "callerConfirmation";
|
|
1015
|
+
readonly type: "address";
|
|
1016
|
+
readonly internalType: "address";
|
|
1017
|
+
}];
|
|
1018
|
+
readonly outputs: readonly [];
|
|
1019
|
+
readonly stateMutability: "nonpayable";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly type: "function";
|
|
1022
|
+
readonly name: "revokeAgentCardVerification";
|
|
1023
|
+
readonly inputs: readonly [{
|
|
1024
|
+
readonly name: "cardId";
|
|
1025
|
+
readonly type: "uint256";
|
|
1026
|
+
readonly internalType: "uint256";
|
|
1027
|
+
}];
|
|
1028
|
+
readonly outputs: readonly [];
|
|
1029
|
+
readonly stateMutability: "nonpayable";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly type: "function";
|
|
1032
|
+
readonly name: "revokeRole";
|
|
1033
|
+
readonly inputs: readonly [{
|
|
1034
|
+
readonly name: "role";
|
|
1035
|
+
readonly type: "bytes32";
|
|
1036
|
+
readonly internalType: "bytes32";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly name: "account";
|
|
1039
|
+
readonly type: "address";
|
|
1040
|
+
readonly internalType: "address";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly outputs: readonly [];
|
|
1043
|
+
readonly stateMutability: "nonpayable";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly type: "function";
|
|
1046
|
+
readonly name: "rulesOfJob";
|
|
1047
|
+
readonly inputs: readonly [{
|
|
1048
|
+
readonly name: "";
|
|
1049
|
+
readonly type: "uint256";
|
|
1050
|
+
readonly internalType: "uint256";
|
|
1051
|
+
}];
|
|
1052
|
+
readonly outputs: readonly [{
|
|
1053
|
+
readonly name: "";
|
|
1054
|
+
readonly type: "bytes32";
|
|
1055
|
+
readonly internalType: "bytes32";
|
|
1056
|
+
}];
|
|
1057
|
+
readonly stateMutability: "view";
|
|
1058
|
+
}, {
|
|
1059
|
+
readonly type: "function";
|
|
1060
|
+
readonly name: "setAgentCardActive";
|
|
1061
|
+
readonly inputs: readonly [{
|
|
1062
|
+
readonly name: "cardId";
|
|
1063
|
+
readonly type: "uint256";
|
|
1064
|
+
readonly internalType: "uint256";
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly name: "active";
|
|
1067
|
+
readonly type: "bool";
|
|
1068
|
+
readonly internalType: "bool";
|
|
1069
|
+
}];
|
|
1070
|
+
readonly outputs: readonly [];
|
|
1071
|
+
readonly stateMutability: "nonpayable";
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly type: "function";
|
|
1074
|
+
readonly name: "setAgentRating";
|
|
1075
|
+
readonly inputs: readonly [{
|
|
1076
|
+
readonly name: "agent";
|
|
1077
|
+
readonly type: "address";
|
|
1078
|
+
readonly internalType: "address";
|
|
1079
|
+
}, {
|
|
1080
|
+
readonly name: "rating";
|
|
1081
|
+
readonly type: "uint256";
|
|
1082
|
+
readonly internalType: "uint256";
|
|
1083
|
+
}];
|
|
1084
|
+
readonly outputs: readonly [];
|
|
1085
|
+
readonly stateMutability: "nonpayable";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly type: "function";
|
|
1088
|
+
readonly name: "setCEADeployment";
|
|
1089
|
+
readonly inputs: readonly [{
|
|
1090
|
+
readonly name: "chainHash";
|
|
1091
|
+
readonly type: "bytes32";
|
|
1092
|
+
readonly internalType: "bytes32";
|
|
1093
|
+
}, {
|
|
1094
|
+
readonly name: "ceaFactory";
|
|
1095
|
+
readonly type: "address";
|
|
1096
|
+
readonly internalType: "address";
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly name: "ceaProxyImpl";
|
|
1099
|
+
readonly type: "address";
|
|
1100
|
+
readonly internalType: "address";
|
|
1101
|
+
}];
|
|
1102
|
+
readonly outputs: readonly [];
|
|
1103
|
+
readonly stateMutability: "nonpayable";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly type: "function";
|
|
1106
|
+
readonly name: "setEvaluator";
|
|
1107
|
+
readonly inputs: readonly [{
|
|
1108
|
+
readonly name: "evaluator_";
|
|
1109
|
+
readonly type: "address";
|
|
1110
|
+
readonly internalType: "address";
|
|
1111
|
+
}];
|
|
1112
|
+
readonly outputs: readonly [];
|
|
1113
|
+
readonly stateMutability: "nonpayable";
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly type: "function";
|
|
1116
|
+
readonly name: "setHook";
|
|
1117
|
+
readonly inputs: readonly [{
|
|
1118
|
+
readonly name: "hook_";
|
|
1119
|
+
readonly type: "address";
|
|
1120
|
+
readonly internalType: "address";
|
|
1121
|
+
}];
|
|
1122
|
+
readonly outputs: readonly [];
|
|
1123
|
+
readonly stateMutability: "nonpayable";
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly type: "function";
|
|
1126
|
+
readonly name: "supportsInterface";
|
|
1127
|
+
readonly inputs: readonly [{
|
|
1128
|
+
readonly name: "interfaceId";
|
|
1129
|
+
readonly type: "bytes4";
|
|
1130
|
+
readonly internalType: "bytes4";
|
|
1131
|
+
}];
|
|
1132
|
+
readonly outputs: readonly [{
|
|
1133
|
+
readonly name: "";
|
|
1134
|
+
readonly type: "bool";
|
|
1135
|
+
readonly internalType: "bool";
|
|
1136
|
+
}];
|
|
1137
|
+
readonly stateMutability: "view";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly type: "function";
|
|
1140
|
+
readonly name: "unpause";
|
|
1141
|
+
readonly inputs: readonly [];
|
|
1142
|
+
readonly outputs: readonly [];
|
|
1143
|
+
readonly stateMutability: "nonpayable";
|
|
1144
|
+
}, {
|
|
1145
|
+
readonly type: "function";
|
|
1146
|
+
readonly name: "updateAgentCard";
|
|
1147
|
+
readonly inputs: readonly [{
|
|
1148
|
+
readonly name: "cardId";
|
|
1149
|
+
readonly type: "uint256";
|
|
1150
|
+
readonly internalType: "uint256";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly name: "c";
|
|
1153
|
+
readonly type: "tuple";
|
|
1154
|
+
readonly internalType: "struct AgentCard";
|
|
1155
|
+
readonly components: readonly [{
|
|
1156
|
+
readonly name: "provider";
|
|
1157
|
+
readonly type: "address";
|
|
1158
|
+
readonly internalType: "address";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly name: "jobType";
|
|
1161
|
+
readonly type: "bytes32";
|
|
1162
|
+
readonly internalType: "bytes32";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly name: "metadataURI";
|
|
1165
|
+
readonly type: "string";
|
|
1166
|
+
readonly internalType: "string";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly name: "metadataHash";
|
|
1169
|
+
readonly type: "bytes32";
|
|
1170
|
+
readonly internalType: "bytes32";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly name: "chainNamespace";
|
|
1173
|
+
readonly type: "string";
|
|
1174
|
+
readonly internalType: "string";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly name: "providerFee";
|
|
1177
|
+
readonly type: "uint256";
|
|
1178
|
+
readonly internalType: "uint256";
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly name: "paymentToken";
|
|
1181
|
+
readonly type: "address";
|
|
1182
|
+
readonly internalType: "address";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly name: "principalMin";
|
|
1185
|
+
readonly type: "uint256";
|
|
1186
|
+
readonly internalType: "uint256";
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly name: "principalMax";
|
|
1189
|
+
readonly type: "uint256";
|
|
1190
|
+
readonly internalType: "uint256";
|
|
1191
|
+
}, {
|
|
1192
|
+
readonly name: "minDuration";
|
|
1193
|
+
readonly type: "uint32";
|
|
1194
|
+
readonly internalType: "uint32";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly name: "maxDuration";
|
|
1197
|
+
readonly type: "uint32";
|
|
1198
|
+
readonly internalType: "uint32";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly name: "minExecuteWindow";
|
|
1201
|
+
readonly type: "uint32";
|
|
1202
|
+
readonly internalType: "uint32";
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly name: "settleWindow";
|
|
1205
|
+
readonly type: "uint32";
|
|
1206
|
+
readonly internalType: "uint32";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly name: "active";
|
|
1209
|
+
readonly type: "bool";
|
|
1210
|
+
readonly internalType: "bool";
|
|
1211
|
+
}];
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly name: "rules";
|
|
1214
|
+
readonly type: "bytes";
|
|
1215
|
+
readonly internalType: "bytes";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly name: "jobSpecTemplate";
|
|
1218
|
+
readonly type: "bytes";
|
|
1219
|
+
readonly internalType: "bytes";
|
|
1220
|
+
}];
|
|
1221
|
+
readonly outputs: readonly [];
|
|
1222
|
+
readonly stateMutability: "nonpayable";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly type: "function";
|
|
1225
|
+
readonly name: "verifyAgentCard";
|
|
1226
|
+
readonly inputs: readonly [{
|
|
1227
|
+
readonly name: "cardId";
|
|
1228
|
+
readonly type: "uint256";
|
|
1229
|
+
readonly internalType: "uint256";
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly name: "cardVersion";
|
|
1232
|
+
readonly type: "uint256";
|
|
1233
|
+
readonly internalType: "uint256";
|
|
1234
|
+
}];
|
|
1235
|
+
readonly outputs: readonly [];
|
|
1236
|
+
readonly stateMutability: "nonpayable";
|
|
1237
|
+
}, {
|
|
1238
|
+
readonly type: "function";
|
|
1239
|
+
readonly name: "version";
|
|
1240
|
+
readonly inputs: readonly [];
|
|
1241
|
+
readonly outputs: readonly [{
|
|
1242
|
+
readonly name: "";
|
|
1243
|
+
readonly type: "string";
|
|
1244
|
+
readonly internalType: "string";
|
|
1245
|
+
}];
|
|
1246
|
+
readonly stateMutability: "pure";
|
|
1247
|
+
}, {
|
|
1248
|
+
readonly type: "event";
|
|
1249
|
+
readonly name: "AgentCardDisabled";
|
|
1250
|
+
readonly inputs: readonly [{
|
|
1251
|
+
readonly name: "cardId";
|
|
1252
|
+
readonly type: "uint256";
|
|
1253
|
+
readonly indexed: true;
|
|
1254
|
+
readonly internalType: "uint256";
|
|
1255
|
+
}];
|
|
1256
|
+
readonly anonymous: false;
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly type: "event";
|
|
1259
|
+
readonly name: "AgentCardRegistered";
|
|
1260
|
+
readonly inputs: readonly [{
|
|
1261
|
+
readonly name: "cardId";
|
|
1262
|
+
readonly type: "uint256";
|
|
1263
|
+
readonly indexed: true;
|
|
1264
|
+
readonly internalType: "uint256";
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly name: "provider";
|
|
1267
|
+
readonly type: "address";
|
|
1268
|
+
readonly indexed: true;
|
|
1269
|
+
readonly internalType: "address";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly name: "jobType";
|
|
1272
|
+
readonly type: "bytes32";
|
|
1273
|
+
readonly indexed: true;
|
|
1274
|
+
readonly internalType: "bytes32";
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly name: "chainNamespace";
|
|
1277
|
+
readonly type: "string";
|
|
1278
|
+
readonly indexed: false;
|
|
1279
|
+
readonly internalType: "string";
|
|
1280
|
+
}, {
|
|
1281
|
+
readonly name: "rulesHash";
|
|
1282
|
+
readonly type: "bytes32";
|
|
1283
|
+
readonly indexed: false;
|
|
1284
|
+
readonly internalType: "bytes32";
|
|
1285
|
+
}, {
|
|
1286
|
+
readonly name: "jobSpecHash";
|
|
1287
|
+
readonly type: "bytes32";
|
|
1288
|
+
readonly indexed: false;
|
|
1289
|
+
readonly internalType: "bytes32";
|
|
1290
|
+
}, {
|
|
1291
|
+
readonly name: "metadataHash";
|
|
1292
|
+
readonly type: "bytes32";
|
|
1293
|
+
readonly indexed: false;
|
|
1294
|
+
readonly internalType: "bytes32";
|
|
1295
|
+
}, {
|
|
1296
|
+
readonly name: "providerFee";
|
|
1297
|
+
readonly type: "uint256";
|
|
1298
|
+
readonly indexed: false;
|
|
1299
|
+
readonly internalType: "uint256";
|
|
1300
|
+
}];
|
|
1301
|
+
readonly anonymous: false;
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly type: "event";
|
|
1304
|
+
readonly name: "AgentCardStatusChanged";
|
|
1305
|
+
readonly inputs: readonly [{
|
|
1306
|
+
readonly name: "cardId";
|
|
1307
|
+
readonly type: "uint256";
|
|
1308
|
+
readonly indexed: true;
|
|
1309
|
+
readonly internalType: "uint256";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly name: "active";
|
|
1312
|
+
readonly type: "bool";
|
|
1313
|
+
readonly indexed: false;
|
|
1314
|
+
readonly internalType: "bool";
|
|
1315
|
+
}];
|
|
1316
|
+
readonly anonymous: false;
|
|
1317
|
+
}, {
|
|
1318
|
+
readonly type: "event";
|
|
1319
|
+
readonly name: "AgentCardUpdated";
|
|
1320
|
+
readonly inputs: readonly [{
|
|
1321
|
+
readonly name: "cardId";
|
|
1322
|
+
readonly type: "uint256";
|
|
1323
|
+
readonly indexed: true;
|
|
1324
|
+
readonly internalType: "uint256";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly name: "version";
|
|
1327
|
+
readonly type: "uint256";
|
|
1328
|
+
readonly indexed: false;
|
|
1329
|
+
readonly internalType: "uint256";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly name: "rulesHash";
|
|
1332
|
+
readonly type: "bytes32";
|
|
1333
|
+
readonly indexed: false;
|
|
1334
|
+
readonly internalType: "bytes32";
|
|
1335
|
+
}, {
|
|
1336
|
+
readonly name: "jobSpecHash";
|
|
1337
|
+
readonly type: "bytes32";
|
|
1338
|
+
readonly indexed: false;
|
|
1339
|
+
readonly internalType: "bytes32";
|
|
1340
|
+
}, {
|
|
1341
|
+
readonly name: "metadataHash";
|
|
1342
|
+
readonly type: "bytes32";
|
|
1343
|
+
readonly indexed: false;
|
|
1344
|
+
readonly internalType: "bytes32";
|
|
1345
|
+
}, {
|
|
1346
|
+
readonly name: "providerFee";
|
|
1347
|
+
readonly type: "uint256";
|
|
1348
|
+
readonly indexed: false;
|
|
1349
|
+
readonly internalType: "uint256";
|
|
1350
|
+
}];
|
|
1351
|
+
readonly anonymous: false;
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly type: "event";
|
|
1354
|
+
readonly name: "AgentCardVerificationRevoked";
|
|
1355
|
+
readonly inputs: readonly [{
|
|
1356
|
+
readonly name: "cardId";
|
|
1357
|
+
readonly type: "uint256";
|
|
1358
|
+
readonly indexed: true;
|
|
1359
|
+
readonly internalType: "uint256";
|
|
1360
|
+
}];
|
|
1361
|
+
readonly anonymous: false;
|
|
1362
|
+
}, {
|
|
1363
|
+
readonly type: "event";
|
|
1364
|
+
readonly name: "AgentCardVerified";
|
|
1365
|
+
readonly inputs: readonly [{
|
|
1366
|
+
readonly name: "cardId";
|
|
1367
|
+
readonly type: "uint256";
|
|
1368
|
+
readonly indexed: true;
|
|
1369
|
+
readonly internalType: "uint256";
|
|
1370
|
+
}, {
|
|
1371
|
+
readonly name: "version";
|
|
1372
|
+
readonly type: "uint256";
|
|
1373
|
+
readonly indexed: false;
|
|
1374
|
+
readonly internalType: "uint256";
|
|
1375
|
+
}];
|
|
1376
|
+
readonly anonymous: false;
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly type: "event";
|
|
1379
|
+
readonly name: "AgentRatingSet";
|
|
1380
|
+
readonly inputs: readonly [{
|
|
1381
|
+
readonly name: "agent";
|
|
1382
|
+
readonly type: "address";
|
|
1383
|
+
readonly indexed: true;
|
|
1384
|
+
readonly internalType: "address";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly name: "rating";
|
|
1387
|
+
readonly type: "uint256";
|
|
1388
|
+
readonly indexed: false;
|
|
1389
|
+
readonly internalType: "uint256";
|
|
1390
|
+
}];
|
|
1391
|
+
readonly anonymous: false;
|
|
1392
|
+
}, {
|
|
1393
|
+
readonly type: "event";
|
|
1394
|
+
readonly name: "CEADeploymentSet";
|
|
1395
|
+
readonly inputs: readonly [{
|
|
1396
|
+
readonly name: "chainHash";
|
|
1397
|
+
readonly type: "bytes32";
|
|
1398
|
+
readonly indexed: true;
|
|
1399
|
+
readonly internalType: "bytes32";
|
|
1400
|
+
}, {
|
|
1401
|
+
readonly name: "ceaFactory";
|
|
1402
|
+
readonly type: "address";
|
|
1403
|
+
readonly indexed: false;
|
|
1404
|
+
readonly internalType: "address";
|
|
1405
|
+
}, {
|
|
1406
|
+
readonly name: "ceaProxyImpl";
|
|
1407
|
+
readonly type: "address";
|
|
1408
|
+
readonly indexed: false;
|
|
1409
|
+
readonly internalType: "address";
|
|
1410
|
+
}];
|
|
1411
|
+
readonly anonymous: false;
|
|
1412
|
+
}, {
|
|
1413
|
+
readonly type: "event";
|
|
1414
|
+
readonly name: "EvaluatorUpdated";
|
|
1415
|
+
readonly inputs: readonly [{
|
|
1416
|
+
readonly name: "evaluator";
|
|
1417
|
+
readonly type: "address";
|
|
1418
|
+
readonly indexed: false;
|
|
1419
|
+
readonly internalType: "address";
|
|
1420
|
+
}];
|
|
1421
|
+
readonly anonymous: false;
|
|
1422
|
+
}, {
|
|
1423
|
+
readonly type: "event";
|
|
1424
|
+
readonly name: "HookUpdated";
|
|
1425
|
+
readonly inputs: readonly [{
|
|
1426
|
+
readonly name: "hook";
|
|
1427
|
+
readonly type: "address";
|
|
1428
|
+
readonly indexed: false;
|
|
1429
|
+
readonly internalType: "address";
|
|
1430
|
+
}];
|
|
1431
|
+
readonly anonymous: false;
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly type: "event";
|
|
1434
|
+
readonly name: "Initialized";
|
|
1435
|
+
readonly inputs: readonly [{
|
|
1436
|
+
readonly name: "version";
|
|
1437
|
+
readonly type: "uint64";
|
|
1438
|
+
readonly indexed: false;
|
|
1439
|
+
readonly internalType: "uint64";
|
|
1440
|
+
}];
|
|
1441
|
+
readonly anonymous: false;
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly type: "event";
|
|
1444
|
+
readonly name: "JobOpened";
|
|
1445
|
+
readonly inputs: readonly [{
|
|
1446
|
+
readonly name: "cardId";
|
|
1447
|
+
readonly type: "uint256";
|
|
1448
|
+
readonly indexed: true;
|
|
1449
|
+
readonly internalType: "uint256";
|
|
1450
|
+
}, {
|
|
1451
|
+
readonly name: "owner";
|
|
1452
|
+
readonly type: "address";
|
|
1453
|
+
readonly indexed: true;
|
|
1454
|
+
readonly internalType: "address";
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly name: "agw";
|
|
1457
|
+
readonly type: "address";
|
|
1458
|
+
readonly indexed: true;
|
|
1459
|
+
readonly internalType: "address";
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly name: "jobId";
|
|
1462
|
+
readonly type: "uint256";
|
|
1463
|
+
readonly indexed: false;
|
|
1464
|
+
readonly internalType: "uint256";
|
|
1465
|
+
}, {
|
|
1466
|
+
readonly name: "rulesId";
|
|
1467
|
+
readonly type: "bytes32";
|
|
1468
|
+
readonly indexed: false;
|
|
1469
|
+
readonly internalType: "bytes32";
|
|
1470
|
+
}, {
|
|
1471
|
+
readonly name: "principal";
|
|
1472
|
+
readonly type: "uint256";
|
|
1473
|
+
readonly indexed: false;
|
|
1474
|
+
readonly internalType: "uint256";
|
|
1475
|
+
}, {
|
|
1476
|
+
readonly name: "cardVersion";
|
|
1477
|
+
readonly type: "uint256";
|
|
1478
|
+
readonly indexed: false;
|
|
1479
|
+
readonly internalType: "uint256";
|
|
1480
|
+
}];
|
|
1481
|
+
readonly anonymous: false;
|
|
1482
|
+
}, {
|
|
1483
|
+
readonly type: "event";
|
|
1484
|
+
readonly name: "Paused";
|
|
1485
|
+
readonly inputs: readonly [{
|
|
1486
|
+
readonly name: "account";
|
|
1487
|
+
readonly type: "address";
|
|
1488
|
+
readonly indexed: false;
|
|
1489
|
+
readonly internalType: "address";
|
|
1490
|
+
}];
|
|
1491
|
+
readonly anonymous: false;
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly type: "event";
|
|
1494
|
+
readonly name: "RoleAdminChanged";
|
|
1495
|
+
readonly inputs: readonly [{
|
|
1496
|
+
readonly name: "role";
|
|
1497
|
+
readonly type: "bytes32";
|
|
1498
|
+
readonly indexed: true;
|
|
1499
|
+
readonly internalType: "bytes32";
|
|
1500
|
+
}, {
|
|
1501
|
+
readonly name: "previousAdminRole";
|
|
1502
|
+
readonly type: "bytes32";
|
|
1503
|
+
readonly indexed: true;
|
|
1504
|
+
readonly internalType: "bytes32";
|
|
1505
|
+
}, {
|
|
1506
|
+
readonly name: "newAdminRole";
|
|
1507
|
+
readonly type: "bytes32";
|
|
1508
|
+
readonly indexed: true;
|
|
1509
|
+
readonly internalType: "bytes32";
|
|
1510
|
+
}];
|
|
1511
|
+
readonly anonymous: false;
|
|
1512
|
+
}, {
|
|
1513
|
+
readonly type: "event";
|
|
1514
|
+
readonly name: "RoleGranted";
|
|
1515
|
+
readonly inputs: readonly [{
|
|
1516
|
+
readonly name: "role";
|
|
1517
|
+
readonly type: "bytes32";
|
|
1518
|
+
readonly indexed: true;
|
|
1519
|
+
readonly internalType: "bytes32";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly name: "account";
|
|
1522
|
+
readonly type: "address";
|
|
1523
|
+
readonly indexed: true;
|
|
1524
|
+
readonly internalType: "address";
|
|
1525
|
+
}, {
|
|
1526
|
+
readonly name: "sender";
|
|
1527
|
+
readonly type: "address";
|
|
1528
|
+
readonly indexed: true;
|
|
1529
|
+
readonly internalType: "address";
|
|
1530
|
+
}];
|
|
1531
|
+
readonly anonymous: false;
|
|
1532
|
+
}, {
|
|
1533
|
+
readonly type: "event";
|
|
1534
|
+
readonly name: "RoleRevoked";
|
|
1535
|
+
readonly inputs: readonly [{
|
|
1536
|
+
readonly name: "role";
|
|
1537
|
+
readonly type: "bytes32";
|
|
1538
|
+
readonly indexed: true;
|
|
1539
|
+
readonly internalType: "bytes32";
|
|
1540
|
+
}, {
|
|
1541
|
+
readonly name: "account";
|
|
1542
|
+
readonly type: "address";
|
|
1543
|
+
readonly indexed: true;
|
|
1544
|
+
readonly internalType: "address";
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly name: "sender";
|
|
1547
|
+
readonly type: "address";
|
|
1548
|
+
readonly indexed: true;
|
|
1549
|
+
readonly internalType: "address";
|
|
1550
|
+
}];
|
|
1551
|
+
readonly anonymous: false;
|
|
1552
|
+
}, {
|
|
1553
|
+
readonly type: "event";
|
|
1554
|
+
readonly name: "Unpaused";
|
|
1555
|
+
readonly inputs: readonly [{
|
|
1556
|
+
readonly name: "account";
|
|
1557
|
+
readonly type: "address";
|
|
1558
|
+
readonly indexed: false;
|
|
1559
|
+
readonly internalType: "address";
|
|
1560
|
+
}];
|
|
1561
|
+
readonly anonymous: false;
|
|
1562
|
+
}, {
|
|
1563
|
+
readonly type: "error";
|
|
1564
|
+
readonly name: "AGWMismatch";
|
|
1565
|
+
readonly inputs: readonly [{
|
|
1566
|
+
readonly name: "expected";
|
|
1567
|
+
readonly type: "address";
|
|
1568
|
+
readonly internalType: "address";
|
|
1569
|
+
}, {
|
|
1570
|
+
readonly name: "actual";
|
|
1571
|
+
readonly type: "address";
|
|
1572
|
+
readonly internalType: "address";
|
|
1573
|
+
}];
|
|
1574
|
+
}, {
|
|
1575
|
+
readonly type: "error";
|
|
1576
|
+
readonly name: "AccessControlBadConfirmation";
|
|
1577
|
+
readonly inputs: readonly [];
|
|
1578
|
+
}, {
|
|
1579
|
+
readonly type: "error";
|
|
1580
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
1581
|
+
readonly inputs: readonly [{
|
|
1582
|
+
readonly name: "account";
|
|
1583
|
+
readonly type: "address";
|
|
1584
|
+
readonly internalType: "address";
|
|
1585
|
+
}, {
|
|
1586
|
+
readonly name: "neededRole";
|
|
1587
|
+
readonly type: "bytes32";
|
|
1588
|
+
readonly internalType: "bytes32";
|
|
1589
|
+
}];
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly type: "error";
|
|
1592
|
+
readonly name: "AgentCardAlreadyRegistered";
|
|
1593
|
+
readonly inputs: readonly [{
|
|
1594
|
+
readonly name: "provider";
|
|
1595
|
+
readonly type: "address";
|
|
1596
|
+
readonly internalType: "address";
|
|
1597
|
+
}];
|
|
1598
|
+
}, {
|
|
1599
|
+
readonly type: "error";
|
|
1600
|
+
readonly name: "AgentCardDisabled";
|
|
1601
|
+
readonly inputs: readonly [{
|
|
1602
|
+
readonly name: "cardId";
|
|
1603
|
+
readonly type: "uint256";
|
|
1604
|
+
readonly internalType: "uint256";
|
|
1605
|
+
}];
|
|
1606
|
+
}, {
|
|
1607
|
+
readonly type: "error";
|
|
1608
|
+
readonly name: "AgentCardIdentityImmutable";
|
|
1609
|
+
readonly inputs: readonly [];
|
|
1610
|
+
}, {
|
|
1611
|
+
readonly type: "error";
|
|
1612
|
+
readonly name: "AgentCardInactive";
|
|
1613
|
+
readonly inputs: readonly [];
|
|
1614
|
+
}, {
|
|
1615
|
+
readonly type: "error";
|
|
1616
|
+
readonly name: "AgentCardVersionMismatch";
|
|
1617
|
+
readonly inputs: readonly [{
|
|
1618
|
+
readonly name: "provided";
|
|
1619
|
+
readonly type: "uint256";
|
|
1620
|
+
readonly internalType: "uint256";
|
|
1621
|
+
}, {
|
|
1622
|
+
readonly name: "current";
|
|
1623
|
+
readonly type: "uint256";
|
|
1624
|
+
readonly internalType: "uint256";
|
|
1625
|
+
}];
|
|
1626
|
+
}, {
|
|
1627
|
+
readonly type: "error";
|
|
1628
|
+
readonly name: "CallerIsNotProvider";
|
|
1629
|
+
readonly inputs: readonly [];
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly type: "error";
|
|
1632
|
+
readonly name: "ChainNotSupported";
|
|
1633
|
+
readonly inputs: readonly [{
|
|
1634
|
+
readonly name: "chainHash";
|
|
1635
|
+
readonly type: "bytes32";
|
|
1636
|
+
readonly internalType: "bytes32";
|
|
1637
|
+
}];
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly type: "error";
|
|
1640
|
+
readonly name: "EnforcedPause";
|
|
1641
|
+
readonly inputs: readonly [];
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly type: "error";
|
|
1644
|
+
readonly name: "ExecuteByOutOfRange";
|
|
1645
|
+
readonly inputs: readonly [];
|
|
1646
|
+
}, {
|
|
1647
|
+
readonly type: "error";
|
|
1648
|
+
readonly name: "ExecutorMismatch";
|
|
1649
|
+
readonly inputs: readonly [{
|
|
1650
|
+
readonly name: "expected";
|
|
1651
|
+
readonly type: "address";
|
|
1652
|
+
readonly internalType: "address";
|
|
1653
|
+
}, {
|
|
1654
|
+
readonly name: "actual";
|
|
1655
|
+
readonly type: "address";
|
|
1656
|
+
readonly internalType: "address";
|
|
1657
|
+
}];
|
|
1658
|
+
}, {
|
|
1659
|
+
readonly type: "error";
|
|
1660
|
+
readonly name: "ExpectedPause";
|
|
1661
|
+
readonly inputs: readonly [];
|
|
1662
|
+
}, {
|
|
1663
|
+
readonly type: "error";
|
|
1664
|
+
readonly name: "ExpiryOutOfRange";
|
|
1665
|
+
readonly inputs: readonly [];
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly type: "error";
|
|
1668
|
+
readonly name: "HookNotWhitelisted";
|
|
1669
|
+
readonly inputs: readonly [];
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly type: "error";
|
|
1672
|
+
readonly name: "IntentExecMismatch";
|
|
1673
|
+
readonly inputs: readonly [{
|
|
1674
|
+
readonly name: "actualCalldataHash";
|
|
1675
|
+
readonly type: "bytes32";
|
|
1676
|
+
readonly internalType: "bytes32";
|
|
1677
|
+
}];
|
|
1678
|
+
}, {
|
|
1679
|
+
readonly type: "error";
|
|
1680
|
+
readonly name: "IntentSessionMismatch";
|
|
1681
|
+
readonly inputs: readonly [{
|
|
1682
|
+
readonly name: "actual";
|
|
1683
|
+
readonly type: "bytes32";
|
|
1684
|
+
readonly internalType: "bytes32";
|
|
1685
|
+
}];
|
|
1686
|
+
}, {
|
|
1687
|
+
readonly type: "error";
|
|
1688
|
+
readonly name: "IntentWalletMismatch";
|
|
1689
|
+
readonly inputs: readonly [{
|
|
1690
|
+
readonly name: "expected";
|
|
1691
|
+
readonly type: "address";
|
|
1692
|
+
readonly internalType: "address";
|
|
1693
|
+
}, {
|
|
1694
|
+
readonly name: "provided";
|
|
1695
|
+
readonly type: "address";
|
|
1696
|
+
readonly internalType: "address";
|
|
1697
|
+
}];
|
|
1698
|
+
}, {
|
|
1699
|
+
readonly type: "error";
|
|
1700
|
+
readonly name: "InvalidAgentCard";
|
|
1701
|
+
readonly inputs: readonly [{
|
|
1702
|
+
readonly name: "reason";
|
|
1703
|
+
readonly type: "string";
|
|
1704
|
+
readonly internalType: "string";
|
|
1705
|
+
}];
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly type: "error";
|
|
1708
|
+
readonly name: "InvalidInitialization";
|
|
1709
|
+
readonly inputs: readonly [];
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly type: "error";
|
|
1712
|
+
readonly name: "JobMismatch";
|
|
1713
|
+
readonly inputs: readonly [];
|
|
1714
|
+
}, {
|
|
1715
|
+
readonly type: "error";
|
|
1716
|
+
readonly name: "NotInitializing";
|
|
1717
|
+
readonly inputs: readonly [];
|
|
1718
|
+
}, {
|
|
1719
|
+
readonly type: "error";
|
|
1720
|
+
readonly name: "PrincipalOutOfRange";
|
|
1721
|
+
readonly inputs: readonly [];
|
|
1722
|
+
}, {
|
|
1723
|
+
readonly type: "error";
|
|
1724
|
+
readonly name: "ProviderIsEvaluator";
|
|
1725
|
+
readonly inputs: readonly [];
|
|
1726
|
+
}, {
|
|
1727
|
+
readonly type: "error";
|
|
1728
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
1729
|
+
readonly inputs: readonly [];
|
|
1730
|
+
}, {
|
|
1731
|
+
readonly type: "error";
|
|
1732
|
+
readonly name: "UnexpectedJobCount";
|
|
1733
|
+
readonly inputs: readonly [{
|
|
1734
|
+
readonly name: "before";
|
|
1735
|
+
readonly type: "uint256";
|
|
1736
|
+
readonly internalType: "uint256";
|
|
1737
|
+
}, {
|
|
1738
|
+
readonly name: "afterCount";
|
|
1739
|
+
readonly type: "uint256";
|
|
1740
|
+
readonly internalType: "uint256";
|
|
1741
|
+
}];
|
|
1742
|
+
}, {
|
|
1743
|
+
readonly type: "error";
|
|
1744
|
+
readonly name: "WalletHasActiveJob";
|
|
1745
|
+
readonly inputs: readonly [{
|
|
1746
|
+
readonly name: "agw";
|
|
1747
|
+
readonly type: "address";
|
|
1748
|
+
readonly internalType: "address";
|
|
1749
|
+
}, {
|
|
1750
|
+
readonly name: "jobId";
|
|
1751
|
+
readonly type: "uint256";
|
|
1752
|
+
readonly internalType: "uint256";
|
|
1753
|
+
}];
|
|
1754
|
+
}, {
|
|
1755
|
+
readonly type: "error";
|
|
1756
|
+
readonly name: "WalletOwnerMismatch";
|
|
1757
|
+
readonly inputs: readonly [{
|
|
1758
|
+
readonly name: "expected";
|
|
1759
|
+
readonly type: "address";
|
|
1760
|
+
readonly internalType: "address";
|
|
1761
|
+
}, {
|
|
1762
|
+
readonly name: "actual";
|
|
1763
|
+
readonly type: "address";
|
|
1764
|
+
readonly internalType: "address";
|
|
1765
|
+
}];
|
|
1766
|
+
}, {
|
|
1767
|
+
readonly type: "error";
|
|
1768
|
+
readonly name: "ZeroAddress";
|
|
1769
|
+
readonly inputs: readonly [];
|
|
1770
|
+
}];
|