@merkl/api 1.0.67 → 1.0.69
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.
- package/dist/src/eden/index.d.ts +430 -418
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/index.d.ts +215 -209
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +41 -41
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +180 -180
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +50 -50
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +44 -44
- package/dist/src/modules/v4/creator/creator.controller.d.ts +12 -12
- package/dist/src/modules/v4/creator/creator.repository.d.ts +6 -6
- package/dist/src/modules/v4/creator/creator.service.d.ts +12 -12
- package/dist/src/modules/v4/node/node.controller.d.ts +1 -1
- package/dist/src/modules/v4/node/node.repository.d.ts +2 -2
- package/dist/src/modules/v4/node/node.service.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +80 -80
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +13 -13
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +192 -192
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +54 -54
- package/dist/src/modules/v4/price/price.controller.d.ts +4 -4
- package/dist/src/modules/v4/price/price.repository.d.ts +5 -5
- package/dist/src/modules/v4/price/price.service.d.ts +4 -4
- package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +19 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +25 -2
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +9 -1
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +6 -6
- package/dist/src/modules/v4/reward/reward.repository.d.ts +11 -11
- package/dist/src/modules/v4/reward/reward.service.d.ts +67 -67
- package/dist/src/modules/v4/router.d.ts +212 -209
- package/dist/src/modules/v4/status/status.controller.d.ts +14 -14
- package/dist/src/modules/v4/status/status.repository.d.ts +20 -20
- package/dist/src/modules/v4/status/status.service.d.ts +16 -16
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +3 -0
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
- package/dist/src/modules/v4/user/user.controller.d.ts +11 -11
- package/dist/src/routes/v3/router.d.ts +3 -0
- package/dist/src/routes/v3/uniswapv4.d.ts +3 -0
- package/dist/src/utils/providers.d.ts +2 -0
- package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -18,11 +18,11 @@ export declare abstract class CampaignService {
|
|
18
18
|
action: import("@package/databases").OpportunityAction;
|
19
19
|
type: string;
|
20
20
|
depositUrl: string | null;
|
21
|
-
explorerAddress: string | null;
|
22
|
-
howToSteps: string[];
|
23
|
-
mainProtocolId: string | null;
|
24
21
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
25
22
|
identifier: string;
|
23
|
+
howToSteps: string[];
|
24
|
+
explorerAddress: string | null;
|
25
|
+
mainProtocolId: string | null;
|
26
26
|
dailyRewards: number;
|
27
27
|
tags: string[];
|
28
28
|
lastCampaignCreatedAt: Date;
|
@@ -31,18 +31,18 @@ export declare abstract class CampaignService {
|
|
31
31
|
campaignId: string;
|
32
32
|
description: string | null;
|
33
33
|
id: string;
|
34
|
-
params: import("@prisma/client/runtime/
|
34
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
35
35
|
amount: string;
|
36
36
|
startTimestamp: bigint;
|
37
37
|
type: string;
|
38
38
|
computeChainId: number;
|
39
39
|
distributionChainId: number;
|
40
40
|
endTimestamp: bigint;
|
41
|
-
opportunityId: string;
|
42
|
-
creatorAddress: string;
|
43
41
|
distributionType: import("@package/databases").DistributionType;
|
44
42
|
subType: number | null;
|
45
43
|
rewardTokenId: string;
|
44
|
+
opportunityId: string;
|
45
|
+
creatorAddress: string;
|
46
46
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
47
47
|
createdAt: Date;
|
48
48
|
rootCampaignId: string | null;
|
@@ -60,11 +60,11 @@ export declare abstract class CampaignService {
|
|
60
60
|
action: import("@package/databases").OpportunityAction;
|
61
61
|
type: string;
|
62
62
|
depositUrl: string | null;
|
63
|
-
explorerAddress: string | null;
|
64
|
-
howToSteps: string[];
|
65
|
-
mainProtocolId: string | null;
|
66
63
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
67
64
|
identifier: string;
|
65
|
+
howToSteps: string[];
|
66
|
+
explorerAddress: string | null;
|
67
|
+
mainProtocolId: string | null;
|
68
68
|
dailyRewards: number;
|
69
69
|
tags: string[];
|
70
70
|
lastCampaignCreatedAt: Date;
|
@@ -73,40 +73,24 @@ export declare abstract class CampaignService {
|
|
73
73
|
campaignId: string;
|
74
74
|
description: string | null;
|
75
75
|
id: string;
|
76
|
-
params: import("@prisma/client/runtime/
|
76
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
77
77
|
amount: string;
|
78
78
|
startTimestamp: bigint;
|
79
79
|
type: string;
|
80
80
|
computeChainId: number;
|
81
81
|
distributionChainId: number;
|
82
82
|
endTimestamp: bigint;
|
83
|
-
opportunityId: string;
|
84
|
-
creatorAddress: string;
|
85
83
|
distributionType: import("@package/databases").DistributionType;
|
86
84
|
subType: number | null;
|
87
85
|
rewardTokenId: string;
|
86
|
+
opportunityId: string;
|
87
|
+
creatorAddress: string;
|
88
88
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
89
89
|
createdAt: Date;
|
90
90
|
rootCampaignId: string | null;
|
91
91
|
parentCampaignId: string | null;
|
92
92
|
})[]>;
|
93
93
|
static getLiveCampaigns(query?: findCampaignWithStatusModel): Promise<({
|
94
|
-
RewardToken: {
|
95
|
-
symbol: string;
|
96
|
-
name: string | null;
|
97
|
-
decimals: number;
|
98
|
-
price: number | null;
|
99
|
-
address: string;
|
100
|
-
id: string;
|
101
|
-
chainId: number;
|
102
|
-
icon: string;
|
103
|
-
isNative: boolean;
|
104
|
-
isPoint: boolean;
|
105
|
-
isPreTGE: boolean;
|
106
|
-
isTest: boolean;
|
107
|
-
verified: boolean;
|
108
|
-
displaySymbol: string;
|
109
|
-
};
|
110
94
|
Opportunity: {
|
111
95
|
name: string;
|
112
96
|
apr: number;
|
@@ -118,11 +102,11 @@ export declare abstract class CampaignService {
|
|
118
102
|
action: import("@package/databases").OpportunityAction;
|
119
103
|
type: string;
|
120
104
|
depositUrl: string | null;
|
121
|
-
explorerAddress: string | null;
|
122
|
-
howToSteps: string[];
|
123
|
-
mainProtocolId: string | null;
|
124
105
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
125
106
|
identifier: string;
|
107
|
+
howToSteps: string[];
|
108
|
+
explorerAddress: string | null;
|
109
|
+
mainProtocolId: string | null;
|
126
110
|
dailyRewards: number;
|
127
111
|
tags: string[];
|
128
112
|
lastCampaignCreatedAt: Date;
|
@@ -149,22 +133,38 @@ export declare abstract class CampaignService {
|
|
149
133
|
pending: string;
|
150
134
|
subCampaignId: string | null;
|
151
135
|
})[];
|
136
|
+
RewardToken: {
|
137
|
+
symbol: string;
|
138
|
+
name: string | null;
|
139
|
+
decimals: number;
|
140
|
+
price: number | null;
|
141
|
+
address: string;
|
142
|
+
id: string;
|
143
|
+
chainId: number;
|
144
|
+
icon: string;
|
145
|
+
isNative: boolean;
|
146
|
+
isPoint: boolean;
|
147
|
+
isPreTGE: boolean;
|
148
|
+
isTest: boolean;
|
149
|
+
verified: boolean;
|
150
|
+
displaySymbol: string;
|
151
|
+
};
|
152
152
|
} & {
|
153
153
|
campaignId: string;
|
154
154
|
description: string | null;
|
155
155
|
id: string;
|
156
|
-
params: import("@prisma/client/runtime/
|
156
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
157
157
|
amount: string;
|
158
158
|
startTimestamp: bigint;
|
159
159
|
type: string;
|
160
160
|
computeChainId: number;
|
161
161
|
distributionChainId: number;
|
162
162
|
endTimestamp: bigint;
|
163
|
-
opportunityId: string;
|
164
|
-
creatorAddress: string;
|
165
163
|
distributionType: import("@package/databases").DistributionType;
|
166
164
|
subType: number | null;
|
167
165
|
rewardTokenId: string;
|
166
|
+
opportunityId: string;
|
167
|
+
creatorAddress: string;
|
168
168
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
169
169
|
createdAt: Date;
|
170
170
|
rootCampaignId: string | null;
|
@@ -175,18 +175,18 @@ export declare abstract class CampaignService {
|
|
175
175
|
campaignId: string;
|
176
176
|
description: string | null;
|
177
177
|
id: string;
|
178
|
-
params: import("@prisma/client/runtime/
|
178
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
179
179
|
amount: string;
|
180
180
|
startTimestamp: bigint;
|
181
181
|
type: string;
|
182
182
|
computeChainId: number;
|
183
183
|
distributionChainId: number;
|
184
184
|
endTimestamp: bigint;
|
185
|
-
opportunityId: string;
|
186
|
-
creatorAddress: string;
|
187
185
|
distributionType: import("@package/databases").DistributionType;
|
188
186
|
subType: number | null;
|
189
187
|
rewardTokenId: string;
|
188
|
+
opportunityId: string;
|
189
|
+
creatorAddress: string;
|
190
190
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
191
191
|
createdAt: Date;
|
192
192
|
rootCampaignId: string | null;
|
@@ -224,6 +224,14 @@ export declare abstract class CampaignService {
|
|
224
224
|
explorerAddress: string | undefined;
|
225
225
|
tags: string[];
|
226
226
|
} | ({
|
227
|
+
Protocols: {
|
228
|
+
name: string;
|
229
|
+
description: string;
|
230
|
+
id: string;
|
231
|
+
url: string;
|
232
|
+
icon: string;
|
233
|
+
tags: string[];
|
234
|
+
}[];
|
227
235
|
Tokens: {
|
228
236
|
symbol: string;
|
229
237
|
name: string | null;
|
@@ -240,14 +248,6 @@ export declare abstract class CampaignService {
|
|
240
248
|
verified: boolean;
|
241
249
|
displaySymbol: string;
|
242
250
|
}[];
|
243
|
-
Protocols: {
|
244
|
-
name: string;
|
245
|
-
description: string;
|
246
|
-
id: string;
|
247
|
-
url: string;
|
248
|
-
icon: string;
|
249
|
-
tags: string[];
|
250
|
-
}[];
|
251
251
|
} & {
|
252
252
|
name: string;
|
253
253
|
apr: number;
|
@@ -259,11 +259,11 @@ export declare abstract class CampaignService {
|
|
259
259
|
action: import("@package/databases").OpportunityAction;
|
260
260
|
type: string;
|
261
261
|
depositUrl: string | null;
|
262
|
-
explorerAddress: string | null;
|
263
|
-
howToSteps: string[];
|
264
|
-
mainProtocolId: string | null;
|
265
262
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
266
263
|
identifier: string;
|
264
|
+
howToSteps: string[];
|
265
|
+
explorerAddress: string | null;
|
266
|
+
mainProtocolId: string | null;
|
267
267
|
dailyRewards: number;
|
268
268
|
tags: string[];
|
269
269
|
lastCampaignCreatedAt: Date;
|
@@ -365,8 +365,8 @@ export declare abstract class CampaignService {
|
|
365
365
|
static getDailyAmount<T extends bigint | number>(start: T, end: T, amount: bigint): bigint;
|
366
366
|
static createFakeCampaign<C extends CampaignType>(body: CampaignConfigMinimalModel): CampaignParameters<C>;
|
367
367
|
static createFakeCampaignEngine(body: CampaignConfigMinimalModel): {
|
368
|
-
computeChainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA;
|
369
|
-
chainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA;
|
368
|
+
computeChainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY;
|
369
|
+
chainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY;
|
370
370
|
campaignId: string;
|
371
371
|
creator: string;
|
372
372
|
type: CampaignType;
|
@@ -141,8 +141,8 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
141
141
|
campaignId?: string | undefined;
|
142
142
|
id?: string | undefined;
|
143
143
|
amount?: string | undefined;
|
144
|
-
creatorAddress?: string | undefined;
|
145
144
|
subType?: number | undefined;
|
145
|
+
creatorAddress?: string | undefined;
|
146
146
|
rewardToken: string;
|
147
147
|
params: any;
|
148
148
|
startTimestamp: number;
|
@@ -179,8 +179,8 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
179
179
|
campaignId?: string | undefined;
|
180
180
|
id?: string | undefined;
|
181
181
|
amount?: string | undefined;
|
182
|
-
creatorAddress?: string | undefined;
|
183
182
|
subType?: number | undefined;
|
183
|
+
creatorAddress?: string | undefined;
|
184
184
|
rewardToken: string;
|
185
185
|
params: any;
|
186
186
|
startTimestamp: number;
|
@@ -199,18 +199,18 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
199
199
|
campaignId: string;
|
200
200
|
description: string | null;
|
201
201
|
id: string;
|
202
|
-
params: import("@prisma/client/runtime/
|
202
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
203
203
|
amount: string;
|
204
204
|
startTimestamp: bigint;
|
205
205
|
type: string;
|
206
206
|
computeChainId: number;
|
207
207
|
distributionChainId: number;
|
208
208
|
endTimestamp: bigint;
|
209
|
-
opportunityId: string;
|
210
|
-
creatorAddress: string;
|
211
209
|
distributionType: import("@package/databases").DistributionType;
|
212
210
|
subType: number | null;
|
213
211
|
rewardTokenId: string;
|
212
|
+
opportunityId: string;
|
213
|
+
creatorAddress: string;
|
214
214
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
215
215
|
createdAt: Date;
|
216
216
|
rootCampaignId: string | null;
|
@@ -248,6 +248,14 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
248
248
|
explorerAddress: string | undefined;
|
249
249
|
tags: string[];
|
250
250
|
} | {
|
251
|
+
Protocols: {
|
252
|
+
name: string;
|
253
|
+
description: string;
|
254
|
+
id: string;
|
255
|
+
url: string;
|
256
|
+
icon: string;
|
257
|
+
tags: string[];
|
258
|
+
}[];
|
251
259
|
Tokens: {
|
252
260
|
symbol: string;
|
253
261
|
name: string | null;
|
@@ -264,14 +272,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
264
272
|
verified: boolean;
|
265
273
|
displaySymbol: string;
|
266
274
|
}[];
|
267
|
-
Protocols: {
|
268
|
-
name: string;
|
269
|
-
description: string;
|
270
|
-
id: string;
|
271
|
-
url: string;
|
272
|
-
icon: string;
|
273
|
-
tags: string[];
|
274
|
-
}[];
|
275
275
|
name: string;
|
276
276
|
apr: number;
|
277
277
|
tvl: number;
|
@@ -282,11 +282,11 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
282
282
|
action: import("@package/databases").OpportunityAction;
|
283
283
|
type: string;
|
284
284
|
depositUrl: string | null;
|
285
|
-
explorerAddress: string | null;
|
286
|
-
howToSteps: string[];
|
287
|
-
mainProtocolId: string | null;
|
288
285
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
289
286
|
identifier: string;
|
287
|
+
howToSteps: string[];
|
288
|
+
explorerAddress: string | null;
|
289
|
+
mainProtocolId: string | null;
|
290
290
|
dailyRewards: number;
|
291
291
|
tags: string[];
|
292
292
|
lastCampaignCreatedAt: Date;
|
@@ -322,18 +322,18 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
322
322
|
campaignId: string;
|
323
323
|
description: string | null;
|
324
324
|
id: string;
|
325
|
-
params: import("@prisma/client/runtime/
|
325
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
326
326
|
amount: string;
|
327
327
|
startTimestamp: bigint;
|
328
328
|
type: string;
|
329
329
|
computeChainId: number;
|
330
330
|
distributionChainId: number;
|
331
331
|
endTimestamp: bigint;
|
332
|
-
opportunityId: string;
|
333
|
-
creatorAddress: string;
|
334
332
|
distributionType: import("@package/databases").DistributionType;
|
335
333
|
subType: number | null;
|
336
334
|
rewardTokenId: string;
|
335
|
+
opportunityId: string;
|
336
|
+
creatorAddress: string;
|
337
337
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
338
338
|
createdAt: Date;
|
339
339
|
rootCampaignId: string | null;
|
@@ -371,6 +371,14 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
371
371
|
explorerAddress: string | undefined;
|
372
372
|
tags: string[];
|
373
373
|
} | {
|
374
|
+
Protocols: {
|
375
|
+
name: string;
|
376
|
+
description: string;
|
377
|
+
id: string;
|
378
|
+
url: string;
|
379
|
+
icon: string;
|
380
|
+
tags: string[];
|
381
|
+
}[];
|
374
382
|
Tokens: {
|
375
383
|
symbol: string;
|
376
384
|
name: string | null;
|
@@ -387,14 +395,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
387
395
|
verified: boolean;
|
388
396
|
displaySymbol: string;
|
389
397
|
}[];
|
390
|
-
Protocols: {
|
391
|
-
name: string;
|
392
|
-
description: string;
|
393
|
-
id: string;
|
394
|
-
url: string;
|
395
|
-
icon: string;
|
396
|
-
tags: string[];
|
397
|
-
}[];
|
398
398
|
name: string;
|
399
399
|
apr: number;
|
400
400
|
tvl: number;
|
@@ -405,11 +405,11 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
405
405
|
action: import("@package/databases").OpportunityAction;
|
406
406
|
type: string;
|
407
407
|
depositUrl: string | null;
|
408
|
-
explorerAddress: string | null;
|
409
|
-
howToSteps: string[];
|
410
|
-
mainProtocolId: string | null;
|
411
408
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
412
409
|
identifier: string;
|
410
|
+
howToSteps: string[];
|
411
|
+
explorerAddress: string | null;
|
412
|
+
mainProtocolId: string | null;
|
413
413
|
dailyRewards: number;
|
414
414
|
tags: string[];
|
415
415
|
lastCampaignCreatedAt: Date;
|
@@ -446,18 +446,18 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
446
446
|
campaignId: string;
|
447
447
|
description: string | null;
|
448
448
|
id: string;
|
449
|
-
params: import("@prisma/client/runtime/
|
449
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
450
450
|
amount: string;
|
451
451
|
startTimestamp: bigint;
|
452
452
|
type: string;
|
453
453
|
computeChainId: number;
|
454
454
|
distributionChainId: number;
|
455
455
|
endTimestamp: bigint;
|
456
|
-
opportunityId: string;
|
457
|
-
creatorAddress: string;
|
458
456
|
distributionType: import("@package/databases").DistributionType;
|
459
457
|
subType: number | null;
|
460
458
|
rewardTokenId: string;
|
459
|
+
opportunityId: string;
|
460
|
+
creatorAddress: string;
|
461
461
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
462
462
|
createdAt: Date;
|
463
463
|
rootCampaignId: string | null;
|
@@ -495,6 +495,14 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
495
495
|
explorerAddress: string | undefined;
|
496
496
|
tags: string[];
|
497
497
|
} | {
|
498
|
+
Protocols: {
|
499
|
+
name: string;
|
500
|
+
description: string;
|
501
|
+
id: string;
|
502
|
+
url: string;
|
503
|
+
icon: string;
|
504
|
+
tags: string[];
|
505
|
+
}[];
|
498
506
|
Tokens: {
|
499
507
|
symbol: string;
|
500
508
|
name: string | null;
|
@@ -511,14 +519,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
511
519
|
verified: boolean;
|
512
520
|
displaySymbol: string;
|
513
521
|
}[];
|
514
|
-
Protocols: {
|
515
|
-
name: string;
|
516
|
-
description: string;
|
517
|
-
id: string;
|
518
|
-
url: string;
|
519
|
-
icon: string;
|
520
|
-
tags: string[];
|
521
|
-
}[];
|
522
522
|
name: string;
|
523
523
|
apr: number;
|
524
524
|
tvl: number;
|
@@ -529,11 +529,11 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
529
529
|
action: import("@package/databases").OpportunityAction;
|
530
530
|
type: string;
|
531
531
|
depositUrl: string | null;
|
532
|
-
explorerAddress: string | null;
|
533
|
-
howToSteps: string[];
|
534
|
-
mainProtocolId: string | null;
|
535
532
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
536
533
|
identifier: string;
|
534
|
+
howToSteps: string[];
|
535
|
+
explorerAddress: string | null;
|
536
|
+
mainProtocolId: string | null;
|
537
537
|
dailyRewards: number;
|
538
538
|
tags: string[];
|
539
539
|
lastCampaignCreatedAt: Date;
|
@@ -282,11 +282,11 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
282
282
|
action: import("@package/databases").OpportunityAction;
|
283
283
|
type: string;
|
284
284
|
depositUrl: string | null;
|
285
|
-
explorerAddress: string | null;
|
286
|
-
howToSteps: string[];
|
287
|
-
mainProtocolId: string | null;
|
288
285
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
289
286
|
identifier: string;
|
287
|
+
howToSteps: string[];
|
288
|
+
explorerAddress: string | null;
|
289
|
+
mainProtocolId: string | null;
|
290
290
|
dailyRewards: number;
|
291
291
|
tags: string[];
|
292
292
|
lastCampaignCreatedAt: Date;
|
@@ -295,18 +295,18 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
295
295
|
campaignId: string;
|
296
296
|
description: string | null;
|
297
297
|
id: string;
|
298
|
-
params: import("@prisma/client/runtime/
|
298
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
299
299
|
amount: string;
|
300
300
|
startTimestamp: bigint;
|
301
301
|
type: string;
|
302
302
|
computeChainId: number;
|
303
303
|
distributionChainId: number;
|
304
304
|
endTimestamp: bigint;
|
305
|
-
opportunityId: string;
|
306
|
-
creatorAddress: string;
|
307
305
|
distributionType: import("@package/databases").DistributionType;
|
308
306
|
subType: number | null;
|
309
307
|
rewardTokenId: string;
|
308
|
+
opportunityId: string;
|
309
|
+
creatorAddress: string;
|
310
310
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
311
311
|
createdAt: Date;
|
312
312
|
rootCampaignId: string | null;
|
@@ -353,11 +353,11 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
353
353
|
action: import("@package/databases").OpportunityAction;
|
354
354
|
type: string;
|
355
355
|
depositUrl: string | null;
|
356
|
-
explorerAddress: string | null;
|
357
|
-
howToSteps: string[];
|
358
|
-
mainProtocolId: string | null;
|
359
356
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
360
357
|
identifier: string;
|
358
|
+
howToSteps: string[];
|
359
|
+
explorerAddress: string | null;
|
360
|
+
mainProtocolId: string | null;
|
361
361
|
dailyRewards: number;
|
362
362
|
tags: string[];
|
363
363
|
lastCampaignCreatedAt: Date;
|
@@ -366,18 +366,18 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
366
366
|
campaignId: string;
|
367
367
|
description: string | null;
|
368
368
|
id: string;
|
369
|
-
params: import("@prisma/client/runtime/
|
369
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
370
370
|
amount: string;
|
371
371
|
startTimestamp: bigint;
|
372
372
|
type: string;
|
373
373
|
computeChainId: number;
|
374
374
|
distributionChainId: number;
|
375
375
|
endTimestamp: bigint;
|
376
|
-
opportunityId: string;
|
377
|
-
creatorAddress: string;
|
378
376
|
distributionType: import("@package/databases").DistributionType;
|
379
377
|
subType: number | null;
|
380
378
|
rewardTokenId: string;
|
379
|
+
opportunityId: string;
|
380
|
+
creatorAddress: string;
|
381
381
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
382
382
|
createdAt: Date;
|
383
383
|
rootCampaignId: string | null;
|
@@ -58,11 +58,11 @@ export declare abstract class CreatorRepository {
|
|
58
58
|
action: import("@package/databases").OpportunityAction;
|
59
59
|
type: string;
|
60
60
|
depositUrl: string | null;
|
61
|
-
explorerAddress: string | null;
|
62
|
-
howToSteps: string[];
|
63
|
-
mainProtocolId: string | null;
|
64
61
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
65
62
|
identifier: string;
|
63
|
+
howToSteps: string[];
|
64
|
+
explorerAddress: string | null;
|
65
|
+
mainProtocolId: string | null;
|
66
66
|
dailyRewards: number;
|
67
67
|
tags: string[];
|
68
68
|
lastCampaignCreatedAt: Date;
|
@@ -71,18 +71,18 @@ export declare abstract class CreatorRepository {
|
|
71
71
|
campaignId: string;
|
72
72
|
description: string | null;
|
73
73
|
id: string;
|
74
|
-
params: import("@prisma/client/runtime/
|
74
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
75
75
|
amount: string;
|
76
76
|
startTimestamp: bigint;
|
77
77
|
type: string;
|
78
78
|
computeChainId: number;
|
79
79
|
distributionChainId: number;
|
80
80
|
endTimestamp: bigint;
|
81
|
-
opportunityId: string;
|
82
|
-
creatorAddress: string;
|
83
81
|
distributionType: import("@package/databases").DistributionType;
|
84
82
|
subType: number | null;
|
85
83
|
rewardTokenId: string;
|
84
|
+
opportunityId: string;
|
85
|
+
creatorAddress: string;
|
86
86
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
87
87
|
createdAt: Date;
|
88
88
|
rootCampaignId: string | null;
|
@@ -92,11 +92,11 @@ export declare abstract class CreatorService {
|
|
92
92
|
action: import("@package/databases").OpportunityAction;
|
93
93
|
type: string;
|
94
94
|
depositUrl: string | null;
|
95
|
-
explorerAddress: string | null;
|
96
|
-
howToSteps: string[];
|
97
|
-
mainProtocolId: string | null;
|
98
95
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
99
96
|
identifier: string;
|
97
|
+
howToSteps: string[];
|
98
|
+
explorerAddress: string | null;
|
99
|
+
mainProtocolId: string | null;
|
100
100
|
dailyRewards: number;
|
101
101
|
tags: string[];
|
102
102
|
lastCampaignCreatedAt: Date;
|
@@ -105,18 +105,18 @@ export declare abstract class CreatorService {
|
|
105
105
|
campaignId: string;
|
106
106
|
description: string | null;
|
107
107
|
id: string;
|
108
|
-
params: import("@prisma/client/runtime/
|
108
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
109
109
|
amount: string;
|
110
110
|
startTimestamp: bigint;
|
111
111
|
type: string;
|
112
112
|
computeChainId: number;
|
113
113
|
distributionChainId: number;
|
114
114
|
endTimestamp: bigint;
|
115
|
-
opportunityId: string;
|
116
|
-
creatorAddress: string;
|
117
115
|
distributionType: import("@package/databases").DistributionType;
|
118
116
|
subType: number | null;
|
119
117
|
rewardTokenId: string;
|
118
|
+
opportunityId: string;
|
119
|
+
creatorAddress: string;
|
120
120
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
121
121
|
createdAt: Date;
|
122
122
|
rootCampaignId: string | null;
|
@@ -134,11 +134,11 @@ export declare abstract class CreatorService {
|
|
134
134
|
action: import("@package/databases").OpportunityAction;
|
135
135
|
type: string;
|
136
136
|
depositUrl: string | null;
|
137
|
-
explorerAddress: string | null;
|
138
|
-
howToSteps: string[];
|
139
|
-
mainProtocolId: string | null;
|
140
137
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
141
138
|
identifier: string;
|
139
|
+
howToSteps: string[];
|
140
|
+
explorerAddress: string | null;
|
141
|
+
mainProtocolId: string | null;
|
142
142
|
dailyRewards: number;
|
143
143
|
tags: string[];
|
144
144
|
lastCampaignCreatedAt: Date;
|
@@ -147,18 +147,18 @@ export declare abstract class CreatorService {
|
|
147
147
|
campaignId: string;
|
148
148
|
description: string | null;
|
149
149
|
id: string;
|
150
|
-
params: import("@prisma/client/runtime/
|
150
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
151
151
|
amount: string;
|
152
152
|
startTimestamp: bigint;
|
153
153
|
type: string;
|
154
154
|
computeChainId: number;
|
155
155
|
distributionChainId: number;
|
156
156
|
endTimestamp: bigint;
|
157
|
-
opportunityId: string;
|
158
|
-
creatorAddress: string;
|
159
157
|
distributionType: import("@package/databases").DistributionType;
|
160
158
|
subType: number | null;
|
161
159
|
rewardTokenId: string;
|
160
|
+
opportunityId: string;
|
161
|
+
creatorAddress: string;
|
162
162
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
163
163
|
createdAt: Date;
|
164
164
|
rootCampaignId: string | null;
|
@@ -4,16 +4,16 @@ export declare class NodeRepository {
|
|
4
4
|
NodesSources: {
|
5
5
|
id: string;
|
6
6
|
chainId: number;
|
7
|
+
source: string;
|
7
8
|
nodeType: string;
|
8
9
|
lastFetchedBlockNumber: number;
|
9
|
-
source: string;
|
10
10
|
topics: string[];
|
11
11
|
};
|
12
12
|
} & {
|
13
13
|
id: string;
|
14
14
|
recipient: string;
|
15
15
|
chainId: number;
|
16
|
-
metadata: import("@prisma/client/runtime/
|
16
|
+
metadata: import("@prisma/client/runtime/client").JsonValue | null;
|
17
17
|
nodeType: string;
|
18
18
|
nodesSourceId: string;
|
19
19
|
creationBlockNumber: number;
|