@merkl/api 0.16.7 → 0.16.9
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 +167 -167
- package/dist/src/index.d.ts +35 -35
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerV3PoolProcessor.js +8 -1
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -2
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +16 -16
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +2 -2
- package/dist/src/modules/v4/boost/boost.service.js +6 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +3 -3
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +15 -15
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -1
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +1 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +2 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +8 -11
- package/dist/src/modules/v4/dynamicData/dynamicData.service.js +0 -8
- package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +5 -5
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +5 -5
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +87 -87
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +5 -5
- package/dist/src/modules/v4/reward/reward.controller.d.ts +3 -3
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -3
- package/dist/src/modules/v4/reward/reward.service.d.ts +7 -7
- package/dist/src/modules/v4/router.d.ts +31 -31
- package/dist/src/modules/v4/router.js +20 -20
- package/dist/src/modules/v4/status/status.controller.d.ts +12 -12
- package/dist/src/modules/v4/status/status.repository.d.ts +12 -12
- package/dist/src/modules/v4/status/status.service.d.ts +12 -12
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
- package/dist/src/routes/v3/opportunity.d.ts +1 -1
- package/dist/src/routes/v3/rewards.d.ts +1 -1
- package/dist/src/routes/v3/rewardsReport.d.ts +1 -1
- package/dist/src/routes/v3/router.d.ts +4 -4
- package/dist/src/routes/v3/userRewards.d.ts +1 -1
- package/dist/src/utils/generateCardName.js +1 -5
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/modules/v4/dynamicData/index.d.ts +0 -3
- package/dist/src/modules/v4/dynamicData/index.js +0 -3
- package/dist/src/modules/v4/liquidity/index.d.ts +0 -2
- package/dist/src/modules/v4/liquidity/index.js +0 -2
@@ -106,7 +106,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
106
106
|
} & {
|
107
107
|
price?: number | null | undefined;
|
108
108
|
})[];
|
109
|
-
mainProtocol: "morpho" | "ambient" | "arthswap" | "baseswap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancakeswap-v3" | "quickswap-algebra" | "quickswap-uni" | "ramses" | "retro" | "stryke" | "stryke-pcs" | "stryke-sushi" | "sushiswap-v3" | "swapr" | "thruster" | "uniswap-v3" | "voltage" | "zero" | "koi" | "supswap-v3" | "zkswap" | "thirdtrade" | "uniswapv4" | "uniswap-v2" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap-v3" | "neptune" | "zkSwapThreePool" | "syncswap" | "rfx" | "radiant" | "aave" | "
|
109
|
+
mainProtocol: "morpho" | "euler" | "ambient" | "arthswap" | "baseswap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancakeswap-v3" | "quickswap-algebra" | "quickswap-uni" | "ramses" | "retro" | "stryke" | "stryke-pcs" | "stryke-sushi" | "sushiswap-v3" | "swapr" | "thruster" | "uniswap-v3" | "voltage" | "zero" | "koi" | "supswap-v3" | "zkswap" | "thirdtrade" | "uniswapv4" | "uniswap-v2" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap-v3" | "neptune" | "zkSwapThreePool" | "syncswap" | "rfx" | "radiant" | "aave" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | undefined;
|
110
110
|
depositUrl: any;
|
111
111
|
tags: string[];
|
112
112
|
};
|
@@ -283,6 +283,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
283
283
|
tags: string[];
|
284
284
|
icon: string;
|
285
285
|
} | null | undefined;
|
286
|
+
depositUrl?: string | undefined;
|
286
287
|
aprRecord?: {
|
287
288
|
timestamp: string | bigint;
|
288
289
|
cumulated: number;
|
@@ -294,7 +295,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
294
295
|
aprRecordId: string;
|
295
296
|
}[];
|
296
297
|
} | undefined;
|
297
|
-
depositUrl?: string | undefined;
|
298
298
|
tvlRecord?: {
|
299
299
|
total: number;
|
300
300
|
timestamp: string | bigint;
|
@@ -387,11 +387,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
387
387
|
startTimestamp?: string | undefined;
|
388
388
|
endTimestamp?: string | undefined;
|
389
389
|
tokenAddress?: string | undefined;
|
390
|
-
mainParameter?: string | undefined;
|
391
390
|
campaignId?: string | undefined;
|
392
391
|
opportunityId?: string | undefined;
|
393
392
|
creatorAddress?: string | undefined;
|
394
393
|
creatorId?: string | undefined;
|
394
|
+
mainParameter?: string | undefined;
|
395
395
|
test?: boolean | undefined;
|
396
396
|
creatorTag?: string | undefined;
|
397
397
|
tokenSymbol?: string | undefined;
|
@@ -407,6 +407,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
407
407
|
tags: string[];
|
408
408
|
icon: string;
|
409
409
|
} | null | undefined;
|
410
|
+
depositUrl?: string | undefined;
|
410
411
|
aprRecord?: {
|
411
412
|
timestamp: string | bigint;
|
412
413
|
cumulated: number;
|
@@ -418,7 +419,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
418
419
|
aprRecordId: string;
|
419
420
|
}[];
|
420
421
|
} | undefined;
|
421
|
-
depositUrl?: string | undefined;
|
422
422
|
tvlRecord?: {
|
423
423
|
total: number;
|
424
424
|
timestamp: string | bigint;
|
@@ -571,6 +571,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
571
571
|
tags: string[];
|
572
572
|
icon: string;
|
573
573
|
} | null | undefined;
|
574
|
+
depositUrl?: string | undefined;
|
574
575
|
aprRecord?: {
|
575
576
|
timestamp: string | bigint;
|
576
577
|
cumulated: number;
|
@@ -582,7 +583,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
582
583
|
aprRecordId: string;
|
583
584
|
}[];
|
584
585
|
} | undefined;
|
585
|
-
depositUrl?: string | undefined;
|
586
586
|
tvlRecord?: {
|
587
587
|
total: number;
|
588
588
|
timestamp: string | bigint;
|
@@ -964,11 +964,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
964
964
|
startTimestamp?: string | undefined;
|
965
965
|
endTimestamp?: string | undefined;
|
966
966
|
tokenAddress?: string | undefined;
|
967
|
-
mainParameter?: string | undefined;
|
968
967
|
campaignId?: string | undefined;
|
969
968
|
opportunityId?: string | undefined;
|
970
969
|
creatorAddress?: string | undefined;
|
971
970
|
creatorId?: string | undefined;
|
971
|
+
mainParameter?: string | undefined;
|
972
972
|
test?: boolean | undefined;
|
973
973
|
creatorTag?: string | undefined;
|
974
974
|
tokenSymbol?: string | undefined;
|
@@ -1043,11 +1043,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1043
1043
|
startTimestamp?: string | undefined;
|
1044
1044
|
endTimestamp?: string | undefined;
|
1045
1045
|
tokenAddress?: string | undefined;
|
1046
|
-
mainParameter?: string | undefined;
|
1047
1046
|
campaignId?: string | undefined;
|
1048
1047
|
opportunityId?: string | undefined;
|
1049
1048
|
creatorAddress?: string | undefined;
|
1050
1049
|
creatorId?: string | undefined;
|
1050
|
+
mainParameter?: string | undefined;
|
1051
1051
|
test?: boolean | undefined;
|
1052
1052
|
creatorTag?: string | undefined;
|
1053
1053
|
tokenSymbol?: string | undefined;
|
@@ -1071,10 +1071,10 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1071
1071
|
response: {
|
1072
1072
|
200: {
|
1073
1073
|
endTimestamp: bigint;
|
1074
|
+
campaignId: string;
|
1074
1075
|
CampaignStatus: {
|
1075
1076
|
computedUntil: bigint;
|
1076
1077
|
}[];
|
1077
|
-
campaignId: string;
|
1078
1078
|
}[];
|
1079
1079
|
};
|
1080
1080
|
};
|
@@ -1749,10 +1749,10 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1749
1749
|
post: {
|
1750
1750
|
body: {
|
1751
1751
|
pending: string;
|
1752
|
-
recipient: string;
|
1753
1752
|
distributionChainId: number;
|
1754
1753
|
amount: string;
|
1755
1754
|
root: string;
|
1755
|
+
recipient: string;
|
1756
1756
|
claimed: string;
|
1757
1757
|
proofs: string[];
|
1758
1758
|
rewardToken: string;
|
@@ -1783,8 +1783,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1783
1783
|
protocolId?: string | undefined;
|
1784
1784
|
reason: string;
|
1785
1785
|
pending: string;
|
1786
|
-
recipient: string;
|
1787
1786
|
amount: string;
|
1787
|
+
recipient: string;
|
1788
1788
|
claimed: string;
|
1789
1789
|
}[];
|
1790
1790
|
}[];
|
@@ -1808,8 +1808,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1808
1808
|
body: {
|
1809
1809
|
token: string;
|
1810
1810
|
chainId: number;
|
1811
|
-
recipient: string;
|
1812
1811
|
root: string;
|
1812
|
+
recipient: string;
|
1813
1813
|
}[];
|
1814
1814
|
params: {};
|
1815
1815
|
query: unknown;
|
@@ -2439,8 +2439,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2439
2439
|
claimed: bigint;
|
2440
2440
|
amount: bigint;
|
2441
2441
|
pending: bigint;
|
2442
|
-
recipient: string;
|
2443
2442
|
root: string;
|
2443
|
+
recipient: string;
|
2444
2444
|
proofs: string[];
|
2445
2445
|
}, "breakdowns"> & {
|
2446
2446
|
breakdowns: {
|
@@ -2552,8 +2552,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2552
2552
|
claimed: bigint;
|
2553
2553
|
amount: bigint;
|
2554
2554
|
pending: bigint;
|
2555
|
-
recipient: string;
|
2556
2555
|
root: string;
|
2556
|
+
recipient: string;
|
2557
2557
|
proofs: string[];
|
2558
2558
|
}, "breakdowns"> & {
|
2559
2559
|
breakdowns: {
|
@@ -2805,13 +2805,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2805
2805
|
id: string;
|
2806
2806
|
timestamp: number;
|
2807
2807
|
chainId: number;
|
2808
|
+
datetime: Date;
|
2809
|
+
recipient: string;
|
2808
2810
|
fromTokenId: string;
|
2809
2811
|
toTokenId: string;
|
2810
2812
|
multisig: string;
|
2811
|
-
recipient: string;
|
2812
2813
|
amountIn: string;
|
2813
2814
|
amountOut: string;
|
2814
|
-
datetime: Date;
|
2815
2815
|
}[];
|
2816
2816
|
};
|
2817
2817
|
};
|
@@ -3026,13 +3026,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3026
3026
|
chainId?: number | undefined;
|
3027
3027
|
startTimestamp?: string | undefined;
|
3028
3028
|
endTimestamp?: string | undefined;
|
3029
|
-
campaignStatus?: {} | undefined;
|
3030
3029
|
distributionChainId?: number | undefined;
|
3031
3030
|
campaignId?: string | undefined;
|
3032
3031
|
rewardTokenId?: string | undefined;
|
3033
3032
|
amount?: string | undefined;
|
3034
3033
|
opportunityId?: string | undefined;
|
3035
3034
|
creatorAddress?: string | undefined;
|
3035
|
+
campaignStatus?: {} | undefined;
|
3036
3036
|
rewardToken?: {} | undefined;
|
3037
3037
|
rewardTokenAddress?: string | undefined;
|
3038
3038
|
distributionChain?: {} | undefined;
|
@@ -3067,11 +3067,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3067
3067
|
startTimestamp?: string | undefined;
|
3068
3068
|
endTimestamp?: string | undefined;
|
3069
3069
|
tokenAddress?: string | undefined;
|
3070
|
-
mainParameter?: string | undefined;
|
3071
3070
|
campaignId?: string | undefined;
|
3072
3071
|
opportunityId?: string | undefined;
|
3073
3072
|
creatorAddress?: string | undefined;
|
3074
3073
|
creatorId?: string | undefined;
|
3074
|
+
mainParameter?: string | undefined;
|
3075
3075
|
test?: boolean | undefined;
|
3076
3076
|
creatorTag?: string | undefined;
|
3077
3077
|
tokenSymbol?: string | undefined;
|
@@ -3206,18 +3206,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3206
3206
|
computedUntil: bigint;
|
3207
3207
|
startTimestamp: bigint;
|
3208
3208
|
endTimestamp: bigint;
|
3209
|
-
CampaignStatus: {
|
3210
|
-
error: string;
|
3211
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
3212
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
3213
|
-
campaignId: string;
|
3214
|
-
computedUntil: bigint;
|
3215
|
-
processingStarted: bigint;
|
3216
|
-
}[];
|
3217
|
-
Opportunity: {
|
3218
|
-
name: string;
|
3219
|
-
id: string;
|
3220
|
-
};
|
3221
3209
|
computeChainId: number;
|
3222
3210
|
distributionChainId: number;
|
3223
3211
|
campaignId: string;
|
@@ -3226,6 +3214,18 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3226
3214
|
address: string;
|
3227
3215
|
isTest: boolean;
|
3228
3216
|
};
|
3217
|
+
Opportunity: {
|
3218
|
+
name: string;
|
3219
|
+
id: string;
|
3220
|
+
};
|
3221
|
+
CampaignStatus: {
|
3222
|
+
error: string;
|
3223
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
3224
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
3225
|
+
campaignId: string;
|
3226
|
+
computedUntil: bigint;
|
3227
|
+
processingStarted: bigint;
|
3228
|
+
}[];
|
3229
3229
|
}[];
|
3230
3230
|
};
|
3231
3231
|
};
|
@@ -3274,7 +3274,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3274
3274
|
};
|
3275
3275
|
headers: unknown;
|
3276
3276
|
response: {
|
3277
|
-
200: import("./liquidity").PositionT[];
|
3277
|
+
200: import("./liquidity/liquidity.model").PositionT[];
|
3278
3278
|
};
|
3279
3279
|
};
|
3280
3280
|
};
|
@@ -3732,8 +3732,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3732
3732
|
body: {
|
3733
3733
|
reason: string;
|
3734
3734
|
value: number;
|
3735
|
-
address: string;
|
3736
3735
|
campaignId: string;
|
3736
|
+
address: string;
|
3737
3737
|
field: string;
|
3738
3738
|
}[];
|
3739
3739
|
params: {};
|
@@ -1,12 +1,24 @@
|
|
1
|
-
import { AccountingController } from "./accounting";
|
2
|
-
import { BlacklistController } from "./blacklist";
|
3
|
-
import {
|
4
|
-
import {
|
1
|
+
import { AccountingController } from "./accounting/accounting.controller";
|
2
|
+
import { BlacklistController } from "./blacklist/blacklist.controller";
|
3
|
+
import { BoostController } from "./boost/boost.controller";
|
4
|
+
import { CampaignController } from "./campaign/campaign.controller";
|
5
|
+
import { ChainController } from "./chain/chain.controller";
|
6
|
+
import { ClaimController } from "./claims/claims.controller";
|
7
|
+
import { ComputedValueController } from "./computedValue/computedValue.controller";
|
8
|
+
import { CreatorController } from "./creator/creator.controller";
|
9
|
+
import { DynamicDataController } from "./dynamicData/dynamicData.controller";
|
10
|
+
import { ExplorerController } from "./explorer/explorer.controller";
|
11
|
+
import { InteractionController } from "./interaction/interaction.controller";
|
12
|
+
import { LiquidityController } from "./liquidity/liquidity.controller";
|
13
|
+
import { MerklRootController } from "./merklRoot/merklRoot.controller";
|
5
14
|
import { OpportunityController } from "./opportunity";
|
6
|
-
import { PriceController } from "./price";
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
15
|
+
import { PriceController } from "./price/price.controller";
|
16
|
+
import { ProgramPayloadController } from "./programPayload/programPayload.controller";
|
17
|
+
import { ProtocolController } from "./protocol/protocol.controller";
|
18
|
+
import { RewardController } from "./reward/reward.controller";
|
19
|
+
import { StatusController } from "./status/status.controller";
|
20
|
+
import { TokenController } from "./token/token.controller";
|
21
|
+
import { UserController } from "./user/user.controller";
|
10
22
|
import { ErrorHandler } from "../../plugins/error-handling.plugin";
|
11
23
|
import bigintToString from "../../utils/bigintToString";
|
12
24
|
import { opentelemetry } from "@elysiajs/opentelemetry";
|
@@ -15,18 +27,6 @@ import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
|
|
15
27
|
import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-node";
|
16
28
|
import { PrismaInstrumentation } from "@prisma/instrumentation";
|
17
29
|
import Elysia from "elysia";
|
18
|
-
import { BoostController } from "./boost";
|
19
|
-
import { ClaimController } from "./claims";
|
20
|
-
import { ComputedValueController } from "./computedValue";
|
21
|
-
import { CreatorController } from "./creator";
|
22
|
-
import { DynamicDataController } from "./dynamicData";
|
23
|
-
import { ExplorerController } from "./explorer/explorer.controller";
|
24
|
-
import { InteractionController } from "./interaction/interaction.controller";
|
25
|
-
import { LiquidityController } from "./liquidity/liquidity.controller";
|
26
|
-
import { MerklRootController } from "./merklRoot";
|
27
|
-
import { ProgramPayloadController } from "./programPayload";
|
28
|
-
import { StatusController } from "./status";
|
29
|
-
import { UserController } from "./user";
|
30
30
|
// ─── V4 Router ───────────────────────────────────────────────────────────────
|
31
31
|
export const v4 = new Elysia({ tags: ["v4"], prefix: "/v4" })
|
32
32
|
// ─── OpenTelemetry ───────────────────────────────────────────────────
|
@@ -131,18 +131,6 @@ export declare const StatusController: Elysia<"/campaign-status", false, {
|
|
131
131
|
computedUntil: bigint;
|
132
132
|
startTimestamp: bigint;
|
133
133
|
endTimestamp: bigint;
|
134
|
-
CampaignStatus: {
|
135
|
-
error: string;
|
136
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
137
|
-
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
138
|
-
campaignId: string;
|
139
|
-
computedUntil: bigint;
|
140
|
-
processingStarted: bigint;
|
141
|
-
}[];
|
142
|
-
Opportunity: {
|
143
|
-
name: string;
|
144
|
-
id: string;
|
145
|
-
};
|
146
134
|
computeChainId: number;
|
147
135
|
distributionChainId: number;
|
148
136
|
campaignId: string;
|
@@ -151,6 +139,18 @@ export declare const StatusController: Elysia<"/campaign-status", false, {
|
|
151
139
|
address: string;
|
152
140
|
isTest: boolean;
|
153
141
|
};
|
142
|
+
Opportunity: {
|
143
|
+
name: string;
|
144
|
+
id: string;
|
145
|
+
};
|
146
|
+
CampaignStatus: {
|
147
|
+
error: string;
|
148
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
149
|
+
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
150
|
+
campaignId: string;
|
151
|
+
computedUntil: bigint;
|
152
|
+
processingStarted: bigint;
|
153
|
+
}[];
|
154
154
|
}[];
|
155
155
|
};
|
156
156
|
};
|
@@ -70,18 +70,6 @@ export declare class StatusRepository {
|
|
70
70
|
static findManyDelay(query: DelayModel): Promise<{
|
71
71
|
startTimestamp: bigint;
|
72
72
|
endTimestamp: bigint;
|
73
|
-
CampaignStatus: {
|
74
|
-
error: string;
|
75
|
-
details: Prisma.JsonValue;
|
76
|
-
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
77
|
-
campaignId: string;
|
78
|
-
computedUntil: bigint;
|
79
|
-
processingStarted: bigint;
|
80
|
-
}[];
|
81
|
-
Opportunity: {
|
82
|
-
name: string;
|
83
|
-
id: string;
|
84
|
-
};
|
85
73
|
computeChainId: number;
|
86
74
|
distributionChainId: number;
|
87
75
|
campaignId: string;
|
@@ -90,5 +78,17 @@ export declare class StatusRepository {
|
|
90
78
|
address: string;
|
91
79
|
isTest: boolean;
|
92
80
|
};
|
81
|
+
Opportunity: {
|
82
|
+
name: string;
|
83
|
+
id: string;
|
84
|
+
};
|
85
|
+
CampaignStatus: {
|
86
|
+
error: string;
|
87
|
+
details: Prisma.JsonValue;
|
88
|
+
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
89
|
+
campaignId: string;
|
90
|
+
computedUntil: bigint;
|
91
|
+
processingStarted: bigint;
|
92
|
+
}[];
|
93
93
|
}[]>;
|
94
94
|
}
|
@@ -53,18 +53,6 @@ export declare class StatusService {
|
|
53
53
|
computedUntil: bigint;
|
54
54
|
startTimestamp: bigint;
|
55
55
|
endTimestamp: bigint;
|
56
|
-
CampaignStatus: {
|
57
|
-
error: string;
|
58
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
59
|
-
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
60
|
-
campaignId: string;
|
61
|
-
computedUntil: bigint;
|
62
|
-
processingStarted: bigint;
|
63
|
-
}[];
|
64
|
-
Opportunity: {
|
65
|
-
name: string;
|
66
|
-
id: string;
|
67
|
-
};
|
68
56
|
computeChainId: number;
|
69
57
|
distributionChainId: number;
|
70
58
|
campaignId: string;
|
@@ -73,5 +61,17 @@ export declare class StatusService {
|
|
73
61
|
address: string;
|
74
62
|
isTest: boolean;
|
75
63
|
};
|
64
|
+
Opportunity: {
|
65
|
+
name: string;
|
66
|
+
id: string;
|
67
|
+
};
|
68
|
+
CampaignStatus: {
|
69
|
+
error: string;
|
70
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
71
|
+
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
72
|
+
campaignId: string;
|
73
|
+
computedUntil: bigint;
|
74
|
+
processingStarted: bigint;
|
75
|
+
}[];
|
76
76
|
}[]>;
|
77
77
|
}
|
@@ -193,8 +193,8 @@ export declare const UserController: Elysia<"/users", false, {
|
|
193
193
|
claimed: bigint;
|
194
194
|
amount: bigint;
|
195
195
|
pending: bigint;
|
196
|
-
recipient: string;
|
197
196
|
root: string;
|
197
|
+
recipient: string;
|
198
198
|
proofs: string[];
|
199
199
|
}, "breakdowns"> & {
|
200
200
|
breakdowns: {
|
@@ -306,8 +306,8 @@ export declare const UserController: Elysia<"/users", false, {
|
|
306
306
|
claimed: bigint;
|
307
307
|
amount: bigint;
|
308
308
|
pending: bigint;
|
309
|
-
recipient: string;
|
310
309
|
root: string;
|
310
|
+
recipient: string;
|
311
311
|
proofs: string[];
|
312
312
|
}, "breakdowns"> & {
|
313
313
|
breakdowns: {
|
@@ -43,9 +43,9 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
43
43
|
type?: undefined;
|
44
44
|
tag?: string | undefined;
|
45
45
|
chainId?: undefined;
|
46
|
-
mainParameter?: string | undefined;
|
47
46
|
action?: undefined;
|
48
47
|
campaigns?: boolean | undefined;
|
48
|
+
mainParameter?: string | undefined;
|
49
49
|
testTokens?: boolean | undefined;
|
50
50
|
};
|
51
51
|
headers: unknown;
|
@@ -25,8 +25,8 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
25
25
|
params: {};
|
26
26
|
query: {
|
27
27
|
from?: number | undefined;
|
28
|
-
to?: number | undefined;
|
29
28
|
mainParameter?: string | undefined;
|
29
|
+
to?: number | undefined;
|
30
30
|
chainId: number;
|
31
31
|
campaignId: string;
|
32
32
|
};
|
@@ -412,9 +412,9 @@ export declare const v3: Elysia<"/v3", false, {
|
|
412
412
|
type?: undefined;
|
413
413
|
tag?: string | undefined;
|
414
414
|
chainId?: undefined;
|
415
|
-
mainParameter?: string | undefined;
|
416
415
|
action?: undefined;
|
417
416
|
campaigns?: boolean | undefined;
|
417
|
+
mainParameter?: string | undefined;
|
418
418
|
testTokens?: boolean | undefined;
|
419
419
|
};
|
420
420
|
headers: unknown;
|
@@ -608,8 +608,8 @@ export declare const v3: Elysia<"/v3", false, {
|
|
608
608
|
pending?: string | undefined;
|
609
609
|
symbol: string;
|
610
610
|
token: string;
|
611
|
-
mainParameter: string;
|
612
611
|
decimals: number;
|
612
|
+
mainParameter: string;
|
613
613
|
unclaimed: string;
|
614
614
|
accumulated: string;
|
615
615
|
};
|
@@ -639,8 +639,8 @@ export declare const v3: Elysia<"/v3", false, {
|
|
639
639
|
params: {};
|
640
640
|
query: {
|
641
641
|
from?: number | undefined;
|
642
|
-
to?: number | undefined;
|
643
642
|
mainParameter?: string | undefined;
|
643
|
+
to?: number | undefined;
|
644
644
|
chainId: number;
|
645
645
|
campaignId: string;
|
646
646
|
};
|
@@ -743,9 +743,9 @@ export declare const v3: Elysia<"/v3", false, {
|
|
743
743
|
body: unknown;
|
744
744
|
params: {};
|
745
745
|
query: {
|
746
|
-
mainParameter?: string | undefined;
|
747
746
|
rewardToken?: string | undefined;
|
748
747
|
proof?: string | undefined;
|
748
|
+
mainParameter?: string | undefined;
|
749
749
|
reloadChainId?: number | undefined;
|
750
750
|
chainId: never;
|
751
751
|
user: string;
|
@@ -25,9 +25,9 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
25
25
|
body: unknown;
|
26
26
|
params: {};
|
27
27
|
query: {
|
28
|
-
mainParameter?: string | undefined;
|
29
28
|
rewardToken?: string | undefined;
|
30
29
|
proof?: string | undefined;
|
30
|
+
mainParameter?: string | undefined;
|
31
31
|
reloadChainId?: number | undefined;
|
32
32
|
chainId: never;
|
33
33
|
user: string;
|
@@ -35,14 +35,10 @@ export function generateCardName(type, typeInfo, campaign, symbols = [""], displ
|
|
35
35
|
return cardName;
|
36
36
|
}
|
37
37
|
case tokenType.balancerV3: {
|
38
|
-
const symbols = [];
|
39
|
-
for (let i = 0; i < typeInfo.numberTokens; i++) {
|
40
|
-
symbols.push(typeInfo[`symbolToken${i}`]);
|
41
|
-
}
|
42
38
|
if (campaign.computeChainId === ChainId.SONIC) {
|
43
39
|
typeInfo.protocol = "Beets";
|
44
40
|
}
|
45
|
-
return `Provide liquidity to ${typeInfo.protocol} ${symbols.join("-")}`;
|
41
|
+
return `Provide liquidity to ${typeInfo.protocol} Boosted ${symbols.join("-")}`;
|
46
42
|
}
|
47
43
|
case tokenType.aura:
|
48
44
|
return `Provide liquidity to ${typeInfo.protocol} ${symbols.join("-")}`;
|