@merkl/api 0.10.118 → 0.10.119

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/dist/database/engine/.generated/index.d.ts +1423 -189
  2. package/dist/database/engine/.generated/package.json +1 -1
  3. package/dist/database/engine/.generated/schema.prisma +9 -3
  4. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +4 -4
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AssetProcessor.d.ts +3 -3
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +3 -3
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerGaugeProcessor.d.ts +3 -3
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerPoolProcessor.d.ts +3 -3
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BeefyProcessor.d.ts +4 -4
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/CompoundProcessor.d.ts +4 -4
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EnzymeProcessor.d.ts +5 -5
  12. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerBorrowProcessor.d.ts +5 -4
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerLendProcessor.d.ts +4 -3
  14. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FluidProcessor.d.ts +4 -4
  15. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FraxProcessor.d.ts +4 -4
  16. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GearboxProcessor.d.ts +4 -4
  17. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.d.ts +3 -1
  18. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +4 -4
  19. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +12 -10
  20. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/RadiantProcessor.d.ts +4 -4
  21. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +3 -3
  22. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SturdySiloProcessor.d.ts +4 -4
  23. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TemplateProcessor.d.ts +3 -3
  24. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TorosProcessor.d.ts +4 -3
  25. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/UniswapProcessor.d.ts +4 -4
  26. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/curveProcessor.d.ts +4 -4
  27. package/dist/tsconfig.package.tsbuildinfo +1 -1
  28. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-0a7328d289178dfc3d2435a7d4d2e9f0cf2b4f4f86b7c7360ef7632323998bb4",
2
+ "name": "prisma-client-7f45b7454b156a79bbbccc40cd019348cf13c70ba7b3318a1b8b2228a4c67099",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -2,7 +2,7 @@ generator client {
2
2
  provider = "prisma-client-js"
3
3
  binaryTargets = ["native", "linux-arm64-openssl-1.1.x", "linux-musl-arm64-openssl-3.0.x"]
4
4
  output = ".generated/"
5
- previewFeatures = ["fullTextSearch"]
5
+ previewFeatures = ["fullTextSearchPostgres", "relationJoins"]
6
6
  }
7
7
 
