@cancore/contracts 0.2.0-rc.6 → 0.2.0-rc.7

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.
@@ -2312,11 +2312,6 @@ var CANCORE_ROUTER_ABI = [
2312
2312
  "internalType": "uint8",
2313
2313
  "name": "minThreshold",
2314
2314
  "type": "uint8"
2315
- },
2316
- {
2317
- "internalType": "address[]",
2318
- "name": "initialFillers",
2319
- "type": "address[]"
2320
2315
  }
2321
2316
  ],
2322
2317
  "stateMutability": "nonpayable",
@@ -2414,11 +2409,6 @@ var CANCORE_ROUTER_ABI = [
2414
2409
  "name": "FilledBeforeOpen",
2415
2410
  "type": "error"
2416
2411
  },
2417
- {
2418
- "inputs": [],
2419
- "name": "FillerRemovedForever",
2420
- "type": "error"
2421
- },
2422
2412
  {
2423
2413
  "inputs": [],
2424
2414
  "name": "InsufficientRedundancy",
@@ -2484,11 +2474,6 @@ var CANCORE_ROUTER_ABI = [
2484
2474
  "name": "NotAttestor",
2485
2475
  "type": "error"
2486
2476
  },
2487
- {
2488
- "inputs": [],
2489
- "name": "NotFiller",
2490
- "type": "error"
2491
- },
2492
2477
  {
2493
2478
  "inputs": [],
2494
2479
  "name": "NothingToSweep",
@@ -2660,17 +2645,17 @@ var CANCORE_ROUTER_ABI = [
2660
2645
  },
2661
2646
  {
2662
2647
  "inputs": [],
2663
- "name": "WrongDestination",
2648
+ "name": "WrongDeliveryKey",
2664
2649
  "type": "error"
2665
2650
  },
2666
2651
  {
2667
2652
  "inputs": [],
2668
- "name": "WrongOriginChain",
2653
+ "name": "WrongDestination",
2669
2654
  "type": "error"
2670
2655
  },
2671
2656
  {
2672
2657
  "inputs": [],
2673
- "name": "WrongTicketFiller",
2658
+ "name": "WrongOriginChain",
2674
2659
  "type": "error"
2675
2660
  },
2676
2661
  {
@@ -2819,14 +2804,26 @@ var CANCORE_ROUTER_ABI = [
2819
2804
  },
2820
2805
  {
2821
2806
  "indexed": true,
2807
+ "internalType": "bytes32",
2808
+ "name": "fillerId",
2809
+ "type": "bytes32"
2810
+ },
2811
+ {
2812
+ "indexed": false,
2822
2813
  "internalType": "address",
2823
- "name": "filler",
2814
+ "name": "deliveryKey",
2824
2815
  "type": "address"
2825
2816
  },
2817
+ {
2818
+ "indexed": false,
2819
+ "internalType": "bytes32",
2820
+ "name": "repayTo",
2821
+ "type": "bytes32"
2822
+ },
2826
2823
  {
2827
2824
  "indexed": false,
2828
2825
  "internalType": "uint256",
2829
- "name": "amount",
2826
+ "name": "received",
2830
2827
  "type": "uint256"
2831
2828
  },
2832
2829
  {
@@ -2851,31 +2848,6 @@ var CANCORE_ROUTER_ABI = [
2851
2848
  "name": "Filled",
2852
2849
  "type": "event"
2853
2850
  },
2854
- {
2855
- "anonymous": false,
2856
- "inputs": [
2857
- {
2858
- "indexed": true,
2859
- "internalType": "address",
2860
- "name": "filler",
2861
- "type": "address"
2862
- },
2863
- {
2864
- "indexed": false,
2865
- "internalType": "bool",
2866
- "name": "allowed",
2867
- "type": "bool"
2868
- },
2869
- {
2870
- "indexed": false,
2871
- "internalType": "uint64",
2872
- "name": "effectiveAt",
2873
- "type": "uint64"
2874
- }
2875
- ],
2876
- "name": "FillerSet",
2877
- "type": "event"
2878
- },
2879
2851
  {
2880
2852
  "anonymous": false,
2881
2853
  "inputs": [
@@ -3114,9 +3086,15 @@ var CANCORE_ROUTER_ABI = [
3114
3086
  },
3115
3087
  {
3116
3088
  "indexed": true,
3117
- "internalType": "address",
3118
- "name": "filler",
3119
- "type": "address"
3089
+ "internalType": "bytes32",
3090
+ "name": "fillerId",
3091
+ "type": "bytes32"
3092
+ },
3093
+ {
3094
+ "indexed": false,
3095
+ "internalType": "bytes32",
3096
+ "name": "repayTo",
3097
+ "type": "bytes32"
3120
3098
  },
3121
3099
  {
3122
3100
  "indexed": false,
@@ -3584,11 +3562,21 @@ var CANCORE_ROUTER_ABI = [
3584
3562
  "name": "orderHash",
3585
3563
  "type": "bytes32"
3586
3564
  },
3565
+ {
3566
+ "internalType": "bytes32",
3567
+ "name": "fillerId",
3568
+ "type": "bytes32"
3569
+ },
3587
3570
  {
3588
3571
  "internalType": "address",
3589
- "name": "filler",
3572
+ "name": "deliveryKey",
3590
3573
  "type": "address"
3591
3574
  },
3575
+ {
3576
+ "internalType": "bytes32",
3577
+ "name": "repayTo",
3578
+ "type": "bytes32"
3579
+ },
3592
3580
  {
3593
3581
  "internalType": "uint32",
3594
3582
  "name": "attempt",
@@ -3639,44 +3627,6 @@ var CANCORE_ROUTER_ABI = [
3639
3627
  "stateMutability": "view",
3640
3628
  "type": "function"
3641
3629
  },
3642
- {
3643
- "inputs": [
3644
- {
3645
- "internalType": "address",
3646
- "name": "",
3647
- "type": "address"
3648
- }
3649
- ],
3650
- "name": "fillerActiveFrom",
3651
- "outputs": [
3652
- {
3653
- "internalType": "uint64",
3654
- "name": "",
3655
- "type": "uint64"
3656
- }
3657
- ],
3658
- "stateMutability": "view",
3659
- "type": "function"
3660
- },
3661
- {
3662
- "inputs": [
3663
- {
3664
- "internalType": "address",
3665
- "name": "",
3666
- "type": "address"
3667
- }
3668
- ],
3669
- "name": "fillerRemovedAt",
3670
- "outputs": [
3671
- {
3672
- "internalType": "uint64",
3673
- "name": "",
3674
- "type": "uint64"
3675
- }
3676
- ],
3677
- "stateMutability": "view",
3678
- "type": "function"
3679
- },
3680
3630
  {
3681
3631
  "inputs": [
3682
3632
  {
@@ -3756,9 +3706,14 @@ var CANCORE_ROUTER_ABI = [
3756
3706
  "type": "uint64"
3757
3707
  },
3758
3708
  {
3759
- "internalType": "address",
3760
- "name": "filler",
3761
- "type": "address"
3709
+ "internalType": "bytes32",
3710
+ "name": "fillerId",
3711
+ "type": "bytes32"
3712
+ },
3713
+ {
3714
+ "internalType": "bytes32",
3715
+ "name": "repayTo",
3716
+ "type": "bytes32"
3762
3717
  },
3763
3718
  {
3764
3719
  "internalType": "uint32",
@@ -3896,11 +3851,21 @@ var CANCORE_ROUTER_ABI = [
3896
3851
  "name": "orderHash",
3897
3852
  "type": "bytes32"
3898
3853
  },
3854
+ {
3855
+ "internalType": "bytes32",
3856
+ "name": "fillerId",
3857
+ "type": "bytes32"
3858
+ },
3899
3859
  {
3900
3860
  "internalType": "address",
3901
- "name": "filler",
3861
+ "name": "deliveryKey",
3902
3862
  "type": "address"
3903
3863
  },
3864
+ {
3865
+ "internalType": "bytes32",
3866
+ "name": "repayTo",
3867
+ "type": "bytes32"
3868
+ },
3904
3869
  {
3905
3870
  "internalType": "uint32",
3906
3871
  "name": "attempt",
@@ -3981,25 +3946,6 @@ var CANCORE_ROUTER_ABI = [
3981
3946
  "stateMutability": "view",
3982
3947
  "type": "function"
3983
3948
  },
3984
- {
3985
- "inputs": [
3986
- {
3987
- "internalType": "address",
3988
- "name": "filler",
3989
- "type": "address"
3990
- }
3991
- ],
3992
- "name": "isFillerActive",
3993
- "outputs": [
3994
- {
3995
- "internalType": "bool",
3996
- "name": "",
3997
- "type": "bool"
3998
- }
3999
- ],
4000
- "stateMutability": "view",
4001
- "type": "function"
4002
- },
4003
3949
  {
4004
3950
  "inputs": [
4005
3951
  {
@@ -4463,24 +4409,6 @@ var CANCORE_ROUTER_ABI = [
4463
4409
  "stateMutability": "nonpayable",
4464
4410
  "type": "function"
4465
4411
  },
4466
- {
4467
- "inputs": [
4468
- {
4469
- "internalType": "address",
4470
- "name": "filler",
4471
- "type": "address"
4472
- },
4473
- {
4474
- "internalType": "bool",
4475
- "name": "allowed",
4476
- "type": "bool"
4477
- }
4478
- ],
4479
- "name": "setFiller",
4480
- "outputs": [],
4481
- "stateMutability": "nonpayable",
4482
- "type": "function"
4483
- },
4484
4412
  {
4485
4413
  "inputs": [
4486
4414
  {
@@ -4647,9 +4575,14 @@ var CANCORE_ROUTER_ABI = [
4647
4575
  "type": "uint64"
4648
4576
  },
4649
4577
  {
4650
- "internalType": "address",
4651
- "name": "filler",
4652
- "type": "address"
4578
+ "internalType": "bytes32",
4579
+ "name": "fillerId",
4580
+ "type": "bytes32"
4581
+ },
4582
+ {
4583
+ "internalType": "bytes32",
4584
+ "name": "repayTo",
4585
+ "type": "bytes32"
4653
4586
  },
4654
4587
  {
4655
4588
  "internalType": "uint32",
@@ -4823,30 +4756,6 @@ var CANCORE_ROUTER_ABI = [
4823
4756
  "outputs": [],
4824
4757
  "stateMutability": "nonpayable",
4825
4758
  "type": "function"
4826
- },
4827
- {
4828
- "inputs": [
4829
- {
4830
- "internalType": "address",
4831
- "name": "filler",
4832
- "type": "address"
4833
- },
4834
- {
4835
- "internalType": "uint64",
4836
- "name": "at",
4837
- "type": "uint64"
4838
- }
4839
- ],
4840
- "name": "wasFillerActiveAt",
4841
- "outputs": [
4842
- {
4843
- "internalType": "bool",
4844
- "name": "",
4845
- "type": "bool"
4846
- }
4847
- ],
4848
- "stateMutability": "view",
4849
- "type": "function"
4850
4759
  }
4851
4760
  ];
4852
4761
 
@@ -6481,11 +6390,6 @@ var ICANCORE_ROUTER_ABI = [
6481
6390
  "name": "FilledBeforeOpen",
6482
6391
  "type": "error"
6483
6392
  },
6484
- {
6485
- "inputs": [],
6486
- "name": "FillerRemovedForever",
6487
- "type": "error"
6488
- },
6489
6393
  {
6490
6394
  "inputs": [],
6491
6395
  "name": "IntentExists",
@@ -6521,11 +6425,6 @@ var ICANCORE_ROUTER_ABI = [
6521
6425
  "name": "InvalidTicketSigner",
6522
6426
  "type": "error"
6523
6427
  },
6524
- {
6525
- "inputs": [],
6526
- "name": "NotFiller",
6527
- "type": "error"
6528
- },
6529
6428
  {
6530
6429
  "inputs": [],
6531
6430
  "name": "NothingToSweep",
@@ -6628,17 +6527,17 @@ var ICANCORE_ROUTER_ABI = [
6628
6527
  },
6629
6528
  {
6630
6529
  "inputs": [],
6631
- "name": "WrongDestination",
6530
+ "name": "WrongDeliveryKey",
6632
6531
  "type": "error"
6633
6532
  },
6634
6533
  {
6635
6534
  "inputs": [],
6636
- "name": "WrongOriginChain",
6535
+ "name": "WrongDestination",
6637
6536
  "type": "error"
6638
6537
  },
6639
6538
  {
6640
6539
  "inputs": [],
6641
- "name": "WrongTicketFiller",
6540
+ "name": "WrongOriginChain",
6642
6541
  "type": "error"
6643
6542
  },
6644
6543
  {
@@ -6692,14 +6591,26 @@ var ICANCORE_ROUTER_ABI = [
6692
6591
  },
6693
6592
  {
6694
6593
  "indexed": true,
6594
+ "internalType": "bytes32",
6595
+ "name": "fillerId",
6596
+ "type": "bytes32"
6597
+ },
6598
+ {
6599
+ "indexed": false,
6695
6600
  "internalType": "address",
6696
- "name": "filler",
6601
+ "name": "deliveryKey",
6697
6602
  "type": "address"
6698
6603
  },
6604
+ {
6605
+ "indexed": false,
6606
+ "internalType": "bytes32",
6607
+ "name": "repayTo",
6608
+ "type": "bytes32"
6609
+ },
6699
6610
  {
6700
6611
  "indexed": false,
6701
6612
  "internalType": "uint256",
6702
- "name": "amount",
6613
+ "name": "received",
6703
6614
  "type": "uint256"
6704
6615
  },
6705
6616
  {
@@ -6848,9 +6759,15 @@ var ICANCORE_ROUTER_ABI = [
6848
6759
  },
6849
6760
  {
6850
6761
  "indexed": true,
6851
- "internalType": "address",
6852
- "name": "filler",
6853
- "type": "address"
6762
+ "internalType": "bytes32",
6763
+ "name": "fillerId",
6764
+ "type": "bytes32"
6765
+ },
6766
+ {
6767
+ "indexed": false,
6768
+ "internalType": "bytes32",
6769
+ "name": "repayTo",
6770
+ "type": "bytes32"
6854
6771
  },
6855
6772
  {
6856
6773
  "indexed": false,
@@ -6963,11 +6880,21 @@ var ICANCORE_ROUTER_ABI = [
6963
6880
  "name": "orderHash",
6964
6881
  "type": "bytes32"
6965
6882
  },
6883
+ {
6884
+ "internalType": "bytes32",
6885
+ "name": "fillerId",
6886
+ "type": "bytes32"
6887
+ },
6966
6888
  {
6967
6889
  "internalType": "address",
6968
- "name": "filler",
6890
+ "name": "deliveryKey",
6969
6891
  "type": "address"
6970
6892
  },
6893
+ {
6894
+ "internalType": "bytes32",
6895
+ "name": "repayTo",
6896
+ "type": "bytes32"
6897
+ },
6971
6898
  {
6972
6899
  "internalType": "uint32",
6973
6900
  "name": "attempt",
@@ -7044,9 +6971,14 @@ var ICANCORE_ROUTER_ABI = [
7044
6971
  "type": "uint64"
7045
6972
  },
7046
6973
  {
7047
- "internalType": "address",
7048
- "name": "filler",
7049
- "type": "address"
6974
+ "internalType": "bytes32",
6975
+ "name": "fillerId",
6976
+ "type": "bytes32"
6977
+ },
6978
+ {
6979
+ "internalType": "bytes32",
6980
+ "name": "repayTo",
6981
+ "type": "bytes32"
7050
6982
  },
7051
6983
  {
7052
6984
  "internalType": "uint32",
@@ -7160,11 +7092,21 @@ var ICANCORE_ROUTER_ABI = [
7160
7092
  "name": "orderHash",
7161
7093
  "type": "bytes32"
7162
7094
  },
7095
+ {
7096
+ "internalType": "bytes32",
7097
+ "name": "fillerId",
7098
+ "type": "bytes32"
7099
+ },
7163
7100
  {
7164
7101
  "internalType": "address",
7165
- "name": "filler",
7102
+ "name": "deliveryKey",
7166
7103
  "type": "address"
7167
7104
  },
7105
+ {
7106
+ "internalType": "bytes32",
7107
+ "name": "repayTo",
7108
+ "type": "bytes32"
7109
+ },
7168
7110
  {
7169
7111
  "internalType": "uint32",
7170
7112
  "name": "attempt",
@@ -7197,25 +7139,6 @@ var ICANCORE_ROUTER_ABI = [
7197
7139
  "stateMutability": "view",
7198
7140
  "type": "function"
7199
7141
  },
7200
- {
7201
- "inputs": [
7202
- {
7203
- "internalType": "address",
7204
- "name": "filler",
7205
- "type": "address"
7206
- }
7207
- ],
7208
- "name": "isFillerActive",
7209
- "outputs": [
7210
- {
7211
- "internalType": "bool",
7212
- "name": "",
7213
- "type": "bool"
7214
- }
7215
- ],
7216
- "stateMutability": "view",
7217
- "type": "function"
7218
- },
7219
7142
  {
7220
7143
  "inputs": [
7221
7144
  {
@@ -7512,9 +7435,14 @@ var ICANCORE_ROUTER_ABI = [
7512
7435
  "type": "uint64"
7513
7436
  },
7514
7437
  {
7515
- "internalType": "address",
7516
- "name": "filler",
7517
- "type": "address"
7438
+ "internalType": "bytes32",
7439
+ "name": "fillerId",
7440
+ "type": "bytes32"
7441
+ },
7442
+ {
7443
+ "internalType": "bytes32",
7444
+ "name": "repayTo",
7445
+ "type": "bytes32"
7518
7446
  },
7519
7447
  {
7520
7448
  "internalType": "uint32",
@@ -7630,30 +7558,6 @@ var ICANCORE_ROUTER_ABI = [
7630
7558
  "outputs": [],
7631
7559
  "stateMutability": "nonpayable",
7632
7560
  "type": "function"
7633
- },
7634
- {
7635
- "inputs": [
7636
- {
7637
- "internalType": "address",
7638
- "name": "filler",
7639
- "type": "address"
7640
- },
7641
- {
7642
- "internalType": "uint64",
7643
- "name": "at",
7644
- "type": "uint64"
7645
- }
7646
- ],
7647
- "name": "wasFillerActiveAt",
7648
- "outputs": [
7649
- {
7650
- "internalType": "bool",
7651
- "name": "",
7652
- "type": "bool"
7653
- }
7654
- ],
7655
- "stateMutability": "view",
7656
- "type": "function"
7657
7561
  }
7658
7562
  ];
7659
7563
 
@@ -9097,7 +9001,6 @@ var CANCORE_ROUTER_ERRORS = {
9097
9001
  "0x12cd4bc0": "FillDeadlineTooSoon()",
9098
9002
  "0x38d5fe4c": "FilledAfterDeadline()",
9099
9003
  "0xb5c7b5e7": "FilledBeforeOpen()",
9100
- "0xf8b9a7db": "FillerRemovedForever()",
9101
9004
  "0x1a235029": "InsufficientRedundancy()",
9102
9005
  "0x6e49c686": "InsufficientSignatures()",
9103
9006
  "0xebb0e680": "IntentExists()",
@@ -9111,7 +9014,6 @@ var CANCORE_ROUTER_ERRORS = {
9111
9014
  "0x1773e24d": "InvalidTicketSigner()",
9112
9015
  "0xb1713b6a": "NoPendingProposal()",
9113
9016
  "0xdde328f8": "NotAttestor()",
9114
- "0x125e9743": "NotFiller()",
9115
9017
  "0x351261fc": "NothingToSweep()",
9116
9018
  "0x9de2feb0": "OpenPaused()",
9117
9019
  "0x35c3583a": "OrderCreatedInFuture()",
@@ -9141,9 +9043,9 @@ var CANCORE_ROUTER_ERRORS = {
9141
9043
  "0xd77977e2": "UnsortedMembers()",
9142
9044
  "0xd02ef0e5": "UnsortedSigners()",
9143
9045
  "0x51f56cb5": "UnsupportedProofKind()",
9046
+ "0x560bbb84": "WrongDeliveryKey()",
9144
9047
  "0xef94f60c": "WrongDestination()",
9145
9048
  "0xfee255be": "WrongOriginChain()",
9146
- "0x9132d7ed": "WrongTicketFiller()",
9147
9049
  "0xd92e233d": "ZeroAddress()",
9148
9050
  "0xc3b08f54": "ZeroFillRef()",
9149
9051
  "0xa443558f": "ZeroMinReceived()"
@@ -9189,7 +9091,6 @@ var ICANCORE_ROUTER_ERRORS = {
9189
9091
  "0x12cd4bc0": "FillDeadlineTooSoon()",
9190
9092
  "0x38d5fe4c": "FilledAfterDeadline()",
9191
9093
  "0xb5c7b5e7": "FilledBeforeOpen()",
9192
- "0xf8b9a7db": "FillerRemovedForever()",
9193
9094
  "0xebb0e680": "IntentExists()",
9194
9095
  "0x1ed17e7a": "IntentNotOpen()",
9195
9096
  "0xf7d2b34a": "InvalidBytes32Address()",
@@ -9197,7 +9098,6 @@ var ICANCORE_ROUTER_ERRORS = {
9197
9098
  "0x768dc598": "InvalidFeeRecipient()",
9198
9099
  "0x89fb51b5": "InvalidQuoteSigner()",
9199
9100
  "0x1773e24d": "InvalidTicketSigner()",
9200
- "0x125e9743": "NotFiller()",
9201
9101
  "0x351261fc": "NothingToSweep()",
9202
9102
  "0x9de2feb0": "OpenPaused()",
9203
9103
  "0x35c3583a": "OrderCreatedInFuture()",
@@ -9218,9 +9118,9 @@ var ICANCORE_ROUTER_ERRORS = {
9218
9118
  "0xa29c4986": "TokenNotAllowed()",
9219
9119
  "0x90b8ec18": "TransferFailed()",
9220
9120
  "0x51f56cb5": "UnsupportedProofKind()",
9121
+ "0x560bbb84": "WrongDeliveryKey()",
9221
9122
  "0xef94f60c": "WrongDestination()",
9222
9123
  "0xfee255be": "WrongOriginChain()",
9223
- "0x9132d7ed": "WrongTicketFiller()",
9224
9124
  "0xd92e233d": "ZeroAddress()",
9225
9125
  "0xc3b08f54": "ZeroFillRef()",
9226
9126
  "0xa443558f": "ZeroMinReceived()"
@@ -9248,5 +9148,5 @@ var POINTS_CLAIM_ERRORS = {
9248
9148
  };
9249
9149
 
9250
9150
  export { ATTESTOR_SET_ABI, ATTESTOR_SET_ERRORS, CANCORE_ROUTER_ABI, CANCORE_ROUTER_ERRORS, CNRX_ABI, CNRX_ERRORS, CNRX_STAKING_ABI, CNRX_STAKING_ERRORS, FEE_VAULT_ABI, FEE_VAULT_ERRORS, HTLC_ABI, HTLC_ERRORS, IBURN_MINT_ERC20_ABI, ICANCORE_ROUTER_ABI, ICANCORE_ROUTER_ERRORS, IHTLC_ABI, IPERMIT2_ABI, MULTI_BALANCE_CHECKER_ABI, POINTS_CLAIM_ABI, POINTS_CLAIM_ERRORS };
9251
- //# sourceMappingURL=chunk-NV5IUURP.js.map
9252
- //# sourceMappingURL=chunk-NV5IUURP.js.map
9151
+ //# sourceMappingURL=chunk-GJPX4H5K.js.map
9152
+ //# sourceMappingURL=chunk-GJPX4H5K.js.map