@epoch-protocol/epoch-commons-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +1 -0
  2. package/dist/constants/compact.d.ts +1 -0
  3. package/dist/constants/compact.js +5 -0
  4. package/dist/constants/contractAddresses.d.ts +57 -0
  5. package/dist/constants/contractAddresses.js +181 -0
  6. package/dist/constants/index.d.ts +2 -0
  7. package/dist/constants/index.js +18 -0
  8. package/dist/data/epochgraphmainnet.json +410 -0
  9. package/dist/data/epochgraphtestnet.json +532 -0
  10. package/dist/data/index.d.ts +3 -0
  11. package/dist/data/index.js +10 -0
  12. package/dist/index.d.ts +5 -0
  13. package/dist/index.js +22 -0
  14. package/dist/types/index.d.ts +322 -0
  15. package/dist/types/index.js +37 -0
  16. package/dist/utils/compact.d.ts +4 -0
  17. package/dist/utils/compact.js +58 -0
  18. package/dist/utils/index.d.ts +1 -0
  19. package/dist/utils/index.js +17 -0
  20. package/dist/utils/web3.d.ts +9 -0
  21. package/dist/utils/web3.js +115 -0
  22. package/dist/web3/abis/COMPACT_ABI.json +1529 -0
  23. package/dist/web3/abis/epochModuleAbi.d.ts +2 -0
  24. package/dist/web3/abis/epochModuleAbi.js +233 -0
  25. package/dist/web3/abis/erc20Abi.d.ts +2 -0
  26. package/dist/web3/abis/erc20Abi.js +224 -0
  27. package/dist/web3/abis/intentRegistryAbi.d.ts +2 -0
  28. package/dist/web3/abis/intentRegistryAbi.js +925 -0
  29. package/dist/web3/abis/safe7702ProxyFactoryAbi.d.ts +2 -0
  30. package/dist/web3/abis/safe7702ProxyFactoryAbi.js +107 -0
  31. package/dist/web3/abis/safeProxyFactoryAbi.d.ts +2 -0
  32. package/dist/web3/abis/safeProxyFactoryAbi.js +3 -0
  33. package/dist/web3/abis/solverRegistryAbi.d.ts +2 -0
  34. package/dist/web3/abis/solverRegistryAbi.js +236 -0
  35. package/dist/web3/index.d.ts +3 -0
  36. package/dist/web3/index.js +23 -0
  37. package/dist/web3/intents.d.ts +5 -0
  38. package/dist/web3/intents.js +32 -0
  39. package/dist/web3/registry.d.ts +5 -0
  40. package/dist/web3/registry.js +29 -0
  41. package/dist/web3/wallet.d.ts +26 -0
  42. package/dist/web3/wallet.js +390 -0
  43. package/package.json +41 -0
