@merkl/api 1.7.34 → 1.7.36

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.
@@ -129,11 +129,20 @@ export declare const parseDistributionType: (params: {
129
129
  priority: number;
130
130
  callDataKey?: string | undefined;
131
131
  sender: string;
132
+ } | {
133
+ hookType: import("@package/resources/enums").WHITELIST_ADDRESSES;
134
+ addresses: string[];
132
135
  } | {
133
136
  hookType: import("@package/resources/enums").WHITELIST_CAMPAIGN;
134
137
  protocol: import("@package/resources/enums").COINBASE;
135
138
  bytesLike: string[];
136
139
  computeChainId: number;
140
+ } | {
141
+ hookType: import("@package/resources/enums").WHITELIST_PER_PROTOCOL;
142
+ protocols: import("@package/resources/enums").ProtocolType[];
143
+ } | {
144
+ hookType: import("@package/resources/enums").WHITELIST_STRINGS;
145
+ strings: string[];
137
146
  } | {
138
147
  hookType: import("@package/resources/enums").WORLDCHAINID;
139
148
  WorldIDAddressBook: string;
@@ -283,11 +292,6 @@ export declare const parseDistributionType: (params: {
283
292
  priority: number;
284
293
  sender: string;
285
294
  } & ({
286
- forwarderType: import("@package/resources/enums").CLAMM;
287
- type: string | number;
288
- owner?: string | undefined;
289
- target: string;
290
- } | {
291
295
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
292
296
  } | {
293
297
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -295,6 +299,11 @@ export declare const parseDistributionType: (params: {
295
299
  forwarderType: import("@package/resources/enums").SUPERFORM;
296
300
  } | {
297
301
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
302
+ } | {
303
+ forwarderType: import("@package/resources/enums").CLAMM;
304
+ type: string | number;
305
+ owner?: string | undefined;
306
+ target: string;
298
307
  } | {
299
308
  forwarderType: import("@package/resources/enums").ERC20;
300
309
  token: string;
@@ -611,11 +620,20 @@ export declare const parseDistributionType: (params: {
611
620
  priority: number;
612
621
  callDataKey?: string | undefined;
613
622
  sender: string;
623
+ } | {
624
+ hookType: import("@package/resources/enums").WHITELIST_ADDRESSES;
625
+ addresses: string[];
614
626
  } | {
615
627
  hookType: import("@package/resources/enums").WHITELIST_CAMPAIGN;
616
628
  protocol: import("@package/resources/enums").COINBASE;
617
629
  bytesLike: string[];
618
630
  computeChainId: number;
631
+ } | {
632
+ hookType: import("@package/resources/enums").WHITELIST_PER_PROTOCOL;
633
+ protocols: import("@package/resources/enums").ProtocolType[];
634
+ } | {
635
+ hookType: import("@package/resources/enums").WHITELIST_STRINGS;
636
+ strings: string[];
619
637
  } | {
620
638
  hookType: import("@package/resources/enums").WORLDCHAINID;
621
639
  WorldIDAddressBook: string;
@@ -765,11 +783,6 @@ export declare const parseDistributionType: (params: {
765
783
  priority: number;
766
784
  sender: string;
767
785
  } & ({
768
- forwarderType: import("@package/resources/enums").CLAMM;
769
- type: string | number;
770
- owner?: string | undefined;
771
- target: string;
772
- } | {
773
786
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
774
787
  } | {
775
788
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -777,6 +790,11 @@ export declare const parseDistributionType: (params: {
777
790
  forwarderType: import("@package/resources/enums").SUPERFORM;
778
791
  } | {
779
792
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
793
+ } | {
794
+ forwarderType: import("@package/resources/enums").CLAMM;
795
+ type: string | number;
796
+ owner?: string | undefined;
797
+ target: string;
780
798
  } | {
781
799
  forwarderType: import("@package/resources/enums").ERC20;
782
800
  token: string;
@@ -1424,11 +1442,6 @@ export declare const parseDistributionType: (params: {
1424
1442
  priority: number;
1425
1443
  sender: string;
1426
1444
  } & ({
1427
- forwarderType: import("@package/resources/enums").CLAMM;
1428
- type: string | number;
1429
- owner?: string | undefined;
1430
- target: string;
1431
- } | {
1432
1445
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
1433
1446
  } | {
1434
1447
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -1436,6 +1449,11 @@ export declare const parseDistributionType: (params: {
1436
1449
  forwarderType: import("@package/resources/enums").SUPERFORM;
1437
1450
  } | {
1438
1451
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
1452
+ } | {
1453
+ forwarderType: import("@package/resources/enums").CLAMM;
1454
+ type: string | number;
1455
+ owner?: string | undefined;
1456
+ target: string;
1439
1457
  } | {
1440
1458
  forwarderType: import("@package/resources/enums").ERC20;
1441
1459
  token: string;
@@ -2037,11 +2055,6 @@ export declare const parseDistributionType: (params: {
2037
2055
  priority: number;
2038
2056
  sender: string;
2039
2057
  } & ({
2040
- forwarderType: import("@package/resources/enums").CLAMM;
2041
- type: string | number;
2042
- owner?: string | undefined;
2043
- target: string;
2044
- } | {
2045
2058
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
2046
2059
  } | {
2047
2060
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -2049,6 +2062,11 @@ export declare const parseDistributionType: (params: {
2049
2062
  forwarderType: import("@package/resources/enums").SUPERFORM;
2050
2063
  } | {
2051
2064
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
2065
+ } | {
2066
+ forwarderType: import("@package/resources/enums").CLAMM;
2067
+ type: string | number;
2068
+ owner?: string | undefined;
2069
+ target: string;
2052
2070
  } | {
2053
2071
  forwarderType: import("@package/resources/enums").ERC20;
2054
2072
  token: string;
@@ -2282,11 +2300,20 @@ export declare const parseDistributionType: (params: {
2282
2300
  priority: number;
2283
2301
  callDataKey?: string | undefined;
2284
2302
  sender: string;
2303
+ } | {
2304
+ hookType: import("@package/resources/enums").WHITELIST_ADDRESSES;
2305
+ addresses: string[];
2285
2306
  } | {
2286
2307
  hookType: import("@package/resources/enums").WHITELIST_CAMPAIGN;
2287
2308
  protocol: import("@package/resources/enums").COINBASE;
2288
2309
  bytesLike: string[];
2289
2310
  computeChainId: number;
2311
+ } | {
2312
+ hookType: import("@package/resources/enums").WHITELIST_PER_PROTOCOL;
2313
+ protocols: import("@package/resources/enums").ProtocolType[];
2314
+ } | {
2315
+ hookType: import("@package/resources/enums").WHITELIST_STRINGS;
2316
+ strings: string[];
2290
2317
  } | {
2291
2318
  hookType: import("@package/resources/enums").WORLDCHAINID;
2292
2319
  WorldIDAddressBook: string;
@@ -2436,11 +2463,6 @@ export declare const parseDistributionType: (params: {
2436
2463
  priority: number;
2437
2464
  sender: string;
2438
2465
  } & ({
2439
- forwarderType: import("@package/resources/enums").CLAMM;
2440
- type: string | number;
2441
- owner?: string | undefined;
2442
- target: string;
2443
- } | {
2444
2466
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
2445
2467
  } | {
2446
2468
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -2448,6 +2470,11 @@ export declare const parseDistributionType: (params: {
2448
2470
  forwarderType: import("@package/resources/enums").SUPERFORM;
2449
2471
  } | {
2450
2472
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
2473
+ } | {
2474
+ forwarderType: import("@package/resources/enums").CLAMM;
2475
+ type: string | number;
2476
+ owner?: string | undefined;
2477
+ target: string;
2451
2478
  } | {
2452
2479
  forwarderType: import("@package/resources/enums").ERC20;
2453
2480
  token: string;
@@ -3095,11 +3122,6 @@ export declare const parseDistributionType: (params: {
3095
3122
  priority: number;
3096
3123
  sender: string;
3097
3124
  } & ({
3098
- forwarderType: import("@package/resources/enums").CLAMM;
3099
- type: string | number;
3100
- owner?: string | undefined;
3101
- target: string;
3102
- } | {
3103
3125
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
3104
3126
  } | {
3105
3127
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -3107,6 +3129,11 @@ export declare const parseDistributionType: (params: {
3107
3129
  forwarderType: import("@package/resources/enums").SUPERFORM;
3108
3130
  } | {
3109
3131
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
3132
+ } | {
3133
+ forwarderType: import("@package/resources/enums").CLAMM;
3134
+ type: string | number;
3135
+ owner?: string | undefined;
3136
+ target: string;
3110
3137
  } | {
3111
3138
  forwarderType: import("@package/resources/enums").ERC20;
3112
3139
  token: string;
@@ -3343,11 +3370,20 @@ export declare const parseDistributionType: (params: {
3343
3370
  priority: number;
3344
3371
  callDataKey?: string | undefined;
3345
3372
  sender: string;
3373
+ } | {
3374
+ hookType: import("@package/resources/enums").WHITELIST_ADDRESSES;
3375
+ addresses: string[];
3346
3376
  } | {
3347
3377
  hookType: import("@package/resources/enums").WHITELIST_CAMPAIGN;
3348
3378
  protocol: import("@package/resources/enums").COINBASE;
3349
3379
  bytesLike: string[];
3350
3380
  computeChainId: number;
3381
+ } | {
3382
+ hookType: import("@package/resources/enums").WHITELIST_PER_PROTOCOL;
3383
+ protocols: import("@package/resources/enums").ProtocolType[];
3384
+ } | {
3385
+ hookType: import("@package/resources/enums").WHITELIST_STRINGS;
3386
+ strings: string[];
3351
3387
  } | {
3352
3388
  hookType: import("@package/resources/enums").WORLDCHAINID;
3353
3389
  WorldIDAddressBook: string;
@@ -3497,11 +3533,6 @@ export declare const parseDistributionType: (params: {
3497
3533
  priority: number;
3498
3534
  sender: string;
3499
3535
  } & ({
3500
- forwarderType: import("@package/resources/enums").CLAMM;
3501
- type: string | number;
3502
- owner?: string | undefined;
3503
- target: string;
3504
- } | {
3505
3536
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
3506
3537
  } | {
3507
3538
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -3509,6 +3540,11 @@ export declare const parseDistributionType: (params: {
3509
3540
  forwarderType: import("@package/resources/enums").SUPERFORM;
3510
3541
  } | {
3511
3542
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
3543
+ } | {
3544
+ forwarderType: import("@package/resources/enums").CLAMM;
3545
+ type: string | number;
3546
+ owner?: string | undefined;
3547
+ target: string;
3512
3548
  } | {
3513
3549
  forwarderType: import("@package/resources/enums").ERC20;
3514
3550
  token: string;
@@ -4156,11 +4192,6 @@ export declare const parseDistributionType: (params: {
4156
4192
  priority: number;
4157
4193
  sender: string;
4158
4194
  } & ({
4159
- forwarderType: import("@package/resources/enums").CLAMM;
4160
- type: string | number;
4161
- owner?: string | undefined;
4162
- target: string;
4163
- } | {
4164
4195
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
4165
4196
  } | {
4166
4197
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -4168,6 +4199,11 @@ export declare const parseDistributionType: (params: {
4168
4199
  forwarderType: import("@package/resources/enums").SUPERFORM;
4169
4200
  } | {
4170
4201
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
4202
+ } | {
4203
+ forwarderType: import("@package/resources/enums").CLAMM;
4204
+ type: string | number;
4205
+ owner?: string | undefined;
4206
+ target: string;
4171
4207
  } | {
4172
4208
  forwarderType: import("@package/resources/enums").ERC20;
4173
4209
  token: string;
@@ -4409,11 +4445,20 @@ export declare const parseDistributionType: (params: {
4409
4445
  priority: number;
4410
4446
  callDataKey?: string | undefined;
4411
4447
  sender: string;
4448
+ } | {
4449
+ hookType: import("@package/resources/enums").WHITELIST_ADDRESSES;
4450
+ addresses: string[];
4412
4451
  } | {
4413
4452
  hookType: import("@package/resources/enums").WHITELIST_CAMPAIGN;
4414
4453
  protocol: import("@package/resources/enums").COINBASE;
4415
4454
  bytesLike: string[];
4416
4455
  computeChainId: number;
4456
+ } | {
4457
+ hookType: import("@package/resources/enums").WHITELIST_PER_PROTOCOL;
4458
+ protocols: import("@package/resources/enums").ProtocolType[];
4459
+ } | {
4460
+ hookType: import("@package/resources/enums").WHITELIST_STRINGS;
4461
+ strings: string[];
4417
4462
  } | {
4418
4463
  hookType: import("@package/resources/enums").WORLDCHAINID;
4419
4464
  WorldIDAddressBook: string;
@@ -4563,11 +4608,6 @@ export declare const parseDistributionType: (params: {
4563
4608
  priority: number;
4564
4609
  sender: string;
4565
4610
  } & ({
4566
- forwarderType: import("@package/resources/enums").CLAMM;
4567
- type: string | number;
4568
- owner?: string | undefined;
4569
- target: string;
4570
- } | {
4571
4611
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
4572
4612
  } | {
4573
4613
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -4575,6 +4615,11 @@ export declare const parseDistributionType: (params: {
4575
4615
  forwarderType: import("@package/resources/enums").SUPERFORM;
4576
4616
  } | {
4577
4617
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
4618
+ } | {
4619
+ forwarderType: import("@package/resources/enums").CLAMM;
4620
+ type: string | number;
4621
+ owner?: string | undefined;
4622
+ target: string;
4578
4623
  } | {
4579
4624
  forwarderType: import("@package/resources/enums").ERC20;
4580
4625
  token: string;
@@ -5222,11 +5267,6 @@ export declare const parseDistributionType: (params: {
5222
5267
  priority: number;
5223
5268
  sender: string;
5224
5269
  } & ({
5225
- forwarderType: import("@package/resources/enums").CLAMM;
5226
- type: string | number;
5227
- owner?: string | undefined;
5228
- target: string;
5229
- } | {
5230
5270
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
5231
5271
  } | {
5232
5272
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -5234,6 +5274,11 @@ export declare const parseDistributionType: (params: {
5234
5274
  forwarderType: import("@package/resources/enums").SUPERFORM;
5235
5275
  } | {
5236
5276
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
5277
+ } | {
5278
+ forwarderType: import("@package/resources/enums").CLAMM;
5279
+ type: string | number;
5280
+ owner?: string | undefined;
5281
+ target: string;
5237
5282
  } | {
5238
5283
  forwarderType: import("@package/resources/enums").ERC20;
5239
5284
  token: string;
@@ -5476,11 +5521,20 @@ export declare const parseDistributionType: (params: {
5476
5521
  priority: number;
5477
5522
  callDataKey?: string | undefined;
5478
5523
  sender: string;
5524
+ } | {
5525
+ hookType: import("@package/resources/enums").WHITELIST_ADDRESSES;
5526
+ addresses: string[];
5479
5527
  } | {
5480
5528
  hookType: import("@package/resources/enums").WHITELIST_CAMPAIGN;
5481
5529
  protocol: import("@package/resources/enums").COINBASE;
5482
5530
  bytesLike: string[];
5483
5531
  computeChainId: number;
5532
+ } | {
5533
+ hookType: import("@package/resources/enums").WHITELIST_PER_PROTOCOL;
5534
+ protocols: import("@package/resources/enums").ProtocolType[];
5535
+ } | {
5536
+ hookType: import("@package/resources/enums").WHITELIST_STRINGS;
5537
+ strings: string[];
5484
5538
  } | {
5485
5539
  hookType: import("@package/resources/enums").WORLDCHAINID;
5486
5540
  WorldIDAddressBook: string;
@@ -5630,11 +5684,6 @@ export declare const parseDistributionType: (params: {
5630
5684
  priority: number;
5631
5685
  sender: string;
5632
5686
  } & ({
5633
- forwarderType: import("@package/resources/enums").CLAMM;
5634
- type: string | number;
5635
- owner?: string | undefined;
5636
- target: string;
5637
- } | {
5638
5687
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
5639
5688
  } | {
5640
5689
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -5642,6 +5691,11 @@ export declare const parseDistributionType: (params: {
5642
5691
  forwarderType: import("@package/resources/enums").SUPERFORM;
5643
5692
  } | {
5644
5693
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
5694
+ } | {
5695
+ forwarderType: import("@package/resources/enums").CLAMM;
5696
+ type: string | number;
5697
+ owner?: string | undefined;
5698
+ target: string;
5645
5699
  } | {
5646
5700
  forwarderType: import("@package/resources/enums").ERC20;
5647
5701
  token: string;
@@ -6289,11 +6343,6 @@ export declare const parseDistributionType: (params: {
6289
6343
  priority: number;
6290
6344
  sender: string;
6291
6345
  } & ({
6292
- forwarderType: import("@package/resources/enums").CLAMM;
6293
- type: string | number;
6294
- owner?: string | undefined;
6295
- target: string;
6296
- } | {
6297
6346
  forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
6298
6347
  } | {
6299
6348
  forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
@@ -6301,6 +6350,11 @@ export declare const parseDistributionType: (params: {
6301
6350
  forwarderType: import("@package/resources/enums").SUPERFORM;
6302
6351
  } | {
6303
6352
  forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
6353
+ } | {
6354
+ forwarderType: import("@package/resources/enums").CLAMM;
6355
+ type: string | number;
6356
+ owner?: string | undefined;
6357
+ target: string;
6304
6358
  } | {
6305
6359
  forwarderType: import("@package/resources/enums").ERC20;
6306
6360
  token: string;