@merkl/api 0.16.22 → 0.16.24

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 (108) hide show
  1. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor/GenericProcessor.d.ts → GenericProcessor.d.ts} +21 -14
  2. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor/GenericProcessor.js → GenericProcessor.js} +45 -38
  3. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/AaveProcessor.d.ts +1 -1
  4. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/AaveProcessor.js +1 -1
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/AnglesLiquid.d.ts +1 -1
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/AnglesLiquid.js +1 -1
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/AssetProcessor.d.ts +1 -1
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/AssetProcessor.js +1 -1
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/AuraProcessor.d.ts +1 -1
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/AuraProcessor.js +3 -3
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/BalancerGaugeProcessor.d.ts +1 -1
  12. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/BalancerGaugeProcessor.js +2 -2
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/BalancerPoolProcessor.d.ts +1 -1
  14. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/BalancerPoolProcessor.js +3 -3
  15. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/BalancerV3PoolProcessor.d.ts +1 -1
  16. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/BalancerV3PoolProcessor.js +1 -1
  17. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/BeefyProcessor.d.ts +1 -1
  18. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/BeefyProcessor.js +1 -1
  19. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/CompoundProcessor.d.ts +1 -1
  20. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/CompoundProcessor.js +1 -1
  21. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/ERC4626Processor.d.ts +1 -1
  22. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/ERC4626Processor.js +1 -1
  23. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/EnzymeProcessor.d.ts +1 -1
  24. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/EnzymeProcessor.js +1 -1
  25. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/EqualizerGaugeProcessor.d.ts +1 -1
  26. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/EqualizerGaugeProcessor.js +1 -1
  27. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/EulerBorrowProcessor.d.ts +1 -1
  28. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/EulerBorrowProcessor.js +1 -1
  29. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/EulerLendProcessor.d.ts +1 -1
  30. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/EulerLendProcessor.js +1 -1
  31. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/FluidProcessor.d.ts +1 -1
  32. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/FluidProcessor.js +1 -1
  33. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/FraxProcessor.d.ts +1 -1
  34. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/FraxProcessor.js +1 -1
  35. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/GammaProcessor.d.ts +1 -1
  36. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/GammaProcessor.js +1 -1
  37. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/GearboxProcessor.d.ts +1 -1
  38. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/GearboxProcessor.js +1 -1
  39. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/HoldStationProcessor.d.ts +1 -1
  40. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/HoldStationProcessor.js +1 -1
  41. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/HourglassProcessor.d.ts +1 -1
  42. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/HourglassProcessor.js +1 -1
  43. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/MaverickBPProcessor.d.ts +1 -1
  44. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/MaverickBPProcessor.js +1 -1
  45. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/MetamorphoProcessor.d.ts +1 -1
  46. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/MetamorphoProcessor.js +1 -1
  47. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/NoLinkVaultProcessor.d.ts +1 -1
  48. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/NoLinkVaultProcessor.js +1 -1
  49. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/PendleProcessor.d.ts +1 -1
  50. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/PendleProcessor.js +1 -1
  51. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/PendleYTProcessor.d.ts +1 -1
  52. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/PendleYTProcessor.js +1 -1
  53. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/RadiantProcessor.d.ts +1 -1
  54. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/RadiantProcessor.js +1 -1
  55. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/RfxProcessor.d.ts +1 -1
  56. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/RfxProcessor.js +1 -1
  57. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/Satlayer.d.ts +1 -1
  58. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/Satlayer.js +1 -1
  59. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/SpectraProcessor.d.ts +1 -1
  60. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/SpectraProcessor.js +1 -1
  61. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/SpectraYTProcessor.d.ts +1 -1
  62. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/SpectraYTProcessor.js +1 -1
  63. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/SpliceProcessor.d.ts +1 -1
  64. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/SpliceProcessor.js +1 -1
  65. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/StakingProcessor.d.ts +1 -1
  66. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/StakingProcessor.js +1 -1
  67. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/SturdySiloProcessor.d.ts +1 -1
  68. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/SturdySiloProcessor.js +1 -1
  69. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/TempestVaultProcessor.d.ts +1 -1
  70. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/TempestVaultProcessor.js +1 -1
  71. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/TemplateProcessor.d.ts +1 -1
  72. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/TemplateProcessor.js +1 -1
  73. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/TorosProcessor.d.ts +1 -1
  74. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/TorosProcessor.js +1 -1
  75. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/UniswapProcessor.d.ts +1 -1
  76. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/UniswapProcessor.js +1 -1
  77. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/VicunaProcessor.d.ts +1 -1
  78. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/VicunaProcessor.js +1 -1
  79. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/WoofiProcessor.d.ts +1 -1
  80. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/WoofiProcessor.js +1 -1
  81. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/ZkSwapThreePoolProcessor.d.ts +1 -1
  82. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/ZkSwapThreePoolProcessor.js +1 -1
  83. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/curveNPoolProcessor.d.ts +1 -1
  84. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/curveNPoolProcessor.js +1 -1
  85. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/curveProcessor.d.ts +1 -1
  86. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/curveProcessor.js +1 -1
  87. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/processorMapping.d.ts +2 -2
  88. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/processorMapping.js +1 -1
  89. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/stakedCurveProcessor.d.ts +1 -1
  90. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/{processor → implementations}/stakedCurveProcessor.js +1 -1
  91. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPrices.js +1 -1
  92. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.js +1 -1
  93. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2.js +1 -1
  94. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3.d.ts +1 -0
  95. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3.js +1 -1
  96. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4.js +1 -1
  97. package/dist/src/modules/v4/campaign/campaign.repository.js +28 -16
  98. package/dist/src/modules/v4/campaign/campaign.service.js +2 -2
  99. package/dist/src/modules/v4/status/status.repository.d.ts +1 -15
  100. package/dist/src/modules/v4/status/status.repository.js +6 -6
  101. package/dist/tsconfig.package.tsbuildinfo +1 -1
  102. package/package.json +1 -1
  103. package/dist/src/internal/controllers/endingCampaigns.d.ts +0 -43
  104. package/dist/src/internal/controllers/endingCampaigns.js +0 -41
  105. package/dist/src/internal/controllers/unclaimed.d.ts +0 -44
  106. package/dist/src/internal/controllers/unclaimed.js +0 -36
  107. package/dist/src/internal/index.d.ts +0 -1
  108. package/dist/src/internal/index.js +0 -34
