@merkl/api 0.19.5 → 0.19.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.
Files changed (49) hide show
  1. package/dist/src/eden/index.d.ts +70 -0
  2. package/dist/src/factories/opportunityMetadata/implementations/EventBased.d.ts +1 -1
  3. package/dist/src/factories/opportunityMetadata/implementations/EventBased.js +2 -2
  4. package/dist/src/index.d.ts +14 -0
  5. package/dist/src/libs/campaigns/campaignTypes/AjnaDynamicData.js +7 -7
  6. package/dist/src/libs/campaigns/campaignTypes/AmbientDynamicData.js +7 -5
  7. package/dist/src/libs/campaigns/campaignTypes/BadgerDynamicData.js +8 -5
  8. package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.js +7 -5
  9. package/dist/src/libs/campaigns/campaignTypes/CompoundDynamicData.js +8 -5
  10. package/dist/src/libs/campaigns/campaignTypes/DolomiteDynamicData.js +9 -6
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicData.js +9 -6
  12. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +2 -1
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +2 -0
  14. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/implementations/BunniV2Processor.d.ts +45 -0
  15. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/implementations/BunniV2Processor.js +87 -0
  16. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/implementations/processorMapping.js +2 -0
  17. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.js +2 -0
  18. package/dist/src/libs/campaigns/campaignTypes/EigenLayerDynamicData.js +9 -6
  19. package/dist/src/libs/campaigns/campaignTypes/EventBasedDynamicData.js +2 -1
  20. package/dist/src/libs/campaigns/campaignTypes/HyperdriveDynamicData.js +9 -6
  21. package/dist/src/libs/campaigns/campaignTypes/MORPHODynamicData.js +8 -5
  22. package/dist/src/libs/campaigns/campaignTypes/RadiantDynamicData.js +8 -5
  23. package/dist/src/libs/campaigns/campaignTypes/SILODynamicData.js +8 -5
  24. package/dist/src/libs/campaigns/campaignTypes/UniswapV4DynamicData.js +7 -5
  25. package/dist/src/libs/campaigns/campaignTypes/VestDynamicData.js +8 -5
  26. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +5 -0
  27. package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
  28. package/dist/src/modules/v4/campaign/campaign.model.js +1 -0
  29. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +4 -0
  30. package/dist/src/modules/v4/campaign/campaign.repository.js +2 -1
  31. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +8 -0
  32. package/dist/src/modules/v4/opportunity/opportunity.converter.js +2 -2
  33. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -0
  34. package/dist/src/modules/v4/opportunity/opportunity.model.js +2 -0
  35. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +1 -1
  36. package/dist/src/modules/v4/opportunity/opportunity.repository.js +14 -10
  37. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +2 -2
  38. package/dist/src/modules/v4/opportunity/opportunity.service.js +4 -4
  39. package/dist/src/modules/v4/router.d.ts +14 -0
  40. package/dist/src/modules/v4/token/token.controller.d.ts +1 -0
  41. package/dist/src/modules/v4/token/token.model.d.ts +1 -0
  42. package/dist/src/modules/v4/token/token.model.js +1 -0
  43. package/dist/src/modules/v4/token/token.service.d.ts +3 -1
  44. package/dist/src/modules/v4/token/token.service.js +18 -0
  45. package/dist/src/utils/decodeCalls.js +7 -1
  46. package/dist/src/utils/encodeCalls.js +19 -1
  47. package/dist/src/utils/generateCardName.js +2 -0
  48. package/dist/tsconfig.package.tsbuildinfo +1 -1
  49. package/package.json +2 -3
