@merkl/api 0.10.231 → 0.10.233
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/edge.js +6 -12
- package/dist/database/api/.generated/index-browser.js +3 -8
- package/dist/database/api/.generated/index.d.ts +156 -124
- package/dist/database/api/.generated/index.js +6 -12
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +3 -10
- package/dist/database/api/.generated/wasm.js +3 -8
- package/dist/database/engine/.generated/edge.js +2 -3
- package/dist/database/engine/.generated/index.js +2 -3
- package/dist/database/engine/.generated/package.json +1 -1
- package/dist/database/engine/.generated/schema.prisma +1 -1
- package/dist/src/eden/index.d.ts +142 -155
- package/dist/src/index.d.ts +52 -55
- package/dist/src/modules/v4/campaign/campaign.repository.js +3 -1
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +2 -42
- package/dist/src/modules/v4/interaction/interaction.controller.js +2 -20
- package/dist/src/modules/v4/interaction/interaction.model.d.ts +1 -0
- package/dist/src/modules/v4/interaction/interaction.model.js +1 -0
- package/dist/src/modules/v4/interaction/interaction.service.d.ts +1 -1
- package/dist/src/modules/v4/interaction/interaction.service.js +2 -2
- package/dist/src/modules/v4/kyberzap/kyberzap.model.d.ts +1 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.model.js +1 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.service.d.ts +1 -1
- package/dist/src/modules/v4/kyberzap/kyberzap.service.js +6 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +5 -3
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +1 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -14
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +18 -8
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +9 -4
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +95 -25
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +6 -6
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +3 -15
- package/dist/src/modules/v4/protocol/protocol.model.js +3 -4
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +5 -5
- package/dist/src/modules/v4/protocol/protocol.repository.js +11 -6
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -2
- package/dist/src/modules/v4/reward/reward.service.d.ts +18 -12
- package/dist/src/modules/v4/router.d.ts +52 -55
- package/dist/src/modules/v4/token/token.controller.d.ts +33 -0
- package/dist/src/modules/v4/token/token.controller.js +14 -1
- package/dist/src/modules/v4/token/token.model.d.ts +8 -0
- package/dist/src/modules/v4/token/token.model.js +7 -0
- package/dist/src/modules/v4/token/token.service.d.ts +19 -1
- package/dist/src/modules/v4/token/token.service.js +10 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +6 -4
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/modules/v4/zyfi/zyfi.model.d.ts +0 -45
- package/dist/src/modules/v4/zyfi/zyfi.model.js +0 -1
- package/dist/src/modules/v4/zyfi/zyfi.service.d.ts +0 -30
- package/dist/src/modules/v4/zyfi/zyfi.service.js +0 -35
@@ -31,7 +31,7 @@ export declare abstract class OpportunityRepository {
|
|
31
31
|
url: string;
|
32
32
|
description: string;
|
33
33
|
id: string;
|
34
|
-
tags:
|
34
|
+
tags: string[];
|
35
35
|
icon: string;
|
36
36
|
}[];
|
37
37
|
MainProtocol: {
|
@@ -39,7 +39,7 @@ export declare abstract class OpportunityRepository {
|
|
39
39
|
url: string;
|
40
40
|
description: string;
|
41
41
|
id: string;
|
42
|
-
tags:
|
42
|
+
tags: string[];
|
43
43
|
icon: string;
|
44
44
|
} | null;
|
45
45
|
TvlRecords: ({
|
@@ -119,6 +119,7 @@ export declare abstract class OpportunityRepository {
|
|
119
119
|
identifier: string;
|
120
120
|
chainId: number;
|
121
121
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
122
|
+
depositUrl: string | null;
|
122
123
|
mainProtocolId: string | null;
|
123
124
|
tvl: number;
|
124
125
|
apr: number;
|
@@ -209,7 +210,7 @@ export declare abstract class OpportunityRepository {
|
|
209
210
|
url: string;
|
210
211
|
description: string;
|
211
212
|
id: string;
|
212
|
-
tags:
|
213
|
+
tags: string[];
|
213
214
|
icon: string;
|
214
215
|
}[];
|
215
216
|
MainProtocol: {
|
@@ -217,7 +218,7 @@ export declare abstract class OpportunityRepository {
|
|
217
218
|
url: string;
|
218
219
|
description: string;
|
219
220
|
id: string;
|
220
|
-
tags:
|
221
|
+
tags: string[];
|
221
222
|
icon: string;
|
222
223
|
} | null;
|
223
224
|
TvlRecords: ({
|
@@ -297,6 +298,7 @@ export declare abstract class OpportunityRepository {
|
|
297
298
|
identifier: string;
|
298
299
|
chainId: number;
|
299
300
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
301
|
+
depositUrl: string | null;
|
300
302
|
mainProtocolId: string | null;
|
301
303
|
tvl: number;
|
302
304
|
apr: number;
|
@@ -341,6 +343,7 @@ export declare abstract class OpportunityRepository {
|
|
341
343
|
identifier: string;
|
342
344
|
chainId: number;
|
343
345
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
346
|
+
depositUrl: string | null;
|
344
347
|
mainProtocolId: string | null;
|
345
348
|
tvl: number;
|
346
349
|
apr: number;
|
@@ -370,7 +373,7 @@ export declare abstract class OpportunityRepository {
|
|
370
373
|
url: string;
|
371
374
|
description: string;
|
372
375
|
id: string;
|
373
|
-
tags:
|
376
|
+
tags: string[];
|
374
377
|
icon: string;
|
375
378
|
}[];
|
376
379
|
MainProtocol: {
|
@@ -378,7 +381,7 @@ export declare abstract class OpportunityRepository {
|
|
378
381
|
url: string;
|
379
382
|
description: string;
|
380
383
|
id: string;
|
381
|
-
tags:
|
384
|
+
tags: string[];
|
382
385
|
icon: string;
|
383
386
|
} | null;
|
384
387
|
TvlRecords: ({
|
@@ -458,6 +461,7 @@ export declare abstract class OpportunityRepository {
|
|
458
461
|
identifier: string;
|
459
462
|
chainId: number;
|
460
463
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
464
|
+
depositUrl: string | null;
|
461
465
|
mainProtocolId: string | null;
|
462
466
|
tvl: number;
|
463
467
|
apr: number;
|
@@ -534,7 +538,7 @@ export declare abstract class OpportunityRepository {
|
|
534
538
|
url: string;
|
535
539
|
description: string;
|
536
540
|
id: string;
|
537
|
-
tags:
|
541
|
+
tags: string[];
|
538
542
|
icon: string;
|
539
543
|
}[];
|
540
544
|
MainProtocol: {
|
@@ -542,7 +546,7 @@ export declare abstract class OpportunityRepository {
|
|
542
546
|
url: string;
|
543
547
|
description: string;
|
544
548
|
id: string;
|
545
|
-
tags:
|
549
|
+
tags: string[];
|
546
550
|
icon: string;
|
547
551
|
} | null;
|
548
552
|
TvlRecords: ({
|
@@ -622,6 +626,7 @@ export declare abstract class OpportunityRepository {
|
|
622
626
|
identifier: string;
|
623
627
|
chainId: number;
|
624
628
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
629
|
+
depositUrl: string | null;
|
625
630
|
mainProtocolId: string | null;
|
626
631
|
tvl: number;
|
627
632
|
apr: number;
|
@@ -681,6 +686,7 @@ export declare abstract class OpportunityRepository {
|
|
681
686
|
identifier: string;
|
682
687
|
chainId: number;
|
683
688
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
689
|
+
depositUrl: string | null;
|
684
690
|
mainProtocolId: string | null;
|
685
691
|
tvl: number;
|
686
692
|
apr: number;
|
@@ -696,6 +702,7 @@ export declare abstract class OpportunityRepository {
|
|
696
702
|
identifier: string;
|
697
703
|
chainId: number;
|
698
704
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
705
|
+
depositUrl: string | null;
|
699
706
|
mainProtocolId: string | null;
|
700
707
|
tvl: number;
|
701
708
|
apr: number;
|
@@ -710,6 +717,7 @@ export declare abstract class OpportunityRepository {
|
|
710
717
|
identifier: string;
|
711
718
|
chainId: number;
|
712
719
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
720
|
+
depositUrl: string | null;
|
713
721
|
mainProtocolId: string | null;
|
714
722
|
tvl: number;
|
715
723
|
apr: number;
|
@@ -724,6 +732,7 @@ export declare abstract class OpportunityRepository {
|
|
724
732
|
identifier: string;
|
725
733
|
chainId: number;
|
726
734
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
735
|
+
depositUrl: string | null;
|
727
736
|
mainProtocolId: string | null;
|
728
737
|
tvl: number;
|
729
738
|
apr: number;
|
@@ -741,6 +750,7 @@ export declare abstract class OpportunityRepository {
|
|
741
750
|
identifier: string;
|
742
751
|
chainId: number;
|
743
752
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
753
|
+
depositUrl: string | null;
|
744
754
|
mainProtocolId: string | null;
|
745
755
|
tvl: number;
|
746
756
|
apr: number;
|
@@ -98,7 +98,7 @@ export declare abstract class OpportunityService {
|
|
98
98
|
url: string;
|
99
99
|
description: string;
|
100
100
|
id: string;
|
101
|
-
tags:
|
101
|
+
tags: string[];
|
102
102
|
icon: string;
|
103
103
|
} | undefined;
|
104
104
|
name: string;
|
@@ -108,6 +108,7 @@ export declare abstract class OpportunityService {
|
|
108
108
|
identifier: string;
|
109
109
|
chainId: number;
|
110
110
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
111
|
+
depositUrl: string | null;
|
111
112
|
tvl: number;
|
112
113
|
apr: number;
|
113
114
|
dailyRewards: number;
|
@@ -185,7 +186,7 @@ export declare abstract class OpportunityService {
|
|
185
186
|
url: string;
|
186
187
|
description: string;
|
187
188
|
id: string;
|
188
|
-
tags:
|
189
|
+
tags: string[];
|
189
190
|
icon: string;
|
190
191
|
} | undefined;
|
191
192
|
name: string;
|
@@ -195,6 +196,7 @@ export declare abstract class OpportunityService {
|
|
195
196
|
identifier: string;
|
196
197
|
chainId: number;
|
197
198
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
199
|
+
depositUrl: string | null;
|
198
200
|
tvl: number;
|
199
201
|
apr: number;
|
200
202
|
dailyRewards: number;
|
@@ -329,7 +331,7 @@ export declare abstract class OpportunityService {
|
|
329
331
|
url: string;
|
330
332
|
description: string;
|
331
333
|
id: string;
|
332
|
-
tags:
|
334
|
+
tags: string[];
|
333
335
|
icon: string;
|
334
336
|
} | undefined;
|
335
337
|
name: string;
|
@@ -339,6 +341,7 @@ export declare abstract class OpportunityService {
|
|
339
341
|
identifier: string;
|
340
342
|
chainId: number;
|
341
343
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
344
|
+
depositUrl: string | null;
|
342
345
|
tvl: number;
|
343
346
|
apr: number;
|
344
347
|
dailyRewards: number;
|
@@ -368,7 +371,7 @@ export declare abstract class OpportunityService {
|
|
368
371
|
url: string;
|
369
372
|
description: string;
|
370
373
|
id: string;
|
371
|
-
tags:
|
374
|
+
tags: string[];
|
372
375
|
icon: string;
|
373
376
|
} | undefined;
|
374
377
|
name: string;
|
@@ -378,6 +381,7 @@ export declare abstract class OpportunityService {
|
|
378
381
|
identifier: string;
|
379
382
|
chainId: number;
|
380
383
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
384
|
+
depositUrl: string | null;
|
381
385
|
tvl: number;
|
382
386
|
apr: number;
|
383
387
|
dailyRewards: number;
|
@@ -394,6 +398,7 @@ export declare abstract class OpportunityService {
|
|
394
398
|
identifier: string;
|
395
399
|
chainId: number;
|
396
400
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
401
|
+
depositUrl: string | null;
|
397
402
|
mainProtocolId: string | null;
|
398
403
|
tvl: number;
|
399
404
|
apr: number;
|
@@ -70,6 +70,7 @@ export declare enum zkSyncCampaigns {
|
|
70
70
|
Uniswap_ZK_ETH = "Uniswap ZK/ETH v3 0.3pct 0x3d7264539e6e3f596bb485e3091f3ae02ad01ef8",
|
71
71
|
Maverick_USDC_USDCe_Boosted = "Maverick USDC/USDC.e Boosted Position 0.001pct Fee 0.01pct Width Both 0x7b069aa2b92d356db4e6b9552d541f5aab4415fc",
|
72
72
|
Maverick_ETH_wstETH_Boosted = "Maverick ETH/wstETH Boosted Position 0.002pct Fee 0.10pct Width Both 0x5f2f2d05618b5a2e3d0e32604ac02efc3fca888c",
|
73
|
+
Maverick_ZK_ETH_Boosted = "Maverick ZK-ETH Boosted Position 0.02% Fee 25.00% Width Mode Static Width Both 0x940350023026b52ae8b1997f15166b2060e04940",
|
73
74
|
SyncSwap_wBTC_MBTC = "SyncSwap WBTC/M-BTC Stable Pool v2.1 0x57b11c2c0cdc81517662698a48473938e81d5834",
|
74
75
|
SyncSwap_USDC_USDT = "SyncSwap USDC/USDT Stable Pool 0x0259d9dfb638775858b1d072222237e2ce7111c0",
|
75
76
|
SyncSwap_USDC_USDCe = "SyncSwap USDC/USDC.e Stable Pool 0xa93472c1b88243793e145b237b7172f1ee547836",
|
@@ -77,6 +78,8 @@ export declare enum zkSyncCampaigns {
|
|
77
78
|
SyncSwap_ETH_wrsETH = "SyncSwap ETH/wrsETH Aqua Pool 0x58ba6ddb7af82a106219dc412395ad56284bc5b3",
|
78
79
|
SyncSwap_ZK_ETH = "SyncSwap WBTC-M-BTC Stable Pool v2.1 0x45856bd6bb9f076f4c558a4d5932c6c8d832b0d0",
|
79
80
|
SyncSwap_USDCe_ETH = "SyncSwap WBTC-M-BTC Stable Pool v2.1 0x80115c708e12edd42e504c1cd52aea96c547c05c",
|
81
|
+
Woofi_ETH = "Woofi ETH 0x1d686250bbffa9fe120b591f5992dd7fc0fd99a4",
|
82
|
+
Woofi_USDC = "Woofi USDC 0xa8bbab0ac88382a0f507b9e93cdbe65ffa1f50d1",
|
80
83
|
ZKSwap_wrsETH_ETH = "ZKSwap Finance wrsETH/ETH v2 0.1pct 0xeb9fd198b20dc73e63668b89a735b7dc84e13ea0",
|
81
84
|
ZKSwap_ETH_USDCe = "ZKSwap Finance ETH/USDC.e v2 0.1pct 0x7642e38867860d4512fcce1116e2fb539c5cdd21",
|
82
85
|
ZKSwap_USDC_USDCe_USDT = "ZKSwap Finance USDC/USDC.e/USDT Stable 0.01pct 0x15309aaf4fedf346e5204331027b4ef7b75b1dd7",
|
@@ -74,6 +74,7 @@ export var zkSyncCampaigns;
|
|
74
74
|
zkSyncCampaigns["Uniswap_ZK_ETH"] = "Uniswap ZK/ETH v3 0.3pct 0x3d7264539e6e3f596bb485e3091f3ae02ad01ef8";
|
75
75
|
zkSyncCampaigns["Maverick_USDC_USDCe_Boosted"] = "Maverick USDC/USDC.e Boosted Position 0.001pct Fee 0.01pct Width Both 0x7b069aa2b92d356db4e6b9552d541f5aab4415fc";
|
76
76
|
zkSyncCampaigns["Maverick_ETH_wstETH_Boosted"] = "Maverick ETH/wstETH Boosted Position 0.002pct Fee 0.10pct Width Both 0x5f2f2d05618b5a2e3d0e32604ac02efc3fca888c";
|
77
|
+
zkSyncCampaigns["Maverick_ZK_ETH_Boosted"] = "Maverick ZK-ETH Boosted Position 0.02% Fee 25.00% Width Mode Static Width Both 0x940350023026b52ae8b1997f15166b2060e04940";
|
77
78
|
zkSyncCampaigns["SyncSwap_wBTC_MBTC"] = "SyncSwap WBTC/M-BTC Stable Pool v2.1 0x57b11c2c0cdc81517662698a48473938e81d5834";
|
78
79
|
zkSyncCampaigns["SyncSwap_USDC_USDT"] = "SyncSwap USDC/USDT Stable Pool 0x0259d9dfb638775858b1d072222237e2ce7111c0";
|
79
80
|
zkSyncCampaigns["SyncSwap_USDC_USDCe"] = "SyncSwap USDC/USDC.e Stable Pool 0xa93472c1b88243793e145b237b7172f1ee547836";
|
@@ -81,6 +82,8 @@ export var zkSyncCampaigns;
|
|
81
82
|
zkSyncCampaigns["SyncSwap_ETH_wrsETH"] = "SyncSwap ETH/wrsETH Aqua Pool 0x58ba6ddb7af82a106219dc412395ad56284bc5b3";
|
82
83
|
zkSyncCampaigns["SyncSwap_ZK_ETH"] = "SyncSwap WBTC-M-BTC Stable Pool v2.1 0x45856bd6bb9f076f4c558a4d5932c6c8d832b0d0";
|
83
84
|
zkSyncCampaigns["SyncSwap_USDCe_ETH"] = "SyncSwap WBTC-M-BTC Stable Pool v2.1 0x80115c708e12edd42e504c1cd52aea96c547c05c";
|
85
|
+
zkSyncCampaigns["Woofi_ETH"] = "Woofi ETH 0x1d686250bbffa9fe120b591f5992dd7fc0fd99a4";
|
86
|
+
zkSyncCampaigns["Woofi_USDC"] = "Woofi USDC 0xa8bbab0ac88382a0f507b9e93cdbe65ffa1f50d1";
|
84
87
|
zkSyncCampaigns["ZKSwap_wrsETH_ETH"] = "ZKSwap Finance wrsETH/ETH v2 0.1pct 0xeb9fd198b20dc73e63668b89a735b7dc84e13ea0";
|
85
88
|
zkSyncCampaigns["ZKSwap_ETH_USDCe"] = "ZKSwap Finance ETH/USDC.e v2 0.1pct 0x7642e38867860d4512fcce1116e2fb539c5cdd21";
|
86
89
|
zkSyncCampaigns["ZKSwap_USDC_USDCe_USDT"] = "ZKSwap Finance USDC/USDC.e/USDT Stable 0.01pct 0x15309aaf4fedf346e5204331027b4ef7b75b1dd7";
|
@@ -105,7 +108,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
105
108
|
targetToken: "0x62170af269e9acd09a89279c0485e89aa42857a3",
|
106
109
|
whitelist: [],
|
107
110
|
blacklist: [],
|
108
|
-
url: "",
|
111
|
+
url: "https://app.rfx.exchange/earn?market=0x62170Af269E9Acd09a89279C0485e89aA42857A3",
|
109
112
|
forwarders: [],
|
110
113
|
},
|
111
114
|
[zkSyncCampaigns.RFX_ETH_USD]: {
|
@@ -115,7 +118,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
115
118
|
targetToken: "0x8efa54951bf70d9775dfe8f9364df83ad1e1a8cf",
|
116
119
|
whitelist: [],
|
117
120
|
blacklist: [],
|
118
|
-
url: "",
|
121
|
+
url: "https://app.rfx.exchange/earn?market=0x8EFA54951bF70D9775DFe8F9364df83aD1e1a8cF",
|
119
122
|
forwarders: [],
|
120
123
|
},
|
121
124
|
[zkSyncCampaigns.RFX_ZK_USD]: {
|
@@ -125,7 +128,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
125
128
|
targetToken: "0x9d4d54c8661a17604a46b849ded78cf20127fb92",
|
126
129
|
whitelist: [],
|
127
130
|
blacklist: [],
|
128
|
-
url: "",
|
131
|
+
url: "https://app.rfx.exchange/earn?market=0x9D4d54c8661a17604A46B849DED78Cf20127fB92",
|
129
132
|
forwarders: [],
|
130
133
|
},
|
131
134
|
[zkSyncCampaigns.HoldSation_USDC]: {
|
@@ -135,7 +138,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
135
138
|
targetToken: "0xaf08a9d918f16332f22cf8dc9abe9d9e14ddcbc2",
|
136
139
|
whitelist: [],
|
137
140
|
blacklist: [],
|
138
|
-
url: "",
|
141
|
+
url: "https://hold.so/swap",
|
139
142
|
forwarders: [],
|
140
143
|
},
|
141
144
|
[zkSyncCampaigns.ReactorFusion_ZK]: {
|
@@ -145,7 +148,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
145
148
|
targetToken: "0x0e392b6b05c112677096920ad938a0752d1451f3",
|
146
149
|
whitelist: [],
|
147
150
|
blacklist: [],
|
148
|
-
url: "",
|
151
|
+
url: "https://main.reactorfusion.xyz/",
|
149
152
|
forwarders: [],
|
150
153
|
},
|
151
154
|
[zkSyncCampaigns.ReactorFusion_WETH]: {
|
@@ -155,7 +158,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
155
158
|
targetToken: "0xc5db68f30d21cbe0c9eac7be5ea83468d69297e6",
|
156
159
|
whitelist: [],
|
157
160
|
blacklist: [],
|
158
|
-
url: "",
|
161
|
+
url: "https://main.reactorfusion.xyz/",
|
159
162
|
forwarders: [],
|
160
163
|
},
|
161
164
|
[zkSyncCampaigns.ReactorFusion_USDCe]: {
|
@@ -165,7 +168,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
165
168
|
targetToken: "0x04e9db37d8ea0760072e1ace3f2a219988fdac29",
|
166
169
|
whitelist: [],
|
167
170
|
blacklist: [],
|
168
|
-
url: "",
|
171
|
+
url: "https://main.reactorfusion.xyz/",
|
169
172
|
forwarders: [],
|
170
173
|
},
|
171
174
|
[zkSyncCampaigns.Zerolend_ZK]: {
|
@@ -175,7 +178,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
175
178
|
targetToken: "0x072416442a0e40135e75c0eefb4be708b74b6c8a",
|
176
179
|
whitelist: [],
|
177
180
|
blacklist: [],
|
178
|
-
url: "",
|
181
|
+
url: "https://app.zerolend.xyz/reserve-overview/?underlyingAsset=0x5a7d6b2f92c77fad6ccabd7ee0624e64907eaf3e&marketName=proto_zksync_era_v3",
|
179
182
|
forwarders: [],
|
180
183
|
},
|
181
184
|
[zkSyncCampaigns.Zerolend_M_BTC]: {
|
@@ -185,7 +188,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
185
188
|
targetToken: "0xafe91971600af83d23ab691b0a1a566d5f8e42c0",
|
186
189
|
whitelist: [],
|
187
190
|
blacklist: [],
|
188
|
-
url: "",
|
191
|
+
url: "https://app.zerolend.xyz/reserve-overview/?underlyingAsset=0xe757355edba7ced7b8c0271bba4efda184ad75ab&marketName=proto_zksync_era_v3",
|
189
192
|
forwarders: [],
|
190
193
|
},
|
191
194
|
[zkSyncCampaigns.Zerolend_USDCe]: {
|
@@ -195,7 +198,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
195
198
|
targetToken: "0x016341e6da8da66b33fd32189328c102f32da7cc",
|
196
199
|
whitelist: [],
|
197
200
|
blacklist: [],
|
198
|
-
url: "",
|
201
|
+
url: "https://app.zerolend.xyz/reserve-overview/?underlyingAsset=0x3355df6d4c9c3035724fd0e3914de96a5a83aaf4&marketName=proto_zksync_era_v3",
|
199
202
|
forwarders: [],
|
200
203
|
},
|
201
204
|
[zkSyncCampaigns.Zerolend_WETH]: {
|
@@ -205,7 +208,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
205
208
|
targetToken: "0x9002ecb8a06060e3b56669c6b8f18e1c3b119914",
|
206
209
|
whitelist: [],
|
207
210
|
blacklist: [],
|
208
|
-
url: "",
|
211
|
+
url: "https://app.zerolend.xyz/reserve-overview/?underlyingAsset=0x5aea5775959fbc2557cc8789bc1bf90a239d9a91&marketName=proto_zksync_era_v3",
|
209
212
|
forwarders: [],
|
210
213
|
},
|
211
214
|
[zkSyncCampaigns.Aave_WstETH]: {
|
@@ -215,7 +218,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
215
218
|
targetToken: "0xd4e607633f3d984633e946aea4eb71f92564c1c9",
|
216
219
|
whitelist: [],
|
217
220
|
blacklist: [],
|
218
|
-
url: "",
|
221
|
+
url: "https://app.aave.com/reserve-overview/?underlyingAsset=0x703b52f2b28febcb60e1372858af5b18849fe867&marketName=proto_zksync_v3",
|
219
222
|
forwarders: [],
|
220
223
|
},
|
221
224
|
[zkSyncCampaigns.Aave_ZK]: {
|
@@ -225,7 +228,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
225
228
|
targetToken: "0xd6cd2c0fc55936498726cacc497832052a9b2d1b",
|
226
229
|
whitelist: [],
|
227
230
|
blacklist: [],
|
228
|
-
url: "",
|
231
|
+
url: "https://app.aave.com/reserve-overview/?underlyingAsset=0x5a7d6b2f92c77fad6ccabd7ee0624e64907eaf3e&marketName=proto_zksync_v3",
|
229
232
|
forwarders: [],
|
230
233
|
},
|
231
234
|
[zkSyncCampaigns.Aave_WETH]: {
|
@@ -235,7 +238,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
235
238
|
targetToken: "0xb7b93bcf82519bb757fd18b23a389245dbd8ca64",
|
236
239
|
whitelist: [],
|
237
240
|
blacklist: [],
|
238
|
-
url: "",
|
241
|
+
url: "https://app.aave.com/reserve-overview/?underlyingAsset=0x5aea5775959fbc2557cc8789bc1bf90a239d9a91&marketName=proto_zksync_v3",
|
239
242
|
forwarders: [],
|
240
243
|
},
|
241
244
|
[zkSyncCampaigns.Aave_USDC]: {
|
@@ -245,7 +248,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
245
248
|
targetToken: "0xe977f9b2a5ccf0457870a67231f23be4daecfbdb",
|
246
249
|
whitelist: [],
|
247
250
|
blacklist: [],
|
248
|
-
url: "",
|
251
|
+
url: "https://app.aave.com/reserve-overview/?underlyingAsset=0x1d17cbcf0d6d143135ae902365d2e5e2a16538d4&marketName=proto_zksync_v3",
|
249
252
|
forwarders: [],
|
250
253
|
},
|
251
254
|
[zkSyncCampaigns.Venus_WETH]: {
|
@@ -255,7 +258,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
255
258
|
targetToken: "0x1fa916c27c7c2c4602124a14c77dbb40a5ff1be8",
|
256
259
|
whitelist: [],
|
257
260
|
blacklist: [],
|
258
|
-
url: "",
|
261
|
+
url: "https://app.venus.io/#/core-pool/market/0x1Fa916C27c7C2c4602124A14C77Dbb40a5FF1BE8?chainId=324",
|
259
262
|
forwarders: [],
|
260
263
|
},
|
261
264
|
[zkSyncCampaigns.Venus_ZK]: {
|
@@ -265,7 +268,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
265
268
|
targetToken: "0x697a70779c1a03ba2bd28b7627a902bff831b616",
|
266
269
|
whitelist: [],
|
267
270
|
blacklist: [],
|
268
|
-
url: "",
|
271
|
+
url: "https://app.venus.io/#/core-pool/market/0x697a70779C1A03Ba2BD28b7627a902BFf831b616?chainId=324",
|
269
272
|
forwarders: [],
|
270
273
|
},
|
271
274
|
[zkSyncCampaigns.Venus_USDCe]: {
|
@@ -275,7 +278,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
275
278
|
targetToken: "0x1af23bd57c62a99c59ad48236553d0dd11e49d2d",
|
276
279
|
whitelist: [],
|
277
280
|
blacklist: [],
|
278
|
-
url: "",
|
281
|
+
url: "https://app.venus.io/#/core-pool/market/0x1aF23bD57c62A99C59aD48236553D0Dd11e49D2D?chainId=324",
|
279
282
|
forwarders: [],
|
280
283
|
},
|
281
284
|
[zkSyncCampaigns.Izumi_Finance_Zk_Weth]: {
|
@@ -470,7 +473,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
470
473
|
[zkSyncCampaigns.Uniswap_USDC_ETH]: {
|
471
474
|
campaignType: Campaign.CLAMM,
|
472
475
|
computeChainId: ChainId.ZKSYNC,
|
473
|
-
poolAddress: "
|
476
|
+
poolAddress: "0xeecb86c38c4667b46487255f41c6904df3d76f8f",
|
474
477
|
hooks: [],
|
475
478
|
whitelist: [],
|
476
479
|
blacklist: [],
|
@@ -483,7 +486,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
483
486
|
[zkSyncCampaigns.Uniswap_USDCe_ZK]: {
|
484
487
|
campaignType: Campaign.CLAMM,
|
485
488
|
computeChainId: ChainId.ZKSYNC,
|
486
|
-
poolAddress: "
|
489
|
+
poolAddress: "0xa0769a3c6af68812bb3a5cbd511f7879033440eb",
|
487
490
|
hooks: [],
|
488
491
|
whitelist: [],
|
489
492
|
blacklist: [],
|
@@ -496,7 +499,7 @@ const ZkSyncInterfaceCampaigns = {
|
|
496
499
|
[zkSyncCampaigns.Uniswap_ZK_ETH]: {
|
497
500
|
campaignType: Campaign.CLAMM,
|
498
501
|
computeChainId: ChainId.ZKSYNC,
|
499
|
-
poolAddress: "
|
502
|
+
poolAddress: "0x3d7264539e6e3f596bb485e3091f3ae02ad01ef8",
|
500
503
|
hooks: [],
|
501
504
|
whitelist: [],
|
502
505
|
blacklist: [],
|
@@ -540,6 +543,23 @@ const ZkSyncInterfaceCampaigns = {
|
|
540
543
|
},
|
541
544
|
],
|
542
545
|
},
|
546
|
+
[zkSyncCampaigns.Maverick_ZK_ETH_Boosted]: {
|
547
|
+
campaignType: Campaign.ERC20,
|
548
|
+
computeChainId: ChainId.ZKSYNC,
|
549
|
+
targetToken: "0xcafe0021bb7acA793c1C9625F0d9D645F3159f52",
|
550
|
+
hooks: [],
|
551
|
+
whitelist: [],
|
552
|
+
blacklist: [],
|
553
|
+
url: "https://app.mav.xyz/boosted-position/0xcafe0021bb7acA793c1C9625F0d9D645F3159f52/0x940350023026b52AE8b1997F15166b2060E04940?chain=324&f=true",
|
554
|
+
forwarders: [
|
555
|
+
{
|
556
|
+
forwarderType: Forwarder.MAVERICK_BOOSTED_POSITIONS,
|
557
|
+
priority: 0,
|
558
|
+
sender: "0x940350023026b52ae8b1997f15166b2060e04940",
|
559
|
+
owner: "0xBA66F2194af1993873e341Ba1F4a8c3C56A22f4c",
|
560
|
+
},
|
561
|
+
],
|
562
|
+
},
|
543
563
|
[zkSyncCampaigns.SyncSwap_wBTC_MBTC]: {
|
544
564
|
campaignType: Campaign.ERC20,
|
545
565
|
computeChainId: ChainId.ZKSYNC,
|
@@ -618,7 +638,13 @@ const ZkSyncInterfaceCampaigns = {
|
|
618
638
|
whitelist: [],
|
619
639
|
blacklist: [],
|
620
640
|
url: "https://www.zkswap.finance/v2/add/0xd4169E045bcF9a86cC00101225d9ED61D2F51af2/ETH?chain=zkSync&persistChain=1",
|
621
|
-
forwarders: [
|
641
|
+
forwarders: [
|
642
|
+
{
|
643
|
+
forwarderType: Forwarder.ZKSWAP_FARM,
|
644
|
+
priority: 0,
|
645
|
+
sender: "0x940350023026b52ae8b1997f15166b2060e04940",
|
646
|
+
},
|
647
|
+
],
|
622
648
|
},
|
623
649
|
[zkSyncCampaigns.ZKSwap_ETH_USDCe]: {
|
624
650
|
campaignType: Campaign.ERC20,
|
@@ -628,7 +654,13 @@ const ZkSyncInterfaceCampaigns = {
|
|
628
654
|
whitelist: [],
|
629
655
|
blacklist: [],
|
630
656
|
url: "https://www.zkswap.finance/v2/add/ETH/0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4?chain=zkSync&persistChain=1",
|
631
|
-
forwarders: [
|
657
|
+
forwarders: [
|
658
|
+
{
|
659
|
+
forwarderType: Forwarder.ZKSWAP_FARM,
|
660
|
+
priority: 0,
|
661
|
+
sender: "0x940350023026b52ae8b1997f15166b2060e04940",
|
662
|
+
},
|
663
|
+
],
|
632
664
|
},
|
633
665
|
[zkSyncCampaigns.ZKSwap_USDC_USDCe_USDT]: {
|
634
666
|
campaignType: Campaign.ERC20,
|
@@ -638,7 +670,13 @@ const ZkSyncInterfaceCampaigns = {
|
|
638
670
|
whitelist: [],
|
639
671
|
blacklist: [],
|
640
672
|
url: "https://www.zkswap.finance/stable/add/3pool?chain=zkSync&persistChain=1",
|
641
|
-
forwarders: [
|
673
|
+
forwarders: [
|
674
|
+
{
|
675
|
+
forwarderType: Forwarder.ZKSWAP_FARM,
|
676
|
+
priority: 0,
|
677
|
+
sender: "0x940350023026b52ae8b1997f15166b2060e04940",
|
678
|
+
},
|
679
|
+
],
|
642
680
|
},
|
643
681
|
[zkSyncCampaigns.ZKSwap_wstETH_ETH]: {
|
644
682
|
campaignType: Campaign.ERC20,
|
@@ -648,7 +686,13 @@ const ZkSyncInterfaceCampaigns = {
|
|
648
686
|
whitelist: [],
|
649
687
|
blacklist: [],
|
650
688
|
url: "https://www.zkswap.finance/v2/add/0x703b52F2b28fEbcB60E1372858AF5b18849FE867/ETH?chain=zkSync&persistChain=1",
|
651
|
-
forwarders: [
|
689
|
+
forwarders: [
|
690
|
+
{
|
691
|
+
forwarderType: Forwarder.ZKSWAP_FARM,
|
692
|
+
priority: 0,
|
693
|
+
sender: "0x940350023026b52ae8b1997f15166b2060e04940",
|
694
|
+
},
|
695
|
+
],
|
652
696
|
},
|
653
697
|
[zkSyncCampaigns.ZKSwap_ZK_ETH]: {
|
654
698
|
campaignType: Campaign.ERC20,
|
@@ -658,6 +702,32 @@ const ZkSyncInterfaceCampaigns = {
|
|
658
702
|
whitelist: [],
|
659
703
|
blacklist: [],
|
660
704
|
url: "https://www.zkswap.finance/v2/add/0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E/ETH?chain=zkSync&persistChain=1",
|
705
|
+
forwarders: [
|
706
|
+
{
|
707
|
+
forwarderType: Forwarder.ZKSWAP_FARM,
|
708
|
+
priority: 0,
|
709
|
+
sender: "0x940350023026b52ae8b1997f15166b2060e04940",
|
710
|
+
},
|
711
|
+
],
|
712
|
+
},
|
713
|
+
[zkSyncCampaigns.Woofi_ETH]: {
|
714
|
+
campaignType: Campaign.ERC20,
|
715
|
+
computeChainId: ChainId.ZKSYNC,
|
716
|
+
targetToken: "0x1d686250bbffa9fe120b591f5992dd7fc0fd99a4",
|
717
|
+
hooks: [],
|
718
|
+
whitelist: [],
|
719
|
+
blacklist: [],
|
720
|
+
url: "https://woofi.com/earn",
|
721
|
+
forwarders: [],
|
722
|
+
},
|
723
|
+
[zkSyncCampaigns.Woofi_USDC]: {
|
724
|
+
campaignType: Campaign.ERC20,
|
725
|
+
computeChainId: ChainId.ZKSYNC,
|
726
|
+
targetToken: "0xa8bbab0ac88382a0f507b9e93cdbe65ffa1f50d1",
|
727
|
+
hooks: [],
|
728
|
+
whitelist: [],
|
729
|
+
blacklist: [],
|
730
|
+
url: "https://woofi.com/earn",
|
661
731
|
forwarders: [],
|
662
732
|
},
|
663
733
|
};
|
@@ -20,7 +20,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
20
20
|
query: {
|
21
21
|
id?: string | undefined;
|
22
22
|
items?: number | undefined;
|
23
|
-
tags?:
|
23
|
+
tags?: string[] | undefined;
|
24
24
|
page?: number | undefined;
|
25
25
|
opportunityTag?: string | undefined;
|
26
26
|
};
|
@@ -31,7 +31,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
31
31
|
url: string;
|
32
32
|
description: string;
|
33
33
|
id: string;
|
34
|
-
tags:
|
34
|
+
tags: string[];
|
35
35
|
icon: string;
|
36
36
|
} & {})[];
|
37
37
|
};
|
@@ -68,7 +68,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
68
68
|
url: string;
|
69
69
|
description: string;
|
70
70
|
id: string;
|
71
|
-
tags:
|
71
|
+
tags: string[];
|
72
72
|
icon: string;
|
73
73
|
} | null;
|
74
74
|
};
|
@@ -97,7 +97,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
97
97
|
url: string;
|
98
98
|
description: string;
|
99
99
|
id: string;
|
100
|
-
tags:
|
100
|
+
tags: string[];
|
101
101
|
icon: string;
|
102
102
|
};
|
103
103
|
};
|
@@ -113,7 +113,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
113
113
|
url: string;
|
114
114
|
description: string;
|
115
115
|
id: string;
|
116
|
-
tags:
|
116
|
+
tags: string[];
|
117
117
|
icon: string;
|
118
118
|
};
|
119
119
|
params: {};
|
@@ -127,7 +127,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
127
127
|
url: string;
|
128
128
|
description: string;
|
129
129
|
id: string;
|
130
|
-
tags:
|
130
|
+
tags: string[];
|
131
131
|
icon: string;
|
132
132
|
};
|
133
133
|
};
|
@@ -11,25 +11,13 @@ export declare const ProtocolResourceDto: import("@sinclair/typebox").TObject<{
|
|
11
11
|
id: import("@sinclair/typebox").TString;
|
12
12
|
name: import("@sinclair/typebox").TString;
|
13
13
|
icon: import("@sinclair/typebox").TString;
|
14
|
-
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").
|
15
|
-
AMM: "AMM";
|
16
|
-
ALM: "ALM";
|
17
|
-
DEX: "DEX";
|
18
|
-
LENDING: "LENDING";
|
19
|
-
PERPETUAL: "PERPETUAL";
|
20
|
-
}>>;
|
14
|
+
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
21
15
|
description: import("@sinclair/typebox").TString;
|
22
16
|
url: import("@sinclair/typebox").TString;
|
23
17
|
}>;
|
24
18
|
export declare const GetProtocolsQueryDto: import("@sinclair/typebox").TObject<{
|
25
19
|
id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
26
|
-
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").
|
27
|
-
AMM: "AMM";
|
28
|
-
ALM: "ALM";
|
29
|
-
DEX: "DEX";
|
30
|
-
LENDING: "LENDING";
|
31
|
-
PERPETUAL: "PERPETUAL";
|
32
|
-
}>>>;
|
20
|
+
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
33
21
|
opportunityTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
34
22
|
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
35
23
|
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
@@ -48,7 +36,7 @@ export declare const CreateProtocolDto: import("@sinclair/typebox").TObject<{
|
|
48
36
|
description: import("@sinclair/typebox").TString;
|
49
37
|
id: import("@sinclair/typebox").TString;
|
50
38
|
name: import("@sinclair/typebox").TString;
|
51
|
-
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").
|
39
|
+
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
52
40
|
}>;
|
53
41
|
export declare const ProtocolIdDto: import("@sinclair/typebox").TObject<{
|
54
42
|
id: import("@sinclair/typebox").TString;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { ProtocolTag } from "../../../../database/api/.generated";
|
2
1
|
import { t } from "elysia";
|
3
2
|
const protocolTypes = [
|
4
3
|
// ─── AMM ─────────────────────────────────────────────────────────────
|
@@ -68,13 +67,13 @@ export const ProtocolResourceDto = t.Object({
|
|
68
67
|
id: t.String(),
|
69
68
|
name: t.String(),
|
70
69
|
icon: t.String(),
|
71
|
-
tags: t.Array(t.
|
70
|
+
tags: t.Array(t.String()),
|
72
71
|
description: t.String(),
|
73
72
|
url: t.String(),
|
74
73
|
});
|
75
74
|
export const GetProtocolsQueryDto = t.Object({
|
76
75
|
id: t.Optional(t.String({ description: "Filter results by name. Useful for searching a protocol to verify its integration" })),
|
77
|
-
tags: t.Optional(t.Array(t.
|
76
|
+
tags: t.Optional(t.Array(t.String())),
|
78
77
|
opportunityTag: t.Optional(t.String({ description: "Filter by underlying opportunities' tag" })),
|
79
78
|
page: t.Optional(t.Numeric({ description: "0-indexed page number", default: 0 })),
|
80
79
|
items: t.Optional(t.Numeric({ description: "Number of items returned by page", default: 20 })), // items per page
|
@@ -92,6 +91,6 @@ export const CreateProtocolDto = t.Object({
|
|
92
91
|
description: t.String(),
|
93
92
|
id: t.String(),
|
94
93
|
name: t.String(),
|
95
|
-
tags: t.Array(t.
|
94
|
+
tags: t.Array(t.String()),
|
96
95
|
});
|
97
96
|
export const ProtocolIdDto = t.Object({ id: t.String() });
|