@@ -0,0 +1,1529 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint256",
6
+ "name": "allocatedAmount",
7
+ "type": "uint256"
8
+ },
9
+ { "internalType": "uint256", "name": "providedAmount", "type": "uint256" }
10
+ ],
11
+ "name": "AllocatedAmountExceeded",
12
+ "type": "error"
13
+ },
14
+ { "inputs": [], "name": "BalanceOverflow", "type": "error" },
15
+ { "inputs": [], "name": "ChainIndexOutOfRange", "type": "error" },
16
+ {
17
+ "inputs": [
18
+ { "internalType": "uint256", "name": "assignableAt", "type": "uint256" }
19
+ ],
20
+ "name": "EmissaryAssignmentUnavailable",
21
+ "type": "error"
22
+ },
23
+ {
24
+ "inputs": [
25
+ { "internalType": "uint256", "name": "expiration", "type": "uint256" }
26
+ ],
27
+ "name": "Expired",
28
+ "type": "error"
29
+ },
30
+ {
31
+ "inputs": [
32
+ { "internalType": "address", "name": "account", "type": "address" },
33
+ { "internalType": "uint256", "name": "id", "type": "uint256" }
34
+ ],
35
+ "name": "ForcedWithdrawalAlreadyDisabled",
36
+ "type": "error"
37
+ },
38
+ { "inputs": [], "name": "ForcedWithdrawalFailed", "type": "error" },
39
+ { "inputs": [], "name": "InconsistentAllocators", "type": "error" },
40
+ { "inputs": [], "name": "InsufficientBalance", "type": "error" },
41
+ { "inputs": [], "name": "InsufficientPermission", "type": "error" },
42
+ {
43
+ "inputs": [
44
+ { "internalType": "address", "name": "allocator", "type": "address" }
45
+ ],
46
+ "name": "InvalidAllocation",
47
+ "type": "error"
48
+ },
49
+ { "inputs": [], "name": "InvalidBatchAllocation", "type": "error" },
50
+ { "inputs": [], "name": "InvalidBatchDepositStructure", "type": "error" },
51
+ { "inputs": [], "name": "InvalidDepositBalanceChange", "type": "error" },
52
+ { "inputs": [], "name": "InvalidDepositTokenOrdering", "type": "error" },
53
+ { "inputs": [], "name": "InvalidEmissaryAssignment", "type": "error" },
54
+ { "inputs": [], "name": "InvalidLockTag", "type": "error" },
55
+ {
56
+ "inputs": [
57
+ { "internalType": "address", "name": "allocator", "type": "address" }
58
+ ],
59
+ "name": "InvalidRegistrationProof",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
64
+ "name": "InvalidScope",
65
+ "type": "error"
66
+ },
67
+ { "inputs": [], "name": "InvalidSignature", "type": "error" },
68
+ {
69
+ "inputs": [
70
+ { "internalType": "address", "name": "token", "type": "address" }
71
+ ],
72
+ "name": "InvalidToken",
73
+ "type": "error"
74
+ },
75
+ { "inputs": [], "name": "NoIdsAndAmountsProvided", "type": "error" },
76
+ { "inputs": [], "name": "Permit2CallFailed", "type": "error" },
77
+ {
78
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
79
+ "name": "PrematureWithdrawal",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ { "internalType": "address", "name": "existingCaller", "type": "address" }
85
+ ],
86
+ "name": "ReentrantCall",
87
+ "type": "error"
88
+ },
89
+ { "inputs": [], "name": "TStoreAlreadyActivated", "type": "error" },
90
+ { "inputs": [], "name": "TStoreNotSupported", "type": "error" },
91
+ {
92
+ "inputs": [],
93
+ "name": "TloadTestContractDeploymentFailed",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ { "internalType": "address", "name": "operator", "type": "address" },
99
+ { "internalType": "address", "name": "from", "type": "address" },
100
+ { "internalType": "address", "name": "to", "type": "address" },
101
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
102
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
103
+ ],
104
+ "name": "UnallocatedTransfer",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "anonymous": false,
109
+ "inputs": [
110
+ {
111
+ "indexed": false,
112
+ "internalType": "uint96",
113
+ "name": "allocatorId",
114
+ "type": "uint96"
115
+ },
116
+ {
117
+ "indexed": false,
118
+ "internalType": "address",
119
+ "name": "allocator",
120
+ "type": "address"
121
+ }
122
+ ],
123
+ "name": "AllocatorRegistered",
124
+ "type": "event"
125
+ },
126
+ {
127
+ "anonymous": false,
128
+ "inputs": [
129
+ {
130
+ "indexed": true,
131
+ "internalType": "address",
132
+ "name": "owner",
133
+ "type": "address"
134
+ },
135
+ {
136
+ "indexed": true,
137
+ "internalType": "address",
138
+ "name": "spender",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "indexed": true,
143
+ "internalType": "uint256",
144
+ "name": "id",
145
+ "type": "uint256"
146
+ },
147
+ {
148
+ "indexed": false,
149
+ "internalType": "uint256",
150
+ "name": "amount",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "name": "Approval",
155
+ "type": "event"
156
+ },
157
+ {
158
+ "anonymous": false,
159
+ "inputs": [
160
+ {
161
+ "indexed": true,
162
+ "internalType": "address",
163
+ "name": "sponsor",
164
+ "type": "address"
165
+ },
166
+ {
167
+ "indexed": true,
168
+ "internalType": "address",
169
+ "name": "allocator",
170
+ "type": "address"
171
+ },
172
+ {
173
+ "indexed": true,
174
+ "internalType": "address",
175
+ "name": "arbiter",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "indexed": false,
180
+ "internalType": "bytes32",
181
+ "name": "claimHash",
182
+ "type": "bytes32"
183
+ },
184
+ {
185
+ "indexed": false,
186
+ "internalType": "uint256",
187
+ "name": "nonce",
188
+ "type": "uint256"
189
+ }
190
+ ],
191
+ "name": "Claim",
192
+ "type": "event"
193
+ },
194
+ {
195
+ "anonymous": false,
196
+ "inputs": [
197
+ {
198
+ "indexed": true,
199
+ "internalType": "address",
200
+ "name": "sponsor",
201
+ "type": "address"
202
+ },
203
+ {
204
+ "indexed": false,
205
+ "internalType": "bytes32",
206
+ "name": "claimHash",
207
+ "type": "bytes32"
208
+ },
209
+ {
210
+ "indexed": false,
211
+ "internalType": "bytes32",
212
+ "name": "typehash",
213
+ "type": "bytes32"
214
+ }
215
+ ],
216
+ "name": "CompactRegistered",
217
+ "type": "event"
218
+ },
219
+ {
220
+ "anonymous": false,
221
+ "inputs": [
222
+ {
223
+ "indexed": true,
224
+ "internalType": "address",
225
+ "name": "sponsor",
226
+ "type": "address"
227
+ },
228
+ {
229
+ "indexed": true,
230
+ "internalType": "bytes12",
231
+ "name": "lockTag",
232
+ "type": "bytes12"
233
+ },
234
+ {
235
+ "indexed": true,
236
+ "internalType": "address",
237
+ "name": "emissary",
238
+ "type": "address"
239
+ }
240
+ ],
241
+ "name": "EmissaryAssigned",
242
+ "type": "event"
243
+ },
244
+ {
245
+ "anonymous": false,
246
+ "inputs": [
247
+ {
248
+ "indexed": true,
249
+ "internalType": "address",
250
+ "name": "sponsor",
251
+ "type": "address"
252
+ },
253
+ {
254
+ "indexed": true,
255
+ "internalType": "bytes12",
256
+ "name": "lockTag",
257
+ "type": "bytes12"
258
+ },
259
+ {
260
+ "indexed": false,
261
+ "internalType": "uint256",
262
+ "name": "assignableAt",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "EmissaryAssignmentScheduled",
267
+ "type": "event"
268
+ },
269
+ {
270
+ "anonymous": false,
271
+ "inputs": [
272
+ {
273
+ "indexed": true,
274
+ "internalType": "address",
275
+ "name": "account",
276
+ "type": "address"
277
+ },
278
+ {
279
+ "indexed": true,
280
+ "internalType": "uint256",
281
+ "name": "id",
282
+ "type": "uint256"
283
+ },
284
+ {
285
+ "indexed": false,
286
+ "internalType": "bool",
287
+ "name": "activating",
288
+ "type": "bool"
289
+ },
290
+ {
291
+ "indexed": false,
292
+ "internalType": "uint256",
293
+ "name": "withdrawableAt",
294
+ "type": "uint256"
295
+ }
296
+ ],
297
+ "name": "ForcedWithdrawalStatusUpdated",
298
+ "type": "event"
299
+ },
300
+ {
301
+ "anonymous": false,
302
+ "inputs": [
303
+ {
304
+ "indexed": true,
305
+ "internalType": "address",
306
+ "name": "allocator",
307
+ "type": "address"
308
+ },
309
+ {
310
+ "indexed": false,
311
+ "internalType": "uint256",
312
+ "name": "nonce",
313
+ "type": "uint256"
314
+ }
315
+ ],
316
+ "name": "NonceConsumedDirectly",
317
+ "type": "event"
318
+ },
319
+ {
320
+ "anonymous": false,
321
+ "inputs": [
322
+ {
323
+ "indexed": true,
324
+ "internalType": "address",
325
+ "name": "owner",
326
+ "type": "address"
327
+ },
328
+ {
329
+ "indexed": true,
330
+ "internalType": "address",
331
+ "name": "operator",
332
+ "type": "address"
333
+ },
334
+ {
335
+ "indexed": false,
336
+ "internalType": "bool",
337
+ "name": "approved",
338
+ "type": "bool"
339
+ }
340
+ ],
341
+ "name": "OperatorSet",
342
+ "type": "event"
343
+ },
344
+ {
345
+ "anonymous": false,
346
+ "inputs": [
347
+ {
348
+ "indexed": false,
349
+ "internalType": "address",
350
+ "name": "by",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "indexed": true,
355
+ "internalType": "address",
356
+ "name": "from",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "indexed": true,
361
+ "internalType": "address",
362
+ "name": "to",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "indexed": true,
367
+ "internalType": "uint256",
368
+ "name": "id",
369
+ "type": "uint256"
370
+ },
371
+ {
372
+ "indexed": false,
373
+ "internalType": "uint256",
374
+ "name": "amount",
375
+ "type": "uint256"
376
+ }
377
+ ],
378
+ "name": "Transfer",
379
+ "type": "event"
380
+ },
381
+ {
382
+ "inputs": [],
383
+ "name": "DOMAIN_SEPARATOR",
384
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
385
+ "stateMutability": "view",
386
+ "type": "function"
387
+ },
388
+ {
389
+ "inputs": [],
390
+ "name": "__activateTstore",
391
+ "outputs": [],
392
+ "stateMutability": "nonpayable",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
397
+ "name": "__benchmark",
398
+ "outputs": [],
399
+ "stateMutability": "payable",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [
404
+ { "internalType": "address", "name": "allocator", "type": "address" },
405
+ { "internalType": "bytes", "name": "proof", "type": "bytes" }
406
+ ],
407
+ "name": "__registerAllocator",
408
+ "outputs": [{ "internalType": "uint96", "name": "", "type": "uint96" }],
409
+ "stateMutability": "nonpayable",
410
+ "type": "function"
411
+ },
412
+ {
413
+ "inputs": [
414
+ {
415
+ "components": [
416
+ { "internalType": "bytes", "name": "allocatorData", "type": "bytes" },
417
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
418
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
419
+ {
420
+ "components": [
421
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
422
+ {
423
+ "components": [
424
+ {
425
+ "internalType": "uint256",
426
+ "name": "claimant",
427
+ "type": "uint256"
428
+ },
429
+ {
430
+ "internalType": "uint256",
431
+ "name": "amount",
432
+ "type": "uint256"
433
+ }
434
+ ],
435
+ "internalType": "struct Component[]",
436
+ "name": "portions",
437
+ "type": "tuple[]"
438
+ }
439
+ ],
440
+ "internalType": "struct ComponentsById[]",
441
+ "name": "transfers",
442
+ "type": "tuple[]"
443
+ }
444
+ ],
445
+ "internalType": "struct AllocatedBatchTransfer",
446
+ "name": "transfer",
447
+ "type": "tuple"
448
+ }
449
+ ],
450
+ "name": "allocatedBatchTransfer",
451
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
452
+ "stateMutability": "nonpayable",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [
457
+ {
458
+ "components": [
459
+ { "internalType": "bytes", "name": "allocatorData", "type": "bytes" },
460
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
461
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
462
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
463
+ {
464
+ "components": [
465
+ {
466
+ "internalType": "uint256",
467
+ "name": "claimant",
468
+ "type": "uint256"
469
+ },
470
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
471
+ ],
472
+ "internalType": "struct Component[]",
473
+ "name": "recipients",
474
+ "type": "tuple[]"
475
+ }
476
+ ],
477
+ "internalType": "struct AllocatedTransfer",
478
+ "name": "transfer",
479
+ "type": "tuple"
480
+ }
481
+ ],
482
+ "name": "allocatedTransfer",
483
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
484
+ "stateMutability": "nonpayable",
485
+ "type": "function"
486
+ },
487
+ {
488
+ "inputs": [
489
+ { "internalType": "address", "name": "owner", "type": "address" },
490
+ { "internalType": "address", "name": "spender", "type": "address" },
491
+ { "internalType": "uint256", "name": "id", "type": "uint256" }
492
+ ],
493
+ "name": "allowance",
494
+ "outputs": [
495
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
496
+ ],
497
+ "stateMutability": "view",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [
502
+ { "internalType": "address", "name": "spender", "type": "address" },
503
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
504
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
505
+ ],
506
+ "name": "approve",
507
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
508
+ "stateMutability": "payable",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [
513
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" },
514
+ { "internalType": "address", "name": "emissary", "type": "address" }
515
+ ],
516
+ "name": "assignEmissary",
517
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
518
+ "stateMutability": "nonpayable",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ { "internalType": "address", "name": "owner", "type": "address" },
524
+ { "internalType": "uint256", "name": "id", "type": "uint256" }
525
+ ],
526
+ "name": "balanceOf",
527
+ "outputs": [
528
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
529
+ ],
530
+ "stateMutability": "view",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "components": [
537
+ { "internalType": "bytes", "name": "allocatorData", "type": "bytes" },
538
+ {
539
+ "internalType": "bytes",
540
+ "name": "sponsorSignature",
541
+ "type": "bytes"
542
+ },
543
+ { "internalType": "address", "name": "sponsor", "type": "address" },
544
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
545
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
546
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" },
547
+ {
548
+ "internalType": "string",
549
+ "name": "witnessTypestring",
550
+ "type": "string"
551
+ },
552
+ {
553
+ "components": [
554
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
555
+ {
556
+ "internalType": "uint256",
557
+ "name": "allocatedAmount",
558
+ "type": "uint256"
559
+ },
560
+ {
561
+ "components": [
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "claimant",
565
+ "type": "uint256"
566
+ },
567
+ {
568
+ "internalType": "uint256",
569
+ "name": "amount",
570
+ "type": "uint256"
571
+ }
572
+ ],
573
+ "internalType": "struct Component[]",
574
+ "name": "portions",
575
+ "type": "tuple[]"
576
+ }
577
+ ],
578
+ "internalType": "struct BatchClaimComponent[]",
579
+ "name": "claims",
580
+ "type": "tuple[]"
581
+ }
582
+ ],
583
+ "internalType": "struct BatchClaim",
584
+ "name": "claimPayload",
585
+ "type": "tuple"
586
+ }
587
+ ],
588
+ "name": "batchClaim",
589
+ "outputs": [
590
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
591
+ ],
592
+ "stateMutability": "nonpayable",
593
+ "type": "function"
594
+ },
595
+ {
596
+ "inputs": [
597
+ {
598
+ "internalType": "uint256[2][]",
599
+ "name": "idsAndAmounts",
600
+ "type": "uint256[2][]"
601
+ },
602
+ { "internalType": "address", "name": "recipient", "type": "address" }
603
+ ],
604
+ "name": "batchDeposit",
605
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
606
+ "stateMutability": "payable",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ { "internalType": "address", "name": "recipient", "type": "address" },
612
+ {
613
+ "internalType": "uint256[2][]",
614
+ "name": "idsAndAmounts",
615
+ "type": "uint256[2][]"
616
+ },
617
+ { "internalType": "address", "name": "arbiter", "type": "address" },
618
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
619
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
620
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" },
621
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" }
622
+ ],
623
+ "name": "batchDepositAndRegisterFor",
624
+ "outputs": [
625
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" },
626
+ {
627
+ "internalType": "uint256[]",
628
+ "name": "registeredAmounts",
629
+ "type": "uint256[]"
630
+ }
631
+ ],
632
+ "stateMutability": "payable",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [
637
+ {
638
+ "internalType": "uint256[2][]",
639
+ "name": "idsAndAmounts",
640
+ "type": "uint256[2][]"
641
+ },
642
+ {
643
+ "internalType": "bytes32[2][]",
644
+ "name": "claimHashesAndTypehashes",
645
+ "type": "bytes32[2][]"
646
+ }
647
+ ],
648
+ "name": "batchDepositAndRegisterMultiple",
649
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
650
+ "stateMutability": "payable",
651
+ "type": "function"
652
+ },
653
+ {
654
+ "inputs": [
655
+ { "internalType": "address", "name": "depositor", "type": "address" },
656
+ {
657
+ "components": [
658
+ { "internalType": "address", "name": "token", "type": "address" },
659
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
660
+ ],
661
+ "internalType": "struct ISignatureTransfer.TokenPermissions[]",
662
+ "name": "permitted",
663
+ "type": "tuple[]"
664
+ },
665
+ {
666
+ "components": [
667
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
668
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
669
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" }
670
+ ],
671
+ "internalType": "struct DepositDetails",
672
+ "name": "",
673
+ "type": "tuple"
674
+ },
675
+ { "internalType": "bytes32", "name": "", "type": "bytes32" },
676
+ { "internalType": "enum CompactCategory", "name": "", "type": "uint8" },
677
+ { "internalType": "string", "name": "witness", "type": "string" },
678
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
679
+ ],
680
+ "name": "batchDepositAndRegisterViaPermit2",
681
+ "outputs": [
682
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
683
+ ],
684
+ "stateMutability": "payable",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [
689
+ { "internalType": "address", "name": "", "type": "address" },
690
+ {
691
+ "components": [
692
+ { "internalType": "address", "name": "token", "type": "address" },
693
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
694
+ ],
695
+ "internalType": "struct ISignatureTransfer.TokenPermissions[]",
696
+ "name": "permitted",
697
+ "type": "tuple[]"
698
+ },
699
+ {
700
+ "components": [
701
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
702
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
703
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" }
704
+ ],
705
+ "internalType": "struct DepositDetails",
706
+ "name": "",
707
+ "type": "tuple"
708
+ },
709
+ { "internalType": "address", "name": "recipient", "type": "address" },
710
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
711
+ ],
712
+ "name": "batchDepositViaPermit2",
713
+ "outputs": [
714
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
715
+ ],
716
+ "stateMutability": "payable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "components": [
723
+ { "internalType": "bytes", "name": "allocatorData", "type": "bytes" },
724
+ {
725
+ "internalType": "bytes",
726
+ "name": "sponsorSignature",
727
+ "type": "bytes"
728
+ },
729
+ { "internalType": "address", "name": "sponsor", "type": "address" },
730
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
731
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
732
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" },
733
+ {
734
+ "internalType": "string",
735
+ "name": "witnessTypestring",
736
+ "type": "string"
737
+ },
738
+ {
739
+ "components": [
740
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
741
+ {
742
+ "internalType": "uint256",
743
+ "name": "allocatedAmount",
744
+ "type": "uint256"
745
+ },
746
+ {
747
+ "components": [
748
+ {
749
+ "internalType": "uint256",
750
+ "name": "claimant",
751
+ "type": "uint256"
752
+ },
753
+ {
754
+ "internalType": "uint256",
755
+ "name": "amount",
756
+ "type": "uint256"
757
+ }
758
+ ],
759
+ "internalType": "struct Component[]",
760
+ "name": "portions",
761
+ "type": "tuple[]"
762
+ }
763
+ ],
764
+ "internalType": "struct BatchClaimComponent[]",
765
+ "name": "claims",
766
+ "type": "tuple[]"
767
+ },
768
+ {
769
+ "internalType": "bytes32[]",
770
+ "name": "additionalChains",
771
+ "type": "bytes32[]"
772
+ }
773
+ ],
774
+ "internalType": "struct BatchMultichainClaim",
775
+ "name": "claimPayload",
776
+ "type": "tuple"
777
+ }
778
+ ],
779
+ "name": "batchMultichainClaim",
780
+ "outputs": [
781
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
782
+ ],
783
+ "stateMutability": "nonpayable",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [
788
+ {
789
+ "components": [
790
+ { "internalType": "bytes", "name": "allocatorData", "type": "bytes" },
791
+ {
792
+ "internalType": "bytes",
793
+ "name": "sponsorSignature",
794
+ "type": "bytes"
795
+ },
796
+ { "internalType": "address", "name": "sponsor", "type": "address" },
797
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
798
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
799
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" },
800
+ {
801
+ "internalType": "string",
802
+ "name": "witnessTypestring",
803
+ "type": "string"
804
+ },
805
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
806
+ {
807
+ "internalType": "uint256",
808
+ "name": "allocatedAmount",
809
+ "type": "uint256"
810
+ },
811
+ {
812
+ "components": [
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "claimant",
816
+ "type": "uint256"
817
+ },
818
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
819
+ ],
820
+ "internalType": "struct Component[]",
821
+ "name": "claimants",
822
+ "type": "tuple[]"
823
+ }
824
+ ],
825
+ "internalType": "struct Claim",
826
+ "name": "claimPayload",
827
+ "type": "tuple"
828
+ }
829
+ ],
830
+ "name": "claim",
831
+ "outputs": [
832
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
833
+ ],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [
839
+ { "internalType": "uint256[]", "name": "nonces", "type": "uint256[]" }
840
+ ],
841
+ "name": "consume",
842
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
843
+ "stateMutability": "nonpayable",
844
+ "type": "function"
845
+ },
846
+ {
847
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
848
+ "name": "decimals",
849
+ "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
850
+ "stateMutability": "view",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [
855
+ { "internalType": "address", "name": "token", "type": "address" },
856
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" },
857
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
858
+ { "internalType": "address", "name": "recipient", "type": "address" }
859
+ ],
860
+ "name": "depositERC20",
861
+ "outputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
862
+ "stateMutability": "nonpayable",
863
+ "type": "function"
864
+ },
865
+ {
866
+ "inputs": [
867
+ { "internalType": "address", "name": "token", "type": "address" },
868
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" },
869
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
870
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" },
871
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" }
872
+ ],
873
+ "name": "depositERC20AndRegister",
874
+ "outputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
875
+ "stateMutability": "nonpayable",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [
880
+ { "internalType": "address", "name": "recipient", "type": "address" },
881
+ { "internalType": "address", "name": "token", "type": "address" },
882
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" },
883
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
884
+ { "internalType": "address", "name": "arbiter", "type": "address" },
885
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
886
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
887
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" },
888
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" }
889
+ ],
890
+ "name": "depositERC20AndRegisterFor",
891
+ "outputs": [
892
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
893
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" },
894
+ {
895
+ "internalType": "uint256",
896
+ "name": "registeredAmount",
897
+ "type": "uint256"
898
+ }
899
+ ],
900
+ "stateMutability": "nonpayable",
901
+ "type": "function"
902
+ },
903
+ {
904
+ "inputs": [
905
+ {
906
+ "components": [
907
+ {
908
+ "components": [
909
+ { "internalType": "address", "name": "token", "type": "address" },
910
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
911
+ ],
912
+ "internalType": "struct ISignatureTransfer.TokenPermissions",
913
+ "name": "permitted",
914
+ "type": "tuple"
915
+ },
916
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
917
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
918
+ ],
919
+ "internalType": "struct ISignatureTransfer.PermitTransferFrom",
920
+ "name": "permit",
921
+ "type": "tuple"
922
+ },
923
+ { "internalType": "address", "name": "depositor", "type": "address" },
924
+ { "internalType": "bytes12", "name": "", "type": "bytes12" },
925
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" },
926
+ { "internalType": "enum CompactCategory", "name": "", "type": "uint8" },
927
+ { "internalType": "string", "name": "witness", "type": "string" },
928
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
929
+ ],
930
+ "name": "depositERC20AndRegisterViaPermit2",
931
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
932
+ "stateMutability": "nonpayable",
933
+ "type": "function"
934
+ },
935
+ {
936
+ "inputs": [
937
+ {
938
+ "components": [
939
+ {
940
+ "components": [
941
+ { "internalType": "address", "name": "token", "type": "address" },
942
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
943
+ ],
944
+ "internalType": "struct ISignatureTransfer.TokenPermissions",
945
+ "name": "permitted",
946
+ "type": "tuple"
947
+ },
948
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
949
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
950
+ ],
951
+ "internalType": "struct ISignatureTransfer.PermitTransferFrom",
952
+ "name": "permit",
953
+ "type": "tuple"
954
+ },
955
+ { "internalType": "address", "name": "", "type": "address" },
956
+ { "internalType": "bytes12", "name": "", "type": "bytes12" },
957
+ { "internalType": "address", "name": "recipient", "type": "address" },
958
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
959
+ ],
960
+ "name": "depositERC20ViaPermit2",
961
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
962
+ "stateMutability": "nonpayable",
963
+ "type": "function"
964
+ },
965
+ {
966
+ "inputs": [
967
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" },
968
+ { "internalType": "address", "name": "recipient", "type": "address" }
969
+ ],
970
+ "name": "depositNative",
971
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
972
+ "stateMutability": "payable",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [
977
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" },
978
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" },
979
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" }
980
+ ],
981
+ "name": "depositNativeAndRegister",
982
+ "outputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
983
+ "stateMutability": "payable",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [
988
+ { "internalType": "address", "name": "recipient", "type": "address" },
989
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" },
990
+ { "internalType": "address", "name": "arbiter", "type": "address" },
991
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
992
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
993
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" },
994
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" }
995
+ ],
996
+ "name": "depositNativeAndRegisterFor",
997
+ "outputs": [
998
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
999
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
1000
+ ],
1001
+ "stateMutability": "payable",
1002
+ "type": "function"
1003
+ },
1004
+ {
1005
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
1006
+ "name": "disableForcedWithdrawal",
1007
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1008
+ "stateMutability": "nonpayable",
1009
+ "type": "function"
1010
+ },
1011
+ {
1012
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
1013
+ "name": "enableForcedWithdrawal",
1014
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
1015
+ "stateMutability": "nonpayable",
1016
+ "type": "function"
1017
+ },
1018
+ {
1019
+ "inputs": [
1020
+ {
1021
+ "components": [
1022
+ { "internalType": "bytes", "name": "allocatorData", "type": "bytes" },
1023
+ {
1024
+ "internalType": "bytes",
1025
+ "name": "sponsorSignature",
1026
+ "type": "bytes"
1027
+ },
1028
+ { "internalType": "address", "name": "sponsor", "type": "address" },
1029
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
1030
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
1031
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" },
1032
+ {
1033
+ "internalType": "string",
1034
+ "name": "witnessTypestring",
1035
+ "type": "string"
1036
+ },
1037
+ {
1038
+ "components": [
1039
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
1040
+ {
1041
+ "internalType": "uint256",
1042
+ "name": "allocatedAmount",
1043
+ "type": "uint256"
1044
+ },
1045
+ {
1046
+ "components": [
1047
+ {
1048
+ "internalType": "uint256",
1049
+ "name": "claimant",
1050
+ "type": "uint256"
1051
+ },
1052
+ {
1053
+ "internalType": "uint256",
1054
+ "name": "amount",
1055
+ "type": "uint256"
1056
+ }
1057
+ ],
1058
+ "internalType": "struct Component[]",
1059
+ "name": "portions",
1060
+ "type": "tuple[]"
1061
+ }
1062
+ ],
1063
+ "internalType": "struct BatchClaimComponent[]",
1064
+ "name": "claims",
1065
+ "type": "tuple[]"
1066
+ },
1067
+ {
1068
+ "internalType": "bytes32[]",
1069
+ "name": "additionalChains",
1070
+ "type": "bytes32[]"
1071
+ },
1072
+ {
1073
+ "internalType": "uint256",
1074
+ "name": "chainIndex",
1075
+ "type": "uint256"
1076
+ },
1077
+ {
1078
+ "internalType": "uint256",
1079
+ "name": "notarizedChainId",
1080
+ "type": "uint256"
1081
+ }
1082
+ ],
1083
+ "internalType": "struct ExogenousBatchMultichainClaim",
1084
+ "name": "claimPayload",
1085
+ "type": "tuple"
1086
+ }
1087
+ ],
1088
+ "name": "exogenousBatchClaim",
1089
+ "outputs": [
1090
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
1091
+ ],
1092
+ "stateMutability": "nonpayable",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "components": [
1099
+ { "internalType": "bytes", "name": "allocatorData", "type": "bytes" },
1100
+ {
1101
+ "internalType": "bytes",
1102
+ "name": "sponsorSignature",
1103
+ "type": "bytes"
1104
+ },
1105
+ { "internalType": "address", "name": "sponsor", "type": "address" },
1106
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
1107
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
1108
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" },
1109
+ {
1110
+ "internalType": "string",
1111
+ "name": "witnessTypestring",
1112
+ "type": "string"
1113
+ },
1114
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
1115
+ {
1116
+ "internalType": "uint256",
1117
+ "name": "allocatedAmount",
1118
+ "type": "uint256"
1119
+ },
1120
+ {
1121
+ "components": [
1122
+ {
1123
+ "internalType": "uint256",
1124
+ "name": "claimant",
1125
+ "type": "uint256"
1126
+ },
1127
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1128
+ ],
1129
+ "internalType": "struct Component[]",
1130
+ "name": "claimants",
1131
+ "type": "tuple[]"
1132
+ },
1133
+ {
1134
+ "internalType": "bytes32[]",
1135
+ "name": "additionalChains",
1136
+ "type": "bytes32[]"
1137
+ },
1138
+ {
1139
+ "internalType": "uint256",
1140
+ "name": "chainIndex",
1141
+ "type": "uint256"
1142
+ },
1143
+ {
1144
+ "internalType": "uint256",
1145
+ "name": "notarizedChainId",
1146
+ "type": "uint256"
1147
+ }
1148
+ ],
1149
+ "internalType": "struct ExogenousMultichainClaim",
1150
+ "name": "claimPayload",
1151
+ "type": "tuple"
1152
+ }
1153
+ ],
1154
+ "name": "exogenousClaim",
1155
+ "outputs": [
1156
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
1157
+ ],
1158
+ "stateMutability": "nonpayable",
1159
+ "type": "function"
1160
+ },
1161
+ {
1162
+ "inputs": [
1163
+ { "internalType": "bytes32", "name": "slot", "type": "bytes32" }
1164
+ ],
1165
+ "name": "extsload",
1166
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
1167
+ "stateMutability": "view",
1168
+ "type": "function"
1169
+ },
1170
+ {
1171
+ "inputs": [
1172
+ { "internalType": "bytes32[]", "name": "slots", "type": "bytes32[]" }
1173
+ ],
1174
+ "name": "extsload",
1175
+ "outputs": [
1176
+ { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" }
1177
+ ],
1178
+ "stateMutability": "view",
1179
+ "type": "function"
1180
+ },
1181
+ {
1182
+ "inputs": [
1183
+ { "internalType": "bytes32", "name": "slot", "type": "bytes32" }
1184
+ ],
1185
+ "name": "exttload",
1186
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
1187
+ "stateMutability": "view",
1188
+ "type": "function"
1189
+ },
1190
+ {
1191
+ "inputs": [
1192
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
1193
+ { "internalType": "address", "name": "recipient", "type": "address" },
1194
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1195
+ ],
1196
+ "name": "forcedWithdrawal",
1197
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1198
+ "stateMutability": "nonpayable",
1199
+ "type": "function"
1200
+ },
1201
+ {
1202
+ "inputs": [
1203
+ { "internalType": "address", "name": "sponsor", "type": "address" },
1204
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" }
1205
+ ],
1206
+ "name": "getEmissaryStatus",
1207
+ "outputs": [
1208
+ {
1209
+ "internalType": "enum EmissaryStatus",
1210
+ "name": "status",
1211
+ "type": "uint8"
1212
+ },
1213
+ {
1214
+ "internalType": "uint256",
1215
+ "name": "emissaryAssignmentAvailableAt",
1216
+ "type": "uint256"
1217
+ },
1218
+ {
1219
+ "internalType": "address",
1220
+ "name": "currentEmissary",
1221
+ "type": "address"
1222
+ }
1223
+ ],
1224
+ "stateMutability": "view",
1225
+ "type": "function"
1226
+ },
1227
+ {
1228
+ "inputs": [
1229
+ { "internalType": "address", "name": "account", "type": "address" },
1230
+ { "internalType": "uint256", "name": "id", "type": "uint256" }
1231
+ ],
1232
+ "name": "getForcedWithdrawalStatus",
1233
+ "outputs": [
1234
+ {
1235
+ "internalType": "enum ForcedWithdrawalStatus",
1236
+ "name": "",
1237
+ "type": "uint8"
1238
+ },
1239
+ { "internalType": "uint256", "name": "", "type": "uint256" }
1240
+ ],
1241
+ "stateMutability": "view",
1242
+ "type": "function"
1243
+ },
1244
+ {
1245
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
1246
+ "name": "getLockDetails",
1247
+ "outputs": [
1248
+ { "internalType": "address", "name": "", "type": "address" },
1249
+ { "internalType": "address", "name": "", "type": "address" },
1250
+ { "internalType": "enum ResetPeriod", "name": "", "type": "uint8" },
1251
+ { "internalType": "enum Scope", "name": "", "type": "uint8" },
1252
+ { "internalType": "bytes12", "name": "", "type": "bytes12" }
1253
+ ],
1254
+ "stateMutability": "view",
1255
+ "type": "function"
1256
+ },
1257
+ {
1258
+ "inputs": [],
1259
+ "name": "getRequiredWithdrawalFallbackStipends",
1260
+ "outputs": [
1261
+ {
1262
+ "internalType": "uint256",
1263
+ "name": "nativeTokenStipend",
1264
+ "type": "uint256"
1265
+ },
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "erc20TokenStipend",
1269
+ "type": "uint256"
1270
+ }
1271
+ ],
1272
+ "stateMutability": "view",
1273
+ "type": "function"
1274
+ },
1275
+ {
1276
+ "inputs": [
1277
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
1278
+ { "internalType": "address", "name": "allocator", "type": "address" }
1279
+ ],
1280
+ "name": "hasConsumedAllocatorNonce",
1281
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1282
+ "stateMutability": "view",
1283
+ "type": "function"
1284
+ },
1285
+ {
1286
+ "inputs": [
1287
+ { "internalType": "address", "name": "owner", "type": "address" },
1288
+ { "internalType": "address", "name": "spender", "type": "address" }
1289
+ ],
1290
+ "name": "isOperator",
1291
+ "outputs": [{ "internalType": "bool", "name": "status", "type": "bool" }],
1292
+ "stateMutability": "view",
1293
+ "type": "function"
1294
+ },
1295
+ {
1296
+ "inputs": [
1297
+ { "internalType": "address", "name": "sponsor", "type": "address" },
1298
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" },
1299
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" }
1300
+ ],
1301
+ "name": "isRegistered",
1302
+ "outputs": [{ "internalType": "bool", "name": "isActive", "type": "bool" }],
1303
+ "stateMutability": "view",
1304
+ "type": "function"
1305
+ },
1306
+ {
1307
+ "inputs": [
1308
+ {
1309
+ "components": [
1310
+ { "internalType": "bytes", "name": "allocatorData", "type": "bytes" },
1311
+ {
1312
+ "internalType": "bytes",
1313
+ "name": "sponsorSignature",
1314
+ "type": "bytes"
1315
+ },
1316
+ { "internalType": "address", "name": "sponsor", "type": "address" },
1317
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
1318
+ { "internalType": "uint256", "name": "expires", "type": "uint256" },
1319
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" },
1320
+ {
1321
+ "internalType": "string",
1322
+ "name": "witnessTypestring",
1323
+ "type": "string"
1324
+ },
1325
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
1326
+ {
1327
+ "internalType": "uint256",
1328
+ "name": "allocatedAmount",
1329
+ "type": "uint256"
1330
+ },
1331
+ {
1332
+ "components": [
1333
+ {
1334
+ "internalType": "uint256",
1335
+ "name": "claimant",
1336
+ "type": "uint256"
1337
+ },
1338
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1339
+ ],
1340
+ "internalType": "struct Component[]",
1341
+ "name": "claimants",
1342
+ "type": "tuple[]"
1343
+ },
1344
+ {
1345
+ "internalType": "bytes32[]",
1346
+ "name": "additionalChains",
1347
+ "type": "bytes32[]"
1348
+ }
1349
+ ],
1350
+ "internalType": "struct MultichainClaim",
1351
+ "name": "claimPayload",
1352
+ "type": "tuple"
1353
+ }
1354
+ ],
1355
+ "name": "multichainClaim",
1356
+ "outputs": [
1357
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
1358
+ ],
1359
+ "stateMutability": "nonpayable",
1360
+ "type": "function"
1361
+ },
1362
+ {
1363
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
1364
+ "name": "name",
1365
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
1366
+ "stateMutability": "view",
1367
+ "type": "function"
1368
+ },
1369
+ {
1370
+ "inputs": [],
1371
+ "name": "name",
1372
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
1373
+ "stateMutability": "pure",
1374
+ "type": "function"
1375
+ },
1376
+ {
1377
+ "inputs": [
1378
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" },
1379
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" }
1380
+ ],
1381
+ "name": "register",
1382
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1383
+ "stateMutability": "nonpayable",
1384
+ "type": "function"
1385
+ },
1386
+ {
1387
+ "inputs": [
1388
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" },
1389
+ { "internalType": "address", "name": "", "type": "address" },
1390
+ { "internalType": "address", "name": "sponsor", "type": "address" },
1391
+ { "internalType": "uint256", "name": "", "type": "uint256" },
1392
+ { "internalType": "uint256", "name": "", "type": "uint256" },
1393
+ { "internalType": "bytes32", "name": "", "type": "bytes32" },
1394
+ { "internalType": "bytes32", "name": "", "type": "bytes32" },
1395
+ { "internalType": "bytes", "name": "sponsorSignature", "type": "bytes" }
1396
+ ],
1397
+ "name": "registerBatchFor",
1398
+ "outputs": [
1399
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
1400
+ ],
1401
+ "stateMutability": "nonpayable",
1402
+ "type": "function"
1403
+ },
1404
+ {
1405
+ "inputs": [
1406
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" },
1407
+ { "internalType": "address", "name": "", "type": "address" },
1408
+ { "internalType": "address", "name": "sponsor", "type": "address" },
1409
+ { "internalType": "uint256", "name": "", "type": "uint256" },
1410
+ { "internalType": "uint256", "name": "", "type": "uint256" },
1411
+ { "internalType": "bytes12", "name": "", "type": "bytes12" },
1412
+ { "internalType": "address", "name": "", "type": "address" },
1413
+ { "internalType": "uint256", "name": "", "type": "uint256" },
1414
+ { "internalType": "bytes32", "name": "", "type": "bytes32" },
1415
+ { "internalType": "bytes", "name": "sponsorSignature", "type": "bytes" }
1416
+ ],
1417
+ "name": "registerFor",
1418
+ "outputs": [
1419
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
1420
+ ],
1421
+ "stateMutability": "nonpayable",
1422
+ "type": "function"
1423
+ },
1424
+ {
1425
+ "inputs": [
1426
+ { "internalType": "bytes32", "name": "typehash", "type": "bytes32" },
1427
+ { "internalType": "address", "name": "sponsor", "type": "address" },
1428
+ { "internalType": "uint256", "name": "", "type": "uint256" },
1429
+ { "internalType": "uint256", "name": "", "type": "uint256" },
1430
+ { "internalType": "bytes32", "name": "", "type": "bytes32" },
1431
+ {
1432
+ "internalType": "uint256",
1433
+ "name": "notarizedChainId",
1434
+ "type": "uint256"
1435
+ },
1436
+ { "internalType": "bytes", "name": "sponsorSignature", "type": "bytes" }
1437
+ ],
1438
+ "name": "registerMultichainFor",
1439
+ "outputs": [
1440
+ { "internalType": "bytes32", "name": "claimHash", "type": "bytes32" }
1441
+ ],
1442
+ "stateMutability": "nonpayable",
1443
+ "type": "function"
1444
+ },
1445
+ {
1446
+ "inputs": [
1447
+ {
1448
+ "internalType": "bytes32[2][]",
1449
+ "name": "claimHashesAndTypehashes",
1450
+ "type": "bytes32[2][]"
1451
+ }
1452
+ ],
1453
+ "name": "registerMultiple",
1454
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1455
+ "stateMutability": "nonpayable",
1456
+ "type": "function"
1457
+ },
1458
+ {
1459
+ "inputs": [
1460
+ { "internalType": "bytes12", "name": "lockTag", "type": "bytes12" }
1461
+ ],
1462
+ "name": "scheduleEmissaryAssignment",
1463
+ "outputs": [
1464
+ {
1465
+ "internalType": "uint256",
1466
+ "name": "emissaryAssignmentAvailableAt",
1467
+ "type": "uint256"
1468
+ }
1469
+ ],
1470
+ "stateMutability": "nonpayable",
1471
+ "type": "function"
1472
+ },
1473
+ {
1474
+ "inputs": [
1475
+ { "internalType": "address", "name": "operator", "type": "address" },
1476
+ { "internalType": "bool", "name": "approved", "type": "bool" }
1477
+ ],
1478
+ "name": "setOperator",
1479
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1480
+ "stateMutability": "payable",
1481
+ "type": "function"
1482
+ },
1483
+ {
1484
+ "inputs": [
1485
+ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
1486
+ ],
1487
+ "name": "supportsInterface",
1488
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
1489
+ "stateMutability": "view",
1490
+ "type": "function"
1491
+ },
1492
+ {
1493
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
1494
+ "name": "symbol",
1495
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
1496
+ "stateMutability": "view",
1497
+ "type": "function"
1498
+ },
1499
+ {
1500
+ "inputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }],
1501
+ "name": "tokenURI",
1502
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
1503
+ "stateMutability": "view",
1504
+ "type": "function"
1505
+ },
1506
+ {
1507
+ "inputs": [
1508
+ { "internalType": "address", "name": "to", "type": "address" },
1509
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
1510
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1511
+ ],
1512
+ "name": "transfer",
1513
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1514
+ "stateMutability": "payable",
1515
+ "type": "function"
1516
+ },
1517
+ {
1518
+ "inputs": [
1519
+ { "internalType": "address", "name": "from", "type": "address" },
1520
+ { "internalType": "address", "name": "to", "type": "address" },
1521
+ { "internalType": "uint256", "name": "id", "type": "uint256" },
1522
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
1523
+ ],
1524
+ "name": "transferFrom",
1525
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1526
+ "stateMutability": "payable",
1527
+ "type": "function"
1528
+ }
1529
+ ]