8
8
  datasource db {
@@ -186,8 +186,6 @@ model ERC20Holders {
186
186
  @@id([chainId, token])
187
187
  }
188
188
 
189
- // TO DROP
190
-
191
189
  model Tokens {
192
190
  chainId Int
193
191
  address String @db.Char(42)
@@ -197,6 +195,14 @@ model Tokens {
197
195
  @@id([chainId, address])
198
196
  }
199
197
 
198
+ model StateSave {
199
+ id String
200
+ blockNumber Int
201
+ state Json
202
+
203
+ @@id([id, blockNumber])
204
+ }
205
+
200
206
  model CampaignCreators {
201
207
  address String @db.Char(42)
202
208
  tags String @default("")
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import type { Campaign, CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawAave;
7
7
  call: string;
8
8
  target: keyof callKeysAave;
9
- metaData?: any;
9
+ metaData?: keyof callKeysAave;
10
10
  };
11
- export type callKeysAave = callKeys & {
11
+ export type callKeysAave = mandatoryCallKeys & {
12
12
  underlying: string;
13
13
  symbolUnderlyingToken: string;
14
14
  };
@@ -25,6 +25,6 @@ export declare class AaveProcessor extends GenericProcessor<callKeysAave, dataRa
25
25
  round3: callType[];
26
26
  round4: callType[];
27
27
  };
28
- processingRound5(index: number, type: tokenType, typeInfo: dataRawAave, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeAave>;
28
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawAave, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeAave>;
29
29
  }
30
30
  export {};
@@ -1,15 +1,15 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawAsset;
7
7
  call: string;
8
8
  target: keyof callKeysAsset;
9
- metaData?: any;
9
+ metaData?: keyof callKeysAsset;
10
10
  optional?: boolean;
11
11
  };
12
- type callKeysAsset = callKeys & {
12
+ type callKeysAsset = mandatoryCallKeys & {
13
13
  underlying: string;
14
14
  exchangeRate: string;
15
15
  symbolUnderlyingToken: string;
@@ -2,14 +2,14 @@ import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { BigNumber } from "ethers";
4
4
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
6
6
  type callType = {
7
7
  key: keyof dataRawAura;
8
8
  call: string;
9
9
  target: keyof callKeysAura;
10
- metaData?: any;
10
+ metaData?: keyof callKeysAura;
11
11
  };
12
- type callKeysAura = callKeys & {
12
+ type callKeysAura = mandatoryCallKeys & {
13
13
  balancerPool: string;
14
14
  vault: string;
15
15
  auraOperator: string;
@@ -2,14 +2,14 @@ import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { BigNumber } from "ethers";
4
4
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
6
6
  type callType = {
7
7
  key: keyof dataRawBG;
8
8
  call: string;
9
9
  target: keyof callKeysBG;
10
- metaData?: any;
10
+ metaData?: keyof callKeysBG;
11
11
  };
12
- type callKeysBG = callKeys & {
12
+ type callKeysBG = mandatoryCallKeys & {
13
13
  gyroscopeToken: string;
14
14
  balanceUnderlyingPoolTokens: string;
15
15
  totalSupplyUnderlyingPoolTokens: string;
@@ -2,14 +2,14 @@ import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import { BigNumber } from "ethers";
4
4
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
6
6
  type callType = {
7
7
  key: keyof dataRawBP;
8
8
  call: string;
9
9
  target: keyof callKeysBP;
10
- metaData?: any;
10
+ metaData?: keyof callKeysBP;
11
11
  };
12
- type callKeysBP = callKeys & {
12
+ type callKeysBP = mandatoryCallKeys & {
13
13
  tokenAddress: string;
14
14
  poolId: string;
15
15
  vault: string;
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawBeefy;
7
7
  call: string;
8
8
  target: keyof callKeysBeefy;
9
- metaData?: any;
9
+ metaData?: keyof callKeysBeefy;
10
10
  };
11
- type callKeysBeefy = callKeys & {
11
+ type callKeysBeefy = mandatoryCallKeys & {
12
12
  underlying: string;
13
13
  pricePerShare: string;
14
14
  token0: string;
@@ -43,6 +43,6 @@ export declare class BeefyProcessor extends GenericProcessor<callKeysBeefy, data
43
43
  round3: callType[];
44
44
  round4: callType[];
45
45
  };
46
- processingRound5(index: number, type: tokenType, typeInfo: dataRawBeefy, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeBeefy>;
46
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawBeefy, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeBeefy>;
47
47
  }
48
48
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawCompound;
7
7
  call: string;
8
8
  target: keyof callKeysCompound;
9
- metaData?: any;
9
+ metaData?: keyof callKeysCompound;
10
10
  };
11
- type callKeysCompound = callKeys & {
11
+ type callKeysCompound = mandatoryCallKeys & {
12
12
  tokenAddress: string;
13
13
  totalBorrow: string;
14
14
  balanceBaseToken: string;
@@ -39,6 +39,6 @@ export declare class CompoundProcessor extends GenericProcessor<callKeysCompound
39
39
  round3: callType[];
40
40
  round4: callType[];
41
41
  };
42
- processingRound5(index: number, type: tokenType, typeInfo: dataRawCompound, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeCompound>;
42
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawCompound, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeCompound>;
43
43
  }
44
44
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawEnzyme;
7
7
  call: string;
8
8
  target: keyof callKeysEnzyme;
9
- metaData?: any;
9
+ metaData?: keyof callKeysEnzyme;
10
10
  };
11
- type callKeysEnzyme = callKeys & {
11
+ type callKeysEnzyme = mandatoryCallKeys & {
12
12
  factory: string;
13
13
  underlying: string;
14
14
  exchangeRate: string;
@@ -33,8 +33,8 @@ export declare class EnzymeProcessor extends GenericProcessor<callKeysEnzyme, da
33
33
  round3: callType[];
34
34
  round4: callType[];
35
35
  };
36
- processingRound5(index: number, type: tokenType, typeInfo: dataRawEnzyme, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeEnzyme>;
37
- processingRound2(typeInfo: callKeys): void;
36
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawEnzyme, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeEnzyme>;
37
+ processingRound2(typeInfo: dataRawEnzyme): void;
38
38
  computeRound3(index: number, type: tokenType, typeInfo: dataRawEnzyme, calls: string[]): tokenTypeStruct;
39
39
  }
40
40
  export {};
@@ -1,19 +1,20 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawEuler;
7
7
  call: string;
8
8
  target: keyof callKeysEuler;
9
- metaData?: any;
9
+ metaData?: keyof callKeysEuler;
10
10
  };
11
- type callKeysEuler = callKeys & {
11
+ type callKeysEuler = mandatoryCallKeys & {
12
12
  vault: string;
13
13
  underlying: string;
14
14
  symbolUnderlyingToken: string;
15
15
  decimalsUnderlyingToken: string;
16
16
  targetTotalAsset: string;
17
+ totalAssets: string;
17
18
  };
18
19
  type dataRawEuler = callKeysEuler & {};
19
20
  type dataTypeEuler = dataType & {
@@ -32,6 +33,6 @@ export declare class EulerBorrowProcessor extends GenericProcessor<callKeysEuler
32
33
  round3: callType[];
33
34
  round4: callType[];
34
35
  };
35
- processingRound5(index: number, type: tokenType, typeInfo: dataRawEuler, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeEuler>;
36
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawEuler, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeEuler>;
36
37
  }
37
38
  export {};
@@ -1,19 +1,20 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawEuler;
7
7
  call: string;
8
8
  target: keyof callKeysEuler;
9
- metaData?: any;
9
+ metaData?: keyof callKeysEuler;
10
10
  };
11
- type callKeysEuler = callKeys & {
11
+ type callKeysEuler = mandatoryCallKeys & {
12
12
  vault: string;
13
13
  underlying: string;
14
14
  symbolUnderlyingToken: string;
15
15
  decimalsUnderlyingToken: string;
16
16
  targetTotalAsset: string;
17
+ totalAssets: string;
17
18
  };
18
19
  type dataRawEuler = callKeysEuler & {};
19
20
  type dataTypeEuler = dataType & {
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawFluid;
7
7
  call: string;
8
8
  target: keyof callKeysFluid;
9
- metaData?: any;
9
+ metaData?: keyof callKeysFluid;
10
10
  };
11
- type callKeysFluid = callKeys & {
11
+ type callKeysFluid = mandatoryCallKeys & {
12
12
  underlying: string;
13
13
  exchangeRate: string;
14
14
  symbolUnderlyingToken: string;
@@ -33,7 +33,7 @@ export declare class FluidProcessor extends GenericProcessor<callKeysFluid, data
33
33
  round3: callType[];
34
34
  round4: callType[];
35
35
  };
36
- processingRound5(index: number, type: tokenType, typeInfo: dataRawFluid, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeFluid>;
36
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawFluid, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeFluid>;
37
37
  processingRound3(typeInfo: dataRawFluid): void;
38
38
  }
39
39
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawFrax;
7
7
  call: string;
8
8
  target: keyof callKeysFrax;
9
- metaData?: any;
9
+ metaData?: keyof callKeysFrax;
10
10
  };
11
- type callKeysFrax = callKeys & {
11
+ type callKeysFrax = mandatoryCallKeys & {
12
12
  underlying: string;
13
13
  sharePrice: string;
14
14
  symbolUnderlyingToken: string;
@@ -28,6 +28,6 @@ export declare class FraxProcessor extends GenericProcessor<callKeysFrax, dataRa
28
28
  round3: callType[];
29
29
  round4: callType[];
30
30
  };
31
- processingRound5(index: number, type: tokenType, typeInfo: dataRawFrax, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeFrax>;
31
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawFrax, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeFrax>;
32
32
  }
33
33
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawGearbox;
7
7
  call: string;
8
8
  target: keyof callKeysGearbox;
9
- metaData?: any;
9
+ metaData?: keyof callKeysGearbox;
10
10
  };
11
- type callKeysGearbox = callKeys & {
11
+ type callKeysGearbox = mandatoryCallKeys & {
12
12
  stakingToken: string;
13
13
  balanceStakingToken: string;
14
14
  underlyingToken: string;
@@ -35,6 +35,6 @@ export declare class GearboxProcessor extends GenericProcessor<callKeysGearbox,
35
35
  round3: callType[];
36
36
  round4: callType[];
37
37
  };
38
- processingRound5(index: number, type: tokenType, typeInfo: dataRawGearbox, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeGearbox>;
38
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawGearbox, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeGearbox>;
39
39
  }
40
40
  export {};
@@ -15,8 +15,10 @@ export type callType = {
15
15
  metaData?: any;
16
16
  optional?: boolean;
17
17
  };
18
- export type callKeys = {
18
+ export type callKeys = mandatoryCallKeys & {
19
19
  [key: string]: string;
20
+ };
21
+ export type mandatoryCallKeys = {
20
22
  tokenAddress: string;
21
23
  blacklistedSupply: string;
22
24
  totalSupply: string;
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import type { Campaign, CampaignParameters } from "@sdk";
3
3
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawMetamorpho;
7
7
  call: string;
8
8
  target: keyof callKeysMetamorpho;
9
- metaData?: any;
9
+ metaData?: keyof callKeysMetamorpho;
10
10
  };
11
- type callKeysMetamorpho = callKeys & {
11
+ type callKeysMetamorpho = mandatoryCallKeys & {
12
12
  underlying: string;
13
13
  symbolUnderlyingToken: string;
14
14
  };
@@ -25,7 +25,7 @@ export declare class MetamorphoProcessor extends GenericProcessor<callKeysMetamo
25
25
  round3: callType[];
26
26
  round4: callType[];
27
27
  };
28
- processingRound5(index: number, type: tokenType, typeInfo: dataRawMetamorpho, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeMetamorpho>;
28
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawMetamorpho, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, _pricer: Pricer): Promise<dataTypeMetamorpho>;
29
29
  computeRound3(index: number, type: tokenType, typeInfo: dataRawMetamorpho, calls: string[]): tokenTypeStruct;
30
30
  }
31
31
  export {};
@@ -1,27 +1,29 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
- key: keyof dataRawTemplate;
6
+ key: keyof dataRawPendle;
7
7
  call: string;
8
- target: keyof callKeysTemplate;
9
- metaData?: any;
8
+ target: keyof callKeysPendle;
9
+ metaData?: keyof callKeysPendle;
10
10
  };
11
- type callKeysTemplate = callKeys & {
12
- readTokensRaw: string[];
11
+ type callKeysPendle = mandatoryCallKeys & {
13
12
  SYToken: string;
13
+ underlying: string;
14
14
  symbolUnderlyingToken: string;
15
15
  };
16
- type dataRawTemplate = callKeysTemplate & {};
17
- type dataTypeTemplate = dataType & {};
18
- export declare class PendleProcessor extends GenericProcessor<callKeysTemplate, dataRawTemplate, dataTypeTemplate> {
16
+ type dataRawPendle = callKeysPendle & {
17
+ readTokensRaw: string[];
18
+ };
19
+ type dataTypePendle = dataType & {};
20
+ export declare class PendleProcessor extends GenericProcessor<callKeysPendle, dataRawPendle, dataTypePendle> {
19
21
  rounds: {
20
22
  round1: callType[];
21
23
  round2: callType[];
22
24
  round3: callType[];
23
25
  round4: callType[];
24
26
  };
25
- processingRound5(index: number, type: tokenType, typeInfo: dataRawTemplate, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeTemplate>;
27
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawPendle, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypePendle>;
26
28
  }
27
29
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawRadiant;
7
7
  call: string;
8
8
  target: keyof callKeysRadiant;
9
- metaData?: any;
9
+ metaData?: keyof callKeysRadiant;
10
10
  };
11
- type callKeysRadiant = callKeys & {
11
+ type callKeysRadiant = mandatoryCallKeys & {
12
12
  underlyingToken: string;
13
13
  priceBN: string;
14
14
  symbolUnderlyingToken: string;
@@ -26,7 +26,7 @@ export declare class RadiantProcessor extends GenericProcessor<callKeysRadiant,
26
26
  round3: callType[];
27
27
  round4: callType[];
28
28
  };
29
- processingRound5(index: number, type: tokenType, typeInfo: dataRawRadiant, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeRadiant>;
29
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawRadiant, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, _pricer: Pricer): Promise<dataTypeRadiant>;
30
30
  computeRound3(index: number, type: tokenType, typeInfo: dataRawRadiant, calls: string[]): tokenTypeStruct;
31
31
  }
32
32
  export {};
@@ -1,8 +1,8 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import type { Campaign, CampaignParameters } from "@sdk";
3
3
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
- type callKeysSplice = callKeys & {
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
+ type callKeysSplice = mandatoryCallKeys & {
6
6
  priceTargetToken: string;
7
7
  };
8
8
  type dataRawSplice = callKeysSplice & {};
@@ -10,7 +10,7 @@ type dataTypeSplice = dataType & {
10
10
  priceTargetToken: number;
11
11
  };
12
12
  export declare class SpliceProcessor extends GenericProcessor<callKeysSplice, dataRawSplice, dataTypeSplice> {
13
- processingRound5(index: number, type: tokenType, typeInfo: dataRawSplice, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeSplice>;
13
+ processingRound5(_index: number, _type: tokenType, typeInfo: dataRawSplice, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, _pricer: Pricer): Promise<dataTypeSplice>;
14
14
  computeRound3(index: number, type: tokenType, typeInfo: dataRawSplice, calls: string[]): tokenTypeStruct;
15
15
  }
16
16
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawSturdySilo;
7
7
  call: string;
8
8
  target: keyof callKeysSturdySilo;
9
- metaData?: any;
9
+ metaData?: keyof callKeysSturdySilo;
10
10
  };
11
- type callKeysSturdySilo = callKeys & {
11
+ type callKeysSturdySilo = mandatoryCallKeys & {
12
12
  underlying: string;
13
13
  sharePrice: string;
14
14
  collateralContract: string;
@@ -34,6 +34,6 @@ export declare class SturdySiloProcessor extends GenericProcessor<callKeysSturdy
34
34
  round3: callType[];
35
35
  round4: callType[];
36
36
  };
37
- processingRound5(index: number, type: tokenType, typeInfo: dataRawSturdySilo, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeSturdySilo>;
37
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawSturdySilo, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeSturdySilo>;
38
38
  }
39
39
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import type { Campaign, CampaignParameters } from "@sdk";
3
3
  import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawTemplate;
7
7
  call: string;
8
8
  target: keyof callKeysTemplate;
9
- metaData?: any;
9
+ metaData?: keyof callKeysTemplate;
10
10
  };
11
- type callKeysTemplate = callKeys & {};
11
+ type callKeysTemplate = mandatoryCallKeys & {};
12
12
  type dataRawTemplate = callKeysTemplate & {};
13
13
  type dataTypeTemplate = dataType & {};
14
14
  export declare class TemplateProcessor extends GenericProcessor<callKeysTemplate, dataRawTemplate, dataTypeTemplate> {
@@ -1,15 +1,16 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawToros;
7
7
  call: string;
8
8
  target: keyof callKeysToros;
9
9
  metaData?: any;
10
10
  };
11
- type callKeysToros = callKeys & {
11
+ type callKeysToros = mandatoryCallKeys & {
12
12
  tokenPrice: string;
13
+ name: string;
13
14
  };
14
15
  type dataRawToros = callKeysToros & {};
15
16
  type dataTypeToros = dataType & {
@@ -24,6 +25,6 @@ export declare class TorosProcessor extends GenericProcessor<callKeysToros, data
24
25
  round3: callType[];
25
26
  round4: callType[];
26
27
  };
27
- processingRound5(index: number, type: tokenType, typeInfo: dataRawToros, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeToros>;
28
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawToros, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, _pricer: Pricer): Promise<dataTypeToros>;
28
29
  }
29
30
  export {};
@@ -1,14 +1,14 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import type { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawUni;
7
7
  call: string;
8
8
  target: keyof callKeysUni;
9
- metaData?: any;
9
+ metaData?: keyof callKeysUni;
10
10
  };
11
- type callKeysUni = callKeys & {
11
+ type callKeysUni = mandatoryCallKeys & {
12
12
  token0: string;
13
13
  token1: string;
14
14
  symbolToken0: string;
@@ -37,6 +37,6 @@ export declare class UniswapProcessor extends GenericProcessor<callKeysUni, data
37
37
  round3: callType[];
38
38
  round4: callType[];
39
39
  };
40
- processingRound5(index: number, type: tokenType, typeInfo: dataRawUni, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeUni>;
40
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawUni, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeUni>;
41
41
  }
42
42
  export {};
@@ -1,15 +1,15 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
3
  import { tokenType } from "../helpers/tokenType";
4
- import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
4
+ import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawCurve;
7
7
  call: string;
8
8
  target: keyof callKeysCurve;
9
- metaData?: any;
9
+ metaData?: keyof callKeysCurve;
10
10
  optional?: boolean;
11
11
  };
12
- type callKeysCurve = callKeys & {
12
+ type callKeysCurve = mandatoryCallKeys & {
13
13
  lp_price: string;
14
14
  token0: string;
15
15
  token1: string;
@@ -42,6 +42,6 @@ export declare class CurveProcessor extends GenericProcessor<callKeysCurve, data
42
42
  round3: callType[];
43
43
  round4: callType[];
44
44
  };
45
- processingRound5(index: number, type: tokenType, typeInfo: dataRawCurve, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeCurve>;
45
+ processingRound5(_index: number, type: tokenType, typeInfo: dataRawCurve, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeCurve>;
46
46
  }
47
47
  export {};