@merkl/api 0.10.172 → 0.10.173

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/src/backgroundJobs/index.js +1 -1
  2. package/dist/src/eden/index.d.ts +63 -63
  3. package/dist/src/index.d.ts +21 -21
  4. package/dist/src/index.js +3 -2
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +2 -1
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +4 -0
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.d.ts +1 -1
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.js +5 -3
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +1 -0
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +3 -1
  11. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -4
  12. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +2 -2
  13. package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -2
  14. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +10 -10
  15. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -11
  16. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +13 -13
  17. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -2
  18. package/dist/src/modules/v4/reward/reward.service.d.ts +11 -11
  19. package/dist/src/modules/v4/router.d.ts +21 -21
  20. package/dist/src/modules/v4/token/token.controller.d.ts +3 -3
  21. package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
  22. package/dist/src/modules/v4/token/token.service.d.ts +6 -6
  23. package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
  24. package/dist/src/modules/v4/user/user.controller.js +1 -0
  25. package/dist/src/routes/v3/blacklist.d.ts +21 -21
  26. package/dist/src/routes/v3/campaigns.d.ts +21 -21
  27. package/dist/src/routes/v3/campaignsInfo.d.ts +21 -21
  28. package/dist/src/routes/v3/multiChainPositions.d.ts +21 -21
  29. package/dist/src/routes/v3/opportunity.d.ts +22 -22
  30. package/dist/src/routes/v3/positions.d.ts +21 -21
  31. package/dist/src/routes/v3/rewards.d.ts +21 -21
  32. package/dist/src/routes/v3/updates.d.ts +21 -21
  33. package/dist/src/routes/v3/userRewards.d.ts +21 -21
  34. package/dist/src/utils/decodeCalls.js +15 -3
  35. package/dist/src/utils/encodeCalls.js +31 -11
  36. package/dist/src/utils/generateCardName.js +3 -0
  37. package/dist/tsconfig.package.tsbuildinfo +1 -1
  38. package/package.json +2 -2
