@cancore/contracts 0.1.0 → 0.2.0-rc.6

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 (50) hide show
  1. package/README.md +266 -10
  2. package/dist/abi.d.ts +6086 -1675
  3. package/dist/abi.js +1 -1
  4. package/dist/{chunk-CIBYXHSX.js → chunk-IAPV7XWJ.js} +2 -2
  5. package/dist/chunk-IAPV7XWJ.js.map +1 -0
  6. package/dist/chunk-NV5IUURP.js +9252 -0
  7. package/dist/chunk-NV5IUURP.js.map +1 -0
  8. package/dist/index.d.ts +1180 -29
  9. package/dist/index.js +2600 -17
  10. package/dist/index.js.map +1 -1
  11. package/dist/networks.d.ts +2 -2
  12. package/dist/networks.js +1 -1
  13. package/package.json +10 -8
  14. package/spec/abi/AttestorSet.json +476 -0
  15. package/spec/abi/CNRX.json +1294 -0
  16. package/spec/abi/CNRXStaking.json +510 -0
  17. package/spec/abi/CancoreRouter.json +2564 -0
  18. package/spec/abi/FeeVault.json +604 -0
  19. package/spec/abi/HTLC.json +717 -0
  20. package/spec/abi/IBurnMintERC20.json +252 -0
  21. package/spec/abi/ICancoreRouter.json +1226 -0
  22. package/spec/abi/IHTLC.json +382 -0
  23. package/spec/abi/IPermit2.json +150 -0
  24. package/spec/abi/MultiBalanceChecker.json +34 -0
  25. package/spec/abi/PointsClaim.json +791 -0
  26. package/spec/protocol/asyncapi.json +1288 -0
  27. package/spec/protocol/messages.schema.json +525 -0
  28. package/spec/protocol/records.schema.json +94 -0
  29. package/spec/protocol/rest.schema.json +118 -0
  30. package/spec/protocol/typed-data/FillerAuth.json +58 -0
  31. package/spec/protocol/typed-data/FillerKeyRegistration.json +69 -0
  32. package/spec/protocol/typed-data/FillerMessage.json +115 -0
  33. package/spec/protocol/typed-data/FillerQuote.json +75 -0
  34. package/spec/protocol/typed-data/GatewayMessage.json +93 -0
  35. package/spec/protocol/typed-data/StakeBinding.json +75 -0
  36. package/spec/protocol/typed-data/TicketIntent.json +113 -0
  37. package/spec/protocol/typed-data/TicketReceipt.json +51 -0
  38. package/spec/protocol/vectors/draw.json +61 -0
  39. package/spec/protocol/vectors/jcs.json +59 -0
  40. package/spec/protocol/vectors/messages.json +523 -0
  41. package/spec/protocol/vectors/records.json +81 -0
  42. package/spec/protocol/vectors/settle-attestations.json +542 -0
  43. package/spec/typed-data/FillProof.json +227 -0
  44. package/spec/typed-data/FillTicket.json +115 -0
  45. package/spec/typed-data/Order.json +141 -0
  46. package/spec/typed-data/Quote.json +69 -0
  47. package/spec/vectors/canton-order.json +67 -0
  48. package/dist/chunk-CIBYXHSX.js.map +0 -1
  49. package/dist/chunk-ZSX67S72.js +0 -3423
  50. package/dist/chunk-ZSX67S72.js.map +0 -1