@@ -138,6 +138,7 @@ declare const eden: {
138
138
  get: (options: {
139
139
  headers?: Record<string, unknown> | undefined;
140
140
  query: {
141
+ point?: boolean | undefined;
141
142
  test?: boolean | undefined;
142
143
  };
143
144
  fetch?: RequestInit | undefined;
@@ -241,6 +242,7 @@ declare const eden: {
241
242
  get: (options: {
242
243
  headers?: Record<string, unknown> | undefined;
243
244
  query: {
245
+ point?: boolean | undefined;
244
246
  test?: boolean | undefined;
245
247
  };
246
248
  fetch?: RequestInit | undefined;
@@ -475,6 +477,7 @@ declare const eden: {
475
477
  chainId?: string | undefined;
476
478
  mainProtocolId?: string | undefined;
477
479
  campaigns?: boolean | undefined;
480
+ point?: boolean | undefined;
478
481
  test?: boolean | undefined;
479
482
  rewardTokenSymbol?: string | undefined;
480
483
  order?: string | undefined;
@@ -664,6 +667,7 @@ declare const eden: {
664
667
  chainId?: string | undefined;
665
668
  mainProtocolId?: string | undefined;
666
669
  campaigns?: boolean | undefined;
670
+ point?: boolean | undefined;
667
671
  test?: boolean | undefined;
668
672
  rewardTokenSymbol?: string | undefined;
669
673
  order?: string | undefined;
@@ -692,6 +696,7 @@ declare const eden: {
692
696
  chainId?: number | undefined;
693
697
  creatorId?: string | undefined;
694
698
  mainParameter?: string | undefined;
699
+ point?: boolean | undefined;
695
700
  tokenAddress?: string | undefined;
696
701
  test?: boolean | undefined;
697
702
  createdAfter?: number | undefined;
@@ -868,6 +873,7 @@ declare const eden: {
868
873
  chainId?: string | undefined;
869
874
  mainProtocolId?: string | undefined;
870
875
  campaigns?: boolean | undefined;
876
+ point?: boolean | undefined;
871
877
  test?: boolean | undefined;
872
878
  rewardTokenSymbol?: string | undefined;
873
879
  order?: string | undefined;
@@ -900,6 +906,7 @@ declare const eden: {
900
906
  chainId?: string | undefined;
901
907
  mainProtocolId?: string | undefined;
902
908
  campaigns?: boolean | undefined;
909
+ point?: boolean | undefined;
903
910
  test?: boolean | undefined;
904
911
  rewardTokenSymbol?: string | undefined;
905
912
  order?: string | undefined;
@@ -932,6 +939,7 @@ declare const eden: {
932
939
  chainId?: string | undefined;
933
940
  mainProtocolId?: string | undefined;
934
941
  campaigns?: boolean | undefined;
942
+ point?: boolean | undefined;
935
943
  test?: boolean | undefined;
936
944
  rewardTokenSymbol?: string | undefined;
937
945
  order?: string | undefined;
@@ -1175,6 +1183,7 @@ declare const eden: {
1175
1183
  chainId?: number | undefined;
1176
1184
  creatorId?: string | undefined;
1177
1185
  mainParameter?: string | undefined;
1186
+ point?: boolean | undefined;
1178
1187
  tokenAddress?: string | undefined;
1179
1188
  test?: boolean | undefined;
1180
1189
  createdAfter?: number | undefined;
@@ -1275,6 +1284,7 @@ declare const eden: {
1275
1284
  chainId?: number | undefined;
1276
1285
  creatorId?: string | undefined;
1277
1286
  mainParameter?: string | undefined;
1287
+ point?: boolean | undefined;
1278
1288
  tokenAddress?: string | undefined;
1279
1289
  test?: boolean | undefined;
1280
1290
  createdAfter?: number | undefined;
@@ -1305,6 +1315,7 @@ declare const eden: {
1305
1315
  chainId?: number | undefined;
1306
1316
  creatorId?: string | undefined;
1307
1317
  mainParameter?: string | undefined;
1318
+ point?: boolean | undefined;
1308
1319
  tokenAddress?: string | undefined;
1309
1320
  test?: boolean | undefined;
1310
1321
  createdAfter?: number | undefined;
@@ -1338,6 +1349,7 @@ declare const eden: {
1338
1349
  chainId?: number | undefined;
1339
1350
  creatorId?: string | undefined;
1340
1351
  mainParameter?: string | undefined;
1352
+ point?: boolean | undefined;
1341
1353
  tokenAddress?: string | undefined;
1342
1354
  test?: boolean | undefined;
1343
1355
  createdAfter?: number | undefined;
@@ -1434,6 +1446,7 @@ declare const eden: {
1434
1446
  chainId?: number | undefined;
1435
1447
  creatorId?: string | undefined;
1436
1448
  mainParameter?: string | undefined;
1449
+ point?: boolean | undefined;
1437
1450
  tokenAddress?: string | undefined;
1438
1451
  test?: boolean | undefined;
1439
1452
  createdAfter?: number | undefined;
@@ -1629,6 +1642,7 @@ declare const eden: {
1629
1642
  displaySymbol?: string | undefined;
1630
1643
  verified?: boolean | undefined;
1631
1644
  isTest?: boolean | undefined;
1645
+ isPoint?: boolean | undefined;
1632
1646
  }, options: {
1633
1647
  headers: {
1634
1648
  authorization: string;
@@ -3723,6 +3737,7 @@ declare const eden: {
3723
3737
  get: (options: {
3724
3738
  headers?: Record<string, unknown> | undefined;
3725
3739
  query: {
3740
+ point?: boolean | undefined;
3726
3741
  test?: boolean | undefined;
3727
3742
  };
3728
3743
  fetch?: RequestInit | undefined;
@@ -3826,6 +3841,7 @@ declare const eden: {
3826
3841
  get: (options: {
3827
3842
  headers?: Record<string, unknown> | undefined;
3828
3843
  query: {
3844
+ point?: boolean | undefined;
3829
3845
  test?: boolean | undefined;
3830
3846
  };
3831
3847
  fetch?: RequestInit | undefined;
@@ -4060,6 +4076,7 @@ declare const eden: {
4060
4076
  chainId?: string | undefined;
4061
4077
  mainProtocolId?: string | undefined;
4062
4078
  campaigns?: boolean | undefined;
4079
+ point?: boolean | undefined;
4063
4080
  test?: boolean | undefined;
4064
4081
  rewardTokenSymbol?: string | undefined;
4065
4082
  order?: string | undefined;
@@ -4249,6 +4266,7 @@ declare const eden: {
4249
4266
  chainId?: string | undefined;
4250
4267
  mainProtocolId?: string | undefined;
4251
4268
  campaigns?: boolean | undefined;
4269
+ point?: boolean | undefined;
4252
4270
  test?: boolean | undefined;
4253
4271
  rewardTokenSymbol?: string | undefined;
4254
4272
  order?: string | undefined;
@@ -4277,6 +4295,7 @@ declare const eden: {
4277
4295
  chainId?: number | undefined;
4278
4296
  creatorId?: string | undefined;
4279
4297
  mainParameter?: string | undefined;
4298
+ point?: boolean | undefined;
4280
4299
  tokenAddress?: string | undefined;
4281
4300
  test?: boolean | undefined;
4282
4301
  createdAfter?: number | undefined;
@@ -4453,6 +4472,7 @@ declare const eden: {
4453
4472
  chainId?: string | undefined;
4454
4473
  mainProtocolId?: string | undefined;
4455
4474
  campaigns?: boolean | undefined;
4475
+ point?: boolean | undefined;
4456
4476
  test?: boolean | undefined;
4457
4477
  rewardTokenSymbol?: string | undefined;
4458
4478
  order?: string | undefined;
@@ -4485,6 +4505,7 @@ declare const eden: {
4485
4505
  chainId?: string | undefined;
4486
4506
  mainProtocolId?: string | undefined;
4487
4507
  campaigns?: boolean | undefined;
4508
+ point?: boolean | undefined;
4488
4509
  test?: boolean | undefined;
4489
4510
  rewardTokenSymbol?: string | undefined;
4490
4511
  order?: string | undefined;
@@ -4517,6 +4538,7 @@ declare const eden: {
4517
4538
  chainId?: string | undefined;
4518
4539
  mainProtocolId?: string | undefined;
4519
4540
  campaigns?: boolean | undefined;
4541
+ point?: boolean | undefined;
4520
4542
  test?: boolean | undefined;
4521
4543
  rewardTokenSymbol?: string | undefined;
4522
4544
  order?: string | undefined;
@@ -4760,6 +4782,7 @@ declare const eden: {
4760
4782
  chainId?: number | undefined;
4761
4783
  creatorId?: string | undefined;
4762
4784
  mainParameter?: string | undefined;
4785
+ point?: boolean | undefined;
4763
4786
  tokenAddress?: string | undefined;
4764
4787
  test?: boolean | undefined;
4765
4788
  createdAfter?: number | undefined;
@@ -4860,6 +4883,7 @@ declare const eden: {
4860
4883
  chainId?: number | undefined;
4861
4884
  creatorId?: string | undefined;
4862
4885
  mainParameter?: string | undefined;
4886
+ point?: boolean | undefined;
4863
4887
  tokenAddress?: string | undefined;
4864
4888
  test?: boolean | undefined;
4865
4889
  createdAfter?: number | undefined;
@@ -4890,6 +4914,7 @@ declare const eden: {
4890
4914
  chainId?: number | undefined;
4891
4915
  creatorId?: string | undefined;
4892
4916
  mainParameter?: string | undefined;
4917
+ point?: boolean | undefined;
4893
4918
  tokenAddress?: string | undefined;
4894
4919
  test?: boolean | undefined;
4895
4920
  createdAfter?: number | undefined;
@@ -4923,6 +4948,7 @@ declare const eden: {
4923
4948
  chainId?: number | undefined;
4924
4949
  creatorId?: string | undefined;
4925
4950
  mainParameter?: string | undefined;
4951
+ point?: boolean | undefined;
4926
4952
  tokenAddress?: string | undefined;
4927
4953
  test?: boolean | undefined;
4928
4954
  createdAfter?: number | undefined;
@@ -5019,6 +5045,7 @@ declare const eden: {
5019
5045
  chainId?: number | undefined;
5020
5046
  creatorId?: string | undefined;
5021
5047
  mainParameter?: string | undefined;
5048
+ point?: boolean | undefined;
5022
5049
  tokenAddress?: string | undefined;
5023
5050
  test?: boolean | undefined;
5024
5051
  createdAfter?: number | undefined;
@@ -5214,6 +5241,7 @@ declare const eden: {
5214
5241
  displaySymbol?: string | undefined;
5215
5242
  verified?: boolean | undefined;
5216
5243
  isTest?: boolean | undefined;
5244
+ isPoint?: boolean | undefined;
5217
5245
  }, options: {
5218
5246
  headers: {
5219
5247
  authorization: string;
@@ -8111,6 +8139,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8111
8139
  chainId?: string | undefined;
8112
8140
  mainProtocolId?: string | undefined;
8113
8141
  campaigns?: boolean | undefined;
8142
+ point?: boolean | undefined;
8114
8143
  test?: boolean | undefined;
8115
8144
  rewardTokenSymbol?: string | undefined;
8116
8145
  order?: string | undefined;
@@ -8305,6 +8334,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8305
8334
  chainId?: string | undefined;
8306
8335
  mainProtocolId?: string | undefined;
8307
8336
  campaigns?: boolean | undefined;
8337
+ point?: boolean | undefined;
8308
8338
  test?: boolean | undefined;
8309
8339
  rewardTokenSymbol?: string | undefined;
8310
8340
  order?: string | undefined;
@@ -8326,6 +8356,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8326
8356
  id: string;
8327
8357
  };
8328
8358
  query: {
8359
+ point?: boolean | undefined;
8329
8360
  test?: boolean | undefined;
8330
8361
  };
8331
8362
  headers: unknown;
@@ -8449,6 +8480,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8449
8480
  chainId?: number | undefined;
8450
8481
  creatorId?: string | undefined;
8451
8482
  mainParameter?: string | undefined;
8483
+ point?: boolean | undefined;
8452
8484
  tokenAddress?: string | undefined;
8453
8485
  test?: boolean | undefined;
8454
8486
  createdAfter?: number | undefined;
@@ -8617,6 +8649,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8617
8649
  id: string;
8618
8650
  };
8619
8651
  query: {
8652
+ point?: boolean | undefined;
8620
8653
  test?: boolean | undefined;
8621
8654
  };
8622
8655
  headers: unknown;
@@ -8794,6 +8827,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8794
8827
  chainId?: string | undefined;
8795
8828
  mainProtocolId?: string | undefined;
8796
8829
  campaigns?: boolean | undefined;
8830
+ point?: boolean | undefined;
8797
8831
  test?: boolean | undefined;
8798
8832
  rewardTokenSymbol?: string | undefined;
8799
8833
  order?: string | undefined;
@@ -8834,6 +8868,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8834
8868
  chainId?: string | undefined;
8835
8869
  mainProtocolId?: string | undefined;
8836
8870
  campaigns?: boolean | undefined;
8871
+ point?: boolean | undefined;
8837
8872
  test?: boolean | undefined;
8838
8873
  rewardTokenSymbol?: string | undefined;
8839
8874
  order?: string | undefined;
@@ -8875,6 +8910,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8875
8910
  chainId?: string | undefined;
8876
8911
  mainProtocolId?: string | undefined;
8877
8912
  campaigns?: boolean | undefined;
8913
+ point?: boolean | undefined;
8878
8914
  test?: boolean | undefined;
8879
8915
  rewardTokenSymbol?: string | undefined;
8880
8916
  order?: string | undefined;
@@ -9101,6 +9137,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9101
9137
  chainId?: number | undefined;
9102
9138
  creatorId?: string | undefined;
9103
9139
  mainParameter?: string | undefined;
9140
+ point?: boolean | undefined;
9104
9141
  tokenAddress?: string | undefined;
9105
9142
  test?: boolean | undefined;
9106
9143
  createdAfter?: number | undefined;
@@ -9287,6 +9324,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9287
9324
  chainId?: number | undefined;
9288
9325
  creatorId?: string | undefined;
9289
9326
  mainParameter?: string | undefined;
9327
+ point?: boolean | undefined;
9290
9328
  tokenAddress?: string | undefined;
9291
9329
  test?: boolean | undefined;
9292
9330
  createdAfter?: number | undefined;
@@ -9322,6 +9360,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9322
9360
  chainId?: number | undefined;
9323
9361
  creatorId?: string | undefined;
9324
9362
  mainParameter?: string | undefined;
9363
+ point?: boolean | undefined;
9325
9364
  tokenAddress?: string | undefined;
9326
9365
  test?: boolean | undefined;
9327
9366
  createdAfter?: number | undefined;
@@ -9360,6 +9399,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9360
9399
  chainId?: number | undefined;
9361
9400
  creatorId?: string | undefined;
9362
9401
  mainParameter?: string | undefined;
9402
+ point?: boolean | undefined;
9363
9403
  tokenAddress?: string | undefined;
9364
9404
  test?: boolean | undefined;
9365
9405
  createdAfter?: number | undefined;
@@ -9476,6 +9516,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9476
9516
  chainId?: number | undefined;
9477
9517
  creatorId?: string | undefined;
9478
9518
  mainParameter?: string | undefined;
9519
+ point?: boolean | undefined;
9479
9520
  tokenAddress?: string | undefined;
9480
9521
  test?: boolean | undefined;
9481
9522
  createdAfter?: number | undefined;
@@ -9887,6 +9928,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9887
9928
  displaySymbol?: string | undefined;
9888
9929
  verified?: boolean | undefined;
9889
9930
  isTest?: boolean | undefined;
9931
+ isPoint?: boolean | undefined;
9890
9932
  };
9891
9933
  params: {
9892
9934
  id: string;
@@ -13203,6 +13245,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13203
13245
  get: (options: {
13204
13246
  headers?: Record<string, unknown> | undefined;
13205
13247
  query: {
13248
+ point?: boolean | undefined;
13206
13249
  test?: boolean | undefined;
13207
13250
  };
13208
13251
  fetch?: RequestInit | undefined;
@@ -13306,6 +13349,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13306
13349
  get: (options: {
13307
13350
  headers?: Record<string, unknown> | undefined;
13308
13351
  query: {
13352
+ point?: boolean | undefined;
13309
13353
  test?: boolean | undefined;
13310
13354
  };
13311
13355
  fetch?: RequestInit | undefined;
@@ -13540,6 +13584,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13540
13584
  chainId?: string | undefined;
13541
13585
  mainProtocolId?: string | undefined;
13542
13586
  campaigns?: boolean | undefined;
13587
+ point?: boolean | undefined;
13543
13588
  test?: boolean | undefined;
13544
13589
  rewardTokenSymbol?: string | undefined;
13545
13590
  order?: string | undefined;
@@ -13729,6 +13774,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13729
13774
  chainId?: string | undefined;
13730
13775
  mainProtocolId?: string | undefined;
13731
13776
  campaigns?: boolean | undefined;
13777
+ point?: boolean | undefined;
13732
13778
  test?: boolean | undefined;
13733
13779
  rewardTokenSymbol?: string | undefined;
13734
13780
  order?: string | undefined;
@@ -13757,6 +13803,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13757
13803
  chainId?: number | undefined;
13758
13804
  creatorId?: string | undefined;
13759
13805
  mainParameter?: string | undefined;
13806
+ point?: boolean | undefined;
13760
13807
  tokenAddress?: string | undefined;
13761
13808
  test?: boolean | undefined;
13762
13809
  createdAfter?: number | undefined;
@@ -13933,6 +13980,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13933
13980
  chainId?: string | undefined;
13934
13981
  mainProtocolId?: string | undefined;
13935
13982
  campaigns?: boolean | undefined;
13983
+ point?: boolean | undefined;
13936
13984
  test?: boolean | undefined;
13937
13985
  rewardTokenSymbol?: string | undefined;
13938
13986
  order?: string | undefined;
@@ -13965,6 +14013,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13965
14013
  chainId?: string | undefined;
13966
14014
  mainProtocolId?: string | undefined;
13967
14015
  campaigns?: boolean | undefined;
14016
+ point?: boolean | undefined;
13968
14017
  test?: boolean | undefined;
13969
14018
  rewardTokenSymbol?: string | undefined;
13970
14019
  order?: string | undefined;
@@ -13997,6 +14046,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13997
14046
  chainId?: string | undefined;
13998
14047
  mainProtocolId?: string | undefined;
13999
14048
  campaigns?: boolean | undefined;
14049
+ point?: boolean | undefined;
14000
14050
  test?: boolean | undefined;
14001
14051
  rewardTokenSymbol?: string | undefined;
14002
14052
  order?: string | undefined;
@@ -14240,6 +14290,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14240
14290
  chainId?: number | undefined;
14241
14291
  creatorId?: string | undefined;
14242
14292
  mainParameter?: string | undefined;
14293
+ point?: boolean | undefined;
14243
14294
  tokenAddress?: string | undefined;
14244
14295
  test?: boolean | undefined;
14245
14296
  createdAfter?: number | undefined;
@@ -14340,6 +14391,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14340
14391
  chainId?: number | undefined;
14341
14392
  creatorId?: string | undefined;
14342
14393
  mainParameter?: string | undefined;
14394
+ point?: boolean | undefined;
14343
14395
  tokenAddress?: string | undefined;
14344
14396
  test?: boolean | undefined;
14345
14397
  createdAfter?: number | undefined;
@@ -14370,6 +14422,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14370
14422
  chainId?: number | undefined;
14371
14423
  creatorId?: string | undefined;
14372
14424
  mainParameter?: string | undefined;
14425
+ point?: boolean | undefined;
14373
14426
  tokenAddress?: string | undefined;
14374
14427
  test?: boolean | undefined;
14375
14428
  createdAfter?: number | undefined;
@@ -14403,6 +14456,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14403
14456
  chainId?: number | undefined;
14404
14457
  creatorId?: string | undefined;
14405
14458
  mainParameter?: string | undefined;
14459
+ point?: boolean | undefined;
14406
14460
  tokenAddress?: string | undefined;
14407
14461
  test?: boolean | undefined;
14408
14462
  createdAfter?: number | undefined;
@@ -14499,6 +14553,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14499
14553
  chainId?: number | undefined;
14500
14554
  creatorId?: string | undefined;
14501
14555
  mainParameter?: string | undefined;
14556
+ point?: boolean | undefined;
14502
14557
  tokenAddress?: string | undefined;
14503
14558
  test?: boolean | undefined;
14504
14559
  createdAfter?: number | undefined;
@@ -14694,6 +14749,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14694
14749
  displaySymbol?: string | undefined;
14695
14750
  verified?: boolean | undefined;
14696
14751
  isTest?: boolean | undefined;
14752
+ isPoint?: boolean | undefined;
14697
14753
  }, options: {
14698
14754
  headers: {
14699
14755
  authorization: string;
@@ -16788,6 +16844,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16788
16844
  get: (options: {
16789
16845
  headers?: Record<string, unknown> | undefined;
16790
16846
  query: {
16847
+ point?: boolean | undefined;
16791
16848
  test?: boolean | undefined;
16792
16849
  };
16793
16850
  fetch?: RequestInit | undefined;
@@ -16891,6 +16948,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16891
16948
  get: (options: {
16892
16949
  headers?: Record<string, unknown> | undefined;
16893
16950
  query: {
16951
+ point?: boolean | undefined;
16894
16952
  test?: boolean | undefined;
16895
16953
  };
16896
16954
  fetch?: RequestInit | undefined;
@@ -17125,6 +17183,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17125
17183
  chainId?: string | undefined;
17126
17184
  mainProtocolId?: string | undefined;
17127
17185
  campaigns?: boolean | undefined;
17186
+ point?: boolean | undefined;
17128
17187
  test?: boolean | undefined;
17129
17188
  rewardTokenSymbol?: string | undefined;
17130
17189
  order?: string | undefined;
@@ -17314,6 +17373,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17314
17373
  chainId?: string | undefined;
17315
17374
  mainProtocolId?: string | undefined;
17316
17375
  campaigns?: boolean | undefined;
17376
+ point?: boolean | undefined;
17317
17377
  test?: boolean | undefined;
17318
17378
  rewardTokenSymbol?: string | undefined;
17319
17379
  order?: string | undefined;
@@ -17342,6 +17402,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17342
17402
  chainId?: number | undefined;
17343
17403
  creatorId?: string | undefined;
17344
17404
  mainParameter?: string | undefined;
17405
+ point?: boolean | undefined;
17345
17406
  tokenAddress?: string | undefined;
17346
17407
  test?: boolean | undefined;
17347
17408
  createdAfter?: number | undefined;
@@ -17518,6 +17579,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17518
17579
  chainId?: string | undefined;
17519
17580
  mainProtocolId?: string | undefined;
17520
17581
  campaigns?: boolean | undefined;
17582
+ point?: boolean | undefined;
17521
17583
  test?: boolean | undefined;
17522
17584
  rewardTokenSymbol?: string | undefined;
17523
17585
  order?: string | undefined;
@@ -17550,6 +17612,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17550
17612
  chainId?: string | undefined;
17551
17613
  mainProtocolId?: string | undefined;
17552
17614
  campaigns?: boolean | undefined;
17615
+ point?: boolean | undefined;
17553
17616
  test?: boolean | undefined;
17554
17617
  rewardTokenSymbol?: string | undefined;
17555
17618
  order?: string | undefined;
@@ -17582,6 +17645,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17582
17645
  chainId?: string | undefined;
17583
17646
  mainProtocolId?: string | undefined;
17584
17647
  campaigns?: boolean | undefined;
17648
+ point?: boolean | undefined;
17585
17649
  test?: boolean | undefined;
17586
17650
  rewardTokenSymbol?: string | undefined;
17587
17651
  order?: string | undefined;
@@ -17825,6 +17889,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17825
17889
  chainId?: number | undefined;
17826
17890
  creatorId?: string | undefined;
17827
17891
  mainParameter?: string | undefined;
17892
+ point?: boolean | undefined;
17828
17893
  tokenAddress?: string | undefined;
17829
17894
  test?: boolean | undefined;
17830
17895
  createdAfter?: number | undefined;
@@ -17925,6 +17990,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17925
17990
  chainId?: number | undefined;
17926
17991
  creatorId?: string | undefined;
17927
17992
  mainParameter?: string | undefined;
17993
+ point?: boolean | undefined;
17928
17994
  tokenAddress?: string | undefined;
17929
17995
  test?: boolean | undefined;
17930
17996
  createdAfter?: number | undefined;
@@ -17955,6 +18021,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17955
18021
  chainId?: number | undefined;
17956
18022
  creatorId?: string | undefined;
17957
18023
  mainParameter?: string | undefined;
18024
+ point?: boolean | undefined;
17958
18025
  tokenAddress?: string | undefined;
17959
18026
  test?: boolean | undefined;
17960
18027
  createdAfter?: number | undefined;
@@ -17988,6 +18055,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17988
18055
  chainId?: number | undefined;
17989
18056
  creatorId?: string | undefined;
17990
18057
  mainParameter?: string | undefined;
18058
+ point?: boolean | undefined;
17991
18059
  tokenAddress?: string | undefined;
17992
18060
  test?: boolean | undefined;
17993
18061
  createdAfter?: number | undefined;
@@ -18084,6 +18152,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18084
18152
  chainId?: number | undefined;
18085
18153
  creatorId?: string | undefined;
18086
18154
  mainParameter?: string | undefined;
18155
+ point?: boolean | undefined;
18087
18156
  tokenAddress?: string | undefined;
18088
18157
  test?: boolean | undefined;
18089
18158
  createdAfter?: number | undefined;
@@ -18279,6 +18348,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18279
18348
  displaySymbol?: string | undefined;
18280
18349
  verified?: boolean | undefined;
18281
18350
  isTest?: boolean | undefined;
18351
+ isPoint?: boolean | undefined;
18282
18352
  }, options: {
18283
18353
  headers: {
18284
18354
  authorization: string;
@@ -3,7 +3,7 @@ import type { MetadataBuilder } from "../interface";
3
3
  type campaignType = CampaignEnum.EVENT_BASED;
4
4
  export declare class EventBasedMetadata implements MetadataBuilder<campaignType> {
5
5
  build(computeChainId: ChainId, params: CampaignParameters<campaignType>["campaignParameters"], _subType: CampaignParameters<campaignType>["campaignSubType"]): Promise<{
6
- action: "HOLD";
6
+ action: "SWAP";
7
7
  name: string;
8
8
  tokens: {
9
9
  chainId: ChainId;
@@ -1,7 +1,7 @@
1
1
  export class EventBasedMetadata {
2
2
  async build(computeChainId, params, _subType) {
3
3
  try {
4
- const action = "HOLD";
4
+ const action = "SWAP";
5
5
  const mainProtocolId = "Hanji";
6
6
  let name = `${params.eventID.split("(")[0]} on ${mainProtocolId}`;
7
7
  let tokens = [{ chainId: computeChainId, address: params.contract }];
@@ -33,7 +33,7 @@ export class EventBasedMetadata {
33
33
  mainProtocol: mainProtocolId,
34
34
  };
35
35
  }
36
- catch (error) {
36
+ catch {
37
37
  return {
38
38
  action: "INVALID",
39
39
  name: "Event Based Campaign",