@@ -115,9 +115,9 @@ declare const app: Elysia<"", false, {
115
115
  symbol: string;
116
116
  name: string | null;
117
117
  id: string;
118
+ icon: string;
118
119
  chainId: number;
119
120
  address: string;
120
- icon: string;
121
121
  decimals: number;
122
122
  displaySymbol: string;
123
123
  verified: boolean;
@@ -132,9 +132,9 @@ declare const app: Elysia<"", false, {
132
132
  symbol: string;
133
133
  name: string | null;
134
134
  id: string;
135
+ icon: string;
135
136
  chainId: number;
136
137
  address: string;
137
- icon: string;
138
138
  decimals: number;
139
139
  verified: boolean;
140
140
  isTest: boolean;
@@ -218,9 +218,9 @@ declare const app: Elysia<"", false, {
218
218
  symbol: string;
219
219
  name: string | null;
220
220
  id: string;
221
+ icon: string;
221
222
  chainId: number;
222
223
  address: string;
223
- icon: string;
224
224
  decimals: number;
225
225
  displaySymbol: string;
226
226
  verified: boolean;
@@ -235,9 +235,9 @@ declare const app: Elysia<"", false, {
235
235
  symbol: string;
236
236
  name: string | null;
237
237
  id: string;
238
+ icon: string;
238
239
  chainId: number;
239
240
  address: string;
240
- icon: string;
241
241
  decimals: number;
242
242
  verified: boolean;
243
243
  isTest: boolean;
@@ -278,9 +278,9 @@ declare const app: Elysia<"", false, {
278
278
  symbol: string;
279
279
  name: string | null;
280
280
  id: string;
281
+ icon: string;
281
282
  chainId: number;
282
283
  address: string;
283
- icon: string;
284
284
  decimals: number;
285
285
  verified: boolean;
286
286
  isTest: boolean;
@@ -332,8 +332,8 @@ declare const app: Elysia<"", false, {
332
332
  status?: string | undefined;
333
333
  items?: number | undefined;
334
334
  tags?: string | undefined;
335
- chainId?: string | undefined;
336
335
  page?: number | undefined;
336
+ chainId?: string | undefined;
337
337
  action?: string | undefined;
338
338
  mainProtocolId?: string | undefined;
339
339
  order?: undefined;
@@ -379,9 +379,9 @@ declare const app: Elysia<"", false, {
379
379
  symbol: string;
380
380
  name: string | null;
381
381
  id: string;
382
+ icon: string;
382
383
  chainId: number;
383
384
  address: string;
384
- icon: string;
385
385
  decimals: number;
386
386
  displaySymbol: string;
387
387
  verified: boolean;
@@ -396,9 +396,9 @@ declare const app: Elysia<"", false, {
396
396
  symbol: string;
397
397
  name: string | null;
398
398
  id: string;
399
+ icon: string;
399
400
  chainId: number;
400
401
  address: string;
401
- icon: string;
402
402
  decimals: number;
403
403
  verified: boolean;
404
404
  isTest: boolean;
@@ -446,8 +446,8 @@ declare const app: Elysia<"", false, {
446
446
  status?: string | undefined;
447
447
  items?: number | undefined;
448
448
  tags?: string | undefined;
449
- chainId?: string | undefined;
450
449
  page?: number | undefined;
450
+ chainId?: string | undefined;
451
451
  action?: string | undefined;
452
452
  mainProtocolId?: string | undefined;
453
453
  order?: undefined;
@@ -477,8 +477,8 @@ declare const app: Elysia<"", false, {
477
477
  status?: string | undefined;
478
478
  items?: number | undefined;
479
479
  tags?: string | undefined;
480
- chainId?: string | undefined;
481
480
  page?: number | undefined;
481
+ chainId?: string | undefined;
482
482
  action?: string | undefined;
483
483
  mainProtocolId?: string | undefined;
484
484
  order?: undefined;
@@ -506,13 +506,13 @@ declare const app: Elysia<"", false, {
506
506
  subType?: number | undefined;
507
507
  type: number;
508
508
  params: string;
509
+ creator: string;
509
510
  chainId: number;
510
511
  startTimestamp: string;
511
512
  endTimestamp: string;
512
513
  computeChainId: number;
513
514
  campaignId: string;
514
515
  amount: string;
515
- creator: string;
516
516
  rewardTokenAddress: string;
517
517
  opportunityIdentifier: string;
518
518
  };
@@ -549,11 +549,11 @@ declare const app: Elysia<"", false, {
549
549
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
550
550
  items?: number | undefined;
551
551
  subType?: number | undefined;
552
+ page?: number | undefined;
552
553
  chainId?: number | undefined;
553
554
  startTimestamp?: string | undefined;
554
555
  endTimestamp?: string | undefined;
555
556
  tokenAddress?: string | undefined;
556
- page?: number | undefined;
557
557
  mainParameter?: string | undefined;
558
558
  campaignId?: string | undefined;
559
559
  opportunityId?: string | undefined;
@@ -573,9 +573,9 @@ declare const app: Elysia<"", false, {
573
573
  symbol: string;
574
574
  name: string | null;
575
575
  id: string;
576
+ icon: string;
576
577
  chainId: number;
577
578
  address: string;
578
- icon: string;
579
579
  decimals: number;
580
580
  verified: boolean;
581
581
  isTest: boolean;
@@ -620,11 +620,11 @@ declare const app: Elysia<"", false, {
620
620
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
621
621
  items?: number | undefined;
622
622
  subType?: number | undefined;
623
+ page?: number | undefined;
623
624
  chainId?: number | undefined;
624
625
  startTimestamp?: string | undefined;
625
626
  endTimestamp?: string | undefined;
626
627
  tokenAddress?: string | undefined;
627
- page?: number | undefined;
628
628
  mainParameter?: string | undefined;
629
629
  campaignId?: string | undefined;
630
630
  opportunityId?: string | undefined;
@@ -779,9 +779,9 @@ declare const app: Elysia<"", false, {
779
779
  symbol: string;
780
780
  name: string | null;
781
781
  id: string;
782
+ icon: string;
782
783
  chainId: number;
783
784
  address: string;
784
- icon: string;
785
785
  decimals: number;
786
786
  verified: boolean;
787
787
  isTest: boolean;
@@ -809,9 +809,9 @@ declare const app: Elysia<"", false, {
809
809
  symbol: string;
810
810
  name: string | null;
811
811
  id: string;
812
+ icon: string;
812
813
  chainId: number;
813
814
  address: string;
814
- icon: string;
815
815
  decimals: number;
816
816
  verified: boolean;
817
817
  isTest: boolean;
@@ -844,9 +844,9 @@ declare const app: Elysia<"", false, {
844
844
  symbol: string;
845
845
  name: string | null;
846
846
  id: string;
847
+ icon: string;
847
848
  chainId: number;
848
849
  address: string;
849
- icon: string;
850
850
  decimals: number;
851
851
  displaySymbol: string;
852
852
  verified: boolean;
@@ -1509,9 +1509,9 @@ declare const app: Elysia<"", false, {
1509
1509
  symbol: string;
1510
1510
  name: string | null;
1511
1511
  id: string;
1512
+ icon: string;
1512
1513
  chainId: number;
1513
1514
  address: string;
1514
- icon: string;
1515
1515
  decimals: number;
1516
1516
  displaySymbol: string;
1517
1517
  verified: boolean;
@@ -1530,9 +1530,9 @@ declare const app: Elysia<"", false, {
1530
1530
  symbol: string;
1531
1531
  name: string | null;
1532
1532
  id: string;
1533
+ icon: string;
1533
1534
  chainId: number;
1534
1535
  address: string;
1535
- icon: string;
1536
1536
  decimals: number;
1537
1537
  displaySymbol: string;
1538
1538
  verified: boolean;
@@ -1623,9 +1623,9 @@ declare const app: Elysia<"", false, {
1623
1623
  symbol: string;
1624
1624
  name: string | null;
1625
1625
  id: string;
1626
+ icon: string;
1626
1627
  chainId: number;
1627
1628
  address: string;
1628
- icon: string;
1629
1629
  decimals: number;
1630
1630
  displaySymbol: string;
1631
1631
  verified: boolean;
@@ -1644,9 +1644,9 @@ declare const app: Elysia<"", false, {
1644
1644
  symbol: string;
1645
1645
  name: string | null;
1646
1646
  id: string;
1647
+ icon: string;
1647
1648
  chainId: number;
1648
1649
  address: string;
1649
- icon: string;
1650
1650
  decimals: number;
1651
1651
  displaySymbol: string;
1652
1652
  verified: boolean;
package/dist/src/index.js CHANGED
@@ -18,10 +18,11 @@ const app = new Elysia({
18
18
  },
19
19
  })
20
20
  .use(swagger({
21
+ provider: "swagger-ui",
21
22
  documentation: {
22
23
  info: {
23
24
  contact: {
24
- email: "contact@angle.money",
25
+ email: "contact@merkl.money",
25
26
  name: "Angle Labs",
26
27
  },
27
28
  description: "API to access data related to merkl campaigns, built and maintained by Angle Labs. This API is provided as is, without any warranty of any kind.",
@@ -32,7 +33,7 @@ const app = new Elysia({
32
33
  version: "1.0.1",
33
34
  },
34
35
  },
35
- exclude: [/engine\/*/, /v1\/.*/, /v2\/.*/, /full\/*/],
36
+ exclude: [/engine\/*/, /v1\/.*/, /v2\/.*/, /v3\/.*/, "/"],
36
37
  }))
37
38
  .use(cors())
38
39
  .get("/", () => "Merkl API")
@@ -55,7 +55,8 @@ export declare enum tokenType {
55
55
  maha = "maha",
56
56
  tempest = "tempest",
57
57
  pendleYT = "pendleYT",
58
- pancakeswap = "pancakeswap"
58
+ pancakeswap = "pancakeswap",
59
+ tempestStaking = "tempestStaking"
59
60
  }
60
61
  export declare const tokenTypeToProtocol: {
61
62
  [key in tokenType]: {
@@ -57,6 +57,7 @@ export var tokenType;
57
57
  tokenType["tempest"] = "tempest";
58
58
  tokenType["pendleYT"] = "pendleYT";
59
59
  tokenType["pancakeswap"] = "pancakeswap";
60
+ tokenType["tempestStaking"] = "tempestStaking";
60
61
  })(tokenType || (tokenType = {}));
61
62
  export const tokenTypeToProtocol = {
62
63
  [tokenType.aave_borrowing]: { protocol: "Aave" },
@@ -131,4 +132,7 @@ export const tokenTypeToProtocol = {
131
132
  [tokenType.pancakeswap]: {
132
133
  protocol: "PancakeSwap V2",
133
134
  },
135
+ [tokenType.tempestStaking]: {
136
+ protocol: "Tempest",
137
+ },
134
138
  };
@@ -1,6 +1,6 @@
1
1
  import type { Pricer } from "../../../../../utils/pricer";
2
2
  import { type Campaign, type CampaignParameters } from "@sdk";
3
- import type { tokenType, tokenTypeStruct } from "../helpers/tokenType";
3
+ import { tokenType, type tokenTypeStruct } from "../helpers/tokenType";
4
4
  import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
5
5
  type callType = {
6
6
  key: keyof dataRawTempest;
@@ -1,5 +1,6 @@
1
1
  import { generateCardName } from "../../../../../utils/generateCardName";
2
2
  import { BN2Number, NULL_ADDRESS } from "@sdk";
3
+ import { tokenType } from "../helpers/tokenType";
3
4
  import { GenericProcessor } from "./GenericProcessor";
4
5
  export class TempestVaultProcessor extends GenericProcessor {
5
6
  rounds = {
@@ -56,9 +57,10 @@ export class TempestVaultProcessor extends GenericProcessor {
56
57
  const decimalsToken0 = Number(typeInfo.decimalsToken0);
57
58
  const decimalsToken1 = Number(typeInfo.decimalsToken1);
58
59
  const amount0 = BN2Number(typeInfo.amount0Idle, decimalsToken0) + BN2Number(typeInfo.amount0Invested, decimalsToken0);
59
- const amount1 = BN2Number(typeInfo.amount1Idle, decimalsToken1) +
60
- BN2Number(typeInfo.amount1Invested, decimalsToken1) +
61
- (!!typeInfo.amountInQueue ? BN2Number(typeInfo.amountInQueue, decimalsToken1) : 0);
60
+ let amount1 = BN2Number(typeInfo.amount1Idle, decimalsToken1) + BN2Number(typeInfo.amount1Invested, decimalsToken1);
61
+ if (type === tokenType.tempestStaking) {
62
+ amount1 += !!typeInfo.amountInQueue ? BN2Number(typeInfo.amountInQueue, decimalsToken1) : 0;
63
+ }
62
64
  const tokenAPRice = (await pricer.get({ symbol: typeInfo.symbolToken0 })) ?? 0;
63
65
  const tokenBPrice = (await pricer.get({ symbol: typeInfo.symbolToken1 })) ?? 0;
64
66
  const tvl = tokenAPRice * amount0 + tokenBPrice * amount1;
@@ -85,4 +85,5 @@ export const processorMapping = {
85
85
  [tokenType.tempest]: TempestVaultProcessor,
86
86
  [tokenType.pendleYT]: PendleYTProcessor,
87
87
  [tokenType.pancakeswap]: UniswapProcessor,
88
+ [tokenType.tempestStaking]: TempestVaultProcessor,
88
89
  };
@@ -91,7 +91,9 @@ function satisfiesNameConditions(name, type) {
91
91
  case tokenType.maha:
92
92
  return lowerCaseName.includes("staked") && lowerCaseName.includes("maha");
93
93
  case tokenType.tempest:
94
- return lowerCaseName.startsWith("ts") || lowerCaseName.startsWith("tempest");
94
+ return lowerCaseName.startsWith("ts");
95
+ case tokenType.tempestStaking:
96
+ return lowerCaseName.startsWith("tempest");
95
97
  default:
96
98
  return false;
97
99
  }
@@ -20,13 +20,13 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
20
20
  subType?: number | undefined;
21
21
  type: number;
22
22
  params: string;
23
+ creator: string;
23
24
  chainId: number;
24
25
  startTimestamp: string;
25
26
  endTimestamp: string;
26
27
  computeChainId: number;
27
28
  campaignId: string;
28
29
  amount: string;
29
- creator: string;
30
30
  rewardTokenAddress: string;
31
31
  opportunityIdentifier: string;
32
32
  };
@@ -63,11 +63,11 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
63
63
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
64
64
  items?: number | undefined;
65
65
  subType?: number | undefined;
66
+ page?: number | undefined;
66
67
  chainId?: number | undefined;
67
68
  startTimestamp?: string | undefined;
68
69
  endTimestamp?: string | undefined;
69
70
  tokenAddress?: string | undefined;
70
- page?: number | undefined;
71
71
  mainParameter?: string | undefined;
72
72
  campaignId?: string | undefined;
73
73
  opportunityId?: string | undefined;
@@ -87,9 +87,9 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
87
87
  symbol: string;
88
88
  name: string | null;
89
89
  id: string;
90
+ icon: string;
90
91
  chainId: number;
91
92
  address: string;
92
- icon: string;
93
93
  decimals: number;
94
94
  verified: boolean;
95
95
  isTest: boolean;
@@ -134,11 +134,11 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
134
134
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
135
135
  items?: number | undefined;
136
136
  subType?: number | undefined;
137
+ page?: number | undefined;
137
138
  chainId?: number | undefined;
138
139
  startTimestamp?: string | undefined;
139
140
  endTimestamp?: string | undefined;
140
141
  tokenAddress?: string | undefined;
141
- page?: number | undefined;
142
142
  mainParameter?: string | undefined;
143
143
  campaignId?: string | undefined;
144
144
  opportunityId?: string | undefined;
@@ -32,6 +32,7 @@ export declare abstract class CampaignRepository {
32
32
  static getFromEngineDb(chainId: number, timestamp: number): Promise<CampaignParameters<CampaignV3>[]>;
33
33
  static getFromEngineDbWithId(campaignIds: CampaignUnique[]): Promise<{
34
34
  index: number;
35
+ creator: string;
35
36
  chainId: number;
36
37
  startTimestamp: number;
37
38
  endTimestamp: number;
@@ -40,7 +41,6 @@ export declare abstract class CampaignRepository {
40
41
  campaignId: string;
41
42
  amount: string;
42
43
  rewardToken: string;
43
- creator: string;
44
44
  campaignType: number;
45
45
  campaignSubType: number;
46
46
  campaignParameters: import("database/engine/.generated/runtime/library").JsonValue;
@@ -98,9 +98,9 @@ export declare abstract class CampaignRepository {
98
98
  symbol: string;
99
99
  name: string | null;
100
100
  id: string;
101
+ icon: string;
101
102
  chainId: number;
102
103
  address: string;
103
- icon: string;
104
104
  decimals: number;
105
105
  displaySymbol: string;
106
106
  verified: boolean;
@@ -39,9 +39,9 @@ export declare abstract class CampaignService {
39
39
  symbol: string;
40
40
  name: string | null;
41
41
  id: string;
42
+ icon: string;
42
43
  chainId: number;
43
44
  address: string;
44
- icon: string;
45
45
  decimals: number;
46
46
  verified: boolean;
47
47
  isTest: boolean;
@@ -173,9 +173,9 @@ export declare abstract class CampaignService {
173
173
  symbol: string;
174
174
  name: string | null;
175
175
  id: string;
176
+ icon: string;
176
177
  chainId: number;
177
178
  address: string;
178
- icon: string;
179
179
  decimals: number;
180
180
  verified: boolean;
181
181
  isTest: boolean;
@@ -88,9 +88,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
88
88
  symbol: string;
89
89
  name: string | null;
90
90
  id: string;
91
+ icon: string;
91
92
  chainId: number;
92
93
  address: string;
93
- icon: string;
94
94
  decimals: number;
95
95
  displaySymbol: string;
96
96
  verified: boolean;
@@ -105,9 +105,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
105
105
  symbol: string;
106
106
  name: string | null;
107
107
  id: string;
108
+ icon: string;
108
109
  chainId: number;
109
110
  address: string;
110
- icon: string;
111
111
  decimals: number;
112
112
  verified: boolean;
113
113
  isTest: boolean;
@@ -191,9 +191,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
191
191
  symbol: string;
192
192
  name: string | null;
193
193
  id: string;
194
+ icon: string;
194
195
  chainId: number;
195
196
  address: string;
196
- icon: string;
197
197
  decimals: number;
198
198
  displaySymbol: string;
199
199
  verified: boolean;
@@ -208,9 +208,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
208
208
  symbol: string;
209
209
  name: string | null;
210
210
  id: string;
211
+ icon: string;
211
212
  chainId: number;
212
213
  address: string;
213
- icon: string;
214
214
  decimals: number;
215
215
  verified: boolean;
216
216
  isTest: boolean;
@@ -251,9 +251,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
251
251
  symbol: string;
252
252
  name: string | null;
253
253
  id: string;
254
+ icon: string;
254
255
  chainId: number;
255
256
  address: string;
256
- icon: string;
257
257
  decimals: number;
258
258
  verified: boolean;
259
259
  isTest: boolean;
@@ -305,8 +305,8 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
305
305
  status?: string | undefined;
306
306
  items?: number | undefined;
307
307
  tags?: string | undefined;
308
- chainId?: string | undefined;
309
308
  page?: number | undefined;
309
+ chainId?: string | undefined;
310
310
  action?: string | undefined;
311
311
  mainProtocolId?: string | undefined;
312
312
  order?: undefined;
@@ -352,9 +352,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
352
352
  symbol: string;
353
353
  name: string | null;
354
354
  id: string;
355
+ icon: string;
355
356
  chainId: number;
356
357
  address: string;
357
- icon: string;
358
358
  decimals: number;
359
359
  displaySymbol: string;
360
360
  verified: boolean;
@@ -369,9 +369,9 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
369
369
  symbol: string;
370
370
  name: string | null;
371
371
  id: string;
372
+ icon: string;
372
373
  chainId: number;
373
374
  address: string;
374
- icon: string;
375
375
  decimals: number;
376
376
  verified: boolean;
377
377
  isTest: boolean;
@@ -419,8 +419,8 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
419
419
  status?: string | undefined;
420
420
  items?: number | undefined;
421
421
  tags?: string | undefined;
422
- chainId?: string | undefined;
423
422
  page?: number | undefined;
423
+ chainId?: string | undefined;
424
424
  action?: string | undefined;
425
425
  mainProtocolId?: string | undefined;
426
426
  order?: undefined;
@@ -450,8 +450,8 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
450
450
  status?: string | undefined;
451
451
  items?: number | undefined;
452
452
  tags?: string | undefined;
453
- chainId?: string | undefined;
454
453
  page?: number | undefined;
454
+ chainId?: string | undefined;
455
455
  action?: string | undefined;
456
456
  mainProtocolId?: string | undefined;
457
457
  order?: undefined;
@@ -17,9 +17,9 @@ export declare abstract class OpportunityRepository {
17
17
  symbol: string;
18
18
  name: string | null;
19
19
  id: string;
20
+ icon: string;
20
21
  chainId: number;
21
22
  address: string;
22
- icon: string;
23
23
  decimals: number;
24
24
  displaySymbol: string;
25
25
  verified: boolean;
@@ -80,9 +80,9 @@ export declare abstract class OpportunityRepository {
80
80
  symbol: string;
81
81
  name: string | null;
82
82
  id: string;
83
+ icon: string;
83
84
  chainId: number;
84
85
  address: string;
85
- icon: string;
86
86
  decimals: number;
87
87
  displaySymbol: string;
88
88
  verified: boolean;
@@ -145,9 +145,9 @@ export declare abstract class OpportunityRepository {
145
145
  symbol: string;
146
146
  name: string | null;
147
147
  id: string;
148
+ icon: string;
148
149
  chainId: number;
149
150
  address: string;
150
- icon: string;
151
151
  decimals: number;
152
152
  displaySymbol: string;
153
153
  verified: boolean;
@@ -181,9 +181,9 @@ export declare abstract class OpportunityRepository {
181
181
  symbol: string;
182
182
  name: string | null;
183
183
  id: string;
184
+ icon: string;
184
185
  chainId: number;
185
186
  address: string;
186
- icon: string;
187
187
  decimals: number;
188
188
  displaySymbol: string;
189
189
  verified: boolean;
@@ -244,9 +244,9 @@ export declare abstract class OpportunityRepository {
244
244
  symbol: string;
245
245
  name: string | null;
246
246
  id: string;
247
+ icon: string;
247
248
  chainId: number;
248
249
  address: string;
249
- icon: string;
250
250
  decimals: number;
251
251
  displaySymbol: string;
252
252
  verified: boolean;
@@ -294,9 +294,9 @@ export declare abstract class OpportunityRepository {
294
294
  symbol: string;
295
295
  name: string | null;
296
296
  id: string;
297
+ icon: string;
297
298
  chainId: number;
298
299
  address: string;
299
- icon: string;
300
300
  decimals: number;
301
301
  displaySymbol: string;
302
302
  verified: boolean;
@@ -342,9 +342,9 @@ export declare abstract class OpportunityRepository {
342
342
  symbol: string;
343
343
  name: string | null;
344
344
  id: string;
345
+ icon: string;
345
346
  chainId: number;
346
347
  address: string;
347
- icon: string;
348
348
  decimals: number;
349
349
  displaySymbol: string;
350
350
  verified: boolean;
@@ -405,9 +405,9 @@ export declare abstract class OpportunityRepository {
405
405
  symbol: string;
406
406
  name: string | null;
407
407
  id: string;
408
+ icon: string;
408
409
  chainId: number;
409
410
  address: string;
410
- icon: string;
411
411
  decimals: number;
412
412
  displaySymbol: string;
413
413
  verified: boolean;
@@ -470,9 +470,9 @@ export declare abstract class OpportunityRepository {
470
470
  symbol: string;
471
471
  name: string | null;
472
472
  id: string;
473
+ icon: string;
473
474
  chainId: number;
474
475
  address: string;
475
- icon: string;
476
476
  decimals: number;
477
477
  displaySymbol: string;
478
478
  verified: boolean;
@@ -506,9 +506,9 @@ export declare abstract class OpportunityRepository {
506
506
  symbol: string;
507
507
  name: string | null;
508
508
  id: string;
509
+ icon: string;
509
510
  chainId: number;
510
511
  address: string;
511
- icon: string;
512
512
  decimals: number;
513
513
  displaySymbol: string;
514
514
  verified: boolean;
@@ -569,9 +569,9 @@ export declare abstract class OpportunityRepository {
569
569
  symbol: string;
570
570
  name: string | null;
571
571
  id: string;
572
+ icon: string;
572
573
  chainId: number;
573
574
  address: string;
574
- icon: string;
575
575
  decimals: number;
576
576
  displaySymbol: string;
577
577
  verified: boolean;