@@ -1,8 +1,8 @@
1
- import type { Pricer } from "../../../../../utils/pricer";
1
+ import type { Pricer } from "../../../../utils/pricer";
2
2
  import { type CallDto, type Campaign, type CampaignParameters } from "@sdk";
3
- import type { ERC20SupportedCampaignType } from "../../ERC20DynamicData";
4
- import { type tokenType, type tokenTypeStruct } from "../helpers/tokenType";
5
- export declare enum roundType {
3
+ import type { ERC20SupportedCampaignType } from "../ERC20DynamicData";
4
+ import { type tokenType, type tokenTypeStruct } from "./helpers/tokenType";
5
+ export declare enum Round {
6
6
  one = "round1",
7
7
  two = "round2",
8
8
  three = "round3",
@@ -15,9 +15,6 @@ export type callType = {
15
15
  metaData?: any;
16
16
  optional?: boolean;
17
17
  };
18
- export type callKeys = mandatoryCallKeys & {
19
- [key: string]: string;
20
- };
21
18
  export type mandatoryCallKeys = {
22
19
  type: tokenType;
23
20
  protocol: string;
@@ -26,6 +23,9 @@ export type mandatoryCallKeys = {
26
23
  totalSupply: string;
27
24
  whitelistedSupply: string;
28
25
  };
26
+ export type callKeys = mandatoryCallKeys & {
27
+ [key: string]: string;
28
+ };
29
29
  export type dataRaw = {
30
30
  protocol: string;
31
31
  tokenAddress: string;
@@ -44,6 +44,13 @@ export type dataType = {
44
44
  priceTargetToken: number;
45
45
  whitelistedSupplyTargetToken: number;
46
46
  };
47
+ /**
48
+ * Generic Processor to compute dynamic data of ERC20 tokens
49
+ *
50
+ * @params Input - Sets of value that will be passed from rounds to rounds in order to query the blockchain
51
+ * @params DataRaw - Raw data output from the view function calls
52
+ * @params Output - Final output of the processor
53
+ */
47
54
  export declare class GenericProcessor<Input extends callKeys, DataRaw extends dataRaw, Output extends dataType> {
48
55
  rounds: {
49
56
  round1: callType[];
@@ -52,16 +59,16 @@ export declare class GenericProcessor<Input extends callKeys, DataRaw extends da
52
59
  round4: callType[];
53
60
  };
54
61
  debug: boolean;
55
- processingRound1(typeInfo: DataRaw): void;
56
- processingRound2(typeInfo: DataRaw, campaign?: CampaignParameters<ERC20SupportedCampaignType>): void;
57
- processingRound3(typeInfo: DataRaw): void;
58
- processingRound4(typeInfo: DataRaw): void;
62
+ processingRound1(_typeInfo: DataRaw): void;
63
+ processingRound2(_typeInfo: DataRaw, _campaign?: CampaignParameters<ERC20SupportedCampaignType>): void;
64
+ processingRound3(_typeInfo: DataRaw): void;
65
+ processingRound4(_typeInfo: DataRaw): void;
59
66
  handleWhiteListBlacklistRound5(typeInfo: DataRaw, campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.ERC20LOGPROCESSOR> | CampaignParameters<Campaign.ERC20REBASELOGPROCESSOR> | CampaignParameters<Campaign.EULER>): {
60
67
  whitelistedSupplyTargetToken: number;
61
68
  totalSupply: any;
62
69
  blacklistedSupply: number;
63
70
  };
64
- processingRound5(index: number, type: tokenType, typeInfo: DataRaw, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.ERC20LOGPROCESSOR> | CampaignParameters<Campaign.ERC20REBASELOGPROCESSOR> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<Output>;
71
+ processingRound5(_index: number, type: tokenType, typeInfo: DataRaw, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.ERC20LOGPROCESSOR> | CampaignParameters<Campaign.ERC20REBASELOGPROCESSOR> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<Output>;
65
72
  computeRound1(type: tokenType, typeInfo: DataRaw): tokenTypeStruct;
66
73
  computeRound2(index: number, type: tokenType, typeInfo: DataRaw, calls: string[], campaign?: CampaignParameters<ERC20SupportedCampaignType>): tokenTypeStruct;
67
74
  computeRound3(index: number, type: tokenType, typeInfo: DataRaw, calls: string[]): tokenTypeStruct;
@@ -71,7 +78,7 @@ export declare class GenericProcessor<Input extends callKeys, DataRaw extends da
71
78
  generateBlackListCall(type: tokenType, typeInfo: DataRaw, campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.ERC20LOGPROCESSOR> | CampaignParameters<Campaign.ERC20REBASELOGPROCESSOR> | CampaignParameters<Campaign.EULER>): CallDto[];
72
79
  decodeListedSupply(index: number, decimals: number, list: string[], calls: string[]): string;
73
80
  decodeRound(round: callType[], index: number, calls: string[], type: tokenType, data: DataRaw): void;
74
- decodePreviousRound(round: roundType, calls: string[], data: DataRaw, type: tokenType, index: number): void;
81
+ decodePreviousRound(round: Round, calls: string[], data: DataRaw, type: tokenType, index: number): void;
75
82
  encodeRound(round: callType[], callInfo: Input, type: tokenType): CallDto[];
76
- encodeNextRound(round: roundType, type: tokenType, data: DataRaw): CallDto[];
83
+ encodeNextRound(round: Round, type: tokenType, data: DataRaw): CallDto[];
77
84
  }
@@ -1,16 +1,23 @@
1
- import { decodeCall } from "../../../../../utils/decodeCalls";
2
- import { createCall } from "../../../../../utils/encodeCalls";
3
- import { generateCardName } from "../../../../../utils/generateCardName";
4
- import { generateIcons } from "../../../../../utils/generateIcons";
1
+ import { decodeCall } from "../../../../utils/decodeCalls";
2
+ import { createCall } from "../../../../utils/encodeCalls";
3
+ import { generateCardName } from "../../../../utils/generateCardName";
4
+ import { generateIcons } from "../../../../utils/generateIcons";
5
5
  import { BN2Number } from "@sdk";
6
- import { tokenTypeToProtocol } from "../helpers/tokenType";
7
- export var roundType;
8
- (function (roundType) {
9
- roundType["one"] = "round1";
10
- roundType["two"] = "round2";
11
- roundType["three"] = "round3";
12
- roundType["four"] = "round4";
13
- })(roundType || (roundType = {}));
6
+ import { tokenTypeToProtocol } from "./helpers/tokenType";
7
+ export var Round;
8
+ (function (Round) {
9
+ Round["one"] = "round1";
10
+ Round["two"] = "round2";
11
+ Round["three"] = "round3";
12
+ Round["four"] = "round4";
13
+ })(Round || (Round = {}));
14
+ /**
15
+ * Generic Processor to compute dynamic data of ERC20 tokens
16
+ *
17
+ * @params Input - Sets of value that will be passed from rounds to rounds in order to query the blockchain
18
+ * @params DataRaw - Raw data output from the view function calls
19
+ * @params Output - Final output of the processor
20
+ */
14
21
  export class GenericProcessor {
15
22
  rounds = {
16
23
  round1: [],
@@ -19,10 +26,10 @@ export class GenericProcessor {
19
26
  round4: [{ key: "totalSupply", call: "totalSupply", target: "tokenAddress" }],
20
27
  };
21
28
  debug = false;
22
- processingRound1(typeInfo) { }
23
- processingRound2(typeInfo, campaign) { }
24
- processingRound3(typeInfo) { }
25
- processingRound4(typeInfo) { }
29
+ processingRound1(_typeInfo) { }
30
+ processingRound2(_typeInfo, _campaign) { }
31
+ processingRound3(_typeInfo) { }
32
+ processingRound4(_typeInfo) { }
26
33
  handleWhiteListBlacklistRound5(typeInfo, campaign) {
27
34
  const totalSupply = BN2Number(typeInfo.totalSupply, campaign.campaignParameters.decimalsTargetToken);
28
35
  const whitelistedSupply = Number(typeInfo.whitelistedSupply);
@@ -35,7 +42,7 @@ export class GenericProcessor {
35
42
  blacklistedSupply,
36
43
  };
37
44
  }
38
- async processingRound5(index, type, typeInfo, calls, campaign, pricer) {
45
+ async processingRound5(_index, type, typeInfo, _calls, campaign, pricer) {
39
46
  const { whitelistedSupplyTargetToken, totalSupply, blacklistedSupply } = this.handleWhiteListBlacklistRound5(typeInfo, campaign);
40
47
  const priceTargetToken = (await pricer.get({ symbol: campaign.campaignParameters.symbolTargetToken })) ?? 0;
41
48
  const tvl = whitelistedSupplyTargetToken * priceTargetToken;
@@ -56,57 +63,57 @@ export class GenericProcessor {
56
63
  if (this.debug) {
57
64
  console.log("Round 1", {
58
65
  type: type,
59
- calls: this.encodeNextRound(roundType.one, type, typeInfo),
66
+ calls: this.encodeNextRound(Round.one, type, typeInfo),
60
67
  typeInfo,
61
68
  });
62
69
  }
63
70
  return {
64
71
  type: type,
65
- calls: this.encodeNextRound(roundType.one, type, typeInfo),
72
+ calls: this.encodeNextRound(Round.one, type, typeInfo),
66
73
  typeInfo,
67
74
  };
68
75
  }
69
76
  computeRound2(index, type, typeInfo, calls, campaign) {
70
- this.decodePreviousRound(roundType.one, calls, typeInfo, type, index);
77
+ this.decodePreviousRound(Round.one, calls, typeInfo, type, index);
71
78
  this.processingRound2(typeInfo, campaign);
72
79
  if (this.debug) {
73
80
  console.log("Round 2", {
74
81
  type: type,
75
- calls: this.encodeNextRound(roundType.two, type, typeInfo),
82
+ calls: this.encodeNextRound(Round.two, type, typeInfo),
76
83
  typeInfo,
77
84
  });
78
85
  }
79
86
  return {
80
87
  type: type,
81
- calls: this.encodeNextRound(roundType.two, type, typeInfo),
88
+ calls: this.encodeNextRound(Round.two, type, typeInfo),
82
89
  typeInfo,
83
90
  };
84
91
  }
85
92
  computeRound3(index, type, typeInfo, calls) {
86
- this.decodePreviousRound(roundType.two, calls, typeInfo, type, index);
93
+ this.decodePreviousRound(Round.two, calls, typeInfo, type, index);
87
94
  this.processingRound3(typeInfo);
88
95
  if (this.debug) {
89
96
  console.log("Round 3", {
90
97
  type: type,
91
- calls: this.encodeNextRound(roundType.three, type, typeInfo),
98
+ calls: this.encodeNextRound(Round.three, type, typeInfo),
92
99
  typeInfo,
93
100
  });
94
101
  }
95
102
  return {
96
103
  type: type,
97
- calls: this.encodeNextRound(roundType.three, type, typeInfo),
104
+ calls: this.encodeNextRound(Round.three, type, typeInfo),
98
105
  typeInfo,
99
106
  };
100
107
  }
101
108
  computeRound4(index, type, typeInfo, calls, campaign) {
102
109
  const blacklistedLiquidityCalls = this.generateBlackListCall(type, typeInfo, campaign);
103
110
  const whitelistedLiquidityCalls = this.generateWhitelistCall(type, typeInfo, campaign);
104
- this.decodePreviousRound(roundType.three, calls, typeInfo, type, index);
111
+ this.decodePreviousRound(Round.three, calls, typeInfo, type, index);
105
112
  this.processingRound4(typeInfo);
106
113
  if (this.debug) {
107
114
  console.log("Round 4", {
108
115
  type: type,
109
- calls: this.encodeNextRound(roundType.four, type, typeInfo),
116
+ calls: this.encodeNextRound(Round.four, type, typeInfo),
110
117
  typeInfo,
111
118
  });
112
119
  }
@@ -114,7 +121,7 @@ export class GenericProcessor {
114
121
  type: type,
115
122
  calls: whitelistedLiquidityCalls
116
123
  .concat(blacklistedLiquidityCalls)
117
- .concat(this.encodeNextRound(roundType.four, type, typeInfo)),
124
+ .concat(this.encodeNextRound(Round.four, type, typeInfo)),
118
125
  typeInfo: {
119
126
  ...typeInfo,
120
127
  },
@@ -125,7 +132,7 @@ export class GenericProcessor {
125
132
  index = index + campaign.campaignParameters.whitelist.length;
126
133
  typeInfo.blacklistedSupply = this.decodeListedSupply(index, campaign.campaignParameters.decimalsTargetToken, campaign.campaignParameters.blacklist, calls);
127
134
  index = index + campaign.campaignParameters.blacklist.length;
128
- this.decodePreviousRound(roundType.four, calls, typeInfo, type, index);
135
+ this.decodePreviousRound(Round.four, calls, typeInfo, type, index);
129
136
  const outputInfo = (await this.processingRound5(index, type, typeInfo, calls, campaign, pricer));
130
137
  if (this.debug) {
131
138
  console.log("Round 5", {
@@ -184,7 +191,7 @@ export class GenericProcessor {
184
191
  index++;
185
192
  data[key] = value;
186
193
  }
187
- catch (error) {
194
+ catch {
188
195
  index++;
189
196
  }
190
197
  }
@@ -196,16 +203,16 @@ export class GenericProcessor {
196
203
  });
197
204
  }
198
205
  decodePreviousRound(round, calls, data, type, index) {
199
- if (round === roundType.one) {
206
+ if (round === Round.one) {
200
207
  this.decodeRound(this.rounds.round1, index, calls, type, data);
201
208
  }
202
- if (round === roundType.two) {
209
+ if (round === Round.two) {
203
210
  this.decodeRound(this.rounds.round2, index, calls, type, data);
204
211
  }
205
- if (round === roundType.three) {
212
+ if (round === Round.three) {
206
213
  this.decodeRound(this.rounds.round3, index, calls, type, data);
207
214
  }
208
- if (round === roundType.four) {
215
+ if (round === Round.four) {
209
216
  this.decodeRound(this.rounds.round4, index, calls, type, data);
210
217
  }
211
218
  }
@@ -231,16 +238,16 @@ export class GenericProcessor {
231
238
  return acc;
232
239
  }, {});
233
240
  let calls = [];
234
- if (round === roundType.one) {
241
+ if (round === Round.one) {
235
242
  calls = this.encodeRound(this.rounds.round1, callInfo, type);
236
243
  }
237
- if (round === roundType.two) {
244
+ if (round === Round.two) {
238
245
  calls = this.encodeRound(this.rounds.round2, callInfo, type);
239
246
  }
240
- if (round === roundType.three) {
247
+ if (round === Round.three) {
241
248
  calls = this.encodeRound(this.rounds.round3, callInfo, type);
242
249
  }
243
- if (round === roundType.four) {
250
+ if (round === Round.four) {
244
251
  calls = this.encodeRound(this.rounds.round4, callInfo, type);
245
252
  }
246
253
  return calls;
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import type { Campaign, CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawAave;
7
7
  call: string;
@@ -1,5 +1,5 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
- import { GenericProcessor } from "./GenericProcessor";
2
+ import { GenericProcessor } from "../GenericProcessor";
3
3
  export class AaveProcessor extends GenericProcessor {
4
4
  rounds = {
5
5
  round1: [{ key: "underlying", call: "underlying", target: "tokenAddress" }],
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawAnglesLiquid;
7
7
  call: string;
@@ -1,6 +1,6 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
- import { GenericProcessor } from "./GenericProcessor";
3
+ import { GenericProcessor } from "../GenericProcessor";
4
4
  export class AnglesLiquidProcessor extends GenericProcessor {
5
5
  rounds = {
6
6
  round1: [],
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawAsset;
7
7
  call: string;
@@ -1,7 +1,7 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
+ import { GenericProcessor } from "../GenericProcessor";
3
4
  import { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor } from "./GenericProcessor";
5
5
  export class AssetProcessor extends GenericProcessor {
6
6
  rounds = {
7
7
  round1: [
@@ -1,8 +1,8 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { BigNumber } from "ethers";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
4
5
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
6
6
  type callType = {
7
7
  key: keyof dataRawAura;
8
8
  call: string;
@@ -3,7 +3,7 @@ import { createCall } from "../../../../../utils/encodeCalls";
3
3
  import { generateCardName } from "../../../../../utils/generateCardName";
4
4
  import { BN2Number } from "@sdk";
5
5
  import { utils } from "ethers";
6
- import { GenericProcessor, roundType } from "./GenericProcessor";
6
+ import { GenericProcessor, Round } from "../GenericProcessor";
7
7
  export class AuraProcessor extends GenericProcessor {
8
8
  rounds = {
9
9
  round1: [
@@ -92,9 +92,9 @@ export class AuraProcessor extends GenericProcessor {
92
92
  computeRound4(index, type, typeInfo, calls, campaign) {
93
93
  // This is to enforce type checking
94
94
  const blacklistedLiquidityCalls = this.generateBlackListCall(type, typeInfo, campaign);
95
- this.decodePreviousRound(roundType.three, calls, typeInfo, type, index);
95
+ this.decodePreviousRound(Round.three, calls, typeInfo, type, index);
96
96
  this.processingRound4(typeInfo);
97
- const poolCalls = this.encodeNextRound(roundType.four, type, typeInfo);
97
+ const poolCalls = this.encodeNextRound(Round.four, type, typeInfo);
98
98
  for (const poolToken of typeInfo.poolTokens) {
99
99
  poolCalls.push(createCall(poolToken.token, "symbol"));
100
100
  poolCalls.push(createCall(poolToken.token, "decimals"));
@@ -1,8 +1,8 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { BigNumber } from "ethers";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
4
5
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
6
6
  type callType = {
7
7
  key: keyof dataRawBG;
8
8
  call: string;
@@ -2,7 +2,7 @@ import { decodeCall } from "../../../../../utils/decodeCalls";
2
2
  import { createCall } from "../../../../../utils/encodeCalls";
3
3
  import { generateCardName } from "../../../../../utils/generateCardName";
4
4
  import { BN2Number } from "@sdk";
5
- import { GenericProcessor, roundType } from "./GenericProcessor";
5
+ import { GenericProcessor, Round } from "../GenericProcessor";
6
6
  export class BalancerGaugeProcessor extends GenericProcessor {
7
7
  rounds = {
8
8
  round1: [{ key: "gyroscopeToken", call: "lp_token", target: "tokenAddress" }],
@@ -65,7 +65,7 @@ export class BalancerGaugeProcessor extends GenericProcessor {
65
65
  computeRound4(index, type, typeInfo, calls, campaign) {
66
66
  // This is to enforce type checking
67
67
  const blacklistedLiquidityCalls = this.generateBlackListCall(type, typeInfo, campaign);
68
- this.decodePreviousRound(roundType.three, calls, typeInfo, type, index);
68
+ this.decodePreviousRound(Round.three, calls, typeInfo, type, index);
69
69
  this.processingRound4(typeInfo);
70
70
  const poolCalls = [createCall(typeInfo.tokenAddress, "totalSupply")];
71
71
  for (const poolToken of typeInfo.poolTokens) {
@@ -1,8 +1,8 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import { BigNumber } from "ethers";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
4
5
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
6
6
  type callType = {
7
7
  key: keyof dataRawBP;
8
8
  call: string;
@@ -4,7 +4,7 @@ import { generateCardName } from "../../../../../utils/generateCardName";
4
4
  import { BN2Number } from "@sdk";
5
5
  import { BigNumber } from "ethers";
6
6
  import { utils } from "ethers";
7
- import { GenericProcessor, roundType } from "./GenericProcessor";
7
+ import { GenericProcessor, Round } from "../GenericProcessor";
8
8
  export class BalancerPoolProcessor extends GenericProcessor {
9
9
  rounds = {
10
10
  round1: [],
@@ -77,9 +77,9 @@ export class BalancerPoolProcessor extends GenericProcessor {
77
77
  computeRound4(index, type, typeInfo, calls, campaign) {
78
78
  // This is to enforce type checking
79
79
  const blacklistedLiquidityCalls = this.generateBlackListCall(type, typeInfo, campaign);
80
- this.decodePreviousRound(roundType.three, calls, typeInfo, type, index);
80
+ this.decodePreviousRound(Round.three, calls, typeInfo, type, index);
81
81
  this.processingRound4(typeInfo);
82
- const poolCalls = this.encodeNextRound(roundType.four, type, typeInfo);
82
+ const poolCalls = this.encodeNextRound(Round.four, type, typeInfo);
83
83
  for (const poolToken of typeInfo.poolTokens) {
84
84
  poolCalls.push(createCall(poolToken.token, "symbol"));
85
85
  poolCalls.push(createCall(poolToken.token, "decimals"));
@@ -1,8 +1,8 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { BigNumber } from "ethers";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
4
5
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
6
6
  type callType = {
7
7
  key: keyof dataRawBalancerV3;
8
8
  call: string;
@@ -1,6 +1,6 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
- import { GenericProcessor } from "./GenericProcessor";
3
+ import { GenericProcessor } from "../GenericProcessor";
4
4
  const matchSingleNumber = (input) => {
5
5
  const regex = /^\d+$/;
6
6
  return regex.test(input);
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawBeefy;
7
7
  call: string;
@@ -1,6 +1,6 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
- import { GenericProcessor } from "./GenericProcessor";
3
+ import { GenericProcessor } from "../GenericProcessor";
4
4
  export class BeefyProcessor extends GenericProcessor {
5
5
  rounds = {
6
6
  round1: [
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawCompound;
7
7
  call: string;
@@ -1,6 +1,6 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
- import { GenericProcessor } from "./GenericProcessor";
3
+ import { GenericProcessor } from "../GenericProcessor";
4
4
  export class CompoundProcessor extends GenericProcessor {
5
5
  rounds = {
6
6
  round1: [{ key: "baseToken", call: "baseToken", target: "tokenAddress" }],
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawERC4626;
7
7
  call: string;
@@ -1,6 +1,6 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
- import { GenericProcessor } from "./GenericProcessor";
3
+ import { GenericProcessor } from "../GenericProcessor";
4
4
  export class ERC4626Processor extends GenericProcessor {
5
5
  rounds = {
6
6
  round1: [{ key: "asset", call: "asset", target: "tokenAddress" }],
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawEnzyme;
7
7
  call: string;
@@ -1,6 +1,6 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
- import { GenericProcessor } from "./GenericProcessor";
3
+ import { GenericProcessor } from "../GenericProcessor";
4
4
  export class EnzymeProcessor extends GenericProcessor {
5
5
  rounds = {
6
6
  round1: [
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import type { Campaign, CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawEqualizerGauge;
7
7
  call: string;
@@ -1,6 +1,6 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import axios from "axios";
3
- import { GenericProcessor } from "./GenericProcessor";
3
+ import { GenericProcessor } from "../GenericProcessor";
4
4
  const findObjectByFarm = (dict, farmAddress) => {
5
5
  for (const key in dict) {
6
6
  if (dict[key].config && dict[key].config.farm === farmAddress) {
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawEuler;
7
7
  call: string;
@@ -1,7 +1,7 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number, EulerSubCampaignType } from "@sdk";
3
+ import { GenericProcessor } from "../GenericProcessor";
3
4
  import { fetchEulerVaultName } from "../helpers/eulerVaultNames";
4
- import { GenericProcessor } from "./GenericProcessor";
5
5
  export class EulerBorrowProcessor extends GenericProcessor {
6
6
  rounds = {
7
7
  round1: [],
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawEuler;
7
7
  call: string;
@@ -1,7 +1,7 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
+ import { GenericProcessor } from "../GenericProcessor";
3
4
  import { fetchEulerVaultName } from "../helpers/eulerVaultNames";
4
- import { GenericProcessor } from "./GenericProcessor";
5
5
  export class EulerLendProcessor extends GenericProcessor {
6
6
  rounds = {
7
7
  round1: [],
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawFluid;
7
7
  call: string;
@@ -1,7 +1,7 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
3
  import { BigNumber } from "ethers";
4
- import { GenericProcessor } from "./GenericProcessor";
4
+ import { GenericProcessor } from "../GenericProcessor";
5
5
  export class FluidProcessor extends GenericProcessor {
6
6
  rounds = {
7
7
  round1: [{ key: "underlying", call: "underlying", target: "tokenAddress" }],
@@ -1,7 +1,7 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "../GenericProcessor";
3
4
  import { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawFrax;
7
7
  call: string;
@@ -1,7 +1,7 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number } from "@sdk";
3
+ import { GenericProcessor } from "../GenericProcessor";
3
4
  import { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor } from "./GenericProcessor";
5
5
  export class FraxProcessor extends GenericProcessor {
6
6
  rounds = {
7
7
  round1: [