traia-iatp 0.1.2__py3-none-any.whl → 0.1.67__py3-none-any.whl

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 (95) hide show
  1. traia_iatp/__init__.py +105 -8
  2. traia_iatp/cli/main.py +85 -1
  3. traia_iatp/client/__init__.py +28 -3
  4. traia_iatp/client/crewai_a2a_tools.py +32 -12
  5. traia_iatp/client/d402_a2a_client.py +348 -0
  6. traia_iatp/contracts/__init__.py +11 -0
  7. traia_iatp/contracts/data/abis/contract-abis-localhost.json +4091 -0
  8. traia_iatp/contracts/data/abis/contract-abis-sepolia.json +4890 -0
  9. traia_iatp/contracts/data/addresses/contract-addresses.json +17 -0
  10. traia_iatp/contracts/data/addresses/contract-proxies.json +12 -0
  11. traia_iatp/contracts/iatp_contracts_config.py +263 -0
  12. traia_iatp/contracts/wallet_creator.py +369 -0
  13. traia_iatp/core/models.py +17 -3
  14. traia_iatp/d402/MIDDLEWARE_ARCHITECTURE.md +205 -0
  15. traia_iatp/d402/PRICE_BUILDER_USAGE.md +249 -0
  16. traia_iatp/d402/README.md +489 -0
  17. traia_iatp/d402/__init__.py +54 -0
  18. traia_iatp/d402/asgi_wrapper.py +469 -0
  19. traia_iatp/d402/chains.py +102 -0
  20. traia_iatp/d402/client.py +150 -0
  21. traia_iatp/d402/clients/__init__.py +7 -0
  22. traia_iatp/d402/clients/base.py +218 -0
  23. traia_iatp/d402/clients/httpx.py +266 -0
  24. traia_iatp/d402/common.py +114 -0
  25. traia_iatp/d402/encoding.py +28 -0
  26. traia_iatp/d402/examples/client_example.py +197 -0
  27. traia_iatp/d402/examples/server_example.py +171 -0
  28. traia_iatp/d402/facilitator.py +481 -0
  29. traia_iatp/d402/mcp_middleware.py +296 -0
  30. traia_iatp/d402/models.py +116 -0
  31. traia_iatp/d402/networks.py +98 -0
  32. traia_iatp/d402/path.py +43 -0
  33. traia_iatp/d402/payment_introspection.py +126 -0
  34. traia_iatp/d402/payment_signing.py +183 -0
  35. traia_iatp/d402/price_builder.py +164 -0
  36. traia_iatp/d402/servers/__init__.py +61 -0
  37. traia_iatp/d402/servers/base.py +139 -0
  38. traia_iatp/d402/servers/example_general_server.py +140 -0
  39. traia_iatp/d402/servers/fastapi.py +253 -0
  40. traia_iatp/d402/servers/mcp.py +304 -0
  41. traia_iatp/d402/servers/starlette.py +878 -0
  42. traia_iatp/d402/starlette_middleware.py +529 -0
  43. traia_iatp/d402/types.py +300 -0
  44. traia_iatp/mcp/D402_MCP_ADAPTER_FLOW.md +357 -0
  45. traia_iatp/mcp/__init__.py +3 -0
  46. traia_iatp/mcp/d402_mcp_tool_adapter.py +526 -0
  47. traia_iatp/mcp/mcp_agent_template.py +78 -13
  48. traia_iatp/mcp/templates/Dockerfile.j2 +27 -4
  49. traia_iatp/mcp/templates/README.md.j2 +104 -8
  50. traia_iatp/mcp/templates/cursor-rules.md.j2 +194 -0
  51. traia_iatp/mcp/templates/deployment_params.json.j2 +1 -2
  52. traia_iatp/mcp/templates/docker-compose.yml.j2 +13 -3
  53. traia_iatp/mcp/templates/env.example.j2 +60 -0
  54. traia_iatp/mcp/templates/mcp_health_check.py.j2 +2 -2
  55. traia_iatp/mcp/templates/pyproject.toml.j2 +11 -5
  56. traia_iatp/mcp/templates/pyrightconfig.json.j2 +22 -0
  57. traia_iatp/mcp/templates/run_local_docker.sh.j2 +320 -10
  58. traia_iatp/mcp/templates/server.py.j2 +174 -197
  59. traia_iatp/mcp/traia_mcp_adapter.py +182 -20
  60. traia_iatp/registry/__init__.py +47 -12
  61. traia_iatp/registry/atlas_search_indexes.json +108 -54
  62. traia_iatp/registry/iatp_search_api.py +169 -39
  63. traia_iatp/registry/mongodb_registry.py +241 -69
  64. traia_iatp/registry/readmes/EMBEDDINGS_SETUP.md +1 -1
  65. traia_iatp/registry/readmes/IATP_SEARCH_API_GUIDE.md +8 -8
  66. traia_iatp/registry/readmes/MONGODB_X509_AUTH.md +1 -1
  67. traia_iatp/registry/readmes/README.md +3 -3
  68. traia_iatp/registry/readmes/REFACTORING_SUMMARY.md +6 -6
  69. traia_iatp/scripts/__init__.py +2 -0
  70. traia_iatp/scripts/create_wallet.py +244 -0
  71. traia_iatp/server/a2a_server.py +22 -7
  72. traia_iatp/server/iatp_server_template_generator.py +23 -0
  73. traia_iatp/server/templates/.dockerignore.j2 +48 -0
  74. traia_iatp/server/templates/Dockerfile.j2 +23 -1
  75. traia_iatp/server/templates/README.md +2 -2
  76. traia_iatp/server/templates/README.md.j2 +5 -5
  77. traia_iatp/server/templates/__main__.py.j2 +374 -66
  78. traia_iatp/server/templates/agent.py.j2 +12 -11
  79. traia_iatp/server/templates/agent_config.json.j2 +3 -3
  80. traia_iatp/server/templates/agent_executor.py.j2 +45 -27
  81. traia_iatp/server/templates/env.example.j2 +32 -4
  82. traia_iatp/server/templates/gitignore.j2 +7 -0
  83. traia_iatp/server/templates/pyproject.toml.j2 +13 -12
  84. traia_iatp/server/templates/run_local_docker.sh.j2 +143 -11
  85. traia_iatp/server/templates/server.py.j2 +197 -10
  86. traia_iatp/special_agencies/registry_search_agency.py +1 -1
  87. traia_iatp/utils/iatp_utils.py +6 -6
  88. traia_iatp-0.1.67.dist-info/METADATA +320 -0
  89. traia_iatp-0.1.67.dist-info/RECORD +117 -0
  90. traia_iatp-0.1.2.dist-info/METADATA +0 -414
  91. traia_iatp-0.1.2.dist-info/RECORD +0 -72
  92. {traia_iatp-0.1.2.dist-info → traia_iatp-0.1.67.dist-info}/WHEEL +0 -0
  93. {traia_iatp-0.1.2.dist-info → traia_iatp-0.1.67.dist-info}/entry_points.txt +0 -0
  94. {traia_iatp-0.1.2.dist-info → traia_iatp-0.1.67.dist-info}/licenses/LICENSE +0 -0
  95. {traia_iatp-0.1.2.dist-info → traia_iatp-0.1.67.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,4890 @@
1
+ {
2
+ "sepolia": {
3
+ "IATPWallet": [
4
+ {
5
+ "inputs": [],
6
+ "stateMutability": "nonpayable",
7
+ "type": "constructor"
8
+ },
9
+ {
10
+ "inputs": [
11
+ {
12
+ "internalType": "address",
13
+ "name": "target",
14
+ "type": "address"
15
+ }
16
+ ],
17
+ "name": "AddressEmptyCode",
18
+ "type": "error"
19
+ },
20
+ {
21
+ "inputs": [],
22
+ "name": "DescriptionTooLong",
23
+ "type": "error"
24
+ },
25
+ {
26
+ "inputs": [],
27
+ "name": "ECDSAInvalidSignature",
28
+ "type": "error"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "uint256",
34
+ "name": "length",
35
+ "type": "uint256"
36
+ }
37
+ ],
38
+ "name": "ECDSAInvalidSignatureLength",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [
43
+ {
44
+ "internalType": "bytes32",
45
+ "name": "s",
46
+ "type": "bytes32"
47
+ }
48
+ ],
49
+ "name": "ECDSAInvalidSignatureS",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [
54
+ {
55
+ "internalType": "address",
56
+ "name": "implementation",
57
+ "type": "address"
58
+ }
59
+ ],
60
+ "name": "ERC1967InvalidImplementation",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [],
65
+ "name": "ERC1967NonPayable",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [],
70
+ "name": "FailedCall",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "inputs": [],
75
+ "name": "InsufficientBalance",
76
+ "type": "error"
77
+ },
78
+ {
79
+ "inputs": [],
80
+ "name": "InvalidAmount",
81
+ "type": "error"
82
+ },
83
+ {
84
+ "inputs": [],
85
+ "name": "InvalidInitialization",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [],
90
+ "name": "InvalidLockupPeriod",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [],
95
+ "name": "InvalidOperatorAddress",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "InvalidOwnerAddress",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [],
105
+ "name": "InvalidProvider",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "InvalidSettlementLayerAddress",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "InvalidSignature",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "InvalidTokenAddress",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "NameTooLong",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "inputs": [],
130
+ "name": "NotAuthorized",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [],
135
+ "name": "NotInitializing",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [],
140
+ "name": "NotSettlementLayer",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [],
145
+ "name": "OnlyOwner",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "PendingWithdrawalExists",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [],
155
+ "name": "ReentrancyGuardReentrantCall",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "RequestPathTooLong",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "address",
167
+ "name": "token",
168
+ "type": "address"
169
+ }
170
+ ],
171
+ "name": "SafeERC20FailedOperation",
172
+ "type": "error"
173
+ },
174
+ {
175
+ "inputs": [],
176
+ "name": "SignatureExpired",
177
+ "type": "error"
178
+ },
179
+ {
180
+ "inputs": [],
181
+ "name": "TransferFailed",
182
+ "type": "error"
183
+ },
184
+ {
185
+ "inputs": [],
186
+ "name": "UUPSUnauthorizedCallContext",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "bytes32",
193
+ "name": "slot",
194
+ "type": "bytes32"
195
+ }
196
+ ],
197
+ "name": "UUPSUnsupportedProxiableUUID",
198
+ "type": "error"
199
+ },
200
+ {
201
+ "inputs": [],
202
+ "name": "WithdrawalAlreadyExecuted",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [],
207
+ "name": "WithdrawalLockupNotExpired",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "WithdrawalRequestNotFound",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": true,
220
+ "internalType": "address",
221
+ "name": "owner",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "indexed": true,
226
+ "internalType": "address",
227
+ "name": "operatorAddress",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "address",
233
+ "name": "settlementLayer",
234
+ "type": "address"
235
+ }
236
+ ],
237
+ "name": "ClientInitialized",
238
+ "type": "event"
239
+ },
240
+ {
241
+ "anonymous": false,
242
+ "inputs": [
243
+ {
244
+ "indexed": false,
245
+ "internalType": "string",
246
+ "name": "oldDescription",
247
+ "type": "string"
248
+ },
249
+ {
250
+ "indexed": false,
251
+ "internalType": "string",
252
+ "name": "newDescription",
253
+ "type": "string"
254
+ }
255
+ ],
256
+ "name": "DescriptionUpdated",
257
+ "type": "event"
258
+ },
259
+ {
260
+ "anonymous": false,
261
+ "inputs": [],
262
+ "name": "EIP712DomainChanged",
263
+ "type": "event"
264
+ },
265
+ {
266
+ "anonymous": false,
267
+ "inputs": [
268
+ {
269
+ "indexed": true,
270
+ "internalType": "address",
271
+ "name": "token",
272
+ "type": "address"
273
+ },
274
+ {
275
+ "indexed": false,
276
+ "internalType": "uint256",
277
+ "name": "amount",
278
+ "type": "uint256"
279
+ }
280
+ ],
281
+ "name": "FundsDeposited",
282
+ "type": "event"
283
+ },
284
+ {
285
+ "anonymous": false,
286
+ "inputs": [
287
+ {
288
+ "indexed": true,
289
+ "internalType": "address",
290
+ "name": "token",
291
+ "type": "address"
292
+ },
293
+ {
294
+ "indexed": false,
295
+ "internalType": "uint256",
296
+ "name": "amount",
297
+ "type": "uint256"
298
+ },
299
+ {
300
+ "indexed": true,
301
+ "internalType": "address",
302
+ "name": "provider",
303
+ "type": "address"
304
+ },
305
+ {
306
+ "indexed": true,
307
+ "internalType": "address",
308
+ "name": "signer",
309
+ "type": "address"
310
+ }
311
+ ],
312
+ "name": "FundsTransferredToSettlement",
313
+ "type": "event"
314
+ },
315
+ {
316
+ "anonymous": false,
317
+ "inputs": [
318
+ {
319
+ "indexed": false,
320
+ "internalType": "uint64",
321
+ "name": "version",
322
+ "type": "uint64"
323
+ }
324
+ ],
325
+ "name": "Initialized",
326
+ "type": "event"
327
+ },
328
+ {
329
+ "anonymous": false,
330
+ "inputs": [
331
+ {
332
+ "indexed": false,
333
+ "internalType": "string",
334
+ "name": "oldName",
335
+ "type": "string"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "string",
340
+ "name": "newName",
341
+ "type": "string"
342
+ }
343
+ ],
344
+ "name": "NameUpdated",
345
+ "type": "event"
346
+ },
347
+ {
348
+ "anonymous": false,
349
+ "inputs": [
350
+ {
351
+ "indexed": true,
352
+ "internalType": "address",
353
+ "name": "oldOperator",
354
+ "type": "address"
355
+ },
356
+ {
357
+ "indexed": true,
358
+ "internalType": "address",
359
+ "name": "newOperator",
360
+ "type": "address"
361
+ }
362
+ ],
363
+ "name": "OperatorAddressUpdated",
364
+ "type": "event"
365
+ },
366
+ {
367
+ "anonymous": false,
368
+ "inputs": [
369
+ {
370
+ "indexed": true,
371
+ "internalType": "address",
372
+ "name": "newRoleManager",
373
+ "type": "address"
374
+ }
375
+ ],
376
+ "name": "RoleManagerUpdated",
377
+ "type": "event"
378
+ },
379
+ {
380
+ "anonymous": false,
381
+ "inputs": [
382
+ {
383
+ "indexed": true,
384
+ "internalType": "address",
385
+ "name": "implementation",
386
+ "type": "address"
387
+ }
388
+ ],
389
+ "name": "Upgraded",
390
+ "type": "event"
391
+ },
392
+ {
393
+ "anonymous": false,
394
+ "inputs": [
395
+ {
396
+ "indexed": true,
397
+ "internalType": "enum IIATPWalletFactory.WalletType",
398
+ "name": "oldWalletType",
399
+ "type": "uint8"
400
+ },
401
+ {
402
+ "indexed": true,
403
+ "internalType": "enum IIATPWalletFactory.WalletType",
404
+ "name": "newWalletType",
405
+ "type": "uint8"
406
+ }
407
+ ],
408
+ "name": "WalletTypeUpdated",
409
+ "type": "event"
410
+ },
411
+ {
412
+ "anonymous": false,
413
+ "inputs": [
414
+ {
415
+ "indexed": true,
416
+ "internalType": "address",
417
+ "name": "token",
418
+ "type": "address"
419
+ },
420
+ {
421
+ "indexed": false,
422
+ "internalType": "uint256",
423
+ "name": "amount",
424
+ "type": "uint256"
425
+ }
426
+ ],
427
+ "name": "WithdrawalCancelled",
428
+ "type": "event"
429
+ },
430
+ {
431
+ "anonymous": false,
432
+ "inputs": [
433
+ {
434
+ "indexed": true,
435
+ "internalType": "address",
436
+ "name": "token",
437
+ "type": "address"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "uint256",
442
+ "name": "amount",
443
+ "type": "uint256"
444
+ },
445
+ {
446
+ "indexed": true,
447
+ "internalType": "address",
448
+ "name": "recipient",
449
+ "type": "address"
450
+ }
451
+ ],
452
+ "name": "WithdrawalExecuted",
453
+ "type": "event"
454
+ },
455
+ {
456
+ "anonymous": false,
457
+ "inputs": [
458
+ {
459
+ "indexed": false,
460
+ "internalType": "uint256",
461
+ "name": "oldPeriod",
462
+ "type": "uint256"
463
+ },
464
+ {
465
+ "indexed": false,
466
+ "internalType": "uint256",
467
+ "name": "newPeriod",
468
+ "type": "uint256"
469
+ }
470
+ ],
471
+ "name": "WithdrawalLockupPeriodUpdated",
472
+ "type": "event"
473
+ },
474
+ {
475
+ "anonymous": false,
476
+ "inputs": [
477
+ {
478
+ "indexed": true,
479
+ "internalType": "address",
480
+ "name": "token",
481
+ "type": "address"
482
+ },
483
+ {
484
+ "indexed": false,
485
+ "internalType": "uint256",
486
+ "name": "amount",
487
+ "type": "uint256"
488
+ },
489
+ {
490
+ "indexed": false,
491
+ "internalType": "uint256",
492
+ "name": "requestedAt",
493
+ "type": "uint256"
494
+ },
495
+ {
496
+ "indexed": false,
497
+ "internalType": "uint256",
498
+ "name": "unlockTime",
499
+ "type": "uint256"
500
+ }
501
+ ],
502
+ "name": "WithdrawalRequested",
503
+ "type": "event"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "BONDING_ROLE",
508
+ "outputs": [
509
+ {
510
+ "internalType": "bytes32",
511
+ "name": "",
512
+ "type": "bytes32"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [],
520
+ "name": "DEFAULT_ADMIN_ROLE",
521
+ "outputs": [
522
+ {
523
+ "internalType": "bytes32",
524
+ "name": "",
525
+ "type": "bytes32"
526
+ }
527
+ ],
528
+ "stateMutability": "view",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "MAX_DESCRIPTION_LENGTH",
534
+ "outputs": [
535
+ {
536
+ "internalType": "uint256",
537
+ "name": "",
538
+ "type": "uint256"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [],
546
+ "name": "MAX_NAME_LENGTH",
547
+ "outputs": [
548
+ {
549
+ "internalType": "uint256",
550
+ "name": "",
551
+ "type": "uint256"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "MAX_REQUEST_PATH_LENGTH",
560
+ "outputs": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "",
564
+ "type": "uint256"
565
+ }
566
+ ],
567
+ "stateMutability": "view",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [],
572
+ "name": "PROVIDER_ATTESTATION_TYPEHASH",
573
+ "outputs": [
574
+ {
575
+ "internalType": "bytes32",
576
+ "name": "",
577
+ "type": "bytes32"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [],
585
+ "name": "PULL_FUNDS_FOR_SETTLEMENT_TYPEHASH",
586
+ "outputs": [
587
+ {
588
+ "internalType": "bytes32",
589
+ "name": "",
590
+ "type": "bytes32"
591
+ }
592
+ ],
593
+ "stateMutability": "view",
594
+ "type": "function"
595
+ },
596
+ {
597
+ "inputs": [],
598
+ "name": "UPGRADE_INTERFACE_VERSION",
599
+ "outputs": [
600
+ {
601
+ "internalType": "string",
602
+ "name": "",
603
+ "type": "string"
604
+ }
605
+ ],
606
+ "stateMutability": "view",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "address",
613
+ "name": "token",
614
+ "type": "address"
615
+ }
616
+ ],
617
+ "name": "cancelWithdrawal",
618
+ "outputs": [],
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [
624
+ {
625
+ "internalType": "address",
626
+ "name": "token",
627
+ "type": "address"
628
+ },
629
+ {
630
+ "internalType": "uint256",
631
+ "name": "amount",
632
+ "type": "uint256"
633
+ }
634
+ ],
635
+ "name": "deposit",
636
+ "outputs": [],
637
+ "stateMutability": "nonpayable",
638
+ "type": "function"
639
+ },
640
+ {
641
+ "inputs": [],
642
+ "name": "description",
643
+ "outputs": [
644
+ {
645
+ "internalType": "string",
646
+ "name": "",
647
+ "type": "string"
648
+ }
649
+ ],
650
+ "stateMutability": "view",
651
+ "type": "function"
652
+ },
653
+ {
654
+ "inputs": [],
655
+ "name": "eip712Domain",
656
+ "outputs": [
657
+ {
658
+ "internalType": "bytes1",
659
+ "name": "fields",
660
+ "type": "bytes1"
661
+ },
662
+ {
663
+ "internalType": "string",
664
+ "name": "name",
665
+ "type": "string"
666
+ },
667
+ {
668
+ "internalType": "string",
669
+ "name": "version",
670
+ "type": "string"
671
+ },
672
+ {
673
+ "internalType": "uint256",
674
+ "name": "chainId",
675
+ "type": "uint256"
676
+ },
677
+ {
678
+ "internalType": "address",
679
+ "name": "verifyingContract",
680
+ "type": "address"
681
+ },
682
+ {
683
+ "internalType": "bytes32",
684
+ "name": "salt",
685
+ "type": "bytes32"
686
+ },
687
+ {
688
+ "internalType": "uint256[]",
689
+ "name": "extensions",
690
+ "type": "uint256[]"
691
+ }
692
+ ],
693
+ "stateMutability": "view",
694
+ "type": "function"
695
+ },
696
+ {
697
+ "inputs": [
698
+ {
699
+ "internalType": "address",
700
+ "name": "token",
701
+ "type": "address"
702
+ }
703
+ ],
704
+ "name": "executeWithdrawal",
705
+ "outputs": [],
706
+ "stateMutability": "nonpayable",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [
711
+ {
712
+ "internalType": "address",
713
+ "name": "token",
714
+ "type": "address"
715
+ }
716
+ ],
717
+ "name": "getAvailableBalance",
718
+ "outputs": [
719
+ {
720
+ "internalType": "uint256",
721
+ "name": "",
722
+ "type": "uint256"
723
+ }
724
+ ],
725
+ "stateMutability": "view",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [
730
+ {
731
+ "internalType": "address",
732
+ "name": "token",
733
+ "type": "address"
734
+ }
735
+ ],
736
+ "name": "getBalance",
737
+ "outputs": [
738
+ {
739
+ "internalType": "uint256",
740
+ "name": "",
741
+ "type": "uint256"
742
+ }
743
+ ],
744
+ "stateMutability": "view",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [
749
+ {
750
+ "internalType": "address",
751
+ "name": "token",
752
+ "type": "address"
753
+ }
754
+ ],
755
+ "name": "getWithdrawalRequest",
756
+ "outputs": [
757
+ {
758
+ "components": [
759
+ {
760
+ "internalType": "address",
761
+ "name": "token",
762
+ "type": "address"
763
+ },
764
+ {
765
+ "internalType": "uint256",
766
+ "name": "amount",
767
+ "type": "uint256"
768
+ },
769
+ {
770
+ "internalType": "uint256",
771
+ "name": "requestedAt",
772
+ "type": "uint256"
773
+ },
774
+ {
775
+ "internalType": "uint256",
776
+ "name": "unlockTime",
777
+ "type": "uint256"
778
+ },
779
+ {
780
+ "internalType": "bool",
781
+ "name": "executed",
782
+ "type": "bool"
783
+ }
784
+ ],
785
+ "internalType": "struct IIATPWallet.WithdrawalRequest",
786
+ "name": "request",
787
+ "type": "tuple"
788
+ },
789
+ {
790
+ "internalType": "uint256",
791
+ "name": "unlockTime",
792
+ "type": "uint256"
793
+ }
794
+ ],
795
+ "stateMutability": "view",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [
800
+ {
801
+ "internalType": "address",
802
+ "name": "_roleManager",
803
+ "type": "address"
804
+ },
805
+ {
806
+ "internalType": "address",
807
+ "name": "_owner",
808
+ "type": "address"
809
+ },
810
+ {
811
+ "internalType": "address",
812
+ "name": "_operatorAddress",
813
+ "type": "address"
814
+ },
815
+ {
816
+ "internalType": "address",
817
+ "name": "_settlementLayer",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "internalType": "enum IIATPWalletFactory.WalletType",
822
+ "name": "_walletType",
823
+ "type": "uint8"
824
+ },
825
+ {
826
+ "internalType": "string",
827
+ "name": "_name",
828
+ "type": "string"
829
+ },
830
+ {
831
+ "internalType": "string",
832
+ "name": "_description",
833
+ "type": "string"
834
+ }
835
+ ],
836
+ "name": "initialize",
837
+ "outputs": [],
838
+ "stateMutability": "nonpayable",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [
843
+ {
844
+ "internalType": "address",
845
+ "name": "account",
846
+ "type": "address"
847
+ }
848
+ ],
849
+ "name": "isMaintainer",
850
+ "outputs": [
851
+ {
852
+ "internalType": "bool",
853
+ "name": "",
854
+ "type": "bool"
855
+ }
856
+ ],
857
+ "stateMutability": "view",
858
+ "type": "function"
859
+ },
860
+ {
861
+ "inputs": [
862
+ {
863
+ "internalType": "address",
864
+ "name": "token",
865
+ "type": "address"
866
+ },
867
+ {
868
+ "internalType": "uint256",
869
+ "name": "amount",
870
+ "type": "uint256"
871
+ },
872
+ {
873
+ "internalType": "address",
874
+ "name": "provider",
875
+ "type": "address"
876
+ },
877
+ {
878
+ "internalType": "uint256",
879
+ "name": "deadline",
880
+ "type": "uint256"
881
+ },
882
+ {
883
+ "internalType": "string",
884
+ "name": "requestPath",
885
+ "type": "string"
886
+ },
887
+ {
888
+ "internalType": "bytes",
889
+ "name": "signature",
890
+ "type": "bytes"
891
+ }
892
+ ],
893
+ "name": "isValidSettlementRequest",
894
+ "outputs": [
895
+ {
896
+ "internalType": "bool",
897
+ "name": "",
898
+ "type": "bool"
899
+ }
900
+ ],
901
+ "stateMutability": "view",
902
+ "type": "function"
903
+ },
904
+ {
905
+ "inputs": [],
906
+ "name": "name",
907
+ "outputs": [
908
+ {
909
+ "internalType": "string",
910
+ "name": "",
911
+ "type": "string"
912
+ }
913
+ ],
914
+ "stateMutability": "view",
915
+ "type": "function"
916
+ },
917
+ {
918
+ "inputs": [],
919
+ "name": "operatorAddress",
920
+ "outputs": [
921
+ {
922
+ "internalType": "address",
923
+ "name": "",
924
+ "type": "address"
925
+ }
926
+ ],
927
+ "stateMutability": "view",
928
+ "type": "function"
929
+ },
930
+ {
931
+ "inputs": [],
932
+ "name": "owner",
933
+ "outputs": [
934
+ {
935
+ "internalType": "address",
936
+ "name": "",
937
+ "type": "address"
938
+ }
939
+ ],
940
+ "stateMutability": "view",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [],
945
+ "name": "proxiableUUID",
946
+ "outputs": [
947
+ {
948
+ "internalType": "bytes32",
949
+ "name": "",
950
+ "type": "bytes32"
951
+ }
952
+ ],
953
+ "stateMutability": "view",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [
958
+ {
959
+ "internalType": "address",
960
+ "name": "token",
961
+ "type": "address"
962
+ },
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "amount",
966
+ "type": "uint256"
967
+ },
968
+ {
969
+ "internalType": "address",
970
+ "name": "provider",
971
+ "type": "address"
972
+ },
973
+ {
974
+ "internalType": "uint256",
975
+ "name": "deadline",
976
+ "type": "uint256"
977
+ },
978
+ {
979
+ "internalType": "string",
980
+ "name": "requestPath",
981
+ "type": "string"
982
+ },
983
+ {
984
+ "internalType": "bytes",
985
+ "name": "signature",
986
+ "type": "bytes"
987
+ }
988
+ ],
989
+ "name": "pullFundsForSettlement",
990
+ "outputs": [],
991
+ "stateMutability": "nonpayable",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [
996
+ {
997
+ "internalType": "address",
998
+ "name": "token",
999
+ "type": "address"
1000
+ },
1001
+ {
1002
+ "internalType": "uint256",
1003
+ "name": "amount",
1004
+ "type": "uint256"
1005
+ }
1006
+ ],
1007
+ "name": "requestWithdrawal",
1008
+ "outputs": [],
1009
+ "stateMutability": "nonpayable",
1010
+ "type": "function"
1011
+ },
1012
+ {
1013
+ "inputs": [],
1014
+ "name": "roleManager",
1015
+ "outputs": [
1016
+ {
1017
+ "internalType": "contract IRoleManager",
1018
+ "name": "",
1019
+ "type": "address"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "view",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "uint256",
1029
+ "name": "_newPeriod",
1030
+ "type": "uint256"
1031
+ }
1032
+ ],
1033
+ "name": "setWithdrawalLockupPeriod",
1034
+ "outputs": [],
1035
+ "stateMutability": "nonpayable",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [],
1040
+ "name": "settlementLayer",
1041
+ "outputs": [
1042
+ {
1043
+ "internalType": "contract IIATPSettlementLayer",
1044
+ "name": "",
1045
+ "type": "address"
1046
+ }
1047
+ ],
1048
+ "stateMutability": "view",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [
1053
+ {
1054
+ "internalType": "enum IIATPWalletFactory.WalletType",
1055
+ "name": "_newWalletType",
1056
+ "type": "uint8"
1057
+ },
1058
+ {
1059
+ "internalType": "string",
1060
+ "name": "_newName",
1061
+ "type": "string"
1062
+ },
1063
+ {
1064
+ "internalType": "string",
1065
+ "name": "_newDescription",
1066
+ "type": "string"
1067
+ }
1068
+ ],
1069
+ "name": "updateMetadata",
1070
+ "outputs": [],
1071
+ "stateMutability": "nonpayable",
1072
+ "type": "function"
1073
+ },
1074
+ {
1075
+ "inputs": [
1076
+ {
1077
+ "internalType": "address",
1078
+ "name": "_newOperatorAddress",
1079
+ "type": "address"
1080
+ }
1081
+ ],
1082
+ "name": "updateOperatorAddress",
1083
+ "outputs": [],
1084
+ "stateMutability": "nonpayable",
1085
+ "type": "function"
1086
+ },
1087
+ {
1088
+ "inputs": [
1089
+ {
1090
+ "internalType": "address",
1091
+ "name": "newImplementation",
1092
+ "type": "address"
1093
+ },
1094
+ {
1095
+ "internalType": "bytes",
1096
+ "name": "data",
1097
+ "type": "bytes"
1098
+ }
1099
+ ],
1100
+ "name": "upgradeToAndCall",
1101
+ "outputs": [],
1102
+ "stateMutability": "payable",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [
1107
+ {
1108
+ "internalType": "address",
1109
+ "name": "token",
1110
+ "type": "address"
1111
+ },
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "amount",
1115
+ "type": "uint256"
1116
+ },
1117
+ {
1118
+ "internalType": "address",
1119
+ "name": "provider",
1120
+ "type": "address"
1121
+ },
1122
+ {
1123
+ "internalType": "uint256",
1124
+ "name": "deadline",
1125
+ "type": "uint256"
1126
+ },
1127
+ {
1128
+ "internalType": "string",
1129
+ "name": "requestPath",
1130
+ "type": "string"
1131
+ },
1132
+ {
1133
+ "internalType": "bytes",
1134
+ "name": "signature",
1135
+ "type": "bytes"
1136
+ }
1137
+ ],
1138
+ "name": "validateConsumerSignature",
1139
+ "outputs": [
1140
+ {
1141
+ "internalType": "bool",
1142
+ "name": "",
1143
+ "type": "bool"
1144
+ }
1145
+ ],
1146
+ "stateMutability": "view",
1147
+ "type": "function"
1148
+ },
1149
+ {
1150
+ "inputs": [
1151
+ {
1152
+ "internalType": "bytes",
1153
+ "name": "consumerSignature",
1154
+ "type": "bytes"
1155
+ },
1156
+ {
1157
+ "internalType": "bytes",
1158
+ "name": "outputHash",
1159
+ "type": "bytes"
1160
+ },
1161
+ {
1162
+ "internalType": "uint256",
1163
+ "name": "timestamp",
1164
+ "type": "uint256"
1165
+ },
1166
+ {
1167
+ "internalType": "bytes32",
1168
+ "name": "serviceDescription",
1169
+ "type": "bytes32"
1170
+ },
1171
+ {
1172
+ "internalType": "uint256",
1173
+ "name": "facilitatorFeePercent",
1174
+ "type": "uint256"
1175
+ },
1176
+ {
1177
+ "internalType": "bytes",
1178
+ "name": "signature",
1179
+ "type": "bytes"
1180
+ }
1181
+ ],
1182
+ "name": "validateProviderAttestation",
1183
+ "outputs": [],
1184
+ "stateMutability": "view",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [],
1189
+ "name": "walletType",
1190
+ "outputs": [
1191
+ {
1192
+ "internalType": "enum IIATPWalletFactory.WalletType",
1193
+ "name": "",
1194
+ "type": "uint8"
1195
+ }
1196
+ ],
1197
+ "stateMutability": "view",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "address",
1204
+ "name": "token",
1205
+ "type": "address"
1206
+ },
1207
+ {
1208
+ "internalType": "bool",
1209
+ "name": "sendToOwner",
1210
+ "type": "bool"
1211
+ }
1212
+ ],
1213
+ "name": "withdrawAllFromSettlement",
1214
+ "outputs": [],
1215
+ "stateMutability": "nonpayable",
1216
+ "type": "function"
1217
+ },
1218
+ {
1219
+ "inputs": [
1220
+ {
1221
+ "internalType": "uint256",
1222
+ "name": "epoch",
1223
+ "type": "uint256"
1224
+ },
1225
+ {
1226
+ "internalType": "address",
1227
+ "name": "token",
1228
+ "type": "address"
1229
+ }
1230
+ ],
1231
+ "name": "withdrawEpochFromSettlement",
1232
+ "outputs": [],
1233
+ "stateMutability": "nonpayable",
1234
+ "type": "function"
1235
+ },
1236
+ {
1237
+ "inputs": [],
1238
+ "name": "withdrawalLockupPeriod",
1239
+ "outputs": [
1240
+ {
1241
+ "internalType": "uint256",
1242
+ "name": "",
1243
+ "type": "uint256"
1244
+ }
1245
+ ],
1246
+ "stateMutability": "view",
1247
+ "type": "function"
1248
+ },
1249
+ {
1250
+ "inputs": [
1251
+ {
1252
+ "internalType": "address",
1253
+ "name": "",
1254
+ "type": "address"
1255
+ }
1256
+ ],
1257
+ "name": "withdrawalRequests",
1258
+ "outputs": [
1259
+ {
1260
+ "internalType": "address",
1261
+ "name": "token",
1262
+ "type": "address"
1263
+ },
1264
+ {
1265
+ "internalType": "uint256",
1266
+ "name": "amount",
1267
+ "type": "uint256"
1268
+ },
1269
+ {
1270
+ "internalType": "uint256",
1271
+ "name": "requestedAt",
1272
+ "type": "uint256"
1273
+ },
1274
+ {
1275
+ "internalType": "uint256",
1276
+ "name": "unlockTime",
1277
+ "type": "uint256"
1278
+ },
1279
+ {
1280
+ "internalType": "bool",
1281
+ "name": "executed",
1282
+ "type": "bool"
1283
+ }
1284
+ ],
1285
+ "stateMutability": "view",
1286
+ "type": "function"
1287
+ },
1288
+ {
1289
+ "stateMutability": "payable",
1290
+ "type": "receive"
1291
+ }
1292
+ ],
1293
+ "RoleManager": [
1294
+ {
1295
+ "inputs": [],
1296
+ "name": "AccessControlBadConfirmation",
1297
+ "type": "error"
1298
+ },
1299
+ {
1300
+ "inputs": [
1301
+ {
1302
+ "internalType": "address",
1303
+ "name": "account",
1304
+ "type": "address"
1305
+ },
1306
+ {
1307
+ "internalType": "bytes32",
1308
+ "name": "neededRole",
1309
+ "type": "bytes32"
1310
+ }
1311
+ ],
1312
+ "name": "AccessControlUnauthorizedAccount",
1313
+ "type": "error"
1314
+ },
1315
+ {
1316
+ "inputs": [
1317
+ {
1318
+ "internalType": "address",
1319
+ "name": "target",
1320
+ "type": "address"
1321
+ }
1322
+ ],
1323
+ "name": "AddressEmptyCode",
1324
+ "type": "error"
1325
+ },
1326
+ {
1327
+ "inputs": [
1328
+ {
1329
+ "internalType": "address",
1330
+ "name": "implementation",
1331
+ "type": "address"
1332
+ }
1333
+ ],
1334
+ "name": "ERC1967InvalidImplementation",
1335
+ "type": "error"
1336
+ },
1337
+ {
1338
+ "inputs": [],
1339
+ "name": "ERC1967NonPayable",
1340
+ "type": "error"
1341
+ },
1342
+ {
1343
+ "inputs": [],
1344
+ "name": "FailedCall",
1345
+ "type": "error"
1346
+ },
1347
+ {
1348
+ "inputs": [],
1349
+ "name": "InvalidInitialization",
1350
+ "type": "error"
1351
+ },
1352
+ {
1353
+ "inputs": [],
1354
+ "name": "NotInitializing",
1355
+ "type": "error"
1356
+ },
1357
+ {
1358
+ "inputs": [],
1359
+ "name": "UUPSUnauthorizedCallContext",
1360
+ "type": "error"
1361
+ },
1362
+ {
1363
+ "inputs": [
1364
+ {
1365
+ "internalType": "bytes32",
1366
+ "name": "slot",
1367
+ "type": "bytes32"
1368
+ }
1369
+ ],
1370
+ "name": "UUPSUnsupportedProxiableUUID",
1371
+ "type": "error"
1372
+ },
1373
+ {
1374
+ "anonymous": false,
1375
+ "inputs": [
1376
+ {
1377
+ "indexed": false,
1378
+ "internalType": "uint64",
1379
+ "name": "version",
1380
+ "type": "uint64"
1381
+ }
1382
+ ],
1383
+ "name": "Initialized",
1384
+ "type": "event"
1385
+ },
1386
+ {
1387
+ "anonymous": false,
1388
+ "inputs": [
1389
+ {
1390
+ "indexed": true,
1391
+ "internalType": "bytes32",
1392
+ "name": "role",
1393
+ "type": "bytes32"
1394
+ },
1395
+ {
1396
+ "indexed": true,
1397
+ "internalType": "bytes32",
1398
+ "name": "previousAdminRole",
1399
+ "type": "bytes32"
1400
+ },
1401
+ {
1402
+ "indexed": true,
1403
+ "internalType": "bytes32",
1404
+ "name": "newAdminRole",
1405
+ "type": "bytes32"
1406
+ }
1407
+ ],
1408
+ "name": "RoleAdminChanged",
1409
+ "type": "event"
1410
+ },
1411
+ {
1412
+ "anonymous": false,
1413
+ "inputs": [
1414
+ {
1415
+ "indexed": true,
1416
+ "internalType": "bytes32",
1417
+ "name": "role",
1418
+ "type": "bytes32"
1419
+ },
1420
+ {
1421
+ "indexed": true,
1422
+ "internalType": "address",
1423
+ "name": "account",
1424
+ "type": "address"
1425
+ },
1426
+ {
1427
+ "indexed": true,
1428
+ "internalType": "address",
1429
+ "name": "sender",
1430
+ "type": "address"
1431
+ }
1432
+ ],
1433
+ "name": "RoleGranted",
1434
+ "type": "event"
1435
+ },
1436
+ {
1437
+ "anonymous": false,
1438
+ "inputs": [
1439
+ {
1440
+ "indexed": true,
1441
+ "internalType": "bytes32",
1442
+ "name": "role",
1443
+ "type": "bytes32"
1444
+ },
1445
+ {
1446
+ "indexed": true,
1447
+ "internalType": "address",
1448
+ "name": "account",
1449
+ "type": "address"
1450
+ },
1451
+ {
1452
+ "indexed": true,
1453
+ "internalType": "address",
1454
+ "name": "sender",
1455
+ "type": "address"
1456
+ }
1457
+ ],
1458
+ "name": "RoleRevoked",
1459
+ "type": "event"
1460
+ },
1461
+ {
1462
+ "anonymous": false,
1463
+ "inputs": [
1464
+ {
1465
+ "indexed": true,
1466
+ "internalType": "address",
1467
+ "name": "implementation",
1468
+ "type": "address"
1469
+ }
1470
+ ],
1471
+ "name": "Upgraded",
1472
+ "type": "event"
1473
+ },
1474
+ {
1475
+ "inputs": [],
1476
+ "name": "DEFAULT_ADMIN_ROLE",
1477
+ "outputs": [
1478
+ {
1479
+ "internalType": "bytes32",
1480
+ "name": "",
1481
+ "type": "bytes32"
1482
+ }
1483
+ ],
1484
+ "stateMutability": "view",
1485
+ "type": "function"
1486
+ },
1487
+ {
1488
+ "inputs": [],
1489
+ "name": "MAINTAINER_ROLE",
1490
+ "outputs": [
1491
+ {
1492
+ "internalType": "bytes32",
1493
+ "name": "",
1494
+ "type": "bytes32"
1495
+ }
1496
+ ],
1497
+ "stateMutability": "view",
1498
+ "type": "function"
1499
+ },
1500
+ {
1501
+ "inputs": [],
1502
+ "name": "UPGRADE_INTERFACE_VERSION",
1503
+ "outputs": [
1504
+ {
1505
+ "internalType": "string",
1506
+ "name": "",
1507
+ "type": "string"
1508
+ }
1509
+ ],
1510
+ "stateMutability": "view",
1511
+ "type": "function"
1512
+ },
1513
+ {
1514
+ "inputs": [
1515
+ {
1516
+ "internalType": "address",
1517
+ "name": "maintainer",
1518
+ "type": "address"
1519
+ }
1520
+ ],
1521
+ "name": "addMaintainer",
1522
+ "outputs": [],
1523
+ "stateMutability": "nonpayable",
1524
+ "type": "function"
1525
+ },
1526
+ {
1527
+ "inputs": [],
1528
+ "name": "getDefaultAdmin",
1529
+ "outputs": [
1530
+ {
1531
+ "internalType": "address",
1532
+ "name": "",
1533
+ "type": "address"
1534
+ }
1535
+ ],
1536
+ "stateMutability": "view",
1537
+ "type": "function"
1538
+ },
1539
+ {
1540
+ "inputs": [
1541
+ {
1542
+ "internalType": "bytes32",
1543
+ "name": "role",
1544
+ "type": "bytes32"
1545
+ }
1546
+ ],
1547
+ "name": "getRoleAdmin",
1548
+ "outputs": [
1549
+ {
1550
+ "internalType": "bytes32",
1551
+ "name": "",
1552
+ "type": "bytes32"
1553
+ }
1554
+ ],
1555
+ "stateMutability": "view",
1556
+ "type": "function"
1557
+ },
1558
+ {
1559
+ "inputs": [
1560
+ {
1561
+ "internalType": "bytes32",
1562
+ "name": "role",
1563
+ "type": "bytes32"
1564
+ },
1565
+ {
1566
+ "internalType": "uint256",
1567
+ "name": "index",
1568
+ "type": "uint256"
1569
+ }
1570
+ ],
1571
+ "name": "getRoleMember",
1572
+ "outputs": [
1573
+ {
1574
+ "internalType": "address",
1575
+ "name": "",
1576
+ "type": "address"
1577
+ }
1578
+ ],
1579
+ "stateMutability": "view",
1580
+ "type": "function"
1581
+ },
1582
+ {
1583
+ "inputs": [
1584
+ {
1585
+ "internalType": "bytes32",
1586
+ "name": "role",
1587
+ "type": "bytes32"
1588
+ }
1589
+ ],
1590
+ "name": "getRoleMemberCount",
1591
+ "outputs": [
1592
+ {
1593
+ "internalType": "uint256",
1594
+ "name": "",
1595
+ "type": "uint256"
1596
+ }
1597
+ ],
1598
+ "stateMutability": "view",
1599
+ "type": "function"
1600
+ },
1601
+ {
1602
+ "inputs": [
1603
+ {
1604
+ "internalType": "bytes32",
1605
+ "name": "role",
1606
+ "type": "bytes32"
1607
+ }
1608
+ ],
1609
+ "name": "getRoleMembers",
1610
+ "outputs": [
1611
+ {
1612
+ "internalType": "address[]",
1613
+ "name": "",
1614
+ "type": "address[]"
1615
+ }
1616
+ ],
1617
+ "stateMutability": "view",
1618
+ "type": "function"
1619
+ },
1620
+ {
1621
+ "inputs": [
1622
+ {
1623
+ "internalType": "bytes32",
1624
+ "name": "role",
1625
+ "type": "bytes32"
1626
+ },
1627
+ {
1628
+ "internalType": "address",
1629
+ "name": "account",
1630
+ "type": "address"
1631
+ }
1632
+ ],
1633
+ "name": "grantRole",
1634
+ "outputs": [],
1635
+ "stateMutability": "nonpayable",
1636
+ "type": "function"
1637
+ },
1638
+ {
1639
+ "inputs": [
1640
+ {
1641
+ "internalType": "bytes32",
1642
+ "name": "role",
1643
+ "type": "bytes32"
1644
+ },
1645
+ {
1646
+ "internalType": "address",
1647
+ "name": "account",
1648
+ "type": "address"
1649
+ }
1650
+ ],
1651
+ "name": "hasRole",
1652
+ "outputs": [
1653
+ {
1654
+ "internalType": "bool",
1655
+ "name": "",
1656
+ "type": "bool"
1657
+ }
1658
+ ],
1659
+ "stateMutability": "view",
1660
+ "type": "function"
1661
+ },
1662
+ {
1663
+ "inputs": [
1664
+ {
1665
+ "internalType": "address",
1666
+ "name": "congress",
1667
+ "type": "address"
1668
+ },
1669
+ {
1670
+ "internalType": "address[]",
1671
+ "name": "maintainers",
1672
+ "type": "address[]"
1673
+ }
1674
+ ],
1675
+ "name": "initialize",
1676
+ "outputs": [],
1677
+ "stateMutability": "nonpayable",
1678
+ "type": "function"
1679
+ },
1680
+ {
1681
+ "inputs": [],
1682
+ "name": "proxiableUUID",
1683
+ "outputs": [
1684
+ {
1685
+ "internalType": "bytes32",
1686
+ "name": "",
1687
+ "type": "bytes32"
1688
+ }
1689
+ ],
1690
+ "stateMutability": "view",
1691
+ "type": "function"
1692
+ },
1693
+ {
1694
+ "inputs": [
1695
+ {
1696
+ "internalType": "address",
1697
+ "name": "maintainer",
1698
+ "type": "address"
1699
+ }
1700
+ ],
1701
+ "name": "removeMaintainer",
1702
+ "outputs": [],
1703
+ "stateMutability": "nonpayable",
1704
+ "type": "function"
1705
+ },
1706
+ {
1707
+ "inputs": [
1708
+ {
1709
+ "internalType": "bytes32",
1710
+ "name": "role",
1711
+ "type": "bytes32"
1712
+ },
1713
+ {
1714
+ "internalType": "address",
1715
+ "name": "callerConfirmation",
1716
+ "type": "address"
1717
+ }
1718
+ ],
1719
+ "name": "renounceRole",
1720
+ "outputs": [],
1721
+ "stateMutability": "nonpayable",
1722
+ "type": "function"
1723
+ },
1724
+ {
1725
+ "inputs": [
1726
+ {
1727
+ "internalType": "bytes32",
1728
+ "name": "role",
1729
+ "type": "bytes32"
1730
+ },
1731
+ {
1732
+ "internalType": "address",
1733
+ "name": "account",
1734
+ "type": "address"
1735
+ }
1736
+ ],
1737
+ "name": "revokeRole",
1738
+ "outputs": [],
1739
+ "stateMutability": "nonpayable",
1740
+ "type": "function"
1741
+ },
1742
+ {
1743
+ "inputs": [
1744
+ {
1745
+ "internalType": "bytes4",
1746
+ "name": "interfaceId",
1747
+ "type": "bytes4"
1748
+ }
1749
+ ],
1750
+ "name": "supportsInterface",
1751
+ "outputs": [
1752
+ {
1753
+ "internalType": "bool",
1754
+ "name": "",
1755
+ "type": "bool"
1756
+ }
1757
+ ],
1758
+ "stateMutability": "view",
1759
+ "type": "function"
1760
+ },
1761
+ {
1762
+ "inputs": [
1763
+ {
1764
+ "internalType": "address",
1765
+ "name": "newAdmin",
1766
+ "type": "address"
1767
+ }
1768
+ ],
1769
+ "name": "transferDefaultAdmin",
1770
+ "outputs": [],
1771
+ "stateMutability": "nonpayable",
1772
+ "type": "function"
1773
+ },
1774
+ {
1775
+ "inputs": [
1776
+ {
1777
+ "internalType": "address",
1778
+ "name": "newImplementation",
1779
+ "type": "address"
1780
+ },
1781
+ {
1782
+ "internalType": "bytes",
1783
+ "name": "data",
1784
+ "type": "bytes"
1785
+ }
1786
+ ],
1787
+ "name": "upgradeToAndCall",
1788
+ "outputs": [],
1789
+ "stateMutability": "payable",
1790
+ "type": "function"
1791
+ }
1792
+ ],
1793
+ "IATPSettlementLayer": [
1794
+ {
1795
+ "inputs": [],
1796
+ "stateMutability": "nonpayable",
1797
+ "type": "constructor"
1798
+ },
1799
+ {
1800
+ "inputs": [
1801
+ {
1802
+ "internalType": "address",
1803
+ "name": "target",
1804
+ "type": "address"
1805
+ }
1806
+ ],
1807
+ "name": "AddressEmptyCode",
1808
+ "type": "error"
1809
+ },
1810
+ {
1811
+ "inputs": [],
1812
+ "name": "AmountMustBePositive",
1813
+ "type": "error"
1814
+ },
1815
+ {
1816
+ "inputs": [],
1817
+ "name": "ArrayLengthMismatch",
1818
+ "type": "error"
1819
+ },
1820
+ {
1821
+ "inputs": [],
1822
+ "name": "CannotReleaseEpochYet",
1823
+ "type": "error"
1824
+ },
1825
+ {
1826
+ "inputs": [],
1827
+ "name": "ConsumerProviderSame",
1828
+ "type": "error"
1829
+ },
1830
+ {
1831
+ "inputs": [],
1832
+ "name": "DisputeAlreadyFiled",
1833
+ "type": "error"
1834
+ },
1835
+ {
1836
+ "inputs": [],
1837
+ "name": "DisputeAlreadyResolved",
1838
+ "type": "error"
1839
+ },
1840
+ {
1841
+ "inputs": [],
1842
+ "name": "DisputeNotFound",
1843
+ "type": "error"
1844
+ },
1845
+ {
1846
+ "inputs": [],
1847
+ "name": "DisputePeriodExpired",
1848
+ "type": "error"
1849
+ },
1850
+ {
1851
+ "inputs": [
1852
+ {
1853
+ "internalType": "address",
1854
+ "name": "implementation",
1855
+ "type": "address"
1856
+ }
1857
+ ],
1858
+ "name": "ERC1967InvalidImplementation",
1859
+ "type": "error"
1860
+ },
1861
+ {
1862
+ "inputs": [],
1863
+ "name": "ERC1967NonPayable",
1864
+ "type": "error"
1865
+ },
1866
+ {
1867
+ "inputs": [],
1868
+ "name": "EmptyArray",
1869
+ "type": "error"
1870
+ },
1871
+ {
1872
+ "inputs": [],
1873
+ "name": "EnforcedPause",
1874
+ "type": "error"
1875
+ },
1876
+ {
1877
+ "inputs": [],
1878
+ "name": "EpochMustBeNextOne",
1879
+ "type": "error"
1880
+ },
1881
+ {
1882
+ "inputs": [],
1883
+ "name": "EpochMustBeOne",
1884
+ "type": "error"
1885
+ },
1886
+ {
1887
+ "inputs": [],
1888
+ "name": "ExpectedPause",
1889
+ "type": "error"
1890
+ },
1891
+ {
1892
+ "inputs": [],
1893
+ "name": "FailedCall",
1894
+ "type": "error"
1895
+ },
1896
+ {
1897
+ "inputs": [],
1898
+ "name": "InsufficientBalance",
1899
+ "type": "error"
1900
+ },
1901
+ {
1902
+ "inputs": [],
1903
+ "name": "InvalidAddress",
1904
+ "type": "error"
1905
+ },
1906
+ {
1907
+ "inputs": [],
1908
+ "name": "InvalidConsumer",
1909
+ "type": "error"
1910
+ },
1911
+ {
1912
+ "inputs": [],
1913
+ "name": "InvalidConsumerSignature",
1914
+ "type": "error"
1915
+ },
1916
+ {
1917
+ "inputs": [],
1918
+ "name": "InvalidEpoch",
1919
+ "type": "error"
1920
+ },
1921
+ {
1922
+ "inputs": [],
1923
+ "name": "InvalidInitialization",
1924
+ "type": "error"
1925
+ },
1926
+ {
1927
+ "inputs": [],
1928
+ "name": "InvalidInput",
1929
+ "type": "error"
1930
+ },
1931
+ {
1932
+ "inputs": [],
1933
+ "name": "InvalidProvider",
1934
+ "type": "error"
1935
+ },
1936
+ {
1937
+ "inputs": [],
1938
+ "name": "InvalidProviderSignature",
1939
+ "type": "error"
1940
+ },
1941
+ {
1942
+ "inputs": [],
1943
+ "name": "InvalidRegistrar",
1944
+ "type": "error"
1945
+ },
1946
+ {
1947
+ "inputs": [],
1948
+ "name": "InvalidTraiaToken",
1949
+ "type": "error"
1950
+ },
1951
+ {
1952
+ "inputs": [],
1953
+ "name": "InvalidUtilityAgentFactory",
1954
+ "type": "error"
1955
+ },
1956
+ {
1957
+ "inputs": [],
1958
+ "name": "InvalidWallet",
1959
+ "type": "error"
1960
+ },
1961
+ {
1962
+ "inputs": [],
1963
+ "name": "MustWithdrawPreviousEpochsFirst",
1964
+ "type": "error"
1965
+ },
1966
+ {
1967
+ "inputs": [],
1968
+ "name": "NoFundsToRelease",
1969
+ "type": "error"
1970
+ },
1971
+ {
1972
+ "inputs": [],
1973
+ "name": "NoLockedFunds",
1974
+ "type": "error"
1975
+ },
1976
+ {
1977
+ "inputs": [],
1978
+ "name": "NotAuthorized",
1979
+ "type": "error"
1980
+ },
1981
+ {
1982
+ "inputs": [],
1983
+ "name": "NotInitializing",
1984
+ "type": "error"
1985
+ },
1986
+ {
1987
+ "inputs": [],
1988
+ "name": "ProviderNotRegistered",
1989
+ "type": "error"
1990
+ },
1991
+ {
1992
+ "inputs": [],
1993
+ "name": "ReasonTooLong",
1994
+ "type": "error"
1995
+ },
1996
+ {
1997
+ "inputs": [],
1998
+ "name": "ReentrancyGuardReentrantCall",
1999
+ "type": "error"
2000
+ },
2001
+ {
2002
+ "inputs": [],
2003
+ "name": "RequestAlreadyProcessed",
2004
+ "type": "error"
2005
+ },
2006
+ {
2007
+ "inputs": [],
2008
+ "name": "RequestExpired",
2009
+ "type": "error"
2010
+ },
2011
+ {
2012
+ "inputs": [],
2013
+ "name": "RequestNotSettled",
2014
+ "type": "error"
2015
+ },
2016
+ {
2017
+ "inputs": [
2018
+ {
2019
+ "internalType": "address",
2020
+ "name": "token",
2021
+ "type": "address"
2022
+ }
2023
+ ],
2024
+ "name": "SafeERC20FailedOperation",
2025
+ "type": "error"
2026
+ },
2027
+ {
2028
+ "inputs": [],
2029
+ "name": "SignatureAlreadyUsed",
2030
+ "type": "error"
2031
+ },
2032
+ {
2033
+ "inputs": [],
2034
+ "name": "TooManyDisputes",
2035
+ "type": "error"
2036
+ },
2037
+ {
2038
+ "inputs": [],
2039
+ "name": "UUPSUnauthorizedCallContext",
2040
+ "type": "error"
2041
+ },
2042
+ {
2043
+ "inputs": [
2044
+ {
2045
+ "internalType": "bytes32",
2046
+ "name": "slot",
2047
+ "type": "bytes32"
2048
+ }
2049
+ ],
2050
+ "name": "UUPSUnsupportedProxiableUUID",
2051
+ "type": "error"
2052
+ },
2053
+ {
2054
+ "anonymous": false,
2055
+ "inputs": [
2056
+ {
2057
+ "indexed": true,
2058
+ "internalType": "address",
2059
+ "name": "consumer",
2060
+ "type": "address"
2061
+ },
2062
+ {
2063
+ "indexed": false,
2064
+ "internalType": "uint256",
2065
+ "name": "refillAmount",
2066
+ "type": "uint256"
2067
+ },
2068
+ {
2069
+ "indexed": false,
2070
+ "internalType": "uint256",
2071
+ "name": "previousBalance",
2072
+ "type": "uint256"
2073
+ },
2074
+ {
2075
+ "indexed": false,
2076
+ "internalType": "uint256",
2077
+ "name": "newBalance",
2078
+ "type": "uint256"
2079
+ }
2080
+ ],
2081
+ "name": "AutoRefillExecuted",
2082
+ "type": "event"
2083
+ },
2084
+ {
2085
+ "anonymous": false,
2086
+ "inputs": [
2087
+ {
2088
+ "indexed": false,
2089
+ "internalType": "uint256",
2090
+ "name": "newMaxAutoRefillAmount",
2091
+ "type": "uint256"
2092
+ },
2093
+ {
2094
+ "indexed": false,
2095
+ "internalType": "uint256",
2096
+ "name": "newBalanceThresholdMultiplier",
2097
+ "type": "uint256"
2098
+ },
2099
+ {
2100
+ "indexed": false,
2101
+ "internalType": "uint256",
2102
+ "name": "newAutoRefillMultiplier",
2103
+ "type": "uint256"
2104
+ }
2105
+ ],
2106
+ "name": "AutoRefillParametersUpdated",
2107
+ "type": "event"
2108
+ },
2109
+ {
2110
+ "anonymous": false,
2111
+ "inputs": [
2112
+ {
2113
+ "indexed": true,
2114
+ "internalType": "address",
2115
+ "name": "consumer",
2116
+ "type": "address"
2117
+ },
2118
+ {
2119
+ "indexed": false,
2120
+ "internalType": "uint256",
2121
+ "name": "amount",
2122
+ "type": "uint256"
2123
+ }
2124
+ ],
2125
+ "name": "ConsumerDeposit",
2126
+ "type": "event"
2127
+ },
2128
+ {
2129
+ "anonymous": false,
2130
+ "inputs": [
2131
+ {
2132
+ "indexed": true,
2133
+ "internalType": "address",
2134
+ "name": "consumer",
2135
+ "type": "address"
2136
+ },
2137
+ {
2138
+ "indexed": false,
2139
+ "internalType": "uint256",
2140
+ "name": "amount",
2141
+ "type": "uint256"
2142
+ }
2143
+ ],
2144
+ "name": "ConsumerWithdraw",
2145
+ "type": "event"
2146
+ },
2147
+ {
2148
+ "anonymous": false,
2149
+ "inputs": [
2150
+ {
2151
+ "indexed": true,
2152
+ "internalType": "bytes32",
2153
+ "name": "requestId",
2154
+ "type": "bytes32"
2155
+ },
2156
+ {
2157
+ "indexed": true,
2158
+ "internalType": "address",
2159
+ "name": "consumer",
2160
+ "type": "address"
2161
+ },
2162
+ {
2163
+ "indexed": true,
2164
+ "internalType": "address",
2165
+ "name": "provider",
2166
+ "type": "address"
2167
+ },
2168
+ {
2169
+ "indexed": false,
2170
+ "internalType": "string",
2171
+ "name": "reason",
2172
+ "type": "string"
2173
+ }
2174
+ ],
2175
+ "name": "DisputeFiled",
2176
+ "type": "event"
2177
+ },
2178
+ {
2179
+ "anonymous": false,
2180
+ "inputs": [
2181
+ {
2182
+ "indexed": true,
2183
+ "internalType": "bytes32",
2184
+ "name": "requestId",
2185
+ "type": "bytes32"
2186
+ },
2187
+ {
2188
+ "indexed": false,
2189
+ "internalType": "bool",
2190
+ "name": "consumerWon",
2191
+ "type": "bool"
2192
+ },
2193
+ {
2194
+ "indexed": false,
2195
+ "internalType": "address",
2196
+ "name": "resolvedBy",
2197
+ "type": "address"
2198
+ }
2199
+ ],
2200
+ "name": "DisputeResolved",
2201
+ "type": "event"
2202
+ },
2203
+ {
2204
+ "anonymous": false,
2205
+ "inputs": [],
2206
+ "name": "EIP712DomainChanged",
2207
+ "type": "event"
2208
+ },
2209
+ {
2210
+ "anonymous": false,
2211
+ "inputs": [
2212
+ {
2213
+ "indexed": false,
2214
+ "internalType": "uint256",
2215
+ "name": "epochDurationSeconds",
2216
+ "type": "uint256"
2217
+ },
2218
+ {
2219
+ "indexed": false,
2220
+ "internalType": "uint256",
2221
+ "name": "maxEpochsToRelease",
2222
+ "type": "uint256"
2223
+ }
2224
+ ],
2225
+ "name": "EpochParametersSet",
2226
+ "type": "event"
2227
+ },
2228
+ {
2229
+ "anonymous": false,
2230
+ "inputs": [
2231
+ {
2232
+ "indexed": true,
2233
+ "internalType": "address",
2234
+ "name": "provider",
2235
+ "type": "address"
2236
+ },
2237
+ {
2238
+ "indexed": false,
2239
+ "internalType": "uint256",
2240
+ "name": "epoch",
2241
+ "type": "uint256"
2242
+ },
2243
+ {
2244
+ "indexed": false,
2245
+ "internalType": "uint256",
2246
+ "name": "amount",
2247
+ "type": "uint256"
2248
+ },
2249
+ {
2250
+ "indexed": true,
2251
+ "internalType": "address",
2252
+ "name": "token",
2253
+ "type": "address"
2254
+ }
2255
+ ],
2256
+ "name": "EpochReleased",
2257
+ "type": "event"
2258
+ },
2259
+ {
2260
+ "anonymous": false,
2261
+ "inputs": [
2262
+ {
2263
+ "indexed": true,
2264
+ "internalType": "address",
2265
+ "name": "facilitator",
2266
+ "type": "address"
2267
+ },
2268
+ {
2269
+ "indexed": true,
2270
+ "internalType": "address",
2271
+ "name": "token",
2272
+ "type": "address"
2273
+ },
2274
+ {
2275
+ "indexed": false,
2276
+ "internalType": "uint256",
2277
+ "name": "amount",
2278
+ "type": "uint256"
2279
+ }
2280
+ ],
2281
+ "name": "FacilitatorEarningsWithdrawn",
2282
+ "type": "event"
2283
+ },
2284
+ {
2285
+ "anonymous": false,
2286
+ "inputs": [
2287
+ {
2288
+ "indexed": false,
2289
+ "internalType": "uint256",
2290
+ "name": "newFeePercent",
2291
+ "type": "uint256"
2292
+ },
2293
+ {
2294
+ "indexed": true,
2295
+ "internalType": "address",
2296
+ "name": "newFeeCollector",
2297
+ "type": "address"
2298
+ }
2299
+ ],
2300
+ "name": "FeeConfigUpdated",
2301
+ "type": "event"
2302
+ },
2303
+ {
2304
+ "anonymous": false,
2305
+ "inputs": [
2306
+ {
2307
+ "indexed": true,
2308
+ "internalType": "address",
2309
+ "name": "provider",
2310
+ "type": "address"
2311
+ },
2312
+ {
2313
+ "indexed": true,
2314
+ "internalType": "address",
2315
+ "name": "feeCollector",
2316
+ "type": "address"
2317
+ },
2318
+ {
2319
+ "indexed": false,
2320
+ "internalType": "uint256",
2321
+ "name": "feeAmount",
2322
+ "type": "uint256"
2323
+ },
2324
+ {
2325
+ "indexed": false,
2326
+ "internalType": "uint256",
2327
+ "name": "providerAmount",
2328
+ "type": "uint256"
2329
+ }
2330
+ ],
2331
+ "name": "FeesCollected",
2332
+ "type": "event"
2333
+ },
2334
+ {
2335
+ "anonymous": false,
2336
+ "inputs": [
2337
+ {
2338
+ "indexed": false,
2339
+ "internalType": "uint64",
2340
+ "name": "version",
2341
+ "type": "uint64"
2342
+ }
2343
+ ],
2344
+ "name": "Initialized",
2345
+ "type": "event"
2346
+ },
2347
+ {
2348
+ "anonymous": false,
2349
+ "inputs": [
2350
+ {
2351
+ "indexed": false,
2352
+ "internalType": "uint256",
2353
+ "name": "newMaxFacilitatorFee",
2354
+ "type": "uint256"
2355
+ }
2356
+ ],
2357
+ "name": "MaxFacilitatorFeeUpdated",
2358
+ "type": "event"
2359
+ },
2360
+ {
2361
+ "anonymous": false,
2362
+ "inputs": [
2363
+ {
2364
+ "indexed": false,
2365
+ "internalType": "address",
2366
+ "name": "account",
2367
+ "type": "address"
2368
+ }
2369
+ ],
2370
+ "name": "Paused",
2371
+ "type": "event"
2372
+ },
2373
+ {
2374
+ "anonymous": false,
2375
+ "inputs": [
2376
+ {
2377
+ "indexed": true,
2378
+ "internalType": "address",
2379
+ "name": "provider",
2380
+ "type": "address"
2381
+ },
2382
+ {
2383
+ "indexed": false,
2384
+ "internalType": "uint256",
2385
+ "name": "amount",
2386
+ "type": "uint256"
2387
+ }
2388
+ ],
2389
+ "name": "ProviderWithdrawn",
2390
+ "type": "event"
2391
+ },
2392
+ {
2393
+ "anonymous": false,
2394
+ "inputs": [
2395
+ {
2396
+ "indexed": false,
2397
+ "internalType": "uint256",
2398
+ "name": "newRequestExpirationTime",
2399
+ "type": "uint256"
2400
+ }
2401
+ ],
2402
+ "name": "RequestExpirationTimeUpdated",
2403
+ "type": "event"
2404
+ },
2405
+ {
2406
+ "anonymous": false,
2407
+ "inputs": [
2408
+ {
2409
+ "indexed": true,
2410
+ "internalType": "bytes32",
2411
+ "name": "requestId",
2412
+ "type": "bytes32"
2413
+ },
2414
+ {
2415
+ "indexed": true,
2416
+ "internalType": "address",
2417
+ "name": "consumer",
2418
+ "type": "address"
2419
+ },
2420
+ {
2421
+ "indexed": false,
2422
+ "internalType": "address",
2423
+ "name": "provider",
2424
+ "type": "address"
2425
+ },
2426
+ {
2427
+ "indexed": false,
2428
+ "internalType": "uint256",
2429
+ "name": "amount",
2430
+ "type": "uint256"
2431
+ },
2432
+ {
2433
+ "indexed": false,
2434
+ "internalType": "uint256",
2435
+ "name": "consumerRequestCount",
2436
+ "type": "uint256"
2437
+ },
2438
+ {
2439
+ "indexed": false,
2440
+ "internalType": "uint256",
2441
+ "name": "epoch",
2442
+ "type": "uint256"
2443
+ },
2444
+ {
2445
+ "indexed": true,
2446
+ "internalType": "address",
2447
+ "name": "tokenAddress",
2448
+ "type": "address"
2449
+ }
2450
+ ],
2451
+ "name": "RequestSettled",
2452
+ "type": "event"
2453
+ },
2454
+ {
2455
+ "anonymous": false,
2456
+ "inputs": [
2457
+ {
2458
+ "indexed": true,
2459
+ "internalType": "uint256",
2460
+ "name": "index",
2461
+ "type": "uint256"
2462
+ },
2463
+ {
2464
+ "indexed": true,
2465
+ "internalType": "address",
2466
+ "name": "consumer",
2467
+ "type": "address"
2468
+ },
2469
+ {
2470
+ "indexed": true,
2471
+ "internalType": "address",
2472
+ "name": "provider",
2473
+ "type": "address"
2474
+ },
2475
+ {
2476
+ "indexed": false,
2477
+ "internalType": "bytes32",
2478
+ "name": "requestId",
2479
+ "type": "bytes32"
2480
+ },
2481
+ {
2482
+ "indexed": false,
2483
+ "internalType": "bytes",
2484
+ "name": "reason",
2485
+ "type": "bytes"
2486
+ }
2487
+ ],
2488
+ "name": "RequestSettlementFailed",
2489
+ "type": "event"
2490
+ },
2491
+ {
2492
+ "anonymous": false,
2493
+ "inputs": [
2494
+ {
2495
+ "indexed": true,
2496
+ "internalType": "address",
2497
+ "name": "newRoleManager",
2498
+ "type": "address"
2499
+ }
2500
+ ],
2501
+ "name": "RoleManagerUpdated",
2502
+ "type": "event"
2503
+ },
2504
+ {
2505
+ "anonymous": false,
2506
+ "inputs": [
2507
+ {
2508
+ "indexed": false,
2509
+ "internalType": "address",
2510
+ "name": "account",
2511
+ "type": "address"
2512
+ }
2513
+ ],
2514
+ "name": "Unpaused",
2515
+ "type": "event"
2516
+ },
2517
+ {
2518
+ "anonymous": false,
2519
+ "inputs": [
2520
+ {
2521
+ "indexed": true,
2522
+ "internalType": "address",
2523
+ "name": "implementation",
2524
+ "type": "address"
2525
+ }
2526
+ ],
2527
+ "name": "Upgraded",
2528
+ "type": "event"
2529
+ },
2530
+ {
2531
+ "anonymous": false,
2532
+ "inputs": [
2533
+ {
2534
+ "indexed": true,
2535
+ "internalType": "address",
2536
+ "name": "oldFactory",
2537
+ "type": "address"
2538
+ },
2539
+ {
2540
+ "indexed": true,
2541
+ "internalType": "address",
2542
+ "name": "newFactory",
2543
+ "type": "address"
2544
+ }
2545
+ ],
2546
+ "name": "UtilityAgentFactoryUpdated",
2547
+ "type": "event"
2548
+ },
2549
+ {
2550
+ "inputs": [],
2551
+ "name": "BASIS_POINTS",
2552
+ "outputs": [
2553
+ {
2554
+ "internalType": "uint256",
2555
+ "name": "",
2556
+ "type": "uint256"
2557
+ }
2558
+ ],
2559
+ "stateMutability": "view",
2560
+ "type": "function"
2561
+ },
2562
+ {
2563
+ "inputs": [],
2564
+ "name": "BONDING_ROLE",
2565
+ "outputs": [
2566
+ {
2567
+ "internalType": "bytes32",
2568
+ "name": "",
2569
+ "type": "bytes32"
2570
+ }
2571
+ ],
2572
+ "stateMutability": "view",
2573
+ "type": "function"
2574
+ },
2575
+ {
2576
+ "inputs": [],
2577
+ "name": "DEFAULT_ADMIN_ROLE",
2578
+ "outputs": [
2579
+ {
2580
+ "internalType": "bytes32",
2581
+ "name": "",
2582
+ "type": "bytes32"
2583
+ }
2584
+ ],
2585
+ "stateMutability": "view",
2586
+ "type": "function"
2587
+ },
2588
+ {
2589
+ "inputs": [],
2590
+ "name": "DISPUTE_WINDOW",
2591
+ "outputs": [
2592
+ {
2593
+ "internalType": "uint256",
2594
+ "name": "",
2595
+ "type": "uint256"
2596
+ }
2597
+ ],
2598
+ "stateMutability": "view",
2599
+ "type": "function"
2600
+ },
2601
+ {
2602
+ "inputs": [],
2603
+ "name": "EpochDuration",
2604
+ "outputs": [
2605
+ {
2606
+ "internalType": "uint256",
2607
+ "name": "",
2608
+ "type": "uint256"
2609
+ }
2610
+ ],
2611
+ "stateMutability": "view",
2612
+ "type": "function"
2613
+ },
2614
+ {
2615
+ "inputs": [],
2616
+ "name": "EpochReleaseDelay",
2617
+ "outputs": [
2618
+ {
2619
+ "internalType": "uint256",
2620
+ "name": "",
2621
+ "type": "uint256"
2622
+ }
2623
+ ],
2624
+ "stateMutability": "view",
2625
+ "type": "function"
2626
+ },
2627
+ {
2628
+ "inputs": [],
2629
+ "name": "MAX_DISPUTE_REASON_LENGTH",
2630
+ "outputs": [
2631
+ {
2632
+ "internalType": "uint256",
2633
+ "name": "",
2634
+ "type": "uint256"
2635
+ }
2636
+ ],
2637
+ "stateMutability": "view",
2638
+ "type": "function"
2639
+ },
2640
+ {
2641
+ "inputs": [],
2642
+ "name": "MAX_FEE_PERCENT",
2643
+ "outputs": [
2644
+ {
2645
+ "internalType": "uint256",
2646
+ "name": "",
2647
+ "type": "uint256"
2648
+ }
2649
+ ],
2650
+ "stateMutability": "view",
2651
+ "type": "function"
2652
+ },
2653
+ {
2654
+ "inputs": [],
2655
+ "name": "RequestExpirationTime",
2656
+ "outputs": [
2657
+ {
2658
+ "internalType": "uint256",
2659
+ "name": "",
2660
+ "type": "uint256"
2661
+ }
2662
+ ],
2663
+ "stateMutability": "view",
2664
+ "type": "function"
2665
+ },
2666
+ {
2667
+ "inputs": [],
2668
+ "name": "SETTLEMENT_POINTS",
2669
+ "outputs": [
2670
+ {
2671
+ "internalType": "uint256",
2672
+ "name": "",
2673
+ "type": "uint256"
2674
+ }
2675
+ ],
2676
+ "stateMutability": "view",
2677
+ "type": "function"
2678
+ },
2679
+ {
2680
+ "inputs": [],
2681
+ "name": "UPGRADE_INTERFACE_VERSION",
2682
+ "outputs": [
2683
+ {
2684
+ "internalType": "string",
2685
+ "name": "",
2686
+ "type": "string"
2687
+ }
2688
+ ],
2689
+ "stateMutability": "view",
2690
+ "type": "function"
2691
+ },
2692
+ {
2693
+ "inputs": [
2694
+ {
2695
+ "components": [
2696
+ {
2697
+ "components": [
2698
+ {
2699
+ "internalType": "contract IIATPWallet",
2700
+ "name": "consumer",
2701
+ "type": "address"
2702
+ },
2703
+ {
2704
+ "internalType": "contract IIATPWallet",
2705
+ "name": "provider",
2706
+ "type": "address"
2707
+ },
2708
+ {
2709
+ "internalType": "address",
2710
+ "name": "tokenAddress",
2711
+ "type": "address"
2712
+ },
2713
+ {
2714
+ "internalType": "uint256",
2715
+ "name": "amount",
2716
+ "type": "uint256"
2717
+ },
2718
+ {
2719
+ "internalType": "string",
2720
+ "name": "requestPath",
2721
+ "type": "string"
2722
+ },
2723
+ {
2724
+ "internalType": "uint256",
2725
+ "name": "consumerDeadline",
2726
+ "type": "uint256"
2727
+ },
2728
+ {
2729
+ "internalType": "uint256",
2730
+ "name": "timestamp",
2731
+ "type": "uint256"
2732
+ },
2733
+ {
2734
+ "internalType": "bytes32",
2735
+ "name": "serviceDescription",
2736
+ "type": "bytes32"
2737
+ },
2738
+ {
2739
+ "internalType": "bytes",
2740
+ "name": "outputHash",
2741
+ "type": "bytes"
2742
+ },
2743
+ {
2744
+ "internalType": "uint256",
2745
+ "name": "facilitatorFeePercent",
2746
+ "type": "uint256"
2747
+ }
2748
+ ],
2749
+ "internalType": "struct IIATPSettlementLayer.SettlementRequestData",
2750
+ "name": "requestData",
2751
+ "type": "tuple"
2752
+ },
2753
+ {
2754
+ "internalType": "bytes",
2755
+ "name": "consumerSignature",
2756
+ "type": "bytes"
2757
+ },
2758
+ {
2759
+ "internalType": "bytes",
2760
+ "name": "providerSignature",
2761
+ "type": "bytes"
2762
+ }
2763
+ ],
2764
+ "internalType": "struct IIATPSettlementLayer.SettlementRequest",
2765
+ "name": "req",
2766
+ "type": "tuple"
2767
+ },
2768
+ {
2769
+ "internalType": "address",
2770
+ "name": "facilitator",
2771
+ "type": "address"
2772
+ }
2773
+ ],
2774
+ "name": "_settleRequest",
2775
+ "outputs": [],
2776
+ "stateMutability": "nonpayable",
2777
+ "type": "function"
2778
+ },
2779
+ {
2780
+ "inputs": [
2781
+ {
2782
+ "internalType": "uint256",
2783
+ "name": "epoch",
2784
+ "type": "uint256"
2785
+ }
2786
+ ],
2787
+ "name": "canReleaseEpoch",
2788
+ "outputs": [
2789
+ {
2790
+ "internalType": "bool",
2791
+ "name": "",
2792
+ "type": "bool"
2793
+ }
2794
+ ],
2795
+ "stateMutability": "view",
2796
+ "type": "function"
2797
+ },
2798
+ {
2799
+ "inputs": [
2800
+ {
2801
+ "internalType": "address",
2802
+ "name": "token",
2803
+ "type": "address"
2804
+ }
2805
+ ],
2806
+ "name": "collectFees",
2807
+ "outputs": [],
2808
+ "stateMutability": "nonpayable",
2809
+ "type": "function"
2810
+ },
2811
+ {
2812
+ "inputs": [
2813
+ {
2814
+ "internalType": "address",
2815
+ "name": "",
2816
+ "type": "address"
2817
+ }
2818
+ ],
2819
+ "name": "consumerReputations",
2820
+ "outputs": [
2821
+ {
2822
+ "internalType": "uint256",
2823
+ "name": "completed",
2824
+ "type": "uint256"
2825
+ },
2826
+ {
2827
+ "internalType": "uint256",
2828
+ "name": "failed",
2829
+ "type": "uint256"
2830
+ },
2831
+ {
2832
+ "internalType": "uint256",
2833
+ "name": "faults",
2834
+ "type": "uint256"
2835
+ },
2836
+ {
2837
+ "internalType": "int256",
2838
+ "name": "score",
2839
+ "type": "int256"
2840
+ },
2841
+ {
2842
+ "internalType": "uint256",
2843
+ "name": "firstSettlementAt",
2844
+ "type": "uint256"
2845
+ }
2846
+ ],
2847
+ "stateMutability": "view",
2848
+ "type": "function"
2849
+ },
2850
+ {
2851
+ "inputs": [
2852
+ {
2853
+ "internalType": "address",
2854
+ "name": "",
2855
+ "type": "address"
2856
+ }
2857
+ ],
2858
+ "name": "consumerRequestCounts",
2859
+ "outputs": [
2860
+ {
2861
+ "internalType": "uint256",
2862
+ "name": "",
2863
+ "type": "uint256"
2864
+ }
2865
+ ],
2866
+ "stateMutability": "view",
2867
+ "type": "function"
2868
+ },
2869
+ {
2870
+ "inputs": [
2871
+ {
2872
+ "internalType": "bytes32",
2873
+ "name": "requestId",
2874
+ "type": "bytes32"
2875
+ },
2876
+ {
2877
+ "internalType": "string",
2878
+ "name": "reason",
2879
+ "type": "string"
2880
+ }
2881
+ ],
2882
+ "name": "disputeRequest",
2883
+ "outputs": [],
2884
+ "stateMutability": "nonpayable",
2885
+ "type": "function"
2886
+ },
2887
+ {
2888
+ "inputs": [
2889
+ {
2890
+ "internalType": "bytes32",
2891
+ "name": "",
2892
+ "type": "bytes32"
2893
+ }
2894
+ ],
2895
+ "name": "disputes",
2896
+ "outputs": [
2897
+ {
2898
+ "internalType": "bytes32",
2899
+ "name": "requestId",
2900
+ "type": "bytes32"
2901
+ },
2902
+ {
2903
+ "internalType": "address",
2904
+ "name": "consumer",
2905
+ "type": "address"
2906
+ },
2907
+ {
2908
+ "internalType": "address",
2909
+ "name": "provider",
2910
+ "type": "address"
2911
+ },
2912
+ {
2913
+ "internalType": "uint256",
2914
+ "name": "amount",
2915
+ "type": "uint256"
2916
+ },
2917
+ {
2918
+ "internalType": "uint256",
2919
+ "name": "epoch",
2920
+ "type": "uint256"
2921
+ },
2922
+ {
2923
+ "internalType": "string",
2924
+ "name": "reason",
2925
+ "type": "string"
2926
+ },
2927
+ {
2928
+ "internalType": "uint256",
2929
+ "name": "filedAt",
2930
+ "type": "uint256"
2931
+ },
2932
+ {
2933
+ "internalType": "bool",
2934
+ "name": "resolved",
2935
+ "type": "bool"
2936
+ }
2937
+ ],
2938
+ "stateMutability": "view",
2939
+ "type": "function"
2940
+ },
2941
+ {
2942
+ "inputs": [],
2943
+ "name": "eip712Domain",
2944
+ "outputs": [
2945
+ {
2946
+ "internalType": "bytes1",
2947
+ "name": "fields",
2948
+ "type": "bytes1"
2949
+ },
2950
+ {
2951
+ "internalType": "string",
2952
+ "name": "name",
2953
+ "type": "string"
2954
+ },
2955
+ {
2956
+ "internalType": "string",
2957
+ "name": "version",
2958
+ "type": "string"
2959
+ },
2960
+ {
2961
+ "internalType": "uint256",
2962
+ "name": "chainId",
2963
+ "type": "uint256"
2964
+ },
2965
+ {
2966
+ "internalType": "address",
2967
+ "name": "verifyingContract",
2968
+ "type": "address"
2969
+ },
2970
+ {
2971
+ "internalType": "bytes32",
2972
+ "name": "salt",
2973
+ "type": "bytes32"
2974
+ },
2975
+ {
2976
+ "internalType": "uint256[]",
2977
+ "name": "extensions",
2978
+ "type": "uint256[]"
2979
+ }
2980
+ ],
2981
+ "stateMutability": "view",
2982
+ "type": "function"
2983
+ },
2984
+ {
2985
+ "inputs": [
2986
+ {
2987
+ "internalType": "address",
2988
+ "name": "",
2989
+ "type": "address"
2990
+ },
2991
+ {
2992
+ "internalType": "address",
2993
+ "name": "",
2994
+ "type": "address"
2995
+ }
2996
+ ],
2997
+ "name": "facilitatorFeeBalances",
2998
+ "outputs": [
2999
+ {
3000
+ "internalType": "uint256",
3001
+ "name": "",
3002
+ "type": "uint256"
3003
+ }
3004
+ ],
3005
+ "stateMutability": "view",
3006
+ "type": "function"
3007
+ },
3008
+ {
3009
+ "inputs": [
3010
+ {
3011
+ "internalType": "address",
3012
+ "name": "",
3013
+ "type": "address"
3014
+ }
3015
+ ],
3016
+ "name": "feeBalances",
3017
+ "outputs": [
3018
+ {
3019
+ "internalType": "uint256",
3020
+ "name": "",
3021
+ "type": "uint256"
3022
+ }
3023
+ ],
3024
+ "stateMutability": "view",
3025
+ "type": "function"
3026
+ },
3027
+ {
3028
+ "inputs": [],
3029
+ "name": "feeCollector",
3030
+ "outputs": [
3031
+ {
3032
+ "internalType": "address",
3033
+ "name": "",
3034
+ "type": "address"
3035
+ }
3036
+ ],
3037
+ "stateMutability": "view",
3038
+ "type": "function"
3039
+ },
3040
+ {
3041
+ "inputs": [],
3042
+ "name": "getCurrentEpoch",
3043
+ "outputs": [
3044
+ {
3045
+ "internalType": "uint256",
3046
+ "name": "",
3047
+ "type": "uint256"
3048
+ }
3049
+ ],
3050
+ "stateMutability": "view",
3051
+ "type": "function"
3052
+ },
3053
+ {
3054
+ "inputs": [
3055
+ {
3056
+ "internalType": "address",
3057
+ "name": "provider",
3058
+ "type": "address"
3059
+ },
3060
+ {
3061
+ "internalType": "uint256",
3062
+ "name": "epoch",
3063
+ "type": "uint256"
3064
+ },
3065
+ {
3066
+ "internalType": "address",
3067
+ "name": "token",
3068
+ "type": "address"
3069
+ }
3070
+ ],
3071
+ "name": "getDisputeInProgressAmount",
3072
+ "outputs": [
3073
+ {
3074
+ "internalType": "uint256",
3075
+ "name": "",
3076
+ "type": "uint256"
3077
+ }
3078
+ ],
3079
+ "stateMutability": "view",
3080
+ "type": "function"
3081
+ },
3082
+ {
3083
+ "inputs": [
3084
+ {
3085
+ "internalType": "address",
3086
+ "name": "provider",
3087
+ "type": "address"
3088
+ },
3089
+ {
3090
+ "internalType": "uint256",
3091
+ "name": "epoch",
3092
+ "type": "uint256"
3093
+ },
3094
+ {
3095
+ "internalType": "address",
3096
+ "name": "token",
3097
+ "type": "address"
3098
+ }
3099
+ ],
3100
+ "name": "getEpochBalance",
3101
+ "outputs": [
3102
+ {
3103
+ "components": [
3104
+ {
3105
+ "internalType": "uint256",
3106
+ "name": "balance",
3107
+ "type": "uint256"
3108
+ },
3109
+ {
3110
+ "internalType": "uint256",
3111
+ "name": "disputeInProgressBalance",
3112
+ "type": "uint256"
3113
+ },
3114
+ {
3115
+ "internalType": "bool",
3116
+ "name": "isWithdrawn",
3117
+ "type": "bool"
3118
+ }
3119
+ ],
3120
+ "internalType": "struct IIATPSettlementLayer.EpochBalance",
3121
+ "name": "",
3122
+ "type": "tuple"
3123
+ }
3124
+ ],
3125
+ "stateMutability": "view",
3126
+ "type": "function"
3127
+ },
3128
+ {
3129
+ "inputs": [
3130
+ {
3131
+ "internalType": "address",
3132
+ "name": "facilitator",
3133
+ "type": "address"
3134
+ },
3135
+ {
3136
+ "internalType": "address",
3137
+ "name": "token",
3138
+ "type": "address"
3139
+ }
3140
+ ],
3141
+ "name": "getFacilitatorEarnings",
3142
+ "outputs": [
3143
+ {
3144
+ "internalType": "uint256",
3145
+ "name": "",
3146
+ "type": "uint256"
3147
+ }
3148
+ ],
3149
+ "stateMutability": "view",
3150
+ "type": "function"
3151
+ },
3152
+ {
3153
+ "inputs": [
3154
+ {
3155
+ "internalType": "address",
3156
+ "name": "token",
3157
+ "type": "address"
3158
+ }
3159
+ ],
3160
+ "name": "getFeeBalance",
3161
+ "outputs": [
3162
+ {
3163
+ "internalType": "uint256",
3164
+ "name": "",
3165
+ "type": "uint256"
3166
+ }
3167
+ ],
3168
+ "stateMutability": "view",
3169
+ "type": "function"
3170
+ },
3171
+ {
3172
+ "inputs": [
3173
+ {
3174
+ "internalType": "address",
3175
+ "name": "provider",
3176
+ "type": "address"
3177
+ },
3178
+ {
3179
+ "internalType": "address",
3180
+ "name": "token",
3181
+ "type": "address"
3182
+ }
3183
+ ],
3184
+ "name": "getLockedBalanceForProvider",
3185
+ "outputs": [
3186
+ {
3187
+ "internalType": "uint256",
3188
+ "name": "",
3189
+ "type": "uint256"
3190
+ }
3191
+ ],
3192
+ "stateMutability": "view",
3193
+ "type": "function"
3194
+ },
3195
+ {
3196
+ "inputs": [
3197
+ {
3198
+ "internalType": "address",
3199
+ "name": "provider",
3200
+ "type": "address"
3201
+ }
3202
+ ],
3203
+ "name": "getProviderReputation",
3204
+ "outputs": [
3205
+ {
3206
+ "components": [
3207
+ {
3208
+ "internalType": "uint256",
3209
+ "name": "completed",
3210
+ "type": "uint256"
3211
+ },
3212
+ {
3213
+ "internalType": "uint256",
3214
+ "name": "failed",
3215
+ "type": "uint256"
3216
+ },
3217
+ {
3218
+ "internalType": "uint256",
3219
+ "name": "faults",
3220
+ "type": "uint256"
3221
+ },
3222
+ {
3223
+ "internalType": "int256",
3224
+ "name": "score",
3225
+ "type": "int256"
3226
+ },
3227
+ {
3228
+ "internalType": "uint256",
3229
+ "name": "firstSettlementAt",
3230
+ "type": "uint256"
3231
+ }
3232
+ ],
3233
+ "internalType": "struct IIATPSettlementLayer.Reputation",
3234
+ "name": "",
3235
+ "type": "tuple"
3236
+ }
3237
+ ],
3238
+ "stateMutability": "view",
3239
+ "type": "function"
3240
+ },
3241
+ {
3242
+ "inputs": [
3243
+ {
3244
+ "internalType": "address",
3245
+ "name": "provider",
3246
+ "type": "address"
3247
+ }
3248
+ ],
3249
+ "name": "getProviderReputationScore",
3250
+ "outputs": [
3251
+ {
3252
+ "internalType": "int256",
3253
+ "name": "",
3254
+ "type": "int256"
3255
+ }
3256
+ ],
3257
+ "stateMutability": "view",
3258
+ "type": "function"
3259
+ },
3260
+ {
3261
+ "inputs": [
3262
+ {
3263
+ "internalType": "address",
3264
+ "name": "provider",
3265
+ "type": "address"
3266
+ },
3267
+ {
3268
+ "internalType": "address",
3269
+ "name": "token",
3270
+ "type": "address"
3271
+ }
3272
+ ],
3273
+ "name": "getUnlockedBalanceForProvider",
3274
+ "outputs": [
3275
+ {
3276
+ "internalType": "uint256",
3277
+ "name": "",
3278
+ "type": "uint256"
3279
+ }
3280
+ ],
3281
+ "stateMutability": "view",
3282
+ "type": "function"
3283
+ },
3284
+ {
3285
+ "inputs": [
3286
+ {
3287
+ "internalType": "address",
3288
+ "name": "_roleManager",
3289
+ "type": "address"
3290
+ },
3291
+ {
3292
+ "internalType": "address",
3293
+ "name": "_feeCollector",
3294
+ "type": "address"
3295
+ }
3296
+ ],
3297
+ "name": "initialize",
3298
+ "outputs": [],
3299
+ "stateMutability": "nonpayable",
3300
+ "type": "function"
3301
+ },
3302
+ {
3303
+ "inputs": [
3304
+ {
3305
+ "internalType": "address",
3306
+ "name": "account",
3307
+ "type": "address"
3308
+ }
3309
+ ],
3310
+ "name": "isMaintainer",
3311
+ "outputs": [
3312
+ {
3313
+ "internalType": "bool",
3314
+ "name": "",
3315
+ "type": "bool"
3316
+ }
3317
+ ],
3318
+ "stateMutability": "view",
3319
+ "type": "function"
3320
+ },
3321
+ {
3322
+ "inputs": [
3323
+ {
3324
+ "internalType": "address",
3325
+ "name": "",
3326
+ "type": "address"
3327
+ }
3328
+ ],
3329
+ "name": "lastDisputeAt",
3330
+ "outputs": [
3331
+ {
3332
+ "internalType": "uint256",
3333
+ "name": "",
3334
+ "type": "uint256"
3335
+ }
3336
+ ],
3337
+ "stateMutability": "view",
3338
+ "type": "function"
3339
+ },
3340
+ {
3341
+ "inputs": [
3342
+ {
3343
+ "internalType": "address",
3344
+ "name": "",
3345
+ "type": "address"
3346
+ },
3347
+ {
3348
+ "internalType": "address",
3349
+ "name": "",
3350
+ "type": "address"
3351
+ }
3352
+ ],
3353
+ "name": "lastWithdrawnEpoch",
3354
+ "outputs": [
3355
+ {
3356
+ "internalType": "uint256",
3357
+ "name": "",
3358
+ "type": "uint256"
3359
+ }
3360
+ ],
3361
+ "stateMutability": "view",
3362
+ "type": "function"
3363
+ },
3364
+ {
3365
+ "inputs": [],
3366
+ "name": "maxFacilitatorFee",
3367
+ "outputs": [
3368
+ {
3369
+ "internalType": "uint256",
3370
+ "name": "",
3371
+ "type": "uint256"
3372
+ }
3373
+ ],
3374
+ "stateMutability": "view",
3375
+ "type": "function"
3376
+ },
3377
+ {
3378
+ "inputs": [],
3379
+ "name": "pause",
3380
+ "outputs": [],
3381
+ "stateMutability": "nonpayable",
3382
+ "type": "function"
3383
+ },
3384
+ {
3385
+ "inputs": [],
3386
+ "name": "paused",
3387
+ "outputs": [
3388
+ {
3389
+ "internalType": "bool",
3390
+ "name": "",
3391
+ "type": "bool"
3392
+ }
3393
+ ],
3394
+ "stateMutability": "view",
3395
+ "type": "function"
3396
+ },
3397
+ {
3398
+ "inputs": [],
3399
+ "name": "protocolFee",
3400
+ "outputs": [
3401
+ {
3402
+ "internalType": "uint256",
3403
+ "name": "",
3404
+ "type": "uint256"
3405
+ }
3406
+ ],
3407
+ "stateMutability": "view",
3408
+ "type": "function"
3409
+ },
3410
+ {
3411
+ "inputs": [
3412
+ {
3413
+ "internalType": "address",
3414
+ "name": "",
3415
+ "type": "address"
3416
+ },
3417
+ {
3418
+ "internalType": "uint256",
3419
+ "name": "",
3420
+ "type": "uint256"
3421
+ },
3422
+ {
3423
+ "internalType": "address",
3424
+ "name": "",
3425
+ "type": "address"
3426
+ }
3427
+ ],
3428
+ "name": "providerEpochBalances",
3429
+ "outputs": [
3430
+ {
3431
+ "internalType": "uint256",
3432
+ "name": "balance",
3433
+ "type": "uint256"
3434
+ },
3435
+ {
3436
+ "internalType": "uint256",
3437
+ "name": "disputeInProgressBalance",
3438
+ "type": "uint256"
3439
+ },
3440
+ {
3441
+ "internalType": "bool",
3442
+ "name": "isWithdrawn",
3443
+ "type": "bool"
3444
+ }
3445
+ ],
3446
+ "stateMutability": "view",
3447
+ "type": "function"
3448
+ },
3449
+ {
3450
+ "inputs": [
3451
+ {
3452
+ "internalType": "address",
3453
+ "name": "",
3454
+ "type": "address"
3455
+ }
3456
+ ],
3457
+ "name": "providerReputations",
3458
+ "outputs": [
3459
+ {
3460
+ "internalType": "uint256",
3461
+ "name": "completed",
3462
+ "type": "uint256"
3463
+ },
3464
+ {
3465
+ "internalType": "uint256",
3466
+ "name": "failed",
3467
+ "type": "uint256"
3468
+ },
3469
+ {
3470
+ "internalType": "uint256",
3471
+ "name": "faults",
3472
+ "type": "uint256"
3473
+ },
3474
+ {
3475
+ "internalType": "int256",
3476
+ "name": "score",
3477
+ "type": "int256"
3478
+ },
3479
+ {
3480
+ "internalType": "uint256",
3481
+ "name": "firstSettlementAt",
3482
+ "type": "uint256"
3483
+ }
3484
+ ],
3485
+ "stateMutability": "view",
3486
+ "type": "function"
3487
+ },
3488
+ {
3489
+ "inputs": [],
3490
+ "name": "proxiableUUID",
3491
+ "outputs": [
3492
+ {
3493
+ "internalType": "bytes32",
3494
+ "name": "",
3495
+ "type": "bytes32"
3496
+ }
3497
+ ],
3498
+ "stateMutability": "view",
3499
+ "type": "function"
3500
+ },
3501
+ {
3502
+ "inputs": [
3503
+ {
3504
+ "internalType": "address",
3505
+ "name": "wallet",
3506
+ "type": "address"
3507
+ }
3508
+ ],
3509
+ "name": "registerWallet",
3510
+ "outputs": [],
3511
+ "stateMutability": "nonpayable",
3512
+ "type": "function"
3513
+ },
3514
+ {
3515
+ "inputs": [
3516
+ {
3517
+ "internalType": "bytes32",
3518
+ "name": "requestId",
3519
+ "type": "bytes32"
3520
+ },
3521
+ {
3522
+ "internalType": "bool",
3523
+ "name": "consumerWon",
3524
+ "type": "bool"
3525
+ }
3526
+ ],
3527
+ "name": "resolveDispute",
3528
+ "outputs": [],
3529
+ "stateMutability": "nonpayable",
3530
+ "type": "function"
3531
+ },
3532
+ {
3533
+ "inputs": [],
3534
+ "name": "roleManager",
3535
+ "outputs": [
3536
+ {
3537
+ "internalType": "contract IRoleManager",
3538
+ "name": "",
3539
+ "type": "address"
3540
+ }
3541
+ ],
3542
+ "stateMutability": "view",
3543
+ "type": "function"
3544
+ },
3545
+ {
3546
+ "inputs": [
3547
+ {
3548
+ "internalType": "uint256",
3549
+ "name": "_epochDuration",
3550
+ "type": "uint256"
3551
+ },
3552
+ {
3553
+ "internalType": "uint256",
3554
+ "name": "_epochReleaseDelay",
3555
+ "type": "uint256"
3556
+ }
3557
+ ],
3558
+ "name": "setEpochParameters",
3559
+ "outputs": [],
3560
+ "stateMutability": "nonpayable",
3561
+ "type": "function"
3562
+ },
3563
+ {
3564
+ "inputs": [
3565
+ {
3566
+ "internalType": "uint256",
3567
+ "name": "_protocolFee",
3568
+ "type": "uint256"
3569
+ },
3570
+ {
3571
+ "internalType": "address",
3572
+ "name": "_feeCollector",
3573
+ "type": "address"
3574
+ }
3575
+ ],
3576
+ "name": "setFeeConfig",
3577
+ "outputs": [],
3578
+ "stateMutability": "nonpayable",
3579
+ "type": "function"
3580
+ },
3581
+ {
3582
+ "inputs": [
3583
+ {
3584
+ "internalType": "uint256",
3585
+ "name": "_maxFacilitatorFee",
3586
+ "type": "uint256"
3587
+ }
3588
+ ],
3589
+ "name": "setMaxFacilitatorFee",
3590
+ "outputs": [],
3591
+ "stateMutability": "nonpayable",
3592
+ "type": "function"
3593
+ },
3594
+ {
3595
+ "inputs": [
3596
+ {
3597
+ "internalType": "uint256",
3598
+ "name": "_requestExpirationTime",
3599
+ "type": "uint256"
3600
+ }
3601
+ ],
3602
+ "name": "setRequestExpirationTime",
3603
+ "outputs": [],
3604
+ "stateMutability": "nonpayable",
3605
+ "type": "function"
3606
+ },
3607
+ {
3608
+ "inputs": [
3609
+ {
3610
+ "internalType": "address",
3611
+ "name": "_walletFactory",
3612
+ "type": "address"
3613
+ }
3614
+ ],
3615
+ "name": "setWalletFactory",
3616
+ "outputs": [],
3617
+ "stateMutability": "nonpayable",
3618
+ "type": "function"
3619
+ },
3620
+ {
3621
+ "inputs": [
3622
+ {
3623
+ "components": [
3624
+ {
3625
+ "components": [
3626
+ {
3627
+ "internalType": "contract IIATPWallet",
3628
+ "name": "consumer",
3629
+ "type": "address"
3630
+ },
3631
+ {
3632
+ "internalType": "contract IIATPWallet",
3633
+ "name": "provider",
3634
+ "type": "address"
3635
+ },
3636
+ {
3637
+ "internalType": "address",
3638
+ "name": "tokenAddress",
3639
+ "type": "address"
3640
+ },
3641
+ {
3642
+ "internalType": "uint256",
3643
+ "name": "amount",
3644
+ "type": "uint256"
3645
+ },
3646
+ {
3647
+ "internalType": "string",
3648
+ "name": "requestPath",
3649
+ "type": "string"
3650
+ },
3651
+ {
3652
+ "internalType": "uint256",
3653
+ "name": "consumerDeadline",
3654
+ "type": "uint256"
3655
+ },
3656
+ {
3657
+ "internalType": "uint256",
3658
+ "name": "timestamp",
3659
+ "type": "uint256"
3660
+ },
3661
+ {
3662
+ "internalType": "bytes32",
3663
+ "name": "serviceDescription",
3664
+ "type": "bytes32"
3665
+ },
3666
+ {
3667
+ "internalType": "bytes",
3668
+ "name": "outputHash",
3669
+ "type": "bytes"
3670
+ },
3671
+ {
3672
+ "internalType": "uint256",
3673
+ "name": "facilitatorFeePercent",
3674
+ "type": "uint256"
3675
+ }
3676
+ ],
3677
+ "internalType": "struct IIATPSettlementLayer.SettlementRequestData",
3678
+ "name": "requestData",
3679
+ "type": "tuple"
3680
+ },
3681
+ {
3682
+ "internalType": "bytes",
3683
+ "name": "consumerSignature",
3684
+ "type": "bytes"
3685
+ },
3686
+ {
3687
+ "internalType": "bytes",
3688
+ "name": "providerSignature",
3689
+ "type": "bytes"
3690
+ }
3691
+ ],
3692
+ "internalType": "struct IIATPSettlementLayer.SettlementRequest",
3693
+ "name": "req",
3694
+ "type": "tuple"
3695
+ }
3696
+ ],
3697
+ "name": "settleRequest",
3698
+ "outputs": [],
3699
+ "stateMutability": "nonpayable",
3700
+ "type": "function"
3701
+ },
3702
+ {
3703
+ "inputs": [
3704
+ {
3705
+ "components": [
3706
+ {
3707
+ "components": [
3708
+ {
3709
+ "internalType": "contract IIATPWallet",
3710
+ "name": "consumer",
3711
+ "type": "address"
3712
+ },
3713
+ {
3714
+ "internalType": "contract IIATPWallet",
3715
+ "name": "provider",
3716
+ "type": "address"
3717
+ },
3718
+ {
3719
+ "internalType": "address",
3720
+ "name": "tokenAddress",
3721
+ "type": "address"
3722
+ },
3723
+ {
3724
+ "internalType": "uint256",
3725
+ "name": "amount",
3726
+ "type": "uint256"
3727
+ },
3728
+ {
3729
+ "internalType": "string",
3730
+ "name": "requestPath",
3731
+ "type": "string"
3732
+ },
3733
+ {
3734
+ "internalType": "uint256",
3735
+ "name": "consumerDeadline",
3736
+ "type": "uint256"
3737
+ },
3738
+ {
3739
+ "internalType": "uint256",
3740
+ "name": "timestamp",
3741
+ "type": "uint256"
3742
+ },
3743
+ {
3744
+ "internalType": "bytes32",
3745
+ "name": "serviceDescription",
3746
+ "type": "bytes32"
3747
+ },
3748
+ {
3749
+ "internalType": "bytes",
3750
+ "name": "outputHash",
3751
+ "type": "bytes"
3752
+ },
3753
+ {
3754
+ "internalType": "uint256",
3755
+ "name": "facilitatorFeePercent",
3756
+ "type": "uint256"
3757
+ }
3758
+ ],
3759
+ "internalType": "struct IIATPSettlementLayer.SettlementRequestData",
3760
+ "name": "requestData",
3761
+ "type": "tuple"
3762
+ },
3763
+ {
3764
+ "internalType": "bytes",
3765
+ "name": "consumerSignature",
3766
+ "type": "bytes"
3767
+ },
3768
+ {
3769
+ "internalType": "bytes",
3770
+ "name": "providerSignature",
3771
+ "type": "bytes"
3772
+ }
3773
+ ],
3774
+ "internalType": "struct IIATPSettlementLayer.SettlementRequest[]",
3775
+ "name": "serviceRequests",
3776
+ "type": "tuple[]"
3777
+ }
3778
+ ],
3779
+ "name": "settleRequests",
3780
+ "outputs": [
3781
+ {
3782
+ "internalType": "uint256[]",
3783
+ "name": "failedIndices",
3784
+ "type": "uint256[]"
3785
+ }
3786
+ ],
3787
+ "stateMutability": "nonpayable",
3788
+ "type": "function"
3789
+ },
3790
+ {
3791
+ "inputs": [
3792
+ {
3793
+ "internalType": "bytes32",
3794
+ "name": "",
3795
+ "type": "bytes32"
3796
+ }
3797
+ ],
3798
+ "name": "settlements",
3799
+ "outputs": [
3800
+ {
3801
+ "components": [
3802
+ {
3803
+ "components": [
3804
+ {
3805
+ "internalType": "contract IIATPWallet",
3806
+ "name": "consumer",
3807
+ "type": "address"
3808
+ },
3809
+ {
3810
+ "internalType": "contract IIATPWallet",
3811
+ "name": "provider",
3812
+ "type": "address"
3813
+ },
3814
+ {
3815
+ "internalType": "address",
3816
+ "name": "tokenAddress",
3817
+ "type": "address"
3818
+ },
3819
+ {
3820
+ "internalType": "uint256",
3821
+ "name": "amount",
3822
+ "type": "uint256"
3823
+ },
3824
+ {
3825
+ "internalType": "string",
3826
+ "name": "requestPath",
3827
+ "type": "string"
3828
+ },
3829
+ {
3830
+ "internalType": "uint256",
3831
+ "name": "consumerDeadline",
3832
+ "type": "uint256"
3833
+ },
3834
+ {
3835
+ "internalType": "uint256",
3836
+ "name": "timestamp",
3837
+ "type": "uint256"
3838
+ },
3839
+ {
3840
+ "internalType": "bytes32",
3841
+ "name": "serviceDescription",
3842
+ "type": "bytes32"
3843
+ },
3844
+ {
3845
+ "internalType": "bytes",
3846
+ "name": "outputHash",
3847
+ "type": "bytes"
3848
+ },
3849
+ {
3850
+ "internalType": "uint256",
3851
+ "name": "facilitatorFeePercent",
3852
+ "type": "uint256"
3853
+ }
3854
+ ],
3855
+ "internalType": "struct IIATPSettlementLayer.SettlementRequestData",
3856
+ "name": "requestData",
3857
+ "type": "tuple"
3858
+ },
3859
+ {
3860
+ "internalType": "bytes",
3861
+ "name": "consumerSignature",
3862
+ "type": "bytes"
3863
+ },
3864
+ {
3865
+ "internalType": "bytes",
3866
+ "name": "providerSignature",
3867
+ "type": "bytes"
3868
+ }
3869
+ ],
3870
+ "internalType": "struct IIATPSettlementLayer.SettlementRequest",
3871
+ "name": "settlementRequest",
3872
+ "type": "tuple"
3873
+ },
3874
+ {
3875
+ "internalType": "uint256",
3876
+ "name": "epoch",
3877
+ "type": "uint256"
3878
+ },
3879
+ {
3880
+ "internalType": "enum IIATPSettlementLayer.RequestStatus",
3881
+ "name": "status",
3882
+ "type": "uint8"
3883
+ }
3884
+ ],
3885
+ "stateMutability": "view",
3886
+ "type": "function"
3887
+ },
3888
+ {
3889
+ "inputs": [],
3890
+ "name": "unpause",
3891
+ "outputs": [],
3892
+ "stateMutability": "nonpayable",
3893
+ "type": "function"
3894
+ },
3895
+ {
3896
+ "inputs": [
3897
+ {
3898
+ "internalType": "address",
3899
+ "name": "newImplementation",
3900
+ "type": "address"
3901
+ },
3902
+ {
3903
+ "internalType": "bytes",
3904
+ "name": "data",
3905
+ "type": "bytes"
3906
+ }
3907
+ ],
3908
+ "name": "upgradeToAndCall",
3909
+ "outputs": [],
3910
+ "stateMutability": "payable",
3911
+ "type": "function"
3912
+ },
3913
+ {
3914
+ "inputs": [
3915
+ {
3916
+ "internalType": "bytes32",
3917
+ "name": "",
3918
+ "type": "bytes32"
3919
+ }
3920
+ ],
3921
+ "name": "usedSignatures",
3922
+ "outputs": [
3923
+ {
3924
+ "internalType": "bool",
3925
+ "name": "",
3926
+ "type": "bool"
3927
+ }
3928
+ ],
3929
+ "stateMutability": "view",
3930
+ "type": "function"
3931
+ },
3932
+ {
3933
+ "inputs": [
3934
+ {
3935
+ "internalType": "uint256",
3936
+ "name": "amount",
3937
+ "type": "uint256"
3938
+ },
3939
+ {
3940
+ "internalType": "uint256",
3941
+ "name": "facilitatorFeePercent",
3942
+ "type": "uint256"
3943
+ }
3944
+ ],
3945
+ "name": "validatePaymentAmount",
3946
+ "outputs": [
3947
+ {
3948
+ "internalType": "bool",
3949
+ "name": "isValid",
3950
+ "type": "bool"
3951
+ }
3952
+ ],
3953
+ "stateMutability": "view",
3954
+ "type": "function"
3955
+ },
3956
+ {
3957
+ "inputs": [],
3958
+ "name": "walletFactory",
3959
+ "outputs": [
3960
+ {
3961
+ "internalType": "address",
3962
+ "name": "",
3963
+ "type": "address"
3964
+ }
3965
+ ],
3966
+ "stateMutability": "view",
3967
+ "type": "function"
3968
+ },
3969
+ {
3970
+ "inputs": [
3971
+ {
3972
+ "internalType": "address",
3973
+ "name": "",
3974
+ "type": "address"
3975
+ }
3976
+ ],
3977
+ "name": "whitelistedWallet",
3978
+ "outputs": [
3979
+ {
3980
+ "internalType": "bool",
3981
+ "name": "",
3982
+ "type": "bool"
3983
+ }
3984
+ ],
3985
+ "stateMutability": "view",
3986
+ "type": "function"
3987
+ },
3988
+ {
3989
+ "inputs": [
3990
+ {
3991
+ "internalType": "address",
3992
+ "name": "token",
3993
+ "type": "address"
3994
+ }
3995
+ ],
3996
+ "name": "withdrawAllAvailableEpochs",
3997
+ "outputs": [],
3998
+ "stateMutability": "nonpayable",
3999
+ "type": "function"
4000
+ },
4001
+ {
4002
+ "inputs": [
4003
+ {
4004
+ "internalType": "uint256",
4005
+ "name": "epoch",
4006
+ "type": "uint256"
4007
+ },
4008
+ {
4009
+ "internalType": "address",
4010
+ "name": "token",
4011
+ "type": "address"
4012
+ }
4013
+ ],
4014
+ "name": "withdrawEpochToken",
4015
+ "outputs": [],
4016
+ "stateMutability": "nonpayable",
4017
+ "type": "function"
4018
+ },
4019
+ {
4020
+ "inputs": [
4021
+ {
4022
+ "internalType": "address[]",
4023
+ "name": "tokens",
4024
+ "type": "address[]"
4025
+ }
4026
+ ],
4027
+ "name": "withdrawFacilitatorEarnings",
4028
+ "outputs": [],
4029
+ "stateMutability": "nonpayable",
4030
+ "type": "function"
4031
+ }
4032
+ ],
4033
+ "IATPWalletFactory": [
4034
+ {
4035
+ "inputs": [],
4036
+ "stateMutability": "nonpayable",
4037
+ "type": "constructor"
4038
+ },
4039
+ {
4040
+ "inputs": [
4041
+ {
4042
+ "internalType": "address",
4043
+ "name": "target",
4044
+ "type": "address"
4045
+ }
4046
+ ],
4047
+ "name": "AddressEmptyCode",
4048
+ "type": "error"
4049
+ },
4050
+ {
4051
+ "inputs": [],
4052
+ "name": "DescriptionTooLong",
4053
+ "type": "error"
4054
+ },
4055
+ {
4056
+ "inputs": [
4057
+ {
4058
+ "internalType": "address",
4059
+ "name": "implementation",
4060
+ "type": "address"
4061
+ }
4062
+ ],
4063
+ "name": "ERC1967InvalidImplementation",
4064
+ "type": "error"
4065
+ },
4066
+ {
4067
+ "inputs": [],
4068
+ "name": "ERC1967NonPayable",
4069
+ "type": "error"
4070
+ },
4071
+ {
4072
+ "inputs": [],
4073
+ "name": "EnforcedPause",
4074
+ "type": "error"
4075
+ },
4076
+ {
4077
+ "inputs": [],
4078
+ "name": "ExpectedPause",
4079
+ "type": "error"
4080
+ },
4081
+ {
4082
+ "inputs": [],
4083
+ "name": "FailedCall",
4084
+ "type": "error"
4085
+ },
4086
+ {
4087
+ "inputs": [],
4088
+ "name": "InvalidImplementation",
4089
+ "type": "error"
4090
+ },
4091
+ {
4092
+ "inputs": [],
4093
+ "name": "InvalidInitialization",
4094
+ "type": "error"
4095
+ },
4096
+ {
4097
+ "inputs": [],
4098
+ "name": "InvalidParameters",
4099
+ "type": "error"
4100
+ },
4101
+ {
4102
+ "inputs": [],
4103
+ "name": "NotInitializing",
4104
+ "type": "error"
4105
+ },
4106
+ {
4107
+ "inputs": [],
4108
+ "name": "ReentrancyGuardReentrantCall",
4109
+ "type": "error"
4110
+ },
4111
+ {
4112
+ "inputs": [],
4113
+ "name": "UUPSUnauthorizedCallContext",
4114
+ "type": "error"
4115
+ },
4116
+ {
4117
+ "inputs": [
4118
+ {
4119
+ "internalType": "bytes32",
4120
+ "name": "slot",
4121
+ "type": "bytes32"
4122
+ }
4123
+ ],
4124
+ "name": "UUPSUnsupportedProxiableUUID",
4125
+ "type": "error"
4126
+ },
4127
+ {
4128
+ "inputs": [],
4129
+ "name": "WalletAlreadyExists",
4130
+ "type": "error"
4131
+ },
4132
+ {
4133
+ "inputs": [],
4134
+ "name": "WalletLimitExceeded",
4135
+ "type": "error"
4136
+ },
4137
+ {
4138
+ "inputs": [],
4139
+ "name": "ZeroAddress",
4140
+ "type": "error"
4141
+ },
4142
+ {
4143
+ "anonymous": false,
4144
+ "inputs": [
4145
+ {
4146
+ "indexed": false,
4147
+ "internalType": "uint64",
4148
+ "name": "version",
4149
+ "type": "uint64"
4150
+ }
4151
+ ],
4152
+ "name": "Initialized",
4153
+ "type": "event"
4154
+ },
4155
+ {
4156
+ "anonymous": false,
4157
+ "inputs": [
4158
+ {
4159
+ "indexed": false,
4160
+ "internalType": "address",
4161
+ "name": "account",
4162
+ "type": "address"
4163
+ }
4164
+ ],
4165
+ "name": "Paused",
4166
+ "type": "event"
4167
+ },
4168
+ {
4169
+ "anonymous": false,
4170
+ "inputs": [
4171
+ {
4172
+ "indexed": true,
4173
+ "internalType": "address",
4174
+ "name": "newRoleManager",
4175
+ "type": "address"
4176
+ }
4177
+ ],
4178
+ "name": "RoleManagerUpdated",
4179
+ "type": "event"
4180
+ },
4181
+ {
4182
+ "anonymous": false,
4183
+ "inputs": [
4184
+ {
4185
+ "indexed": true,
4186
+ "internalType": "address",
4187
+ "name": "newSettlementLayer",
4188
+ "type": "address"
4189
+ }
4190
+ ],
4191
+ "name": "SettlementLayerUpdated",
4192
+ "type": "event"
4193
+ },
4194
+ {
4195
+ "anonymous": false,
4196
+ "inputs": [
4197
+ {
4198
+ "indexed": false,
4199
+ "internalType": "address",
4200
+ "name": "account",
4201
+ "type": "address"
4202
+ }
4203
+ ],
4204
+ "name": "Unpaused",
4205
+ "type": "event"
4206
+ },
4207
+ {
4208
+ "anonymous": false,
4209
+ "inputs": [
4210
+ {
4211
+ "indexed": true,
4212
+ "internalType": "address",
4213
+ "name": "implementation",
4214
+ "type": "address"
4215
+ }
4216
+ ],
4217
+ "name": "Upgraded",
4218
+ "type": "event"
4219
+ },
4220
+ {
4221
+ "anonymous": false,
4222
+ "inputs": [
4223
+ {
4224
+ "indexed": true,
4225
+ "internalType": "address",
4226
+ "name": "wallet",
4227
+ "type": "address"
4228
+ },
4229
+ {
4230
+ "indexed": true,
4231
+ "internalType": "address",
4232
+ "name": "owner",
4233
+ "type": "address"
4234
+ },
4235
+ {
4236
+ "indexed": true,
4237
+ "internalType": "address",
4238
+ "name": "operatorAddress",
4239
+ "type": "address"
4240
+ },
4241
+ {
4242
+ "indexed": false,
4243
+ "internalType": "address",
4244
+ "name": "settlementLayer",
4245
+ "type": "address"
4246
+ },
4247
+ {
4248
+ "indexed": false,
4249
+ "internalType": "enum IIATPWalletFactory.WalletType",
4250
+ "name": "walletType",
4251
+ "type": "uint8"
4252
+ }
4253
+ ],
4254
+ "name": "WalletCreated",
4255
+ "type": "event"
4256
+ },
4257
+ {
4258
+ "anonymous": false,
4259
+ "inputs": [
4260
+ {
4261
+ "indexed": true,
4262
+ "internalType": "address",
4263
+ "name": "newImplementation",
4264
+ "type": "address"
4265
+ }
4266
+ ],
4267
+ "name": "WalletImplementationUpdated",
4268
+ "type": "event"
4269
+ },
4270
+ {
4271
+ "anonymous": false,
4272
+ "inputs": [
4273
+ {
4274
+ "indexed": true,
4275
+ "internalType": "address",
4276
+ "name": "newRoleManager",
4277
+ "type": "address"
4278
+ }
4279
+ ],
4280
+ "name": "WalletRoleManagerUpdated",
4281
+ "type": "event"
4282
+ },
4283
+ {
4284
+ "inputs": [],
4285
+ "name": "BONDING_ROLE",
4286
+ "outputs": [
4287
+ {
4288
+ "internalType": "bytes32",
4289
+ "name": "",
4290
+ "type": "bytes32"
4291
+ }
4292
+ ],
4293
+ "stateMutability": "view",
4294
+ "type": "function"
4295
+ },
4296
+ {
4297
+ "inputs": [],
4298
+ "name": "DEFAULT_ADMIN_ROLE",
4299
+ "outputs": [
4300
+ {
4301
+ "internalType": "bytes32",
4302
+ "name": "",
4303
+ "type": "bytes32"
4304
+ }
4305
+ ],
4306
+ "stateMutability": "view",
4307
+ "type": "function"
4308
+ },
4309
+ {
4310
+ "inputs": [],
4311
+ "name": "MAX_DESCRIPTION_LENGTH",
4312
+ "outputs": [
4313
+ {
4314
+ "internalType": "uint256",
4315
+ "name": "",
4316
+ "type": "uint256"
4317
+ }
4318
+ ],
4319
+ "stateMutability": "view",
4320
+ "type": "function"
4321
+ },
4322
+ {
4323
+ "inputs": [],
4324
+ "name": "MAX_WALLETS_PER_OWNER",
4325
+ "outputs": [
4326
+ {
4327
+ "internalType": "uint256",
4328
+ "name": "",
4329
+ "type": "uint256"
4330
+ }
4331
+ ],
4332
+ "stateMutability": "view",
4333
+ "type": "function"
4334
+ },
4335
+ {
4336
+ "inputs": [],
4337
+ "name": "UPGRADE_INTERFACE_VERSION",
4338
+ "outputs": [
4339
+ {
4340
+ "internalType": "string",
4341
+ "name": "",
4342
+ "type": "string"
4343
+ }
4344
+ ],
4345
+ "stateMutability": "view",
4346
+ "type": "function"
4347
+ },
4348
+ {
4349
+ "inputs": [
4350
+ {
4351
+ "internalType": "uint256",
4352
+ "name": "",
4353
+ "type": "uint256"
4354
+ }
4355
+ ],
4356
+ "name": "allWallets",
4357
+ "outputs": [
4358
+ {
4359
+ "internalType": "address",
4360
+ "name": "",
4361
+ "type": "address"
4362
+ }
4363
+ ],
4364
+ "stateMutability": "view",
4365
+ "type": "function"
4366
+ },
4367
+ {
4368
+ "inputs": [
4369
+ {
4370
+ "internalType": "address",
4371
+ "name": "_owner",
4372
+ "type": "address"
4373
+ },
4374
+ {
4375
+ "internalType": "enum IIATPWalletFactory.WalletType",
4376
+ "name": "_walletType",
4377
+ "type": "uint8"
4378
+ }
4379
+ ],
4380
+ "name": "computeWalletAddress",
4381
+ "outputs": [
4382
+ {
4383
+ "internalType": "address",
4384
+ "name": "predictedAddress",
4385
+ "type": "address"
4386
+ },
4387
+ {
4388
+ "internalType": "uint256",
4389
+ "name": "nonce",
4390
+ "type": "uint256"
4391
+ }
4392
+ ],
4393
+ "stateMutability": "view",
4394
+ "type": "function"
4395
+ },
4396
+ {
4397
+ "inputs": [
4398
+ {
4399
+ "internalType": "address",
4400
+ "name": "_operatorAddress",
4401
+ "type": "address"
4402
+ }
4403
+ ],
4404
+ "name": "createClientWallet",
4405
+ "outputs": [
4406
+ {
4407
+ "internalType": "address",
4408
+ "name": "wallet",
4409
+ "type": "address"
4410
+ }
4411
+ ],
4412
+ "stateMutability": "nonpayable",
4413
+ "type": "function"
4414
+ },
4415
+ {
4416
+ "inputs": [
4417
+ {
4418
+ "internalType": "address",
4419
+ "name": "_owner",
4420
+ "type": "address"
4421
+ },
4422
+ {
4423
+ "internalType": "address",
4424
+ "name": "_operatorAddress",
4425
+ "type": "address"
4426
+ }
4427
+ ],
4428
+ "name": "createClientWalletFor",
4429
+ "outputs": [
4430
+ {
4431
+ "internalType": "address",
4432
+ "name": "wallet",
4433
+ "type": "address"
4434
+ }
4435
+ ],
4436
+ "stateMutability": "nonpayable",
4437
+ "type": "function"
4438
+ },
4439
+ {
4440
+ "inputs": [
4441
+ {
4442
+ "internalType": "address",
4443
+ "name": "_operatorAddress",
4444
+ "type": "address"
4445
+ },
4446
+ {
4447
+ "internalType": "enum IIATPWalletFactory.WalletType",
4448
+ "name": "_walletType",
4449
+ "type": "uint8"
4450
+ },
4451
+ {
4452
+ "internalType": "string",
4453
+ "name": "_name",
4454
+ "type": "string"
4455
+ },
4456
+ {
4457
+ "internalType": "string",
4458
+ "name": "_description",
4459
+ "type": "string"
4460
+ }
4461
+ ],
4462
+ "name": "createWallet",
4463
+ "outputs": [
4464
+ {
4465
+ "internalType": "address",
4466
+ "name": "wallet",
4467
+ "type": "address"
4468
+ }
4469
+ ],
4470
+ "stateMutability": "nonpayable",
4471
+ "type": "function"
4472
+ },
4473
+ {
4474
+ "inputs": [
4475
+ {
4476
+ "internalType": "address",
4477
+ "name": "_owner",
4478
+ "type": "address"
4479
+ },
4480
+ {
4481
+ "internalType": "address",
4482
+ "name": "_operatorAddress",
4483
+ "type": "address"
4484
+ },
4485
+ {
4486
+ "internalType": "enum IIATPWalletFactory.WalletType",
4487
+ "name": "_walletType",
4488
+ "type": "uint8"
4489
+ },
4490
+ {
4491
+ "internalType": "string",
4492
+ "name": "_name",
4493
+ "type": "string"
4494
+ },
4495
+ {
4496
+ "internalType": "string",
4497
+ "name": "_description",
4498
+ "type": "string"
4499
+ }
4500
+ ],
4501
+ "name": "createWalletFor",
4502
+ "outputs": [
4503
+ {
4504
+ "internalType": "address",
4505
+ "name": "wallet",
4506
+ "type": "address"
4507
+ }
4508
+ ],
4509
+ "stateMutability": "nonpayable",
4510
+ "type": "function"
4511
+ },
4512
+ {
4513
+ "inputs": [
4514
+ {
4515
+ "internalType": "address",
4516
+ "name": "_owner",
4517
+ "type": "address"
4518
+ }
4519
+ ],
4520
+ "name": "getOwnerWalletCount",
4521
+ "outputs": [
4522
+ {
4523
+ "internalType": "uint256",
4524
+ "name": "",
4525
+ "type": "uint256"
4526
+ }
4527
+ ],
4528
+ "stateMutability": "view",
4529
+ "type": "function"
4530
+ },
4531
+ {
4532
+ "inputs": [],
4533
+ "name": "getTotalWallets",
4534
+ "outputs": [
4535
+ {
4536
+ "internalType": "uint256",
4537
+ "name": "",
4538
+ "type": "uint256"
4539
+ }
4540
+ ],
4541
+ "stateMutability": "view",
4542
+ "type": "function"
4543
+ },
4544
+ {
4545
+ "inputs": [
4546
+ {
4547
+ "internalType": "address",
4548
+ "name": "_owner",
4549
+ "type": "address"
4550
+ }
4551
+ ],
4552
+ "name": "getWallet",
4553
+ "outputs": [
4554
+ {
4555
+ "internalType": "address",
4556
+ "name": "",
4557
+ "type": "address"
4558
+ }
4559
+ ],
4560
+ "stateMutability": "view",
4561
+ "type": "function"
4562
+ },
4563
+ {
4564
+ "inputs": [
4565
+ {
4566
+ "internalType": "uint256",
4567
+ "name": "_offset",
4568
+ "type": "uint256"
4569
+ },
4570
+ {
4571
+ "internalType": "uint256",
4572
+ "name": "_limit",
4573
+ "type": "uint256"
4574
+ }
4575
+ ],
4576
+ "name": "getWallets",
4577
+ "outputs": [
4578
+ {
4579
+ "internalType": "address[]",
4580
+ "name": "wallets",
4581
+ "type": "address[]"
4582
+ },
4583
+ {
4584
+ "internalType": "uint256",
4585
+ "name": "total",
4586
+ "type": "uint256"
4587
+ }
4588
+ ],
4589
+ "stateMutability": "view",
4590
+ "type": "function"
4591
+ },
4592
+ {
4593
+ "inputs": [
4594
+ {
4595
+ "internalType": "address",
4596
+ "name": "_owner",
4597
+ "type": "address"
4598
+ }
4599
+ ],
4600
+ "name": "getWalletsByOwner",
4601
+ "outputs": [
4602
+ {
4603
+ "internalType": "address[]",
4604
+ "name": "",
4605
+ "type": "address[]"
4606
+ }
4607
+ ],
4608
+ "stateMutability": "view",
4609
+ "type": "function"
4610
+ },
4611
+ {
4612
+ "inputs": [
4613
+ {
4614
+ "internalType": "address",
4615
+ "name": "_owner",
4616
+ "type": "address"
4617
+ }
4618
+ ],
4619
+ "name": "hasWallet",
4620
+ "outputs": [
4621
+ {
4622
+ "internalType": "bool",
4623
+ "name": "",
4624
+ "type": "bool"
4625
+ }
4626
+ ],
4627
+ "stateMutability": "view",
4628
+ "type": "function"
4629
+ },
4630
+ {
4631
+ "inputs": [
4632
+ {
4633
+ "internalType": "address",
4634
+ "name": "_roleManager",
4635
+ "type": "address"
4636
+ },
4637
+ {
4638
+ "internalType": "address",
4639
+ "name": "_walletRoleManager",
4640
+ "type": "address"
4641
+ },
4642
+ {
4643
+ "internalType": "address",
4644
+ "name": "_settlementLayer",
4645
+ "type": "address"
4646
+ },
4647
+ {
4648
+ "internalType": "address",
4649
+ "name": "_walletImplementation",
4650
+ "type": "address"
4651
+ }
4652
+ ],
4653
+ "name": "initialize",
4654
+ "outputs": [],
4655
+ "stateMutability": "nonpayable",
4656
+ "type": "function"
4657
+ },
4658
+ {
4659
+ "inputs": [
4660
+ {
4661
+ "internalType": "address",
4662
+ "name": "account",
4663
+ "type": "address"
4664
+ }
4665
+ ],
4666
+ "name": "isMaintainer",
4667
+ "outputs": [
4668
+ {
4669
+ "internalType": "bool",
4670
+ "name": "",
4671
+ "type": "bool"
4672
+ }
4673
+ ],
4674
+ "stateMutability": "view",
4675
+ "type": "function"
4676
+ },
4677
+ {
4678
+ "inputs": [
4679
+ {
4680
+ "internalType": "address",
4681
+ "name": "",
4682
+ "type": "address"
4683
+ }
4684
+ ],
4685
+ "name": "ownerByWallet",
4686
+ "outputs": [
4687
+ {
4688
+ "internalType": "address",
4689
+ "name": "",
4690
+ "type": "address"
4691
+ }
4692
+ ],
4693
+ "stateMutability": "view",
4694
+ "type": "function"
4695
+ },
4696
+ {
4697
+ "inputs": [],
4698
+ "name": "pause",
4699
+ "outputs": [],
4700
+ "stateMutability": "nonpayable",
4701
+ "type": "function"
4702
+ },
4703
+ {
4704
+ "inputs": [],
4705
+ "name": "paused",
4706
+ "outputs": [
4707
+ {
4708
+ "internalType": "bool",
4709
+ "name": "",
4710
+ "type": "bool"
4711
+ }
4712
+ ],
4713
+ "stateMutability": "view",
4714
+ "type": "function"
4715
+ },
4716
+ {
4717
+ "inputs": [],
4718
+ "name": "proxiableUUID",
4719
+ "outputs": [
4720
+ {
4721
+ "internalType": "bytes32",
4722
+ "name": "",
4723
+ "type": "bytes32"
4724
+ }
4725
+ ],
4726
+ "stateMutability": "view",
4727
+ "type": "function"
4728
+ },
4729
+ {
4730
+ "inputs": [],
4731
+ "name": "roleManager",
4732
+ "outputs": [
4733
+ {
4734
+ "internalType": "contract IRoleManager",
4735
+ "name": "",
4736
+ "type": "address"
4737
+ }
4738
+ ],
4739
+ "stateMutability": "view",
4740
+ "type": "function"
4741
+ },
4742
+ {
4743
+ "inputs": [
4744
+ {
4745
+ "internalType": "address",
4746
+ "name": "_newSettlementLayer",
4747
+ "type": "address"
4748
+ }
4749
+ ],
4750
+ "name": "setSettlementLayer",
4751
+ "outputs": [],
4752
+ "stateMutability": "nonpayable",
4753
+ "type": "function"
4754
+ },
4755
+ {
4756
+ "inputs": [
4757
+ {
4758
+ "internalType": "address",
4759
+ "name": "_newWalletImplementation",
4760
+ "type": "address"
4761
+ }
4762
+ ],
4763
+ "name": "setWalletImplementation",
4764
+ "outputs": [],
4765
+ "stateMutability": "nonpayable",
4766
+ "type": "function"
4767
+ },
4768
+ {
4769
+ "inputs": [
4770
+ {
4771
+ "internalType": "address",
4772
+ "name": "_newWalletRoleManager",
4773
+ "type": "address"
4774
+ }
4775
+ ],
4776
+ "name": "setWalletRoleManager",
4777
+ "outputs": [],
4778
+ "stateMutability": "nonpayable",
4779
+ "type": "function"
4780
+ },
4781
+ {
4782
+ "inputs": [],
4783
+ "name": "settlementLayer",
4784
+ "outputs": [
4785
+ {
4786
+ "internalType": "address",
4787
+ "name": "",
4788
+ "type": "address"
4789
+ }
4790
+ ],
4791
+ "stateMutability": "view",
4792
+ "type": "function"
4793
+ },
4794
+ {
4795
+ "inputs": [],
4796
+ "name": "unpause",
4797
+ "outputs": [],
4798
+ "stateMutability": "nonpayable",
4799
+ "type": "function"
4800
+ },
4801
+ {
4802
+ "inputs": [
4803
+ {
4804
+ "internalType": "address",
4805
+ "name": "newImplementation",
4806
+ "type": "address"
4807
+ },
4808
+ {
4809
+ "internalType": "bytes",
4810
+ "name": "data",
4811
+ "type": "bytes"
4812
+ }
4813
+ ],
4814
+ "name": "upgradeToAndCall",
4815
+ "outputs": [],
4816
+ "stateMutability": "payable",
4817
+ "type": "function"
4818
+ },
4819
+ {
4820
+ "inputs": [],
4821
+ "name": "walletImplementation",
4822
+ "outputs": [
4823
+ {
4824
+ "internalType": "address",
4825
+ "name": "",
4826
+ "type": "address"
4827
+ }
4828
+ ],
4829
+ "stateMutability": "view",
4830
+ "type": "function"
4831
+ },
4832
+ {
4833
+ "inputs": [
4834
+ {
4835
+ "internalType": "address",
4836
+ "name": "",
4837
+ "type": "address"
4838
+ }
4839
+ ],
4840
+ "name": "walletNonceByOwner",
4841
+ "outputs": [
4842
+ {
4843
+ "internalType": "uint256",
4844
+ "name": "",
4845
+ "type": "uint256"
4846
+ }
4847
+ ],
4848
+ "stateMutability": "view",
4849
+ "type": "function"
4850
+ },
4851
+ {
4852
+ "inputs": [],
4853
+ "name": "walletRoleManager",
4854
+ "outputs": [
4855
+ {
4856
+ "internalType": "address",
4857
+ "name": "",
4858
+ "type": "address"
4859
+ }
4860
+ ],
4861
+ "stateMutability": "view",
4862
+ "type": "function"
4863
+ },
4864
+ {
4865
+ "inputs": [
4866
+ {
4867
+ "internalType": "address",
4868
+ "name": "",
4869
+ "type": "address"
4870
+ },
4871
+ {
4872
+ "internalType": "uint256",
4873
+ "name": "",
4874
+ "type": "uint256"
4875
+ }
4876
+ ],
4877
+ "name": "walletsByOwner",
4878
+ "outputs": [
4879
+ {
4880
+ "internalType": "address",
4881
+ "name": "",
4882
+ "type": "address"
4883
+ }
4884
+ ],
4885
+ "stateMutability": "view",
4886
+ "type": "function"
4887
+ }
4888
+ ]
4889
+ }
4890
+ }