@merkl/api 0.19.36 → 0.19.37

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.
@@ -19,6 +19,8 @@ const factoryAddresses = {
19
19
  "0x35A338522a435D46f77Be32C70E215B813D0e3aC": tokenType.pendleYT, // Pendle YT Factory
20
20
  "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73": tokenType.pancakeswap, // PancakeSwap Factory BNB
21
21
  "0x70ee0A6DB4F5a2Dc4d9c0b57bE97B9987e75BAFD": tokenType.pendleYT, // Pendle YT Factory
22
+ "0x0582D93FD9c9d42f26bE5D86a5f75291F92102C2": tokenType.pendleYT, // Pendle Factory
23
+ "0xFeE31A6eC6eBefa0b5A594Bf5b1139e3c6fAA0fB": tokenType.pendle, // Pendle Factory
22
24
  "0xFD513630F697A9C1731F196185fb9ebA6eAAc20B": tokenType.cpmmGamma, // CPMMGAMMA Factory
23
25
  "0x9Ad6C38BE94206cA50bb0d90783181662f0Cfa10": tokenType.traderJoe, // Trader Joe Factory
24
26
  "0x5Ea9DD3b6f042A34Df818C6c1324BC5A7c61427a": tokenType.curve, // Curve Corn 2crypto Factory
@@ -424,6 +424,7 @@ declare const AnglesInterfaceCampaigns: {
424
424
  targetToken: string;
425
425
  whitelist: never[];
426
426
  blacklist: never[];
427
+ apr: string;
427
428
  url: string;
428
429
  forwarders: never[];
429
430
  };
@@ -434,6 +435,7 @@ declare const AnglesInterfaceCampaigns: {
434
435
  targetToken: string;
435
436
  whitelist: never[];
436
437
  blacklist: never[];
438
+ apr: string;
437
439
  url: string;
438
440
  forwarders: never[];
439
441
  };
@@ -463,6 +463,7 @@ const AnglesInterfaceCampaigns = {
463
463
  targetToken: "0x9700C4C218237550EAd3a78022d43215A717e5e7",
464
464
  whitelist: [],
465
465
  blacklist: [],
466
+ apr: "1095",
466
467
  url: "https://app.pendle.finance/trade/pools/0x9700C4C218237550EAd3a78022d43215A717e5e7/zap/in?chain=sonic",
467
468
  forwarders: [],
468
469
  },
@@ -473,6 +474,7 @@ const AnglesInterfaceCampaigns = {
473
474
  targetToken: "0x081424EC3F4BFe0ad829297D6Cb73997656F56ac",
474
475
  whitelist: [],
475
476
  blacklist: [],
477
+ apr: "1095",
476
478
  url: "https://app.pendle.finance/trade/pools/0x081424EC3F4BFe0ad829297D6Cb73997656F56ac/zap/in?chain=sonic",
477
479
  forwarders: [],
478
480
  },
@@ -660,11 +662,11 @@ const EtherlinkInterfaceCampaigns = {
660
662
  campaignType: Campaign.EVENT_BASED,
661
663
  contract: "0xd0bc067cf877f7b76ceb331891331d9e6acda1a7",
662
664
  eventID: id("OrderPlaced(address,uint64,bool,uint128,uint72,uint128,uint128,uint128,uint128,uint128,bool,bool)"),
663
- topicToData: [{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 7, multiplier: (3n ** 10n).toString() }],
665
+ topicToData: [{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (3n * 10n ** 19n).toString() }],
664
666
  computeScoreParameters: {
665
667
  computeMethod: ComputeScoreMethod.cappedScorePercentageHistorical,
666
668
  computeSettings: {
667
- maxRewards: (10n ** 8n).toString(),
669
+ maxRewards: (2n * 10n ** 8n).toString(),
668
670
  },
669
671
  },
670
672
  decodeDataValue: [
@@ -690,11 +692,11 @@ const EtherlinkInterfaceCampaigns = {
690
692
  campaignType: Campaign.EVENT_BASED,
691
693
  contract: "0x65ea4dd7f789c71c0f57ed84b3bdc3062898d3cb",
692
694
  eventID: id("OrderPlaced(address,uint64,bool,uint128,uint72,uint128,uint128,uint128,uint128,uint128,bool,bool)"),
693
- topicToData: [{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 7, multiplier: (3n ** 10n).toString() }],
695
+ topicToData: [{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (3n * 10n ** 19n).toString() }],
694
696
  computeScoreParameters: {
695
697
  computeMethod: ComputeScoreMethod.cappedScorePercentageHistorical,
696
698
  computeSettings: {
697
- maxRewards: (10n ** 8n).toString(),
699
+ maxRewards: (2n * 10n ** 8n).toString(),
698
700
  },
699
701
  },
700
702
  decodeDataValue: [
@@ -720,11 +722,11 @@ const EtherlinkInterfaceCampaigns = {
720
722
  campaignType: Campaign.EVENT_BASED,
721
723
  contract: "0xbb6b01d94e3f6ebae8647cb56d544f57928ab758",
722
724
  eventID: id("OrderPlaced(address,uint64,bool,uint128,uint72,uint128,uint128,uint128,uint128,uint128,bool,bool)"),
723
- topicToData: [{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 7, multiplier: (3n ** 10n).toString() }],
725
+ topicToData: [{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (3n * 10n ** 19n).toString() }],
724
726
  computeScoreParameters: {
725
727
  computeMethod: ComputeScoreMethod.cappedScorePercentageHistorical,
726
728
  computeSettings: {
727
- maxRewards: (10n ** 8n).toString(),
729
+ maxRewards: (2n * 10n ** 8n).toString(),
728
730
  },
729
731
  },
730
732
  decodeDataValue: [