@@ -0,0 +1,2564 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "permit2_",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "feeRecipient_",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address[]",
16
+ "name": "attestors",
17
+ "type": "address[]"
18
+ },
19
+ {
20
+ "internalType": "uint8",
21
+ "name": "threshold",
22
+ "type": "uint8"
23
+ },
24
+ {
25
+ "internalType": "uint8",
26
+ "name": "minThreshold",
27
+ "type": "uint8"
28
+ },
29
+ {
30
+ "internalType": "address[]",
31
+ "name": "initialFillers",
32
+ "type": "address[]"
33
+ }
34
+ ],
35
+ "stateMutability": "nonpayable",
36
+ "type": "constructor"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "AlreadyFilled",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [],
45
+ "name": "AttestorRevoked",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [],
50
+ "name": "AttestorSetNotActive",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [],
55
+ "name": "AttestorSetProposedAfterSigning",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [],
60
+ "name": "BelowMinInput",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [],
65
+ "name": "BelowMinReceived",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [],
70
+ "name": "DestinationNotRegistered",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "inputs": [],
75
+ "name": "ECDSAInvalidSignature",
76
+ "type": "error"
77
+ },
78
+ {
79
+ "inputs": [
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "length",
83
+ "type": "uint256"
84
+ }
85
+ ],
86
+ "name": "ECDSAInvalidSignatureLength",
87
+ "type": "error"
88
+ },
89
+ {
90
+ "inputs": [
91
+ {
92
+ "internalType": "bytes32",
93
+ "name": "s",
94
+ "type": "bytes32"
95
+ }
96
+ ],
97
+ "name": "ECDSAInvalidSignatureS",
98
+ "type": "error"
99
+ },
100
+ {
101
+ "inputs": [],
102
+ "name": "EmptySet",
103
+ "type": "error"
104
+ },
105
+ {
106
+ "inputs": [],
107
+ "name": "FillDeadlinePassed",
108
+ "type": "error"
109
+ },
110
+ {
111
+ "inputs": [],
112
+ "name": "FillDeadlineTooFar",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [],
117
+ "name": "FillDeadlineTooSoon",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "FilledAfterDeadline",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "FilledBeforeOpen",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "FillerRemovedForever",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "InsufficientRedundancy",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "InsufficientSignatures",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "IntentExists",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "IntentNotOpen",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [],
157
+ "name": "InvalidBytes32Address",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "inputs": [],
162
+ "name": "InvalidFeeBps",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "inputs": [],
167
+ "name": "InvalidFeeRecipient",
168
+ "type": "error"
169
+ },
170
+ {
171
+ "inputs": [],
172
+ "name": "InvalidQuoteSigner",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [],
177
+ "name": "InvalidShortString",
178
+ "type": "error"
179
+ },
180
+ {
181
+ "inputs": [],
182
+ "name": "InvalidThreshold",
183
+ "type": "error"
184
+ },
185
+ {
186
+ "inputs": [],
187
+ "name": "InvalidTicketSigner",
188
+ "type": "error"
189
+ },
190
+ {
191
+ "inputs": [],
192
+ "name": "NoPendingProposal",
193
+ "type": "error"
194
+ },
195
+ {
196
+ "inputs": [],
197
+ "name": "NotAttestor",
198
+ "type": "error"
199
+ },
200
+ {
201
+ "inputs": [],
202
+ "name": "NotFiller",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [],
207
+ "name": "NothingToSweep",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "OpenPaused",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "OrderCreatedInFuture",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "OrderSignatureExpired",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [
227
+ {
228
+ "internalType": "address",
229
+ "name": "owner",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "OwnableInvalidOwner",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "account",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "OwnableUnauthorizedAccount",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [],
249
+ "name": "PermitDeadlineTooLate",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [],
254
+ "name": "PermitMismatch",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "inputs": [],
259
+ "name": "ProofOrderMismatch",
260
+ "type": "error"
261
+ },
262
+ {
263
+ "inputs": [],
264
+ "name": "ProofWindowTooLong",
265
+ "type": "error"
266
+ },
267
+ {
268
+ "inputs": [],
269
+ "name": "ProposalPending",
270
+ "type": "error"
271
+ },
272
+ {
273
+ "inputs": [],
274
+ "name": "QuoteExpired",
275
+ "type": "error"
276
+ },
277
+ {
278
+ "inputs": [],
279
+ "name": "ReentrancyGuardReentrantCall",
280
+ "type": "error"
281
+ },
282
+ {
283
+ "inputs": [],
284
+ "name": "RefundNotReady",
285
+ "type": "error"
286
+ },
287
+ {
288
+ "inputs": [],
289
+ "name": "RenounceDisabled",
290
+ "type": "error"
291
+ },
292
+ {
293
+ "inputs": [
294
+ {
295
+ "internalType": "address",
296
+ "name": "token",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "name": "SafeERC20FailedOperation",
301
+ "type": "error"
302
+ },
303
+ {
304
+ "inputs": [],
305
+ "name": "SourceRouterAlreadySet",
306
+ "type": "error"
307
+ },
308
+ {
309
+ "inputs": [],
310
+ "name": "SourceRouterUnknown",
311
+ "type": "error"
312
+ },
313
+ {
314
+ "inputs": [
315
+ {
316
+ "internalType": "string",
317
+ "name": "str",
318
+ "type": "string"
319
+ }
320
+ ],
321
+ "name": "StringTooLong",
322
+ "type": "error"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "ThresholdBelowMinimum",
327
+ "type": "error"
328
+ },
329
+ {
330
+ "inputs": [],
331
+ "name": "TicketBeyondDeadline",
332
+ "type": "error"
333
+ },
334
+ {
335
+ "inputs": [],
336
+ "name": "TicketExpired",
337
+ "type": "error"
338
+ },
339
+ {
340
+ "inputs": [],
341
+ "name": "TicketNotYetValid",
342
+ "type": "error"
343
+ },
344
+ {
345
+ "inputs": [],
346
+ "name": "TicketOrderMismatch",
347
+ "type": "error"
348
+ },
349
+ {
350
+ "inputs": [],
351
+ "name": "TokenNotAllowed",
352
+ "type": "error"
353
+ },
354
+ {
355
+ "inputs": [],
356
+ "name": "TransferFailed",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [],
361
+ "name": "UnsortedMembers",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "UnsortedSigners",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "UnsupportedProofKind",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "WrongDestination",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "WrongOriginChain",
382
+ "type": "error"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "WrongTicketFiller",
387
+ "type": "error"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "ZeroAddress",
392
+ "type": "error"
393
+ },
394
+ {
395
+ "inputs": [],
396
+ "name": "ZeroFillRef",
397
+ "type": "error"
398
+ },
399
+ {
400
+ "inputs": [],
401
+ "name": "ZeroMinReceived",
402
+ "type": "error"
403
+ },
404
+ {
405
+ "anonymous": false,
406
+ "inputs": [
407
+ {
408
+ "indexed": true,
409
+ "internalType": "address",
410
+ "name": "attestor",
411
+ "type": "address"
412
+ }
413
+ ],
414
+ "name": "AttestorRevocation",
415
+ "type": "event"
416
+ },
417
+ {
418
+ "anonymous": false,
419
+ "inputs": [
420
+ {
421
+ "indexed": true,
422
+ "internalType": "uint32",
423
+ "name": "setId",
424
+ "type": "uint32"
425
+ }
426
+ ],
427
+ "name": "AttestorSetCancelled",
428
+ "type": "event"
429
+ },
430
+ {
431
+ "anonymous": false,
432
+ "inputs": [
433
+ {
434
+ "indexed": true,
435
+ "internalType": "uint32",
436
+ "name": "setId",
437
+ "type": "uint32"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "address[]",
442
+ "name": "members",
443
+ "type": "address[]"
444
+ },
445
+ {
446
+ "indexed": false,
447
+ "internalType": "uint8",
448
+ "name": "threshold",
449
+ "type": "uint8"
450
+ },
451
+ {
452
+ "indexed": false,
453
+ "internalType": "uint64",
454
+ "name": "activeFrom",
455
+ "type": "uint64"
456
+ }
457
+ ],
458
+ "name": "AttestorSetProposed",
459
+ "type": "event"
460
+ },
461
+ {
462
+ "anonymous": false,
463
+ "inputs": [
464
+ {
465
+ "indexed": true,
466
+ "internalType": "uint32",
467
+ "name": "setId",
468
+ "type": "uint32"
469
+ },
470
+ {
471
+ "indexed": false,
472
+ "internalType": "uint64",
473
+ "name": "retiredAt",
474
+ "type": "uint64"
475
+ }
476
+ ],
477
+ "name": "AttestorSetRetired",
478
+ "type": "event"
479
+ },
480
+ {
481
+ "anonymous": false,
482
+ "inputs": [],
483
+ "name": "EIP712DomainChanged",
484
+ "type": "event"
485
+ },
486
+ {
487
+ "anonymous": false,
488
+ "inputs": [
489
+ {
490
+ "indexed": true,
491
+ "internalType": "address",
492
+ "name": "feeRecipient",
493
+ "type": "address"
494
+ }
495
+ ],
496
+ "name": "FeeRecipientSet",
497
+ "type": "event"
498
+ },
499
+ {
500
+ "anonymous": false,
501
+ "inputs": [
502
+ {
503
+ "indexed": true,
504
+ "internalType": "address",
505
+ "name": "token",
506
+ "type": "address"
507
+ },
508
+ {
509
+ "indexed": true,
510
+ "internalType": "address",
511
+ "name": "to",
512
+ "type": "address"
513
+ },
514
+ {
515
+ "indexed": false,
516
+ "internalType": "uint256",
517
+ "name": "amount",
518
+ "type": "uint256"
519
+ }
520
+ ],
521
+ "name": "FeesSwept",
522
+ "type": "event"
523
+ },
524
+ {
525
+ "anonymous": false,
526
+ "inputs": [
527
+ {
528
+ "indexed": true,
529
+ "internalType": "bytes32",
530
+ "name": "orderHash",
531
+ "type": "bytes32"
532
+ },
533
+ {
534
+ "indexed": true,
535
+ "internalType": "address",
536
+ "name": "filler",
537
+ "type": "address"
538
+ },
539
+ {
540
+ "indexed": false,
541
+ "internalType": "uint256",
542
+ "name": "amount",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "indexed": false,
547
+ "internalType": "bytes32",
548
+ "name": "recipient",
549
+ "type": "bytes32"
550
+ },
551
+ {
552
+ "indexed": false,
553
+ "internalType": "uint64",
554
+ "name": "filledAt",
555
+ "type": "uint64"
556
+ },
557
+ {
558
+ "indexed": false,
559
+ "internalType": "uint32",
560
+ "name": "attempt",
561
+ "type": "uint32"
562
+ }
563
+ ],
564
+ "name": "Filled",
565
+ "type": "event"
566
+ },
567
+ {
568
+ "anonymous": false,
569
+ "inputs": [
570
+ {
571
+ "indexed": true,
572
+ "internalType": "address",
573
+ "name": "filler",
574
+ "type": "address"
575
+ },
576
+ {
577
+ "indexed": false,
578
+ "internalType": "bool",
579
+ "name": "allowed",
580
+ "type": "bool"
581
+ },
582
+ {
583
+ "indexed": false,
584
+ "internalType": "uint64",
585
+ "name": "effectiveAt",
586
+ "type": "uint64"
587
+ }
588
+ ],
589
+ "name": "FillerSet",
590
+ "type": "event"
591
+ },
592
+ {
593
+ "anonymous": false,
594
+ "inputs": [
595
+ {
596
+ "indexed": true,
597
+ "internalType": "bytes32",
598
+ "name": "orderHash",
599
+ "type": "bytes32"
600
+ },
601
+ {
602
+ "components": [
603
+ {
604
+ "internalType": "address",
605
+ "name": "user",
606
+ "type": "address"
607
+ },
608
+ {
609
+ "internalType": "uint64",
610
+ "name": "originChainId",
611
+ "type": "uint64"
612
+ },
613
+ {
614
+ "internalType": "address",
615
+ "name": "inputToken",
616
+ "type": "address"
617
+ },
618
+ {
619
+ "internalType": "uint256",
620
+ "name": "inputAmount",
621
+ "type": "uint256"
622
+ },
623
+ {
624
+ "internalType": "bytes32",
625
+ "name": "destination",
626
+ "type": "bytes32"
627
+ },
628
+ {
629
+ "internalType": "bytes32",
630
+ "name": "outputAsset",
631
+ "type": "bytes32"
632
+ },
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "minReceived",
636
+ "type": "uint256"
637
+ },
638
+ {
639
+ "internalType": "bytes32",
640
+ "name": "recipient",
641
+ "type": "bytes32"
642
+ },
643
+ {
644
+ "internalType": "uint64",
645
+ "name": "createdAt",
646
+ "type": "uint64"
647
+ },
648
+ {
649
+ "internalType": "uint64",
650
+ "name": "fillDeadline",
651
+ "type": "uint64"
652
+ },
653
+ {
654
+ "internalType": "uint16",
655
+ "name": "feeBps",
656
+ "type": "uint16"
657
+ }
658
+ ],
659
+ "indexed": false,
660
+ "internalType": "struct ICancoreRouter.Order",
661
+ "name": "order",
662
+ "type": "tuple"
663
+ },
664
+ {
665
+ "indexed": false,
666
+ "internalType": "uint64",
667
+ "name": "refundAfter",
668
+ "type": "uint64"
669
+ },
670
+ {
671
+ "indexed": false,
672
+ "internalType": "uint256",
673
+ "name": "blockNumber",
674
+ "type": "uint256"
675
+ }
676
+ ],
677
+ "name": "IntentOpened",
678
+ "type": "event"
679
+ },
680
+ {
681
+ "anonymous": false,
682
+ "inputs": [
683
+ {
684
+ "indexed": true,
685
+ "internalType": "address",
686
+ "name": "token",
687
+ "type": "address"
688
+ },
689
+ {
690
+ "indexed": false,
691
+ "internalType": "uint256",
692
+ "name": "amount",
693
+ "type": "uint256"
694
+ }
695
+ ],
696
+ "name": "MinInputSet",
697
+ "type": "event"
698
+ },
699
+ {
700
+ "anonymous": false,
701
+ "inputs": [
702
+ {
703
+ "indexed": false,
704
+ "internalType": "bool",
705
+ "name": "paused",
706
+ "type": "bool"
707
+ }
708
+ ],
709
+ "name": "OpenPausedSet",
710
+ "type": "event"
711
+ },
712
+ {
713
+ "anonymous": false,
714
+ "inputs": [
715
+ {
716
+ "indexed": true,
717
+ "internalType": "address",
718
+ "name": "previousOwner",
719
+ "type": "address"
720
+ },
721
+ {
722
+ "indexed": true,
723
+ "internalType": "address",
724
+ "name": "newOwner",
725
+ "type": "address"
726
+ }
727
+ ],
728
+ "name": "OwnershipTransferStarted",
729
+ "type": "event"
730
+ },
731
+ {
732
+ "anonymous": false,
733
+ "inputs": [
734
+ {
735
+ "indexed": true,
736
+ "internalType": "address",
737
+ "name": "previousOwner",
738
+ "type": "address"
739
+ },
740
+ {
741
+ "indexed": true,
742
+ "internalType": "address",
743
+ "name": "newOwner",
744
+ "type": "address"
745
+ }
746
+ ],
747
+ "name": "OwnershipTransferred",
748
+ "type": "event"
749
+ },
750
+ {
751
+ "anonymous": false,
752
+ "inputs": [
753
+ {
754
+ "indexed": true,
755
+ "internalType": "bytes32",
756
+ "name": "destination",
757
+ "type": "bytes32"
758
+ },
759
+ {
760
+ "indexed": false,
761
+ "internalType": "uint64",
762
+ "name": "window",
763
+ "type": "uint64"
764
+ },
765
+ {
766
+ "indexed": false,
767
+ "internalType": "bool",
768
+ "name": "isEvm",
769
+ "type": "bool"
770
+ }
771
+ ],
772
+ "name": "ProofWindowSet",
773
+ "type": "event"
774
+ },
775
+ {
776
+ "anonymous": false,
777
+ "inputs": [
778
+ {
779
+ "indexed": true,
780
+ "internalType": "address",
781
+ "name": "signer",
782
+ "type": "address"
783
+ },
784
+ {
785
+ "indexed": false,
786
+ "internalType": "bool",
787
+ "name": "allowed",
788
+ "type": "bool"
789
+ }
790
+ ],
791
+ "name": "QuoteSignerSet",
792
+ "type": "event"
793
+ },
794
+ {
795
+ "anonymous": false,
796
+ "inputs": [
797
+ {
798
+ "indexed": true,
799
+ "internalType": "bytes32",
800
+ "name": "orderHash",
801
+ "type": "bytes32"
802
+ },
803
+ {
804
+ "indexed": true,
805
+ "internalType": "address",
806
+ "name": "user",
807
+ "type": "address"
808
+ },
809
+ {
810
+ "indexed": false,
811
+ "internalType": "uint256",
812
+ "name": "amount",
813
+ "type": "uint256"
814
+ }
815
+ ],
816
+ "name": "Refunded",
817
+ "type": "event"
818
+ },
819
+ {
820
+ "anonymous": false,
821
+ "inputs": [
822
+ {
823
+ "indexed": true,
824
+ "internalType": "bytes32",
825
+ "name": "orderHash",
826
+ "type": "bytes32"
827
+ },
828
+ {
829
+ "indexed": true,
830
+ "internalType": "address",
831
+ "name": "filler",
832
+ "type": "address"
833
+ },
834
+ {
835
+ "indexed": false,
836
+ "internalType": "uint256",
837
+ "name": "payout",
838
+ "type": "uint256"
839
+ },
840
+ {
841
+ "indexed": false,
842
+ "internalType": "uint256",
843
+ "name": "fee",
844
+ "type": "uint256"
845
+ }
846
+ ],
847
+ "name": "Settled",
848
+ "type": "event"
849
+ },
850
+ {
851
+ "anonymous": false,
852
+ "inputs": [
853
+ {
854
+ "indexed": true,
855
+ "internalType": "uint64",
856
+ "name": "originChainId",
857
+ "type": "uint64"
858
+ },
859
+ {
860
+ "indexed": false,
861
+ "internalType": "address",
862
+ "name": "router",
863
+ "type": "address"
864
+ }
865
+ ],
866
+ "name": "SourceRouterSet",
867
+ "type": "event"
868
+ },
869
+ {
870
+ "anonymous": false,
871
+ "inputs": [
872
+ {
873
+ "indexed": true,
874
+ "internalType": "address",
875
+ "name": "signer",
876
+ "type": "address"
877
+ },
878
+ {
879
+ "indexed": false,
880
+ "internalType": "bool",
881
+ "name": "allowed",
882
+ "type": "bool"
883
+ }
884
+ ],
885
+ "name": "TicketSignerSet",
886
+ "type": "event"
887
+ },
888
+ {
889
+ "inputs": [],
890
+ "name": "BPS",
891
+ "outputs": [
892
+ {
893
+ "internalType": "uint16",
894
+ "name": "",
895
+ "type": "uint16"
896
+ }
897
+ ],
898
+ "stateMutability": "view",
899
+ "type": "function"
900
+ },
901
+ {
902
+ "inputs": [],
903
+ "name": "FILLPROOF_TYPEHASH",
904
+ "outputs": [
905
+ {
906
+ "internalType": "bytes32",
907
+ "name": "",
908
+ "type": "bytes32"
909
+ }
910
+ ],
911
+ "stateMutability": "view",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [],
916
+ "name": "GRACE",
917
+ "outputs": [
918
+ {
919
+ "internalType": "uint64",
920
+ "name": "",
921
+ "type": "uint64"
922
+ }
923
+ ],
924
+ "stateMutability": "view",
925
+ "type": "function"
926
+ },
927
+ {
928
+ "inputs": [],
929
+ "name": "MAX_FEE_BPS",
930
+ "outputs": [
931
+ {
932
+ "internalType": "uint16",
933
+ "name": "",
934
+ "type": "uint16"
935
+ }
936
+ ],
937
+ "stateMutability": "view",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [],
942
+ "name": "MAX_FILL_TTL",
943
+ "outputs": [
944
+ {
945
+ "internalType": "uint64",
946
+ "name": "",
947
+ "type": "uint64"
948
+ }
949
+ ],
950
+ "stateMutability": "view",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "inputs": [],
955
+ "name": "MAX_PROOF_WINDOW",
956
+ "outputs": [
957
+ {
958
+ "internalType": "uint64",
959
+ "name": "",
960
+ "type": "uint64"
961
+ }
962
+ ],
963
+ "stateMutability": "view",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [],
968
+ "name": "MAX_SIG_TTL",
969
+ "outputs": [
970
+ {
971
+ "internalType": "uint64",
972
+ "name": "",
973
+ "type": "uint64"
974
+ }
975
+ ],
976
+ "stateMutability": "view",
977
+ "type": "function"
978
+ },
979
+ {
980
+ "inputs": [],
981
+ "name": "MIN_FILL_TTL",
982
+ "outputs": [
983
+ {
984
+ "internalType": "uint64",
985
+ "name": "",
986
+ "type": "uint64"
987
+ }
988
+ ],
989
+ "stateMutability": "view",
990
+ "type": "function"
991
+ },
992
+ {
993
+ "inputs": [],
994
+ "name": "MIN_THRESHOLD",
995
+ "outputs": [
996
+ {
997
+ "internalType": "uint8",
998
+ "name": "",
999
+ "type": "uint8"
1000
+ }
1001
+ ],
1002
+ "stateMutability": "view",
1003
+ "type": "function"
1004
+ },
1005
+ {
1006
+ "inputs": [],
1007
+ "name": "ORDER_TYPEHASH",
1008
+ "outputs": [
1009
+ {
1010
+ "internalType": "bytes32",
1011
+ "name": "",
1012
+ "type": "bytes32"
1013
+ }
1014
+ ],
1015
+ "stateMutability": "view",
1016
+ "type": "function"
1017
+ },
1018
+ {
1019
+ "inputs": [],
1020
+ "name": "PROOF_KIND_ATTESTATION",
1021
+ "outputs": [
1022
+ {
1023
+ "internalType": "uint8",
1024
+ "name": "",
1025
+ "type": "uint8"
1026
+ }
1027
+ ],
1028
+ "stateMutability": "view",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [],
1033
+ "name": "QUOTE_TYPEHASH",
1034
+ "outputs": [
1035
+ {
1036
+ "internalType": "bytes32",
1037
+ "name": "",
1038
+ "type": "bytes32"
1039
+ }
1040
+ ],
1041
+ "stateMutability": "view",
1042
+ "type": "function"
1043
+ },
1044
+ {
1045
+ "inputs": [],
1046
+ "name": "SET_DELAY",
1047
+ "outputs": [
1048
+ {
1049
+ "internalType": "uint64",
1050
+ "name": "",
1051
+ "type": "uint64"
1052
+ }
1053
+ ],
1054
+ "stateMutability": "view",
1055
+ "type": "function"
1056
+ },
1057
+ {
1058
+ "inputs": [],
1059
+ "name": "TICKET_DOMAIN_SEPARATOR",
1060
+ "outputs": [
1061
+ {
1062
+ "internalType": "bytes32",
1063
+ "name": "",
1064
+ "type": "bytes32"
1065
+ }
1066
+ ],
1067
+ "stateMutability": "view",
1068
+ "type": "function"
1069
+ },
1070
+ {
1071
+ "inputs": [],
1072
+ "name": "TICKET_TYPEHASH",
1073
+ "outputs": [
1074
+ {
1075
+ "internalType": "bytes32",
1076
+ "name": "",
1077
+ "type": "bytes32"
1078
+ }
1079
+ ],
1080
+ "stateMutability": "view",
1081
+ "type": "function"
1082
+ },
1083
+ {
1084
+ "inputs": [],
1085
+ "name": "WITNESS_TYPE_STRING",
1086
+ "outputs": [
1087
+ {
1088
+ "internalType": "string",
1089
+ "name": "",
1090
+ "type": "string"
1091
+ }
1092
+ ],
1093
+ "stateMutability": "view",
1094
+ "type": "function"
1095
+ },
1096
+ {
1097
+ "inputs": [],
1098
+ "name": "acceptOwnership",
1099
+ "outputs": [],
1100
+ "stateMutability": "nonpayable",
1101
+ "type": "function"
1102
+ },
1103
+ {
1104
+ "inputs": [
1105
+ {
1106
+ "internalType": "address",
1107
+ "name": "signer",
1108
+ "type": "address"
1109
+ }
1110
+ ],
1111
+ "name": "addQuoteSigner",
1112
+ "outputs": [],
1113
+ "stateMutability": "nonpayable",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "inputs": [
1118
+ {
1119
+ "internalType": "address",
1120
+ "name": "signer",
1121
+ "type": "address"
1122
+ }
1123
+ ],
1124
+ "name": "addTicketSigner",
1125
+ "outputs": [],
1126
+ "stateMutability": "nonpayable",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [
1131
+ {
1132
+ "internalType": "bytes32",
1133
+ "name": "orderHash",
1134
+ "type": "bytes32"
1135
+ }
1136
+ ],
1137
+ "name": "attestationSetFor",
1138
+ "outputs": [
1139
+ {
1140
+ "internalType": "uint32",
1141
+ "name": "setId",
1142
+ "type": "uint32"
1143
+ }
1144
+ ],
1145
+ "stateMutability": "view",
1146
+ "type": "function"
1147
+ },
1148
+ {
1149
+ "inputs": [],
1150
+ "name": "cancelProposal",
1151
+ "outputs": [],
1152
+ "stateMutability": "nonpayable",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "inputs": [],
1157
+ "name": "currentSetId",
1158
+ "outputs": [
1159
+ {
1160
+ "internalType": "uint32",
1161
+ "name": "",
1162
+ "type": "uint32"
1163
+ }
1164
+ ],
1165
+ "stateMutability": "view",
1166
+ "type": "function"
1167
+ },
1168
+ {
1169
+ "inputs": [],
1170
+ "name": "eip712Domain",
1171
+ "outputs": [
1172
+ {
1173
+ "internalType": "bytes1",
1174
+ "name": "fields",
1175
+ "type": "bytes1"
1176
+ },
1177
+ {
1178
+ "internalType": "string",
1179
+ "name": "name",
1180
+ "type": "string"
1181
+ },
1182
+ {
1183
+ "internalType": "string",
1184
+ "name": "version",
1185
+ "type": "string"
1186
+ },
1187
+ {
1188
+ "internalType": "uint256",
1189
+ "name": "chainId",
1190
+ "type": "uint256"
1191
+ },
1192
+ {
1193
+ "internalType": "address",
1194
+ "name": "verifyingContract",
1195
+ "type": "address"
1196
+ },
1197
+ {
1198
+ "internalType": "bytes32",
1199
+ "name": "salt",
1200
+ "type": "bytes32"
1201
+ },
1202
+ {
1203
+ "internalType": "uint256[]",
1204
+ "name": "extensions",
1205
+ "type": "uint256[]"
1206
+ }
1207
+ ],
1208
+ "stateMutability": "view",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [],
1213
+ "name": "feeRecipient",
1214
+ "outputs": [
1215
+ {
1216
+ "internalType": "address",
1217
+ "name": "",
1218
+ "type": "address"
1219
+ }
1220
+ ],
1221
+ "stateMutability": "view",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "components": [
1228
+ {
1229
+ "internalType": "address",
1230
+ "name": "user",
1231
+ "type": "address"
1232
+ },
1233
+ {
1234
+ "internalType": "uint64",
1235
+ "name": "originChainId",
1236
+ "type": "uint64"
1237
+ },
1238
+ {
1239
+ "internalType": "address",
1240
+ "name": "inputToken",
1241
+ "type": "address"
1242
+ },
1243
+ {
1244
+ "internalType": "uint256",
1245
+ "name": "inputAmount",
1246
+ "type": "uint256"
1247
+ },
1248
+ {
1249
+ "internalType": "bytes32",
1250
+ "name": "destination",
1251
+ "type": "bytes32"
1252
+ },
1253
+ {
1254
+ "internalType": "bytes32",
1255
+ "name": "outputAsset",
1256
+ "type": "bytes32"
1257
+ },
1258
+ {
1259
+ "internalType": "uint256",
1260
+ "name": "minReceived",
1261
+ "type": "uint256"
1262
+ },
1263
+ {
1264
+ "internalType": "bytes32",
1265
+ "name": "recipient",
1266
+ "type": "bytes32"
1267
+ },
1268
+ {
1269
+ "internalType": "uint64",
1270
+ "name": "createdAt",
1271
+ "type": "uint64"
1272
+ },
1273
+ {
1274
+ "internalType": "uint64",
1275
+ "name": "fillDeadline",
1276
+ "type": "uint64"
1277
+ },
1278
+ {
1279
+ "internalType": "uint16",
1280
+ "name": "feeBps",
1281
+ "type": "uint16"
1282
+ }
1283
+ ],
1284
+ "internalType": "struct ICancoreRouter.Order",
1285
+ "name": "order",
1286
+ "type": "tuple"
1287
+ },
1288
+ {
1289
+ "internalType": "uint256",
1290
+ "name": "amount",
1291
+ "type": "uint256"
1292
+ },
1293
+ {
1294
+ "components": [
1295
+ {
1296
+ "internalType": "bytes32",
1297
+ "name": "orderHash",
1298
+ "type": "bytes32"
1299
+ },
1300
+ {
1301
+ "internalType": "address",
1302
+ "name": "filler",
1303
+ "type": "address"
1304
+ },
1305
+ {
1306
+ "internalType": "uint32",
1307
+ "name": "attempt",
1308
+ "type": "uint32"
1309
+ },
1310
+ {
1311
+ "internalType": "uint64",
1312
+ "name": "validFrom",
1313
+ "type": "uint64"
1314
+ },
1315
+ {
1316
+ "internalType": "uint64",
1317
+ "name": "validUntil",
1318
+ "type": "uint64"
1319
+ }
1320
+ ],
1321
+ "internalType": "struct ICancoreRouter.FillTicket",
1322
+ "name": "ticket",
1323
+ "type": "tuple"
1324
+ },
1325
+ {
1326
+ "internalType": "bytes",
1327
+ "name": "ticketSig",
1328
+ "type": "bytes"
1329
+ }
1330
+ ],
1331
+ "name": "fill",
1332
+ "outputs": [],
1333
+ "stateMutability": "nonpayable",
1334
+ "type": "function"
1335
+ },
1336
+ {
1337
+ "inputs": [
1338
+ {
1339
+ "internalType": "bytes32",
1340
+ "name": "",
1341
+ "type": "bytes32"
1342
+ }
1343
+ ],
1344
+ "name": "filled",
1345
+ "outputs": [
1346
+ {
1347
+ "internalType": "bool",
1348
+ "name": "",
1349
+ "type": "bool"
1350
+ }
1351
+ ],
1352
+ "stateMutability": "view",
1353
+ "type": "function"
1354
+ },
1355
+ {
1356
+ "inputs": [
1357
+ {
1358
+ "internalType": "address",
1359
+ "name": "",
1360
+ "type": "address"
1361
+ }
1362
+ ],
1363
+ "name": "fillerActiveFrom",
1364
+ "outputs": [
1365
+ {
1366
+ "internalType": "uint64",
1367
+ "name": "",
1368
+ "type": "uint64"
1369
+ }
1370
+ ],
1371
+ "stateMutability": "view",
1372
+ "type": "function"
1373
+ },
1374
+ {
1375
+ "inputs": [
1376
+ {
1377
+ "internalType": "address",
1378
+ "name": "",
1379
+ "type": "address"
1380
+ }
1381
+ ],
1382
+ "name": "fillerRemovedAt",
1383
+ "outputs": [
1384
+ {
1385
+ "internalType": "uint64",
1386
+ "name": "",
1387
+ "type": "uint64"
1388
+ }
1389
+ ],
1390
+ "stateMutability": "view",
1391
+ "type": "function"
1392
+ },
1393
+ {
1394
+ "inputs": [
1395
+ {
1396
+ "internalType": "uint32",
1397
+ "name": "setId",
1398
+ "type": "uint32"
1399
+ }
1400
+ ],
1401
+ "name": "getAttestorSet",
1402
+ "outputs": [
1403
+ {
1404
+ "internalType": "address[]",
1405
+ "name": "members",
1406
+ "type": "address[]"
1407
+ },
1408
+ {
1409
+ "internalType": "uint8",
1410
+ "name": "threshold",
1411
+ "type": "uint8"
1412
+ },
1413
+ {
1414
+ "internalType": "uint64",
1415
+ "name": "activeFrom",
1416
+ "type": "uint64"
1417
+ },
1418
+ {
1419
+ "internalType": "uint64",
1420
+ "name": "retiredAt",
1421
+ "type": "uint64"
1422
+ }
1423
+ ],
1424
+ "stateMutability": "view",
1425
+ "type": "function"
1426
+ },
1427
+ {
1428
+ "inputs": [
1429
+ {
1430
+ "components": [
1431
+ {
1432
+ "internalType": "uint8",
1433
+ "name": "kind",
1434
+ "type": "uint8"
1435
+ },
1436
+ {
1437
+ "internalType": "bytes32",
1438
+ "name": "orderHash",
1439
+ "type": "bytes32"
1440
+ },
1441
+ {
1442
+ "internalType": "bytes32",
1443
+ "name": "destination",
1444
+ "type": "bytes32"
1445
+ },
1446
+ {
1447
+ "internalType": "bytes32",
1448
+ "name": "fillRef",
1449
+ "type": "bytes32"
1450
+ },
1451
+ {
1452
+ "internalType": "bytes32",
1453
+ "name": "recipient",
1454
+ "type": "bytes32"
1455
+ },
1456
+ {
1457
+ "internalType": "bytes32",
1458
+ "name": "outputAsset",
1459
+ "type": "bytes32"
1460
+ },
1461
+ {
1462
+ "internalType": "uint256",
1463
+ "name": "amountDelivered",
1464
+ "type": "uint256"
1465
+ },
1466
+ {
1467
+ "internalType": "uint64",
1468
+ "name": "filledAt",
1469
+ "type": "uint64"
1470
+ },
1471
+ {
1472
+ "internalType": "address",
1473
+ "name": "filler",
1474
+ "type": "address"
1475
+ },
1476
+ {
1477
+ "internalType": "uint32",
1478
+ "name": "attempt",
1479
+ "type": "uint32"
1480
+ },
1481
+ {
1482
+ "internalType": "uint32",
1483
+ "name": "setId",
1484
+ "type": "uint32"
1485
+ }
1486
+ ],
1487
+ "internalType": "struct ICancoreRouter.FillProof",
1488
+ "name": "proof",
1489
+ "type": "tuple"
1490
+ }
1491
+ ],
1492
+ "name": "hashFillProof",
1493
+ "outputs": [
1494
+ {
1495
+ "internalType": "bytes32",
1496
+ "name": "",
1497
+ "type": "bytes32"
1498
+ }
1499
+ ],
1500
+ "stateMutability": "view",
1501
+ "type": "function"
1502
+ },
1503
+ {
1504
+ "inputs": [
1505
+ {
1506
+ "components": [
1507
+ {
1508
+ "internalType": "address",
1509
+ "name": "user",
1510
+ "type": "address"
1511
+ },
1512
+ {
1513
+ "internalType": "uint64",
1514
+ "name": "originChainId",
1515
+ "type": "uint64"
1516
+ },
1517
+ {
1518
+ "internalType": "address",
1519
+ "name": "inputToken",
1520
+ "type": "address"
1521
+ },
1522
+ {
1523
+ "internalType": "uint256",
1524
+ "name": "inputAmount",
1525
+ "type": "uint256"
1526
+ },
1527
+ {
1528
+ "internalType": "bytes32",
1529
+ "name": "destination",
1530
+ "type": "bytes32"
1531
+ },
1532
+ {
1533
+ "internalType": "bytes32",
1534
+ "name": "outputAsset",
1535
+ "type": "bytes32"
1536
+ },
1537
+ {
1538
+ "internalType": "uint256",
1539
+ "name": "minReceived",
1540
+ "type": "uint256"
1541
+ },
1542
+ {
1543
+ "internalType": "bytes32",
1544
+ "name": "recipient",
1545
+ "type": "bytes32"
1546
+ },
1547
+ {
1548
+ "internalType": "uint64",
1549
+ "name": "createdAt",
1550
+ "type": "uint64"
1551
+ },
1552
+ {
1553
+ "internalType": "uint64",
1554
+ "name": "fillDeadline",
1555
+ "type": "uint64"
1556
+ },
1557
+ {
1558
+ "internalType": "uint16",
1559
+ "name": "feeBps",
1560
+ "type": "uint16"
1561
+ }
1562
+ ],
1563
+ "internalType": "struct ICancoreRouter.Order",
1564
+ "name": "order",
1565
+ "type": "tuple"
1566
+ }
1567
+ ],
1568
+ "name": "hashOrder",
1569
+ "outputs": [
1570
+ {
1571
+ "internalType": "bytes32",
1572
+ "name": "",
1573
+ "type": "bytes32"
1574
+ }
1575
+ ],
1576
+ "stateMutability": "view",
1577
+ "type": "function"
1578
+ },
1579
+ {
1580
+ "inputs": [
1581
+ {
1582
+ "internalType": "bytes32",
1583
+ "name": "orderHash",
1584
+ "type": "bytes32"
1585
+ },
1586
+ {
1587
+ "internalType": "uint64",
1588
+ "name": "quoteDeadline",
1589
+ "type": "uint64"
1590
+ }
1591
+ ],
1592
+ "name": "hashQuote",
1593
+ "outputs": [
1594
+ {
1595
+ "internalType": "bytes32",
1596
+ "name": "",
1597
+ "type": "bytes32"
1598
+ }
1599
+ ],
1600
+ "stateMutability": "view",
1601
+ "type": "function"
1602
+ },
1603
+ {
1604
+ "inputs": [
1605
+ {
1606
+ "components": [
1607
+ {
1608
+ "internalType": "bytes32",
1609
+ "name": "orderHash",
1610
+ "type": "bytes32"
1611
+ },
1612
+ {
1613
+ "internalType": "address",
1614
+ "name": "filler",
1615
+ "type": "address"
1616
+ },
1617
+ {
1618
+ "internalType": "uint32",
1619
+ "name": "attempt",
1620
+ "type": "uint32"
1621
+ },
1622
+ {
1623
+ "internalType": "uint64",
1624
+ "name": "validFrom",
1625
+ "type": "uint64"
1626
+ },
1627
+ {
1628
+ "internalType": "uint64",
1629
+ "name": "validUntil",
1630
+ "type": "uint64"
1631
+ }
1632
+ ],
1633
+ "internalType": "struct ICancoreRouter.FillTicket",
1634
+ "name": "ticket",
1635
+ "type": "tuple"
1636
+ }
1637
+ ],
1638
+ "name": "hashTicket",
1639
+ "outputs": [
1640
+ {
1641
+ "internalType": "bytes32",
1642
+ "name": "",
1643
+ "type": "bytes32"
1644
+ }
1645
+ ],
1646
+ "stateMutability": "pure",
1647
+ "type": "function"
1648
+ },
1649
+ {
1650
+ "inputs": [
1651
+ {
1652
+ "internalType": "bytes32",
1653
+ "name": "",
1654
+ "type": "bytes32"
1655
+ }
1656
+ ],
1657
+ "name": "intents",
1658
+ "outputs": [
1659
+ {
1660
+ "internalType": "enum ICancoreRouter.IntentStatus",
1661
+ "name": "status",
1662
+ "type": "uint8"
1663
+ },
1664
+ {
1665
+ "internalType": "uint64",
1666
+ "name": "refundAfter",
1667
+ "type": "uint64"
1668
+ },
1669
+ {
1670
+ "internalType": "uint64",
1671
+ "name": "openedAt",
1672
+ "type": "uint64"
1673
+ }
1674
+ ],
1675
+ "stateMutability": "view",
1676
+ "type": "function"
1677
+ },
1678
+ {
1679
+ "inputs": [
1680
+ {
1681
+ "internalType": "bytes32",
1682
+ "name": "",
1683
+ "type": "bytes32"
1684
+ }
1685
+ ],
1686
+ "name": "isEvmDestination",
1687
+ "outputs": [
1688
+ {
1689
+ "internalType": "bool",
1690
+ "name": "",
1691
+ "type": "bool"
1692
+ }
1693
+ ],
1694
+ "stateMutability": "view",
1695
+ "type": "function"
1696
+ },
1697
+ {
1698
+ "inputs": [
1699
+ {
1700
+ "internalType": "address",
1701
+ "name": "filler",
1702
+ "type": "address"
1703
+ }
1704
+ ],
1705
+ "name": "isFillerActive",
1706
+ "outputs": [
1707
+ {
1708
+ "internalType": "bool",
1709
+ "name": "",
1710
+ "type": "bool"
1711
+ }
1712
+ ],
1713
+ "stateMutability": "view",
1714
+ "type": "function"
1715
+ },
1716
+ {
1717
+ "inputs": [
1718
+ {
1719
+ "internalType": "uint32",
1720
+ "name": "",
1721
+ "type": "uint32"
1722
+ },
1723
+ {
1724
+ "internalType": "address",
1725
+ "name": "",
1726
+ "type": "address"
1727
+ }
1728
+ ],
1729
+ "name": "isMember",
1730
+ "outputs": [
1731
+ {
1732
+ "internalType": "bool",
1733
+ "name": "",
1734
+ "type": "bool"
1735
+ }
1736
+ ],
1737
+ "stateMutability": "view",
1738
+ "type": "function"
1739
+ },
1740
+ {
1741
+ "inputs": [
1742
+ {
1743
+ "internalType": "uint32",
1744
+ "name": "setId",
1745
+ "type": "uint32"
1746
+ }
1747
+ ],
1748
+ "name": "isSetActive",
1749
+ "outputs": [
1750
+ {
1751
+ "internalType": "bool",
1752
+ "name": "",
1753
+ "type": "bool"
1754
+ }
1755
+ ],
1756
+ "stateMutability": "view",
1757
+ "type": "function"
1758
+ },
1759
+ {
1760
+ "inputs": [
1761
+ {
1762
+ "internalType": "address",
1763
+ "name": "",
1764
+ "type": "address"
1765
+ }
1766
+ ],
1767
+ "name": "minInput",
1768
+ "outputs": [
1769
+ {
1770
+ "internalType": "uint256",
1771
+ "name": "",
1772
+ "type": "uint256"
1773
+ }
1774
+ ],
1775
+ "stateMutability": "view",
1776
+ "type": "function"
1777
+ },
1778
+ {
1779
+ "inputs": [
1780
+ {
1781
+ "components": [
1782
+ {
1783
+ "internalType": "address",
1784
+ "name": "user",
1785
+ "type": "address"
1786
+ },
1787
+ {
1788
+ "internalType": "uint64",
1789
+ "name": "originChainId",
1790
+ "type": "uint64"
1791
+ },
1792
+ {
1793
+ "internalType": "address",
1794
+ "name": "inputToken",
1795
+ "type": "address"
1796
+ },
1797
+ {
1798
+ "internalType": "uint256",
1799
+ "name": "inputAmount",
1800
+ "type": "uint256"
1801
+ },
1802
+ {
1803
+ "internalType": "bytes32",
1804
+ "name": "destination",
1805
+ "type": "bytes32"
1806
+ },
1807
+ {
1808
+ "internalType": "bytes32",
1809
+ "name": "outputAsset",
1810
+ "type": "bytes32"
1811
+ },
1812
+ {
1813
+ "internalType": "uint256",
1814
+ "name": "minReceived",
1815
+ "type": "uint256"
1816
+ },
1817
+ {
1818
+ "internalType": "bytes32",
1819
+ "name": "recipient",
1820
+ "type": "bytes32"
1821
+ },
1822
+ {
1823
+ "internalType": "uint64",
1824
+ "name": "createdAt",
1825
+ "type": "uint64"
1826
+ },
1827
+ {
1828
+ "internalType": "uint64",
1829
+ "name": "fillDeadline",
1830
+ "type": "uint64"
1831
+ },
1832
+ {
1833
+ "internalType": "uint16",
1834
+ "name": "feeBps",
1835
+ "type": "uint16"
1836
+ }
1837
+ ],
1838
+ "internalType": "struct ICancoreRouter.Order",
1839
+ "name": "order",
1840
+ "type": "tuple"
1841
+ },
1842
+ {
1843
+ "components": [
1844
+ {
1845
+ "components": [
1846
+ {
1847
+ "internalType": "address",
1848
+ "name": "token",
1849
+ "type": "address"
1850
+ },
1851
+ {
1852
+ "internalType": "uint256",
1853
+ "name": "amount",
1854
+ "type": "uint256"
1855
+ }
1856
+ ],
1857
+ "internalType": "struct IPermit2.TokenPermissions",
1858
+ "name": "permitted",
1859
+ "type": "tuple"
1860
+ },
1861
+ {
1862
+ "internalType": "uint256",
1863
+ "name": "nonce",
1864
+ "type": "uint256"
1865
+ },
1866
+ {
1867
+ "internalType": "uint256",
1868
+ "name": "deadline",
1869
+ "type": "uint256"
1870
+ }
1871
+ ],
1872
+ "internalType": "struct IPermit2.PermitTransferFrom",
1873
+ "name": "permit",
1874
+ "type": "tuple"
1875
+ },
1876
+ {
1877
+ "internalType": "bytes",
1878
+ "name": "permitSig",
1879
+ "type": "bytes"
1880
+ },
1881
+ {
1882
+ "internalType": "uint64",
1883
+ "name": "quoteDeadline",
1884
+ "type": "uint64"
1885
+ },
1886
+ {
1887
+ "internalType": "bytes",
1888
+ "name": "quoteSig",
1889
+ "type": "bytes"
1890
+ }
1891
+ ],
1892
+ "name": "openFor",
1893
+ "outputs": [],
1894
+ "stateMutability": "nonpayable",
1895
+ "type": "function"
1896
+ },
1897
+ {
1898
+ "inputs": [],
1899
+ "name": "openPaused",
1900
+ "outputs": [
1901
+ {
1902
+ "internalType": "bool",
1903
+ "name": "",
1904
+ "type": "bool"
1905
+ }
1906
+ ],
1907
+ "stateMutability": "view",
1908
+ "type": "function"
1909
+ },
1910
+ {
1911
+ "inputs": [],
1912
+ "name": "owner",
1913
+ "outputs": [
1914
+ {
1915
+ "internalType": "address",
1916
+ "name": "",
1917
+ "type": "address"
1918
+ }
1919
+ ],
1920
+ "stateMutability": "view",
1921
+ "type": "function"
1922
+ },
1923
+ {
1924
+ "inputs": [],
1925
+ "name": "pauseOpen",
1926
+ "outputs": [],
1927
+ "stateMutability": "nonpayable",
1928
+ "type": "function"
1929
+ },
1930
+ {
1931
+ "inputs": [
1932
+ {
1933
+ "internalType": "address",
1934
+ "name": "",
1935
+ "type": "address"
1936
+ }
1937
+ ],
1938
+ "name": "pendingFee",
1939
+ "outputs": [
1940
+ {
1941
+ "internalType": "uint256",
1942
+ "name": "",
1943
+ "type": "uint256"
1944
+ }
1945
+ ],
1946
+ "stateMutability": "view",
1947
+ "type": "function"
1948
+ },
1949
+ {
1950
+ "inputs": [],
1951
+ "name": "pendingOwner",
1952
+ "outputs": [
1953
+ {
1954
+ "internalType": "address",
1955
+ "name": "",
1956
+ "type": "address"
1957
+ }
1958
+ ],
1959
+ "stateMutability": "view",
1960
+ "type": "function"
1961
+ },
1962
+ {
1963
+ "inputs": [],
1964
+ "name": "permit2",
1965
+ "outputs": [
1966
+ {
1967
+ "internalType": "contract IPermit2",
1968
+ "name": "",
1969
+ "type": "address"
1970
+ }
1971
+ ],
1972
+ "stateMutability": "view",
1973
+ "type": "function"
1974
+ },
1975
+ {
1976
+ "inputs": [
1977
+ {
1978
+ "internalType": "bytes32",
1979
+ "name": "",
1980
+ "type": "bytes32"
1981
+ }
1982
+ ],
1983
+ "name": "proofWindow",
1984
+ "outputs": [
1985
+ {
1986
+ "internalType": "uint64",
1987
+ "name": "",
1988
+ "type": "uint64"
1989
+ }
1990
+ ],
1991
+ "stateMutability": "view",
1992
+ "type": "function"
1993
+ },
1994
+ {
1995
+ "inputs": [
1996
+ {
1997
+ "internalType": "address[]",
1998
+ "name": "members",
1999
+ "type": "address[]"
2000
+ },
2001
+ {
2002
+ "internalType": "uint8",
2003
+ "name": "threshold",
2004
+ "type": "uint8"
2005
+ }
2006
+ ],
2007
+ "name": "proposeAttestorSet",
2008
+ "outputs": [],
2009
+ "stateMutability": "nonpayable",
2010
+ "type": "function"
2011
+ },
2012
+ {
2013
+ "inputs": [
2014
+ {
2015
+ "internalType": "address",
2016
+ "name": "",
2017
+ "type": "address"
2018
+ }
2019
+ ],
2020
+ "name": "quoteSigners",
2021
+ "outputs": [
2022
+ {
2023
+ "internalType": "bool",
2024
+ "name": "",
2025
+ "type": "bool"
2026
+ }
2027
+ ],
2028
+ "stateMutability": "view",
2029
+ "type": "function"
2030
+ },
2031
+ {
2032
+ "inputs": [
2033
+ {
2034
+ "components": [
2035
+ {
2036
+ "internalType": "address",
2037
+ "name": "user",
2038
+ "type": "address"
2039
+ },
2040
+ {
2041
+ "internalType": "uint64",
2042
+ "name": "originChainId",
2043
+ "type": "uint64"
2044
+ },
2045
+ {
2046
+ "internalType": "address",
2047
+ "name": "inputToken",
2048
+ "type": "address"
2049
+ },
2050
+ {
2051
+ "internalType": "uint256",
2052
+ "name": "inputAmount",
2053
+ "type": "uint256"
2054
+ },
2055
+ {
2056
+ "internalType": "bytes32",
2057
+ "name": "destination",
2058
+ "type": "bytes32"
2059
+ },
2060
+ {
2061
+ "internalType": "bytes32",
2062
+ "name": "outputAsset",
2063
+ "type": "bytes32"
2064
+ },
2065
+ {
2066
+ "internalType": "uint256",
2067
+ "name": "minReceived",
2068
+ "type": "uint256"
2069
+ },
2070
+ {
2071
+ "internalType": "bytes32",
2072
+ "name": "recipient",
2073
+ "type": "bytes32"
2074
+ },
2075
+ {
2076
+ "internalType": "uint64",
2077
+ "name": "createdAt",
2078
+ "type": "uint64"
2079
+ },
2080
+ {
2081
+ "internalType": "uint64",
2082
+ "name": "fillDeadline",
2083
+ "type": "uint64"
2084
+ },
2085
+ {
2086
+ "internalType": "uint16",
2087
+ "name": "feeBps",
2088
+ "type": "uint16"
2089
+ }
2090
+ ],
2091
+ "internalType": "struct ICancoreRouter.Order",
2092
+ "name": "order",
2093
+ "type": "tuple"
2094
+ }
2095
+ ],
2096
+ "name": "refund",
2097
+ "outputs": [],
2098
+ "stateMutability": "nonpayable",
2099
+ "type": "function"
2100
+ },
2101
+ {
2102
+ "inputs": [],
2103
+ "name": "renounceOwnership",
2104
+ "outputs": [],
2105
+ "stateMutability": "view",
2106
+ "type": "function"
2107
+ },
2108
+ {
2109
+ "inputs": [
2110
+ {
2111
+ "internalType": "address",
2112
+ "name": "attestor",
2113
+ "type": "address"
2114
+ }
2115
+ ],
2116
+ "name": "revokeAttestor",
2117
+ "outputs": [],
2118
+ "stateMutability": "nonpayable",
2119
+ "type": "function"
2120
+ },
2121
+ {
2122
+ "inputs": [
2123
+ {
2124
+ "internalType": "address",
2125
+ "name": "signer",
2126
+ "type": "address"
2127
+ }
2128
+ ],
2129
+ "name": "revokeQuoteSigner",
2130
+ "outputs": [],
2131
+ "stateMutability": "nonpayable",
2132
+ "type": "function"
2133
+ },
2134
+ {
2135
+ "inputs": [
2136
+ {
2137
+ "internalType": "address",
2138
+ "name": "signer",
2139
+ "type": "address"
2140
+ }
2141
+ ],
2142
+ "name": "revokeTicketSigner",
2143
+ "outputs": [],
2144
+ "stateMutability": "nonpayable",
2145
+ "type": "function"
2146
+ },
2147
+ {
2148
+ "inputs": [
2149
+ {
2150
+ "internalType": "address",
2151
+ "name": "",
2152
+ "type": "address"
2153
+ }
2154
+ ],
2155
+ "name": "revokedAttestors",
2156
+ "outputs": [
2157
+ {
2158
+ "internalType": "bool",
2159
+ "name": "",
2160
+ "type": "bool"
2161
+ }
2162
+ ],
2163
+ "stateMutability": "view",
2164
+ "type": "function"
2165
+ },
2166
+ {
2167
+ "inputs": [
2168
+ {
2169
+ "internalType": "address",
2170
+ "name": "feeRecipient_",
2171
+ "type": "address"
2172
+ }
2173
+ ],
2174
+ "name": "setFeeRecipient",
2175
+ "outputs": [],
2176
+ "stateMutability": "nonpayable",
2177
+ "type": "function"
2178
+ },
2179
+ {
2180
+ "inputs": [
2181
+ {
2182
+ "internalType": "address",
2183
+ "name": "filler",
2184
+ "type": "address"
2185
+ },
2186
+ {
2187
+ "internalType": "bool",
2188
+ "name": "allowed",
2189
+ "type": "bool"
2190
+ }
2191
+ ],
2192
+ "name": "setFiller",
2193
+ "outputs": [],
2194
+ "stateMutability": "nonpayable",
2195
+ "type": "function"
2196
+ },
2197
+ {
2198
+ "inputs": [
2199
+ {
2200
+ "internalType": "address",
2201
+ "name": "token",
2202
+ "type": "address"
2203
+ },
2204
+ {
2205
+ "internalType": "uint256",
2206
+ "name": "amount",
2207
+ "type": "uint256"
2208
+ }
2209
+ ],
2210
+ "name": "setMinInput",
2211
+ "outputs": [],
2212
+ "stateMutability": "nonpayable",
2213
+ "type": "function"
2214
+ },
2215
+ {
2216
+ "inputs": [
2217
+ {
2218
+ "internalType": "bytes32",
2219
+ "name": "destination",
2220
+ "type": "bytes32"
2221
+ },
2222
+ {
2223
+ "internalType": "uint64",
2224
+ "name": "window",
2225
+ "type": "uint64"
2226
+ },
2227
+ {
2228
+ "internalType": "bool",
2229
+ "name": "isEvm",
2230
+ "type": "bool"
2231
+ }
2232
+ ],
2233
+ "name": "setProofWindow",
2234
+ "outputs": [],
2235
+ "stateMutability": "nonpayable",
2236
+ "type": "function"
2237
+ },
2238
+ {
2239
+ "inputs": [
2240
+ {
2241
+ "internalType": "uint64",
2242
+ "name": "originChainId",
2243
+ "type": "uint64"
2244
+ },
2245
+ {
2246
+ "internalType": "address",
2247
+ "name": "router",
2248
+ "type": "address"
2249
+ }
2250
+ ],
2251
+ "name": "setSourceRouter",
2252
+ "outputs": [],
2253
+ "stateMutability": "nonpayable",
2254
+ "type": "function"
2255
+ },
2256
+ {
2257
+ "inputs": [
2258
+ {
2259
+ "components": [
2260
+ {
2261
+ "internalType": "address",
2262
+ "name": "user",
2263
+ "type": "address"
2264
+ },
2265
+ {
2266
+ "internalType": "uint64",
2267
+ "name": "originChainId",
2268
+ "type": "uint64"
2269
+ },
2270
+ {
2271
+ "internalType": "address",
2272
+ "name": "inputToken",
2273
+ "type": "address"
2274
+ },
2275
+ {
2276
+ "internalType": "uint256",
2277
+ "name": "inputAmount",
2278
+ "type": "uint256"
2279
+ },
2280
+ {
2281
+ "internalType": "bytes32",
2282
+ "name": "destination",
2283
+ "type": "bytes32"
2284
+ },
2285
+ {
2286
+ "internalType": "bytes32",
2287
+ "name": "outputAsset",
2288
+ "type": "bytes32"
2289
+ },
2290
+ {
2291
+ "internalType": "uint256",
2292
+ "name": "minReceived",
2293
+ "type": "uint256"
2294
+ },
2295
+ {
2296
+ "internalType": "bytes32",
2297
+ "name": "recipient",
2298
+ "type": "bytes32"
2299
+ },
2300
+ {
2301
+ "internalType": "uint64",
2302
+ "name": "createdAt",
2303
+ "type": "uint64"
2304
+ },
2305
+ {
2306
+ "internalType": "uint64",
2307
+ "name": "fillDeadline",
2308
+ "type": "uint64"
2309
+ },
2310
+ {
2311
+ "internalType": "uint16",
2312
+ "name": "feeBps",
2313
+ "type": "uint16"
2314
+ }
2315
+ ],
2316
+ "internalType": "struct ICancoreRouter.Order",
2317
+ "name": "order",
2318
+ "type": "tuple"
2319
+ },
2320
+ {
2321
+ "components": [
2322
+ {
2323
+ "internalType": "uint8",
2324
+ "name": "kind",
2325
+ "type": "uint8"
2326
+ },
2327
+ {
2328
+ "internalType": "bytes32",
2329
+ "name": "orderHash",
2330
+ "type": "bytes32"
2331
+ },
2332
+ {
2333
+ "internalType": "bytes32",
2334
+ "name": "destination",
2335
+ "type": "bytes32"
2336
+ },
2337
+ {
2338
+ "internalType": "bytes32",
2339
+ "name": "fillRef",
2340
+ "type": "bytes32"
2341
+ },
2342
+ {
2343
+ "internalType": "bytes32",
2344
+ "name": "recipient",
2345
+ "type": "bytes32"
2346
+ },
2347
+ {
2348
+ "internalType": "bytes32",
2349
+ "name": "outputAsset",
2350
+ "type": "bytes32"
2351
+ },
2352
+ {
2353
+ "internalType": "uint256",
2354
+ "name": "amountDelivered",
2355
+ "type": "uint256"
2356
+ },
2357
+ {
2358
+ "internalType": "uint64",
2359
+ "name": "filledAt",
2360
+ "type": "uint64"
2361
+ },
2362
+ {
2363
+ "internalType": "address",
2364
+ "name": "filler",
2365
+ "type": "address"
2366
+ },
2367
+ {
2368
+ "internalType": "uint32",
2369
+ "name": "attempt",
2370
+ "type": "uint32"
2371
+ },
2372
+ {
2373
+ "internalType": "uint32",
2374
+ "name": "setId",
2375
+ "type": "uint32"
2376
+ }
2377
+ ],
2378
+ "internalType": "struct ICancoreRouter.FillProof",
2379
+ "name": "proof",
2380
+ "type": "tuple"
2381
+ },
2382
+ {
2383
+ "internalType": "bytes[]",
2384
+ "name": "sigs",
2385
+ "type": "bytes[]"
2386
+ }
2387
+ ],
2388
+ "name": "settle",
2389
+ "outputs": [],
2390
+ "stateMutability": "nonpayable",
2391
+ "type": "function"
2392
+ },
2393
+ {
2394
+ "inputs": [
2395
+ {
2396
+ "components": [
2397
+ {
2398
+ "internalType": "address",
2399
+ "name": "user",
2400
+ "type": "address"
2401
+ },
2402
+ {
2403
+ "internalType": "uint64",
2404
+ "name": "originChainId",
2405
+ "type": "uint64"
2406
+ },
2407
+ {
2408
+ "internalType": "address",
2409
+ "name": "inputToken",
2410
+ "type": "address"
2411
+ },
2412
+ {
2413
+ "internalType": "uint256",
2414
+ "name": "inputAmount",
2415
+ "type": "uint256"
2416
+ },
2417
+ {
2418
+ "internalType": "bytes32",
2419
+ "name": "destination",
2420
+ "type": "bytes32"
2421
+ },
2422
+ {
2423
+ "internalType": "bytes32",
2424
+ "name": "outputAsset",
2425
+ "type": "bytes32"
2426
+ },
2427
+ {
2428
+ "internalType": "uint256",
2429
+ "name": "minReceived",
2430
+ "type": "uint256"
2431
+ },
2432
+ {
2433
+ "internalType": "bytes32",
2434
+ "name": "recipient",
2435
+ "type": "bytes32"
2436
+ },
2437
+ {
2438
+ "internalType": "uint64",
2439
+ "name": "createdAt",
2440
+ "type": "uint64"
2441
+ },
2442
+ {
2443
+ "internalType": "uint64",
2444
+ "name": "fillDeadline",
2445
+ "type": "uint64"
2446
+ },
2447
+ {
2448
+ "internalType": "uint16",
2449
+ "name": "feeBps",
2450
+ "type": "uint16"
2451
+ }
2452
+ ],
2453
+ "internalType": "struct ICancoreRouter.Order",
2454
+ "name": "order",
2455
+ "type": "tuple"
2456
+ }
2457
+ ],
2458
+ "name": "sourceOrderHash",
2459
+ "outputs": [
2460
+ {
2461
+ "internalType": "bytes32",
2462
+ "name": "",
2463
+ "type": "bytes32"
2464
+ }
2465
+ ],
2466
+ "stateMutability": "view",
2467
+ "type": "function"
2468
+ },
2469
+ {
2470
+ "inputs": [
2471
+ {
2472
+ "internalType": "uint64",
2473
+ "name": "",
2474
+ "type": "uint64"
2475
+ }
2476
+ ],
2477
+ "name": "sourceRouter",
2478
+ "outputs": [
2479
+ {
2480
+ "internalType": "address",
2481
+ "name": "",
2482
+ "type": "address"
2483
+ }
2484
+ ],
2485
+ "stateMutability": "view",
2486
+ "type": "function"
2487
+ },
2488
+ {
2489
+ "inputs": [
2490
+ {
2491
+ "internalType": "address",
2492
+ "name": "token",
2493
+ "type": "address"
2494
+ }
2495
+ ],
2496
+ "name": "sweepFees",
2497
+ "outputs": [],
2498
+ "stateMutability": "nonpayable",
2499
+ "type": "function"
2500
+ },
2501
+ {
2502
+ "inputs": [
2503
+ {
2504
+ "internalType": "address",
2505
+ "name": "",
2506
+ "type": "address"
2507
+ }
2508
+ ],
2509
+ "name": "ticketSigners",
2510
+ "outputs": [
2511
+ {
2512
+ "internalType": "bool",
2513
+ "name": "",
2514
+ "type": "bool"
2515
+ }
2516
+ ],
2517
+ "stateMutability": "view",
2518
+ "type": "function"
2519
+ },
2520
+ {
2521
+ "inputs": [
2522
+ {
2523
+ "internalType": "address",
2524
+ "name": "newOwner",
2525
+ "type": "address"
2526
+ }
2527
+ ],
2528
+ "name": "transferOwnership",
2529
+ "outputs": [],
2530
+ "stateMutability": "nonpayable",
2531
+ "type": "function"
2532
+ },
2533
+ {
2534
+ "inputs": [],
2535
+ "name": "unpauseOpen",
2536
+ "outputs": [],
2537
+ "stateMutability": "nonpayable",
2538
+ "type": "function"
2539
+ },
2540
+ {
2541
+ "inputs": [
2542
+ {
2543
+ "internalType": "address",
2544
+ "name": "filler",
2545
+ "type": "address"
2546
+ },
2547
+ {
2548
+ "internalType": "uint64",
2549
+ "name": "at",
2550
+ "type": "uint64"
2551
+ }
2552
+ ],
2553
+ "name": "wasFillerActiveAt",
2554
+ "outputs": [
2555
+ {
2556
+ "internalType": "bool",
2557
+ "name": "",
2558
+ "type": "bool"
2559
+ }
2560
+ ],
2561
+ "stateMutability": "view",
2562
+ "type": "function"
2563
+ }
2564
+ ]