@merkl/api 0.10.81 → 0.10.82

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 (62) hide show
  1. package/dist/src/cache/declaration.d.ts +5 -0
  2. package/dist/src/eden/index.d.ts +66 -307
  3. package/dist/src/index.d.ts +24 -117
  4. package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.d.ts +3 -0
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +16 -1
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +30 -0
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AssetProcessor.d.ts +35 -0
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +61 -0
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerGaugeProcessor.d.ts +49 -0
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerPoolProcessor.d.ts +53 -0
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BeefyProcessor.d.ts +48 -0
  12. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/CompoundProcessor.d.ts +44 -0
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EnzymeProcessor.d.ts +40 -0
  14. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerBorrowProcessor.d.ts +37 -0
  15. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerLendProcessor.d.ts +37 -0
  16. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FluidProcessor.d.ts +39 -0
  17. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FraxProcessor.d.ts +33 -0
  18. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GearboxProcessor.d.ts +40 -0
  19. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +31 -0
  20. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +27 -0
  21. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/RadiantProcessor.d.ts +32 -0
  22. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +16 -0
  23. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SturdySiloProcessor.d.ts +39 -0
  24. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TorosProcessor.d.ts +29 -0
  25. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/curveProcessor.d.ts +47 -0
  26. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/genericProcessor.d.ts +61 -0
  27. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.d.ts +6 -0
  28. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/templateProcessor.d.ts +32 -0
  29. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/uniswapProcessor.d.ts +42 -0
  30. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.d.ts +4 -0
  31. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +3 -0
  32. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.d.ts +3 -0
  33. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.d.ts +3 -0
  34. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.d.ts +4 -0
  35. package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.d.ts +3 -0
  36. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -12
  37. package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -0
  38. package/dist/src/modules/v4/reward/reward.service.d.ts +126 -109
  39. package/dist/src/modules/v4/router.d.ts +24 -117
  40. package/dist/src/modules/v4/testdynamicData/dynamicData.controller.d.ts +50 -0
  41. package/dist/src/modules/v4/testdynamicData/dynamicData.model.d.ts +5 -0
  42. package/dist/src/modules/v4/testdynamicData/dynamicData.repository.d.ts +0 -0
  43. package/dist/src/modules/v4/testdynamicData/dynamicData.service.d.ts +12 -0
  44. package/dist/src/modules/v4/testdynamicData/index.d.ts +3 -0
  45. package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
  46. package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
  47. package/dist/src/routes/v3/ERC20Campaigns.d.ts +24 -117
  48. package/dist/src/routes/v3/blacklist.d.ts +24 -117
  49. package/dist/src/routes/v3/campaigns.d.ts +24 -117
  50. package/dist/src/routes/v3/campaignsInfo.d.ts +24 -117
  51. package/dist/src/routes/v3/multiChainPositions.d.ts +24 -117
  52. package/dist/src/routes/v3/opportunity.d.ts +24 -117
  53. package/dist/src/routes/v3/positions.d.ts +24 -117
  54. package/dist/src/routes/v3/rewards.d.ts +24 -117
  55. package/dist/src/routes/v3/updates.d.ts +24 -117
  56. package/dist/src/routes/v3/userRewards.d.ts +24 -117
  57. package/dist/src/utils/decodeCalls.d.ts +2 -0
  58. package/dist/src/utils/encodeCalls.d.ts +3 -0
  59. package/dist/src/utils/generateCardName.d.ts +3 -0
  60. package/dist/src/utils/interfaces.d.ts +39 -0
  61. package/dist/tsconfig.package.tsbuildinfo +1 -1
  62. package/package.json +1 -1
