@merkl/api 1.11.33 → 1.11.34

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.
@@ -185,6 +185,12 @@ export declare abstract class TransactionService {
185
185
  } | {
186
186
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
187
187
  strings: string[];
188
+ } | {
189
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
190
+ computeChainId: number;
191
+ bytesLike: string[];
192
+ amount: string;
193
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
188
194
  } | {
189
195
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
190
196
  WorldIDAddressBook: string;
@@ -304,6 +310,11 @@ export declare abstract class TransactionService {
304
310
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
305
311
  } | {
306
312
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
313
+ } | {
314
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
315
+ computeSettings: {
316
+ threshold: string;
317
+ };
307
318
  } | {
308
319
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
309
320
  computeSettings: {
@@ -604,6 +615,12 @@ export declare abstract class TransactionService {
604
615
  } | {
605
616
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
606
617
  strings: string[];
618
+ } | {
619
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
620
+ computeChainId: number;
621
+ bytesLike: string[];
622
+ amount: string;
623
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
607
624
  } | {
608
625
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
609
626
  WorldIDAddressBook: string;
@@ -723,6 +740,11 @@ export declare abstract class TransactionService {
723
740
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
724
741
  } | {
725
742
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
743
+ } | {
744
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
745
+ computeSettings: {
746
+ threshold: string;
747
+ };
726
748
  } | {
727
749
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
728
750
  computeSettings: {
@@ -1709,6 +1731,12 @@ export declare abstract class TransactionService {
1709
1731
  } | {
1710
1732
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
1711
1733
  strings: string[];
1734
+ } | {
1735
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
1736
+ computeChainId: number;
1737
+ bytesLike: string[];
1738
+ amount: string;
1739
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
1712
1740
  } | {
1713
1741
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
1714
1742
  WorldIDAddressBook: string;
@@ -1828,6 +1856,11 @@ export declare abstract class TransactionService {
1828
1856
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
1829
1857
  } | {
1830
1858
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
1859
+ } | {
1860
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
1861
+ computeSettings: {
1862
+ threshold: string;
1863
+ };
1831
1864
  } | {
1832
1865
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
1833
1866
  computeSettings: {
@@ -2819,6 +2852,12 @@ export declare abstract class TransactionService {
2819
2852
  } | {
2820
2853
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
2821
2854
  strings: string[];
2855
+ } | {
2856
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
2857
+ computeChainId: number;
2858
+ bytesLike: string[];
2859
+ amount: string;
2860
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
2822
2861
  } | {
2823
2862
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
2824
2863
  WorldIDAddressBook: string;
@@ -2938,6 +2977,11 @@ export declare abstract class TransactionService {
2938
2977
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
2939
2978
  } | {
2940
2979
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
2980
+ } | {
2981
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
2982
+ computeSettings: {
2983
+ threshold: string;
2984
+ };
2941
2985
  } | {
2942
2986
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
2943
2987
  computeSettings: {
@@ -3927,6 +3971,12 @@ export declare abstract class TransactionService {
3927
3971
  } | {
3928
3972
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
3929
3973
  strings: string[];
3974
+ } | {
3975
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
3976
+ computeChainId: number;
3977
+ bytesLike: string[];
3978
+ amount: string;
3979
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
3930
3980
  } | {
3931
3981
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
3932
3982
  WorldIDAddressBook: string;
@@ -4046,6 +4096,11 @@ export declare abstract class TransactionService {
4046
4096
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
4047
4097
  } | {
4048
4098
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
4099
+ } | {
4100
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
4101
+ computeSettings: {
4102
+ threshold: string;
4103
+ };
4049
4104
  } | {
4050
4105
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
4051
4106
  computeSettings: {
@@ -5041,6 +5096,12 @@ export declare abstract class TransactionService {
5041
5096
  } | {
5042
5097
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
5043
5098
  strings: string[];
5099
+ } | {
5100
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
5101
+ computeChainId: number;
5102
+ bytesLike: string[];
5103
+ amount: string;
5104
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
5044
5105
  } | {
5045
5106
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
5046
5107
  WorldIDAddressBook: string;
@@ -5160,6 +5221,11 @@ export declare abstract class TransactionService {
5160
5221
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
5161
5222
  } | {
5162
5223
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
5224
+ } | {
5225
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
5226
+ computeSettings: {
5227
+ threshold: string;
5228
+ };
5163
5229
  } | {
5164
5230
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
5165
5231
  computeSettings: {
@@ -6156,6 +6222,12 @@ export declare abstract class TransactionService {
6156
6222
  } | {
6157
6223
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
6158
6224
  strings: string[];
6225
+ } | {
6226
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
6227
+ computeChainId: number;
6228
+ bytesLike: string[];
6229
+ amount: string;
6230
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
6159
6231
  } | {
6160
6232
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
6161
6233
  WorldIDAddressBook: string;
@@ -6275,6 +6347,11 @@ export declare abstract class TransactionService {
6275
6347
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
6276
6348
  } | {
6277
6349
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
6350
+ } | {
6351
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
6352
+ computeSettings: {
6353
+ threshold: string;
6354
+ };
6278
6355
  } | {
6279
6356
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
6280
6357
  computeSettings: {
@@ -7279,6 +7356,12 @@ export declare abstract class TransactionService {
7279
7356
  } | {
7280
7357
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
7281
7358
  strings: string[];
7359
+ } | {
7360
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
7361
+ computeChainId: number;
7362
+ bytesLike: string[];
7363
+ amount: string;
7364
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
7282
7365
  } | {
7283
7366
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
7284
7367
  WorldIDAddressBook: string;
@@ -7398,6 +7481,11 @@ export declare abstract class TransactionService {
7398
7481
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
7399
7482
  } | {
7400
7483
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
7484
+ } | {
7485
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
7486
+ computeSettings: {
7487
+ threshold: string;
7488
+ };
7401
7489
  } | {
7402
7490
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
7403
7491
  computeSettings: {
@@ -8397,6 +8485,12 @@ export declare abstract class TransactionService {
8397
8485
  } | {
8398
8486
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
8399
8487
  strings: string[];
8488
+ } | {
8489
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
8490
+ computeChainId: number;
8491
+ bytesLike: string[];
8492
+ amount: string;
8493
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
8400
8494
  } | {
8401
8495
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
8402
8496
  WorldIDAddressBook: string;
@@ -8516,6 +8610,11 @@ export declare abstract class TransactionService {
8516
8610
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
8517
8611
  } | {
8518
8612
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
8613
+ } | {
8614
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
8615
+ computeSettings: {
8616
+ threshold: string;
8617
+ };
8519
8618
  } | {
8520
8619
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
8521
8620
  computeSettings: {
@@ -8816,6 +8915,12 @@ export declare abstract class TransactionService {
8816
8915
  } | {
8817
8916
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
8818
8917
  strings: string[];
8918
+ } | {
8919
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
8920
+ computeChainId: number;
8921
+ bytesLike: string[];
8922
+ amount: string;
8923
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
8819
8924
  } | {
8820
8925
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
8821
8926
  WorldIDAddressBook: string;
@@ -8935,6 +9040,11 @@ export declare abstract class TransactionService {
8935
9040
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
8936
9041
  } | {
8937
9042
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
9043
+ } | {
9044
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
9045
+ computeSettings: {
9046
+ threshold: string;
9047
+ };
8938
9048
  } | {
8939
9049
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
8940
9050
  computeSettings: {
@@ -9921,6 +10031,12 @@ export declare abstract class TransactionService {
9921
10031
  } | {
9922
10032
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
9923
10033
  strings: string[];
10034
+ } | {
10035
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
10036
+ computeChainId: number;
10037
+ bytesLike: string[];
10038
+ amount: string;
10039
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
9924
10040
  } | {
9925
10041
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
9926
10042
  WorldIDAddressBook: string;
@@ -10040,6 +10156,11 @@ export declare abstract class TransactionService {
10040
10156
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
10041
10157
  } | {
10042
10158
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
10159
+ } | {
10160
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
10161
+ computeSettings: {
10162
+ threshold: string;
10163
+ };
10043
10164
  } | {
10044
10165
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
10045
10166
  computeSettings: {
@@ -11031,6 +11152,12 @@ export declare abstract class TransactionService {
11031
11152
  } | {
11032
11153
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
11033
11154
  strings: string[];
11155
+ } | {
11156
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
11157
+ computeChainId: number;
11158
+ bytesLike: string[];
11159
+ amount: string;
11160
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
11034
11161
  } | {
11035
11162
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
11036
11163
  WorldIDAddressBook: string;
@@ -11150,6 +11277,11 @@ export declare abstract class TransactionService {
11150
11277
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
11151
11278
  } | {
11152
11279
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
11280
+ } | {
11281
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
11282
+ computeSettings: {
11283
+ threshold: string;
11284
+ };
11153
11285
  } | {
11154
11286
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
11155
11287
  computeSettings: {
@@ -12139,6 +12271,12 @@ export declare abstract class TransactionService {
12139
12271
  } | {
12140
12272
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
12141
12273
  strings: string[];
12274
+ } | {
12275
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
12276
+ computeChainId: number;
12277
+ bytesLike: string[];
12278
+ amount: string;
12279
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
12142
12280
  } | {
12143
12281
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
12144
12282
  WorldIDAddressBook: string;
@@ -12258,6 +12396,11 @@ export declare abstract class TransactionService {
12258
12396
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
12259
12397
  } | {
12260
12398
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
12399
+ } | {
12400
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
12401
+ computeSettings: {
12402
+ threshold: string;
12403
+ };
12261
12404
  } | {
12262
12405
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
12263
12406
  computeSettings: {
@@ -13253,6 +13396,12 @@ export declare abstract class TransactionService {
13253
13396
  } | {
13254
13397
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
13255
13398
  strings: string[];
13399
+ } | {
13400
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
13401
+ computeChainId: number;
13402
+ bytesLike: string[];
13403
+ amount: string;
13404
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
13256
13405
  } | {
13257
13406
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
13258
13407
  WorldIDAddressBook: string;
@@ -13372,6 +13521,11 @@ export declare abstract class TransactionService {
13372
13521
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
13373
13522
  } | {
13374
13523
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
13524
+ } | {
13525
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
13526
+ computeSettings: {
13527
+ threshold: string;
13528
+ };
13375
13529
  } | {
13376
13530
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
13377
13531
  computeSettings: {
@@ -14368,6 +14522,12 @@ export declare abstract class TransactionService {
14368
14522
  } | {
14369
14523
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
14370
14524
  strings: string[];
14525
+ } | {
14526
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
14527
+ computeChainId: number;
14528
+ bytesLike: string[];
14529
+ amount: string;
14530
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
14371
14531
  } | {
14372
14532
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
14373
14533
  WorldIDAddressBook: string;
@@ -14487,6 +14647,11 @@ export declare abstract class TransactionService {
14487
14647
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
14488
14648
  } | {
14489
14649
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
14650
+ } | {
14651
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
14652
+ computeSettings: {
14653
+ threshold: string;
14654
+ };
14490
14655
  } | {
14491
14656
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
14492
14657
  computeSettings: {
@@ -15491,6 +15656,12 @@ export declare abstract class TransactionService {
15491
15656
  } | {
15492
15657
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
15493
15658
  strings: string[];
15659
+ } | {
15660
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
15661
+ computeChainId: number;
15662
+ bytesLike: string[];
15663
+ amount: string;
15664
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
15494
15665
  } | {
15495
15666
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
15496
15667
  WorldIDAddressBook: string;
@@ -15610,6 +15781,11 @@ export declare abstract class TransactionService {
15610
15781
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
15611
15782
  } | {
15612
15783
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
15784
+ } | {
15785
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
15786
+ computeSettings: {
15787
+ threshold: string;
15788
+ };
15613
15789
  } | {
15614
15790
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
15615
15791
  computeSettings: {
@@ -143,6 +143,12 @@ export declare const getAPR: (params: {
143
143
  } | {
144
144
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
145
145
  strings: string[];
146
+ } | {
147
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
148
+ computeChainId: number;
149
+ bytesLike: string[];
150
+ amount: string;
151
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
146
152
  } | {
147
153
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
148
154
  WorldIDAddressBook: string;
@@ -262,6 +268,11 @@ export declare const getAPR: (params: {
262
268
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
263
269
  } | {
264
270
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
271
+ } | {
272
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
273
+ computeSettings: {
274
+ threshold: string;
275
+ };
265
276
  } | {
266
277
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
267
278
  computeSettings: {
@@ -562,6 +573,12 @@ export declare const getAPR: (params: {
562
573
  } | {
563
574
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
564
575
  strings: string[];
576
+ } | {
577
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
578
+ computeChainId: number;
579
+ bytesLike: string[];
580
+ amount: string;
581
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
565
582
  } | {
566
583
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
567
584
  WorldIDAddressBook: string;
@@ -681,6 +698,11 @@ export declare const getAPR: (params: {
681
698
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
682
699
  } | {
683
700
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
701
+ } | {
702
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
703
+ computeSettings: {
704
+ threshold: string;
705
+ };
684
706
  } | {
685
707
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
686
708
  computeSettings: {
@@ -1667,6 +1689,12 @@ export declare const getAPR: (params: {
1667
1689
  } | {
1668
1690
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
1669
1691
  strings: string[];
1692
+ } | {
1693
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
1694
+ computeChainId: number;
1695
+ bytesLike: string[];
1696
+ amount: string;
1697
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
1670
1698
  } | {
1671
1699
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
1672
1700
  WorldIDAddressBook: string;
@@ -1786,6 +1814,11 @@ export declare const getAPR: (params: {
1786
1814
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
1787
1815
  } | {
1788
1816
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
1817
+ } | {
1818
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
1819
+ computeSettings: {
1820
+ threshold: string;
1821
+ };
1789
1822
  } | {
1790
1823
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
1791
1824
  computeSettings: {
@@ -2777,6 +2810,12 @@ export declare const getAPR: (params: {
2777
2810
  } | {
2778
2811
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
2779
2812
  strings: string[];
2813
+ } | {
2814
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
2815
+ computeChainId: number;
2816
+ bytesLike: string[];
2817
+ amount: string;
2818
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
2780
2819
  } | {
2781
2820
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
2782
2821
  WorldIDAddressBook: string;
@@ -2896,6 +2935,11 @@ export declare const getAPR: (params: {
2896
2935
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
2897
2936
  } | {
2898
2937
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
2938
+ } | {
2939
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
2940
+ computeSettings: {
2941
+ threshold: string;
2942
+ };
2899
2943
  } | {
2900
2944
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
2901
2945
  computeSettings: {
@@ -3885,6 +3929,12 @@ export declare const getAPR: (params: {
3885
3929
  } | {
3886
3930
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
3887
3931
  strings: string[];
3932
+ } | {
3933
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
3934
+ computeChainId: number;
3935
+ bytesLike: string[];
3936
+ amount: string;
3937
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
3888
3938
  } | {
3889
3939
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
3890
3940
  WorldIDAddressBook: string;
@@ -4004,6 +4054,11 @@ export declare const getAPR: (params: {
4004
4054
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
4005
4055
  } | {
4006
4056
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
4057
+ } | {
4058
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
4059
+ computeSettings: {
4060
+ threshold: string;
4061
+ };
4007
4062
  } | {
4008
4063
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
4009
4064
  computeSettings: {
@@ -4999,6 +5054,12 @@ export declare const getAPR: (params: {
4999
5054
  } | {
5000
5055
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
5001
5056
  strings: string[];
5057
+ } | {
5058
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
5059
+ computeChainId: number;
5060
+ bytesLike: string[];
5061
+ amount: string;
5062
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
5002
5063
  } | {
5003
5064
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
5004
5065
  WorldIDAddressBook: string;
@@ -5118,6 +5179,11 @@ export declare const getAPR: (params: {
5118
5179
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
5119
5180
  } | {
5120
5181
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
5182
+ } | {
5183
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
5184
+ computeSettings: {
5185
+ threshold: string;
5186
+ };
5121
5187
  } | {
5122
5188
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
5123
5189
  computeSettings: {
@@ -6114,6 +6180,12 @@ export declare const getAPR: (params: {
6114
6180
  } | {
6115
6181
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
6116
6182
  strings: string[];
6183
+ } | {
6184
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
6185
+ computeChainId: number;
6186
+ bytesLike: string[];
6187
+ amount: string;
6188
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
6117
6189
  } | {
6118
6190
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
6119
6191
  WorldIDAddressBook: string;
@@ -6233,6 +6305,11 @@ export declare const getAPR: (params: {
6233
6305
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
6234
6306
  } | {
6235
6307
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
6308
+ } | {
6309
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
6310
+ computeSettings: {
6311
+ threshold: string;
6312
+ };
6236
6313
  } | {
6237
6314
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
6238
6315
  computeSettings: {
@@ -7237,6 +7314,12 @@ export declare const getAPR: (params: {
7237
7314
  } | {
7238
7315
  hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
7239
7316
  strings: string[];
7317
+ } | {
7318
+ hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
7319
+ computeChainId: number;
7320
+ bytesLike: string[];
7321
+ amount: string;
7322
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
7240
7323
  } | {
7241
7324
  hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
7242
7325
  WorldIDAddressBook: string;
@@ -7356,6 +7439,11 @@ export declare const getAPR: (params: {
7356
7439
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
7357
7440
  } | {
7358
7441
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
7442
+ } | {
7443
+ computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
7444
+ computeSettings: {
7445
+ threshold: string;
7446
+ };
7359
7447
  } | {
7360
7448
  computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
7361
7449
  computeSettings: {