@somnia-chain/contracts-sdk 0.3.9 → 0.3.14

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.
Files changed (90) hide show
  1. package/dist/gen/abi/prophecy-oracle/OracleCore.js +6 -0
  2. package/dist/gen/abi/prophecy-oracle/OracleEntryPoint.d.ts +2 -2
  3. package/dist/gen/abi/prophecy-oracle/OracleEntryPoint.js +8 -2
  4. package/dist/gen/abi/prophecy-oracle/PriceFeedScheduler.js +6 -0
  5. package/dist/gen/abi/prophecy-oracle/QuestionModerationRegistry.js +6 -0
  6. package/dist/gen/abi/prophecy-oracle/QuestionNameRegistry.js +6 -0
  7. package/dist/gen/abi/somnia-agents/agentRegistry.js +7 -0
  8. package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.d.ts +2 -2
  9. package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.js +7 -2
  10. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.d.ts +2 -2
  11. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.js +2 -6
  12. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LIT-PERP_baseToken.d.ts +2 -0
  13. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LIT-PERP_baseToken.js +3 -0
  14. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WTI-PERP_baseToken.d.ts +2 -0
  15. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WTI-PERP_baseToken.js +3 -0
  16. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ZEC-PERP_baseToken.d.ts +2 -0
  17. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ZEC-PERP_baseToken.js +3 -0
  18. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpsKeeperLens.d.ts +2 -0
  19. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpsKeeperLens.js +3 -0
  20. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.d.ts +2 -0
  21. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.js +3 -0
  22. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.d.ts +2 -0
  23. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.js +3 -0
  24. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.d.ts +2 -0
  25. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.js +3 -0
  26. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.d.ts +2 -0
  27. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.js +3 -0
  28. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.d.ts +2 -0
  29. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.js +3 -0
  30. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.d.ts +2 -0
  31. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.js +3 -0
  32. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.d.ts +2 -0
  33. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.js +3 -0
  34. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.d.ts +2 -0
  35. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.js +3 -0
  36. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.d.ts +2 -0
  37. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.js +3 -0
  38. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.d.ts +2 -0
  39. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.js +3 -0
  40. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.d.ts +2 -0
  41. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.js +3 -0
  42. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.d.ts +2 -0
  43. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.js +3 -0
  44. package/dist/gen/abi/somnia-dex-protocol/spot-pool.SpotPool_Implementation.js +4 -0
  45. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.d.ts +2 -2
  46. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.js +2 -6
  47. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.d.ts +2 -0
  48. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.js +3 -0
  49. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.d.ts +2 -0
  50. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.js +3 -0
  51. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.d.ts +2 -0
  52. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.js +3 -0
  53. package/dist/gen/abi/somnia-markets/FeedMarketCreatorFactory.d.ts +2 -0
  54. package/dist/gen/abi/somnia-markets/FeedMarketCreatorFactory.js +3 -0
  55. package/dist/gen/abi/somnia-markets/SomiLock.d.ts +2 -2
  56. package/dist/gen/abi/somnia-markets/SomiLock.js +2 -2
  57. package/dist/gen/abi/somnia-markets/UserVaultFactory.d.ts +2 -0
  58. package/dist/gen/abi/somnia-markets/UserVaultFactory.js +3 -0
  59. package/dist/gen/abi/somnia-markets/UserVaultImpl.d.ts +2 -0
  60. package/dist/gen/abi/somnia-markets/UserVaultImpl.js +3 -0
  61. package/dist/gen/abi/somnia-markets/venue-1.marketCreator.js +1 -0
  62. package/dist/gen/abis/1d0ea05bc53d.d.ts +231 -0
  63. package/dist/gen/abis/1d0ea05bc53d.js +301 -0
  64. package/dist/gen/abis/32cc7a5169e1.d.ts +1704 -0
  65. package/dist/gen/abis/32cc7a5169e1.js +2200 -0
  66. package/dist/gen/abis/49ad550ed87e.d.ts +692 -0
  67. package/dist/gen/abis/49ad550ed87e.js +897 -0
  68. package/dist/gen/abis/4a5210d62566.d.ts +2197 -0
  69. package/dist/gen/abis/4a5210d62566.js +2834 -0
  70. package/dist/gen/abis/{1a2db3035880.d.ts → 59f72604787a.d.ts} +419 -497
  71. package/dist/gen/abis/{1a2db3035880.js → 59f72604787a.js} +482 -576
  72. package/dist/gen/abis/{9818d0265866.d.ts → 5a4a0858050e.d.ts} +486 -472
  73. package/dist/gen/abis/{9818d0265866.js → 5a4a0858050e.js} +563 -531
  74. package/dist/gen/abis/914f4b7b21d6.d.ts +853 -0
  75. package/dist/gen/abis/914f4b7b21d6.js +1118 -0
  76. package/dist/gen/abis/{afc6a4821e4a.d.ts → ac9568ce34c8.d.ts} +260 -3
  77. package/dist/gen/abis/{afc6a4821e4a.js → ac9568ce34c8.js} +332 -3
  78. package/dist/gen/abis/d0e583337129.d.ts +575 -0
  79. package/dist/gen/abis/d0e583337129.js +741 -0
  80. package/dist/gen/abis/d4649fdaaab6.d.ts +713 -0
  81. package/dist/gen/abis/d4649fdaaab6.js +925 -0
  82. package/dist/gen/abis/ee870f549cb8.d.ts +888 -0
  83. package/dist/gen/abis/ee870f549cb8.js +1147 -0
  84. package/dist/gen/abis-index.d.ts +134 -46682
  85. package/dist/gen/abis-index.js +22 -6
  86. package/dist/gen/meta.d.ts +2 -2
  87. package/dist/gen/meta.js +2 -2
  88. package/dist/gen/registry.d.ts +1928 -33
  89. package/dist/gen/registry.js +1930 -33
  90. package/package.json +1 -1