@@ -0,0 +1,30 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawAave;
7
+ call: string;
8
+ target: keyof callKeysAave;
9
+ metaData?: any;
10
+ };
11
+ export type callKeysAave = callKeys & {
12
+ underlying: string;
13
+ symbolUnderlyingToken: string;
14
+ };
15
+ type dataRawAave = callKeysAave & {};
16
+ type dataTypeAave = dataType & {
17
+ underlying: string;
18
+ symbolUnderlyingToken: string;
19
+ priceTargetToken: number;
20
+ };
21
+ export declare class AaveProcessor extends GenericProcessor<callKeysAave, dataRawAave, dataTypeAave> {
22
+ rounds: {
23
+ round1: callType[];
24
+ round2: callType[];
25
+ round3: callType[];
26
+ round4: callType[];
27
+ };
28
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawAave, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeAave>;
29
+ }
30
+ export {};
@@ -0,0 +1,35 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawAsset;
7
+ call: string;
8
+ target: keyof callKeysAsset;
9
+ metaData?: any;
10
+ optional?: boolean;
11
+ };
12
+ type callKeysAsset = callKeys & {
13
+ underlying: string;
14
+ exchangeRate: string;
15
+ symbolUnderlyingToken: string;
16
+ decimalsUnderlyingToken: string;
17
+ };
18
+ type dataRawAsset = callKeysAsset & {};
19
+ type dataTypeAsset = dataType & {
20
+ underlying: string;
21
+ exchangeRate: number;
22
+ symbolUnderlyingToken: string;
23
+ decimalsUnderlyingToken: string;
24
+ };
25
+ export declare class AssetProcessor extends GenericProcessor<callKeysAsset, dataRawAsset, dataTypeAsset> {
26
+ rounds: {
27
+ round1: callType[];
28
+ round2: callType[];
29
+ round3: callType[];
30
+ round4: callType[];
31
+ };
32
+ processingRound2(typeInfo: dataRawAsset): void;
33
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawAsset, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeAsset>;
34
+ }
35
+ export {};
@@ -0,0 +1,61 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { BigNumber } from "ethers";
4
+ import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
6
+ type callType = {
7
+ key: keyof dataRawAura;
8
+ call: string;
9
+ target: keyof callKeysAura;
10
+ metaData?: any;
11
+ };
12
+ type callKeysAura = callKeys & {
13
+ balancerPool: string;
14
+ vault: string;
15
+ auraOperator: string;
16
+ poolId: string;
17
+ totalSupplyBalancerPool: string;
18
+ gaugeContract: string;
19
+ auraStaker: string;
20
+ totalSupplyGauge: string;
21
+ pid: string;
22
+ gaugeBalance: string;
23
+ auraBalance: string;
24
+ };
25
+ type dataRawAura = callKeysAura & {
26
+ poolTokensRaw: Array<string[] | BigNumber[]>;
27
+ poolTokens: Array<{
28
+ token: string;
29
+ balance: string;
30
+ }>;
31
+ };
32
+ type dataTypeAura = dataType & {
33
+ balancerPool: string;
34
+ vault: string;
35
+ auraOperator: string;
36
+ poolId: string;
37
+ totalSupplyBalancerPool: number;
38
+ gaugeContract: string;
39
+ auraStaker: string;
40
+ totalSupplyGauge: number;
41
+ pid: string;
42
+ gaugeBalance: number;
43
+ auraBalance: number;
44
+ poolTokensRaw: Array<string[] | BigNumber[]>;
45
+ poolTokens: Array<{
46
+ token: string;
47
+ balance: string;
48
+ }>;
49
+ };
50
+ export declare class AuraProcessor extends GenericProcessor<callKeysAura, dataRawAura, dataTypeAura> {
51
+ rounds: {
52
+ round1: callType[];
53
+ round2: callType[];
54
+ round3: callType[];
55
+ round4: callType[];
56
+ };
57
+ processingRound4(typeInfo: dataRawAura): void;
58
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawAura, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeAura>;
59
+ computeRound4(index: number, type: tokenType, typeInfo: dataRawAura, calls: string[], campaign: CampaignParameters<Campaign.ERC20>): tokenTypeStruct;
60
+ }
61
+ export {};
@@ -0,0 +1,49 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { BigNumber } from "ethers";
4
+ import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
6
+ type callType = {
7
+ key: keyof dataRawBG;
8
+ call: string;
9
+ target: keyof callKeysBG;
10
+ metaData?: any;
11
+ };
12
+ type callKeysBG = callKeys & {
13
+ gyroscopeToken: string;
14
+ balanceUnderlyingPoolTokens: string;
15
+ totalSupplyUnderlyingPoolTokens: string;
16
+ poolId: string;
17
+ vault: string;
18
+ };
19
+ type dataRawBG = callKeysBG & {
20
+ poolTokensRaw: Array<string[] | BigNumber[]>;
21
+ poolTokens: Array<{
22
+ token: string;
23
+ balance: string;
24
+ }>;
25
+ };
26
+ type dataTypeBG = dataType & {
27
+ gyroscopeToken: string;
28
+ balanceUnderlyingPoolTokens: string;
29
+ totalSupplyUnderlyingPoolTokens: string;
30
+ poolId: string;
31
+ vault: string;
32
+ poolTokensRaw: Array<string[] | BigNumber[]>;
33
+ poolTokens: Array<{
34
+ token: string;
35
+ balance: string;
36
+ }>;
37
+ };
38
+ export declare class BalancerGaugeProcessor extends GenericProcessor<callKeysBG, dataRawBG, dataTypeBG> {
39
+ rounds: {
40
+ round1: callType[];
41
+ round2: callType[];
42
+ round3: callType[];
43
+ round4: callType[];
44
+ };
45
+ processingRound4(typeInfo: dataRawBG): void;
46
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawBG, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeBG>;
47
+ computeRound4(index: number, type: tokenType, typeInfo: dataRawBG, calls: string[], campaign: CampaignParameters<Campaign.ERC20>): tokenTypeStruct;
48
+ }
49
+ export {};
@@ -0,0 +1,53 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { BigNumber } from "ethers";
4
+ import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
5
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
6
+ type callType = {
7
+ key: keyof dataRawBP;
8
+ call: string;
9
+ target: keyof callKeysBP;
10
+ metaData?: any;
11
+ };
12
+ type callKeysBP = callKeys & {
13
+ tokenAddress: string;
14
+ poolId: string;
15
+ vault: string;
16
+ totalSupply: string;
17
+ vaultBalance: string;
18
+ blacklistedSupply: string;
19
+ };
20
+ type dataRawBP = callKeysBP & {
21
+ poolTokensRaw: Array<string[] | BigNumber[]>;
22
+ poolTokens: Array<{
23
+ token: string;
24
+ balance: string;
25
+ }>;
26
+ };
27
+ type dataTypeBP = dataType & {
28
+ tokenAddress: string;
29
+ poolId: string;
30
+ vault: string;
31
+ poolTokens: Array<{
32
+ token: string;
33
+ balance: string;
34
+ }>;
35
+ totalSupply: number;
36
+ blacklistedSupply: number;
37
+ tvl: number;
38
+ priceTargetToken: number;
39
+ cardName: string;
40
+ vaultBalance: number;
41
+ };
42
+ export declare class BalancerPoolProcessor extends GenericProcessor<callKeysBP, dataRawBP, dataTypeBP> {
43
+ rounds: {
44
+ round1: callType[];
45
+ round2: callType[];
46
+ round3: callType[];
47
+ round4: callType[];
48
+ };
49
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawBP, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeBP>;
50
+ processingRound4(typeInfo: dataRawBP): void;
51
+ computeRound4(index: number, type: tokenType, typeInfo: dataRawBP, calls: string[], campaign: CampaignParameters<Campaign.ERC20>): tokenTypeStruct;
52
+ }
53
+ export {};
@@ -0,0 +1,48 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawBeefy;
7
+ call: string;
8
+ target: keyof callKeysBeefy;
9
+ metaData?: any;
10
+ };
11
+ type callKeysBeefy = callKeys & {
12
+ underlying: string;
13
+ pricePerShare: string;
14
+ token0: string;
15
+ token1: string;
16
+ totalSupplyUnderlying: string;
17
+ symbolToken0: string;
18
+ symbolToken1: string;
19
+ decimalsToken0: string;
20
+ decimalsToken1: string;
21
+ balanceToken0: string;
22
+ balanceToken1: string;
23
+ };
24
+ type dataRawBeefy = callKeysBeefy & {};
25
+ type dataTypeBeefy = dataType & {
26
+ underlying: string;
27
+ pricePerShare: number;
28
+ token0: string;
29
+ token1: string;
30
+ totalSupplyUnderlying: string;
31
+ symbolToken0: string;
32
+ symbolToken1: string;
33
+ decimalsToken0: string;
34
+ decimalsToken1: string;
35
+ balanceToken0: string;
36
+ balanceToken1: string;
37
+ priceTargetToken: number;
38
+ };
39
+ export declare class BeefyProcessor extends GenericProcessor<callKeysBeefy, dataRawBeefy, dataTypeBeefy> {
40
+ rounds: {
41
+ round1: callType[];
42
+ round2: callType[];
43
+ round3: callType[];
44
+ round4: callType[];
45
+ };
46
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawBeefy, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeBeefy>;
47
+ }
48
+ export {};
@@ -0,0 +1,44 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawCompound;
7
+ call: string;
8
+ target: keyof callKeysCompound;
9
+ metaData?: any;
10
+ };
11
+ type callKeysCompound = callKeys & {
12
+ tokenAddress: string;
13
+ totalBorrow: string;
14
+ balanceBaseToken: string;
15
+ symbolBaseToken: string;
16
+ decimalsBaseToken: string;
17
+ baseToken: string;
18
+ totalSupply: string;
19
+ blacklistedSupply: string;
20
+ };
21
+ type dataRawCompound = callKeysCompound & {};
22
+ type dataTypeCompound = dataType & {
23
+ tokenAddress: string;
24
+ totalBorrow: number;
25
+ balanceBaseToken: number;
26
+ symbolBaseToken: string;
27
+ decimalsBaseToken: string;
28
+ baseToken: string;
29
+ totalSupply: number;
30
+ tvl: number;
31
+ priceTargetToken: number;
32
+ cardName: string;
33
+ blacklistedSupply: number;
34
+ };
35
+ export declare class CompoundProcessor extends GenericProcessor<callKeysCompound, dataRawCompound, dataTypeCompound> {
36
+ rounds: {
37
+ round1: callType[];
38
+ round2: callType[];
39
+ round3: callType[];
40
+ round4: callType[];
41
+ };
42
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawCompound, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeCompound>;
43
+ }
44
+ export {};
@@ -0,0 +1,40 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawEnzyme;
7
+ call: string;
8
+ target: keyof callKeysEnzyme;
9
+ metaData?: any;
10
+ };
11
+ type callKeysEnzyme = callKeys & {
12
+ factory: string;
13
+ underlying: string;
14
+ exchangeRate: string;
15
+ symbolUnderlyingToken: string;
16
+ fundValueCalculator: string;
17
+ dispatcher: string;
18
+ };
19
+ type dataRawEnzyme = callKeysEnzyme & {
20
+ exchangeRateRaw: Array<string>;
21
+ };
22
+ type dataTypeEnzyme = dataType & {
23
+ factory: string;
24
+ underlying: string;
25
+ exchangeRate: number;
26
+ symbolUnderlyingToken: string;
27
+ fundValueCalculator: string;
28
+ };
29
+ export declare class EnzymeProcessor extends GenericProcessor<callKeysEnzyme, dataRawEnzyme, dataTypeEnzyme> {
30
+ rounds: {
31
+ round1: callType[];
32
+ round2: callType[];
33
+ round3: callType[];
34
+ round4: callType[];
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;
38
+ computeRound3(index: number, type: tokenType, typeInfo: dataRawEnzyme, calls: string[]): tokenTypeStruct;
39
+ }
40
+ export {};
@@ -0,0 +1,37 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawEuler;
7
+ call: string;
8
+ target: keyof callKeysEuler;
9
+ metaData?: any;
10
+ };
11
+ type callKeysEuler = callKeys & {
12
+ vault: string;
13
+ underlying: string;
14
+ symbolUnderlyingToken: string;
15
+ decimalsUnderlyingToken: string;
16
+ targetTotalAsset: string;
17
+ };
18
+ type dataRawEuler = callKeysEuler & {};
19
+ type dataTypeEuler = dataType & {
20
+ vault: string;
21
+ underlying: string;
22
+ symbolUnderlyingToken: string;
23
+ decimalsUnderlyingToken: string;
24
+ totalSupply: number;
25
+ targetTotalAsset: string;
26
+ totalAssets: string;
27
+ };
28
+ export declare class EulerBorrowProcessor extends GenericProcessor<callKeysEuler, dataRawEuler, dataTypeEuler> {
29
+ rounds: {
30
+ round1: callType[];
31
+ round2: callType[];
32
+ round3: callType[];
33
+ round4: callType[];
34
+ };
35
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawEuler, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeEuler>;
36
+ }
37
+ export {};
@@ -0,0 +1,37 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawEuler;
7
+ call: string;
8
+ target: keyof callKeysEuler;
9
+ metaData?: any;
10
+ };
11
+ type callKeysEuler = callKeys & {
12
+ vault: string;
13
+ underlying: string;
14
+ symbolUnderlyingToken: string;
15
+ decimalsUnderlyingToken: string;
16
+ targetTotalAsset: string;
17
+ };
18
+ type dataRawEuler = callKeysEuler & {};
19
+ type dataTypeEuler = dataType & {
20
+ vault: string;
21
+ underlying: string;
22
+ symbolUnderlyingToken: string;
23
+ decimalsUnderlyingToken: string;
24
+ totalSupply: number;
25
+ targetTotalAsset: string;
26
+ totalAssets: string;
27
+ };
28
+ export declare class EulerLendProcessor extends GenericProcessor<callKeysEuler, dataRawEuler, dataTypeEuler> {
29
+ rounds: {
30
+ round1: callType[];
31
+ round2: callType[];
32
+ round3: callType[];
33
+ round4: callType[];
34
+ };
35
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawEuler, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeEuler>;
36
+ }
37
+ export {};
@@ -0,0 +1,39 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawFluid;
7
+ call: string;
8
+ target: keyof callKeysFluid;
9
+ metaData?: any;
10
+ };
11
+ type callKeysFluid = callKeys & {
12
+ underlying: string;
13
+ exchangeRate: string;
14
+ symbolUnderlyingToken: string;
15
+ decimalsUnderlyingToken: string;
16
+ amount: string;
17
+ toAssets: string;
18
+ };
19
+ type dataRawFluid = callKeysFluid & {};
20
+ type dataTypeFluid = dataType & {
21
+ underlying: string;
22
+ exchangeRate: number;
23
+ symbolUnderlyingToken: string;
24
+ decimalsUnderlyingToken: string;
25
+ totalSupply: number;
26
+ amount: string;
27
+ toAssets: string;
28
+ };
29
+ export declare class FluidProcessor extends GenericProcessor<callKeysFluid, dataRawFluid, dataTypeFluid> {
30
+ rounds: {
31
+ round1: callType[];
32
+ round2: callType[];
33
+ round3: callType[];
34
+ round4: callType[];
35
+ };
36
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawFluid, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeFluid>;
37
+ processingRound3(typeInfo: dataRawFluid): void;
38
+ }
39
+ export {};
@@ -0,0 +1,33 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawFrax;
7
+ call: string;
8
+ target: keyof callKeysFrax;
9
+ metaData?: any;
10
+ };
11
+ type callKeysFrax = callKeys & {
12
+ underlying: string;
13
+ sharePrice: string;
14
+ symbolUnderlyingToken: string;
15
+ decimalsUnderlyingToken: string;
16
+ };
17
+ type dataRawFrax = callKeysFrax & {};
18
+ type dataTypeFrax = dataType & {
19
+ underlying: string;
20
+ sharePrice: number;
21
+ symbolUnderlyingToken: string;
22
+ decimalsUnderlyingToken: string;
23
+ };
24
+ export declare class FraxProcessor extends GenericProcessor<callKeysFrax, dataRawFrax, dataTypeFrax> {
25
+ rounds: {
26
+ round1: callType[];
27
+ round2: callType[];
28
+ round3: callType[];
29
+ round4: callType[];
30
+ };
31
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawFrax, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeFrax>;
32
+ }
33
+ export {};
@@ -0,0 +1,40 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawGearbox;
7
+ call: string;
8
+ target: keyof callKeysGearbox;
9
+ metaData?: any;
10
+ };
11
+ type callKeysGearbox = callKeys & {
12
+ stakingToken: string;
13
+ balanceStakingToken: string;
14
+ underlyingToken: string;
15
+ totalSupplyStakingToken: string;
16
+ decimalsStakingToken: string;
17
+ totalAssets: string;
18
+ decimalsUnderlyingToken: string;
19
+ symbolUnderlyingToken: string;
20
+ };
21
+ type dataRawGearbox = callKeysGearbox & {};
22
+ type dataTypeGearbox = dataType & {
23
+ stakingToken: string;
24
+ balanceStakingToken: number;
25
+ underlyingToken: string;
26
+ totalSupplyStakingToken: number;
27
+ decimalsStakingToken: string;
28
+ totalAssets: number;
29
+ percentageOfSupplyUnderlyingPoolTokens: number;
30
+ };
31
+ export declare class GearboxProcessor extends GenericProcessor<callKeysGearbox, dataRawGearbox, dataTypeGearbox> {
32
+ rounds: {
33
+ round1: callType[];
34
+ round2: callType[];
35
+ round3: callType[];
36
+ round4: callType[];
37
+ };
38
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawGearbox, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeGearbox>;
39
+ }
40
+ export {};
@@ -0,0 +1,31 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawMetamorpho;
7
+ call: string;
8
+ target: keyof callKeysMetamorpho;
9
+ metaData?: any;
10
+ };
11
+ type callKeysMetamorpho = callKeys & {
12
+ underlying: string;
13
+ symbolUnderlyingToken: string;
14
+ };
15
+ type dataRawMetamorpho = callKeysMetamorpho & {};
16
+ type dataTypeMetamorpho = dataType & {
17
+ underlying: string;
18
+ symbolUnderlyingToken: string;
19
+ priceTargetToken: number;
20
+ };
21
+ export declare class MetamorphoProcessor extends GenericProcessor<callKeysMetamorpho, dataRawMetamorpho, dataTypeMetamorpho> {
22
+ rounds: {
23
+ round1: callType[];
24
+ round2: callType[];
25
+ round3: callType[];
26
+ round4: callType[];
27
+ };
28
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawMetamorpho, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeMetamorpho>;
29
+ computeRound3(index: number, type: tokenType, typeInfo: dataRawMetamorpho, calls: string[]): tokenTypeStruct;
30
+ }
31
+ export {};
@@ -0,0 +1,27 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawTemplate;
7
+ call: string;
8
+ target: keyof callKeysTemplate;
9
+ metaData?: any;
10
+ };
11
+ type callKeysTemplate = callKeys & {
12
+ readTokensRaw: string[];
13
+ SYToken: string;
14
+ symbolUnderlyingToken: string;
15
+ };
16
+ type dataRawTemplate = callKeysTemplate & {};
17
+ type dataTypeTemplate = dataType & {};
18
+ export declare class PendleProcessor extends GenericProcessor<callKeysTemplate, dataRawTemplate, dataTypeTemplate> {
19
+ rounds: {
20
+ round1: callType[];
21
+ round2: callType[];
22
+ round3: callType[];
23
+ round4: callType[];
24
+ };
25
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawTemplate, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeTemplate>;
26
+ }
27
+ export {};
@@ -0,0 +1,32 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callType = {
6
+ key: keyof dataRawRadiant;
7
+ call: string;
8
+ target: keyof callKeysRadiant;
9
+ metaData?: any;
10
+ };
11
+ type callKeysRadiant = callKeys & {
12
+ underlyingToken: string;
13
+ priceBN: string;
14
+ symbolUnderlyingToken: string;
15
+ };
16
+ type dataRawRadiant = callKeysRadiant & {};
17
+ type dataTypeRadiant = dataType & {
18
+ priceTargetToken: number;
19
+ underlyingToken: string;
20
+ symbolUnderlyingToken: string;
21
+ };
22
+ export declare class RadiantProcessor extends GenericProcessor<callKeysRadiant, dataRawRadiant, dataTypeRadiant> {
23
+ rounds: {
24
+ round1: callType[];
25
+ round2: callType[];
26
+ round3: callType[];
27
+ round4: callType[];
28
+ };
29
+ processingRound5(index: number, type: tokenType, typeInfo: dataRawRadiant, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeRadiant>;
30
+ computeRound3(index: number, type: tokenType, typeInfo: dataRawRadiant, calls: string[]): tokenTypeStruct;
31
+ }
32
+ export {};
@@ -0,0 +1,16 @@
1
+ import type { Pricer } from "../../../../../utils/pricer";
2
+ import { type Campaign, type CampaignParameters } from "@sdk";
3
+ import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
4
+ import { GenericProcessor, type callKeys, type dataType } from "./GenericProcessor";
5
+ type callKeysSplice = callKeys & {
6
+ priceTargetToken: string;
7
+ };
8
+ type dataRawSplice = callKeysSplice & {};
9
+ type dataTypeSplice = dataType & {
10
+ priceTargetToken: number;
11
+ };
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>;
14
+ computeRound3(index: number, type: tokenType, typeInfo: dataRawSplice, calls: string[]): tokenTypeStruct;
15
+ }
16
+ export {};