@@ -0,0 +1,1147 @@
1
+ // Generated by `registry sdk` from dist-public/ — do not edit.
2
+ export const abi_ee870f549cb8 = [
3
+ {
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable",
6
+ "type": "constructor"
7
+ },
8
+ {
9
+ "stateMutability": "payable",
10
+ "type": "receive"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "UPGRADE_INTERFACE_VERSION",
15
+ "outputs": [
16
+ {
17
+ "internalType": "string",
18
+ "name": "",
19
+ "type": "string"
20
+ }
21
+ ],
22
+ "stateMutability": "view",
23
+ "type": "function"
24
+ },
25
+ {
26
+ "inputs": [],
27
+ "name": "acceptOwnership",
28
+ "outputs": [],
29
+ "stateMutability": "nonpayable",
30
+ "type": "function"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "agentId",
35
+ "outputs": [
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "",
39
+ "type": "uint256"
40
+ }
41
+ ],
42
+ "stateMutability": "view",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [],
47
+ "name": "agentPlatform",
48
+ "outputs": [
49
+ {
50
+ "internalType": "contract IHttpSingletonSomniaAgents",
51
+ "name": "",
52
+ "type": "address"
53
+ }
54
+ ],
55
+ "stateMutability": "view",
56
+ "type": "function"
57
+ },
58
+ {
59
+ "inputs": [],
60
+ "name": "committeeSize",
61
+ "outputs": [
62
+ {
63
+ "internalType": "uint16",
64
+ "name": "",
65
+ "type": "uint16"
66
+ }
67
+ ],
68
+ "stateMutability": "view",
69
+ "type": "function"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "costPerAgent",
74
+ "outputs": [
75
+ {
76
+ "internalType": "uint256",
77
+ "name": "",
78
+ "type": "uint256"
79
+ }
80
+ ],
81
+ "stateMutability": "view",
82
+ "type": "function"
83
+ },
84
+ {
85
+ "inputs": [],
86
+ "name": "entryPoint",
87
+ "outputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "stateMutability": "view",
95
+ "type": "function"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "getCost",
100
+ "outputs": [
101
+ {
102
+ "internalType": "uint256",
103
+ "name": "",
104
+ "type": "uint256"
105
+ }
106
+ ],
107
+ "stateMutability": "view",
108
+ "type": "function"
109
+ },
110
+ {
111
+ "inputs": [
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "questionId",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "getStatus",
119
+ "outputs": [
120
+ {
121
+ "internalType": "enum RequestStatus",
122
+ "name": "",
123
+ "type": "uint8"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "questionId",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "getVerdict",
138
+ "outputs": [
139
+ {
140
+ "internalType": "enum Verdict",
141
+ "name": "",
142
+ "type": "uint8"
143
+ }
144
+ ],
145
+ "stateMutability": "view",
146
+ "type": "function"
147
+ },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "uint256",
152
+ "name": "requestId",
153
+ "type": "uint256"
154
+ },
155
+ {
156
+ "components": [
157
+ {
158
+ "internalType": "address",
159
+ "name": "validator",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "internalType": "bytes",
164
+ "name": "result",
165
+ "type": "bytes"
166
+ },
167
+ {
168
+ "internalType": "enum ResponseStatus",
169
+ "name": "status",
170
+ "type": "uint8"
171
+ },
172
+ {
173
+ "internalType": "uint256",
174
+ "name": "receipt",
175
+ "type": "uint256"
176
+ },
177
+ {
178
+ "internalType": "uint256",
179
+ "name": "timestamp",
180
+ "type": "uint256"
181
+ },
182
+ {
183
+ "internalType": "uint256",
184
+ "name": "executionCost",
185
+ "type": "uint256"
186
+ }
187
+ ],
188
+ "internalType": "struct AgentResponse[]",
189
+ "name": "responses",
190
+ "type": "tuple[]"
191
+ },
192
+ {
193
+ "internalType": "enum ResponseStatus",
194
+ "name": "status",
195
+ "type": "uint8"
196
+ },
197
+ {
198
+ "components": [
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "id",
202
+ "type": "uint256"
203
+ },
204
+ {
205
+ "internalType": "address",
206
+ "name": "requester",
207
+ "type": "address"
208
+ },
209
+ {
210
+ "internalType": "address",
211
+ "name": "callbackAddress",
212
+ "type": "address"
213
+ },
214
+ {
215
+ "internalType": "bytes4",
216
+ "name": "callbackSelector",
217
+ "type": "bytes4"
218
+ },
219
+ {
220
+ "internalType": "address[]",
221
+ "name": "subcommittee",
222
+ "type": "address[]"
223
+ },
224
+ {
225
+ "components": [
226
+ {
227
+ "internalType": "address",
228
+ "name": "validator",
229
+ "type": "address"
230
+ },
231
+ {
232
+ "internalType": "bytes",
233
+ "name": "result",
234
+ "type": "bytes"
235
+ },
236
+ {
237
+ "internalType": "enum ResponseStatus",
238
+ "name": "status",
239
+ "type": "uint8"
240
+ },
241
+ {
242
+ "internalType": "uint256",
243
+ "name": "receipt",
244
+ "type": "uint256"
245
+ },
246
+ {
247
+ "internalType": "uint256",
248
+ "name": "timestamp",
249
+ "type": "uint256"
250
+ },
251
+ {
252
+ "internalType": "uint256",
253
+ "name": "executionCost",
254
+ "type": "uint256"
255
+ }
256
+ ],
257
+ "internalType": "struct AgentResponse[]",
258
+ "name": "responses",
259
+ "type": "tuple[]"
260
+ },
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "responseCount",
264
+ "type": "uint256"
265
+ },
266
+ {
267
+ "internalType": "uint256",
268
+ "name": "failureCount",
269
+ "type": "uint256"
270
+ },
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "threshold",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "createdAt",
279
+ "type": "uint256"
280
+ },
281
+ {
282
+ "internalType": "uint256",
283
+ "name": "deadline",
284
+ "type": "uint256"
285
+ },
286
+ {
287
+ "internalType": "enum ResponseStatus",
288
+ "name": "status",
289
+ "type": "uint8"
290
+ },
291
+ {
292
+ "internalType": "enum ConsensusType",
293
+ "name": "consensusType",
294
+ "type": "uint8"
295
+ },
296
+ {
297
+ "internalType": "uint256",
298
+ "name": "remainingBudget",
299
+ "type": "uint256"
300
+ }
301
+ ],
302
+ "internalType": "struct AgentRequest",
303
+ "name": "",
304
+ "type": "tuple"
305
+ }
306
+ ],
307
+ "name": "handleResponse",
308
+ "outputs": [],
309
+ "stateMutability": "nonpayable",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [
314
+ {
315
+ "internalType": "address",
316
+ "name": "agentPlatformAddr",
317
+ "type": "address"
318
+ },
319
+ {
320
+ "internalType": "address",
321
+ "name": "entryPointAddr",
322
+ "type": "address"
323
+ },
324
+ {
325
+ "internalType": "address",
326
+ "name": "owner_",
327
+ "type": "address"
328
+ }
329
+ ],
330
+ "name": "initialize",
331
+ "outputs": [],
332
+ "stateMutability": "nonpayable",
333
+ "type": "function"
334
+ },
335
+ {
336
+ "inputs": [],
337
+ "name": "maxTimeout",
338
+ "outputs": [
339
+ {
340
+ "internalType": "uint256",
341
+ "name": "",
342
+ "type": "uint256"
343
+ }
344
+ ],
345
+ "stateMutability": "view",
346
+ "type": "function"
347
+ },
348
+ {
349
+ "inputs": [],
350
+ "name": "minTimeout",
351
+ "outputs": [
352
+ {
353
+ "internalType": "uint256",
354
+ "name": "",
355
+ "type": "uint256"
356
+ }
357
+ ],
358
+ "stateMutability": "view",
359
+ "type": "function"
360
+ },
361
+ {
362
+ "inputs": [],
363
+ "name": "owner",
364
+ "outputs": [
365
+ {
366
+ "internalType": "address",
367
+ "name": "",
368
+ "type": "address"
369
+ }
370
+ ],
371
+ "stateMutability": "view",
372
+ "type": "function"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "pendingOwner",
377
+ "outputs": [
378
+ {
379
+ "internalType": "address",
380
+ "name": "",
381
+ "type": "address"
382
+ }
383
+ ],
384
+ "stateMutability": "view",
385
+ "type": "function"
386
+ },
387
+ {
388
+ "inputs": [],
389
+ "name": "prompt",
390
+ "outputs": [
391
+ {
392
+ "internalType": "string",
393
+ "name": "",
394
+ "type": "string"
395
+ }
396
+ ],
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [],
402
+ "name": "proxiableUUID",
403
+ "outputs": [
404
+ {
405
+ "internalType": "bytes32",
406
+ "name": "",
407
+ "type": "bytes32"
408
+ }
409
+ ],
410
+ "stateMutability": "view",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [],
415
+ "name": "renounceOwnership",
416
+ "outputs": [],
417
+ "stateMutability": "nonpayable",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [
422
+ {
423
+ "internalType": "uint256",
424
+ "name": "questionId",
425
+ "type": "uint256"
426
+ },
427
+ {
428
+ "components": [
429
+ {
430
+ "internalType": "string",
431
+ "name": "questionText",
432
+ "type": "string"
433
+ },
434
+ {
435
+ "components": [
436
+ {
437
+ "internalType": "enum QuestionSourceType",
438
+ "name": "sourceType",
439
+ "type": "uint8"
440
+ },
441
+ {
442
+ "internalType": "bytes",
443
+ "name": "params",
444
+ "type": "bytes"
445
+ }
446
+ ],
447
+ "internalType": "struct QuestionSource[]",
448
+ "name": "sources",
449
+ "type": "tuple[]"
450
+ },
451
+ {
452
+ "components": [
453
+ {
454
+ "internalType": "enum AnswerType",
455
+ "name": "answerType",
456
+ "type": "uint8"
457
+ },
458
+ {
459
+ "internalType": "string[]",
460
+ "name": "discreteOutcomes",
461
+ "type": "string[]"
462
+ },
463
+ {
464
+ "components": [
465
+ {
466
+ "internalType": "int256",
467
+ "name": "low",
468
+ "type": "int256"
469
+ },
470
+ {
471
+ "internalType": "int256",
472
+ "name": "high",
473
+ "type": "int256"
474
+ }
475
+ ],
476
+ "internalType": "struct Interval[]",
477
+ "name": "numericIntervals",
478
+ "type": "tuple[]"
479
+ },
480
+ {
481
+ "internalType": "uint64",
482
+ "name": "numericDecimals",
483
+ "type": "uint64"
484
+ }
485
+ ],
486
+ "internalType": "struct ValidAnswers",
487
+ "name": "validAnswers",
488
+ "type": "tuple"
489
+ },
490
+ {
491
+ "internalType": "uint256",
492
+ "name": "resolutionTime",
493
+ "type": "uint256"
494
+ },
495
+ {
496
+ "internalType": "uint256",
497
+ "name": "minAgreement",
498
+ "type": "uint256"
499
+ },
500
+ {
501
+ "internalType": "uint256",
502
+ "name": "subcommitteeSize",
503
+ "type": "uint256"
504
+ },
505
+ {
506
+ "internalType": "uint256",
507
+ "name": "subcommitteeThreshold",
508
+ "type": "uint256"
509
+ }
510
+ ],
511
+ "internalType": "struct QuestionDefinition",
512
+ "name": "def",
513
+ "type": "tuple"
514
+ }
515
+ ],
516
+ "name": "request",
517
+ "outputs": [],
518
+ "stateMutability": "payable",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "uint256",
525
+ "name": "id",
526
+ "type": "uint256"
527
+ }
528
+ ],
529
+ "name": "setAgentId",
530
+ "outputs": [],
531
+ "stateMutability": "nonpayable",
532
+ "type": "function"
533
+ },
534
+ {
535
+ "inputs": [
536
+ {
537
+ "internalType": "address",
538
+ "name": "platform",
539
+ "type": "address"
540
+ }
541
+ ],
542
+ "name": "setAgentPlatform",
543
+ "outputs": [],
544
+ "stateMutability": "nonpayable",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [
549
+ {
550
+ "internalType": "uint256",
551
+ "name": "newSize",
552
+ "type": "uint256"
553
+ }
554
+ ],
555
+ "name": "setCommitteeSize",
556
+ "outputs": [],
557
+ "stateMutability": "nonpayable",
558
+ "type": "function"
559
+ },
560
+ {
561
+ "inputs": [
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "cost",
565
+ "type": "uint256"
566
+ }
567
+ ],
568
+ "name": "setCostPerAgent",
569
+ "outputs": [],
570
+ "stateMutability": "nonpayable",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [
575
+ {
576
+ "internalType": "address",
577
+ "name": "entryPoint_",
578
+ "type": "address"
579
+ }
580
+ ],
581
+ "name": "setEntryPoint",
582
+ "outputs": [],
583
+ "stateMutability": "nonpayable",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [
588
+ {
589
+ "internalType": "uint256",
590
+ "name": "newMax",
591
+ "type": "uint256"
592
+ }
593
+ ],
594
+ "name": "setMaxTimeout",
595
+ "outputs": [],
596
+ "stateMutability": "nonpayable",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "newMin",
604
+ "type": "uint256"
605
+ }
606
+ ],
607
+ "name": "setMinTimeout",
608
+ "outputs": [],
609
+ "stateMutability": "nonpayable",
610
+ "type": "function"
611
+ },
612
+ {
613
+ "inputs": [
614
+ {
615
+ "internalType": "string",
616
+ "name": "systemPrompt",
617
+ "type": "string"
618
+ }
619
+ ],
620
+ "name": "setPrompt",
621
+ "outputs": [],
622
+ "stateMutability": "nonpayable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [
627
+ {
628
+ "internalType": "uint256",
629
+ "name": "newThreshold",
630
+ "type": "uint256"
631
+ }
632
+ ],
633
+ "name": "setThreshold",
634
+ "outputs": [],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "uint256",
642
+ "name": "newTimeout",
643
+ "type": "uint256"
644
+ }
645
+ ],
646
+ "name": "setTimeout",
647
+ "outputs": [],
648
+ "stateMutability": "nonpayable",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [],
653
+ "name": "threshold",
654
+ "outputs": [
655
+ {
656
+ "internalType": "uint16",
657
+ "name": "",
658
+ "type": "uint16"
659
+ }
660
+ ],
661
+ "stateMutability": "view",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [],
666
+ "name": "timeout",
667
+ "outputs": [
668
+ {
669
+ "internalType": "uint256",
670
+ "name": "",
671
+ "type": "uint256"
672
+ }
673
+ ],
674
+ "stateMutability": "view",
675
+ "type": "function"
676
+ },
677
+ {
678
+ "inputs": [
679
+ {
680
+ "internalType": "address",
681
+ "name": "newOwner",
682
+ "type": "address"
683
+ }
684
+ ],
685
+ "name": "transferOwnership",
686
+ "outputs": [],
687
+ "stateMutability": "nonpayable",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "inputs": [
692
+ {
693
+ "internalType": "address",
694
+ "name": "newImplementation",
695
+ "type": "address"
696
+ },
697
+ {
698
+ "internalType": "bytes",
699
+ "name": "data",
700
+ "type": "bytes"
701
+ }
702
+ ],
703
+ "name": "upgradeToAndCall",
704
+ "outputs": [],
705
+ "stateMutability": "payable",
706
+ "type": "function"
707
+ },
708
+ {
709
+ "inputs": [],
710
+ "name": "version",
711
+ "outputs": [
712
+ {
713
+ "internalType": "string",
714
+ "name": "",
715
+ "type": "string"
716
+ }
717
+ ],
718
+ "stateMutability": "pure",
719
+ "type": "function"
720
+ },
721
+ {
722
+ "inputs": [
723
+ {
724
+ "internalType": "address payable",
725
+ "name": "to",
726
+ "type": "address"
727
+ },
728
+ {
729
+ "internalType": "uint256",
730
+ "name": "amount",
731
+ "type": "uint256"
732
+ }
733
+ ],
734
+ "name": "withdraw",
735
+ "outputs": [],
736
+ "stateMutability": "nonpayable",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "anonymous": false,
741
+ "inputs": [
742
+ {
743
+ "indexed": false,
744
+ "internalType": "uint256",
745
+ "name": "agentId",
746
+ "type": "uint256"
747
+ }
748
+ ],
749
+ "name": "AgentIdSet",
750
+ "type": "event"
751
+ },
752
+ {
753
+ "anonymous": false,
754
+ "inputs": [
755
+ {
756
+ "indexed": false,
757
+ "internalType": "address",
758
+ "name": "platform",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "name": "AgentPlatformSet",
763
+ "type": "event"
764
+ },
765
+ {
766
+ "anonymous": false,
767
+ "inputs": [
768
+ {
769
+ "indexed": false,
770
+ "internalType": "uint256",
771
+ "name": "committeeSize",
772
+ "type": "uint256"
773
+ }
774
+ ],
775
+ "name": "CommitteeSizeSet",
776
+ "type": "event"
777
+ },
778
+ {
779
+ "anonymous": false,
780
+ "inputs": [
781
+ {
782
+ "indexed": true,
783
+ "internalType": "uint256",
784
+ "name": "questionId",
785
+ "type": "uint256"
786
+ },
787
+ {
788
+ "indexed": false,
789
+ "internalType": "string",
790
+ "name": "result",
791
+ "type": "string"
792
+ }
793
+ ],
794
+ "name": "Completed",
795
+ "type": "event"
796
+ },
797
+ {
798
+ "anonymous": false,
799
+ "inputs": [
800
+ {
801
+ "indexed": false,
802
+ "internalType": "uint256",
803
+ "name": "cost",
804
+ "type": "uint256"
805
+ }
806
+ ],
807
+ "name": "CostPerAgentSet",
808
+ "type": "event"
809
+ },
810
+ {
811
+ "anonymous": false,
812
+ "inputs": [
813
+ {
814
+ "indexed": false,
815
+ "internalType": "address",
816
+ "name": "entryPoint",
817
+ "type": "address"
818
+ }
819
+ ],
820
+ "name": "EntryPointSet",
821
+ "type": "event"
822
+ },
823
+ {
824
+ "anonymous": false,
825
+ "inputs": [
826
+ {
827
+ "indexed": true,
828
+ "internalType": "uint256",
829
+ "name": "questionId",
830
+ "type": "uint256"
831
+ },
832
+ {
833
+ "indexed": false,
834
+ "internalType": "uint256",
835
+ "name": "requestId",
836
+ "type": "uint256"
837
+ },
838
+ {
839
+ "indexed": false,
840
+ "internalType": "uint8",
841
+ "name": "reason",
842
+ "type": "uint8"
843
+ },
844
+ {
845
+ "indexed": false,
846
+ "internalType": "uint8",
847
+ "name": "status",
848
+ "type": "uint8"
849
+ }
850
+ ],
851
+ "name": "Failed",
852
+ "type": "event"
853
+ },
854
+ {
855
+ "anonymous": false,
856
+ "inputs": [
857
+ {
858
+ "indexed": false,
859
+ "internalType": "uint64",
860
+ "name": "version",
861
+ "type": "uint64"
862
+ }
863
+ ],
864
+ "name": "Initialized",
865
+ "type": "event"
866
+ },
867
+ {
868
+ "anonymous": false,
869
+ "inputs": [
870
+ {
871
+ "indexed": false,
872
+ "internalType": "uint256",
873
+ "name": "maxTimeout",
874
+ "type": "uint256"
875
+ }
876
+ ],
877
+ "name": "MaxTimeoutSet",
878
+ "type": "event"
879
+ },
880
+ {
881
+ "anonymous": false,
882
+ "inputs": [
883
+ {
884
+ "indexed": false,
885
+ "internalType": "uint256",
886
+ "name": "minTimeout",
887
+ "type": "uint256"
888
+ }
889
+ ],
890
+ "name": "MinTimeoutSet",
891
+ "type": "event"
892
+ },
893
+ {
894
+ "anonymous": false,
895
+ "inputs": [
896
+ {
897
+ "indexed": true,
898
+ "internalType": "address",
899
+ "name": "previousOwner",
900
+ "type": "address"
901
+ },
902
+ {
903
+ "indexed": true,
904
+ "internalType": "address",
905
+ "name": "newOwner",
906
+ "type": "address"
907
+ }
908
+ ],
909
+ "name": "OwnershipTransferStarted",
910
+ "type": "event"
911
+ },
912
+ {
913
+ "anonymous": false,
914
+ "inputs": [
915
+ {
916
+ "indexed": true,
917
+ "internalType": "address",
918
+ "name": "previousOwner",
919
+ "type": "address"
920
+ },
921
+ {
922
+ "indexed": true,
923
+ "internalType": "address",
924
+ "name": "newOwner",
925
+ "type": "address"
926
+ }
927
+ ],
928
+ "name": "OwnershipTransferred",
929
+ "type": "event"
930
+ },
931
+ {
932
+ "anonymous": false,
933
+ "inputs": [],
934
+ "name": "PromptSet",
935
+ "type": "event"
936
+ },
937
+ {
938
+ "anonymous": false,
939
+ "inputs": [
940
+ {
941
+ "indexed": true,
942
+ "internalType": "uint256",
943
+ "name": "questionId",
944
+ "type": "uint256"
945
+ },
946
+ {
947
+ "indexed": false,
948
+ "internalType": "uint256",
949
+ "name": "requestId",
950
+ "type": "uint256"
951
+ }
952
+ ],
953
+ "name": "Requested",
954
+ "type": "event"
955
+ },
956
+ {
957
+ "anonymous": false,
958
+ "inputs": [
959
+ {
960
+ "indexed": false,
961
+ "internalType": "uint256",
962
+ "name": "threshold",
963
+ "type": "uint256"
964
+ }
965
+ ],
966
+ "name": "ThresholdSet",
967
+ "type": "event"
968
+ },
969
+ {
970
+ "anonymous": false,
971
+ "inputs": [
972
+ {
973
+ "indexed": false,
974
+ "internalType": "uint256",
975
+ "name": "timeout",
976
+ "type": "uint256"
977
+ }
978
+ ],
979
+ "name": "TimeoutSet",
980
+ "type": "event"
981
+ },
982
+ {
983
+ "anonymous": false,
984
+ "inputs": [
985
+ {
986
+ "indexed": true,
987
+ "internalType": "address",
988
+ "name": "implementation",
989
+ "type": "address"
990
+ }
991
+ ],
992
+ "name": "Upgraded",
993
+ "type": "event"
994
+ },
995
+ {
996
+ "inputs": [
997
+ {
998
+ "internalType": "address",
999
+ "name": "target",
1000
+ "type": "address"
1001
+ }
1002
+ ],
1003
+ "name": "AddressEmptyCode",
1004
+ "type": "error"
1005
+ },
1006
+ {
1007
+ "inputs": [],
1008
+ "name": "AgentPlatformOnly",
1009
+ "type": "error"
1010
+ },
1011
+ {
1012
+ "inputs": [],
1013
+ "name": "AgentPlatformRequired",
1014
+ "type": "error"
1015
+ },
1016
+ {
1017
+ "inputs": [
1018
+ {
1019
+ "internalType": "address",
1020
+ "name": "implementation",
1021
+ "type": "address"
1022
+ }
1023
+ ],
1024
+ "name": "ERC1967InvalidImplementation",
1025
+ "type": "error"
1026
+ },
1027
+ {
1028
+ "inputs": [],
1029
+ "name": "ERC1967NonPayable",
1030
+ "type": "error"
1031
+ },
1032
+ {
1033
+ "inputs": [],
1034
+ "name": "EntryPointRequired",
1035
+ "type": "error"
1036
+ },
1037
+ {
1038
+ "inputs": [],
1039
+ "name": "FailedCall",
1040
+ "type": "error"
1041
+ },
1042
+ {
1043
+ "inputs": [],
1044
+ "name": "InvalidCommitteeSize",
1045
+ "type": "error"
1046
+ },
1047
+ {
1048
+ "inputs": [],
1049
+ "name": "InvalidInitialization",
1050
+ "type": "error"
1051
+ },
1052
+ {
1053
+ "inputs": [],
1054
+ "name": "InvalidMaxTimeout",
1055
+ "type": "error"
1056
+ },
1057
+ {
1058
+ "inputs": [],
1059
+ "name": "InvalidMinTimeout",
1060
+ "type": "error"
1061
+ },
1062
+ {
1063
+ "inputs": [],
1064
+ "name": "InvalidThreshold",
1065
+ "type": "error"
1066
+ },
1067
+ {
1068
+ "inputs": [],
1069
+ "name": "InvalidTimeout",
1070
+ "type": "error"
1071
+ },
1072
+ {
1073
+ "inputs": [],
1074
+ "name": "NotInitializing",
1075
+ "type": "error"
1076
+ },
1077
+ {
1078
+ "inputs": [],
1079
+ "name": "OnlyEntryPoint",
1080
+ "type": "error"
1081
+ },
1082
+ {
1083
+ "inputs": [
1084
+ {
1085
+ "internalType": "address",
1086
+ "name": "owner",
1087
+ "type": "address"
1088
+ }
1089
+ ],
1090
+ "name": "OwnableInvalidOwner",
1091
+ "type": "error"
1092
+ },
1093
+ {
1094
+ "inputs": [
1095
+ {
1096
+ "internalType": "address",
1097
+ "name": "account",
1098
+ "type": "address"
1099
+ }
1100
+ ],
1101
+ "name": "OwnableUnauthorizedAccount",
1102
+ "type": "error"
1103
+ },
1104
+ {
1105
+ "inputs": [
1106
+ {
1107
+ "internalType": "uint256",
1108
+ "name": "value",
1109
+ "type": "uint256"
1110
+ },
1111
+ {
1112
+ "internalType": "uint256",
1113
+ "name": "length",
1114
+ "type": "uint256"
1115
+ }
1116
+ ],
1117
+ "name": "StringsInsufficientHexLength",
1118
+ "type": "error"
1119
+ },
1120
+ {
1121
+ "inputs": [],
1122
+ "name": "UUPSUnauthorizedCallContext",
1123
+ "type": "error"
1124
+ },
1125
+ {
1126
+ "inputs": [
1127
+ {
1128
+ "internalType": "bytes32",
1129
+ "name": "slot",
1130
+ "type": "bytes32"
1131
+ }
1132
+ ],
1133
+ "name": "UUPSUnsupportedProxiableUUID",
1134
+ "type": "error"
1135
+ },
1136
+ {
1137
+ "inputs": [],
1138
+ "name": "WithdrawFailed",
1139
+ "type": "error"
1140
+ },
1141
+ {
1142
+ "inputs": [],
1143
+ "name": "WithdrawRecipientRequired",
1144
+ "type": "error"
1145
+ }
1146
+ ];
1147
+ export const digest = "sha256:ee870f549cb8353ab3523deeae670bafa75b4fe4ca06655259d1bc5ec07a1ead";