@merkl/api 0.21.36 → 0.21.38
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 +1758 -1351
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.js +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/detect.js +108 -97
- package/dist/src/engine/implementations/Erc20/subTypes/factories.js +8 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.js +38 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.js +83 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.d.ts +30 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.js +65 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.js +94 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/engine/implementations/Erc20/subTypes/index.js +1 -0
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +2 -2
- package/dist/src/index.d.ts +545 -396
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +5 -1
- package/dist/src/modules/v4/campaign/campaign.service.js +41 -2
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +385 -240
- package/dist/src/modules/v4/campaign/campaign.test.controller.js +41 -15
- package/dist/src/modules/v4/creator/creator.controller.d.ts +157 -153
- package/dist/src/modules/v4/creator/creator.controller.js +11 -11
- package/dist/src/modules/v4/creator/creator.model.d.ts +2 -2
- package/dist/src/modules/v4/creator/creator.model.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -1
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -1
- package/dist/src/modules/v4/protocol/protocol.model.js +1 -0
- package/dist/src/modules/v4/reward/reward.repository.js +1 -1
- package/dist/src/modules/v4/router.d.ts +545 -396
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
@@ -1269,7 +1269,7 @@ declare const app: Elysia<"", false, {
|
|
1269
1269
|
} & {
|
1270
1270
|
price?: number | null | undefined;
|
1271
1271
|
})[];
|
1272
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1272
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1273
1273
|
description: string;
|
1274
1274
|
howToSteps: string[];
|
1275
1275
|
depositUrl: string | undefined;
|
@@ -1447,7 +1447,7 @@ declare const app: Elysia<"", false, {
|
|
1447
1447
|
} & {
|
1448
1448
|
price?: number | null | undefined;
|
1449
1449
|
})[];
|
1450
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1450
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1451
1451
|
description: string;
|
1452
1452
|
howToSteps: string[];
|
1453
1453
|
depositUrl: string | undefined;
|
@@ -1577,7 +1577,7 @@ declare const app: Elysia<"", false, {
|
|
1577
1577
|
} & {
|
1578
1578
|
price?: number | null | undefined;
|
1579
1579
|
})[];
|
1580
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1580
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1581
1581
|
description: string;
|
1582
1582
|
howToSteps: string[];
|
1583
1583
|
depositUrl: string | undefined;
|
@@ -2319,18 +2319,42 @@ declare const app: Elysia<"", false, {
|
|
2319
2319
|
campaigns: {
|
2320
2320
|
"dry-run": {
|
2321
2321
|
tvl: {
|
2322
|
-
|
2323
|
-
|
2324
|
-
|
2325
|
-
|
2326
|
-
|
2327
|
-
|
2328
|
-
|
2329
|
-
|
2330
|
-
|
2322
|
+
campaign: {
|
2323
|
+
":campaignId": {
|
2324
|
+
get: {
|
2325
|
+
body: unknown;
|
2326
|
+
params: {
|
2327
|
+
campaignId: string;
|
2328
|
+
};
|
2329
|
+
query: unknown;
|
2330
|
+
headers: {
|
2331
|
+
authorization: string;
|
2332
|
+
};
|
2333
|
+
response: {
|
2334
|
+
200: unknown[];
|
2335
|
+
};
|
2331
2336
|
};
|
2332
|
-
|
2333
|
-
|
2337
|
+
};
|
2338
|
+
};
|
2339
|
+
};
|
2340
|
+
};
|
2341
|
+
} & {
|
2342
|
+
"dry-run": {
|
2343
|
+
tvl: {
|
2344
|
+
opportunity: {
|
2345
|
+
":opportunityId": {
|
2346
|
+
get: {
|
2347
|
+
body: unknown;
|
2348
|
+
params: {
|
2349
|
+
opportunityId: string;
|
2350
|
+
};
|
2351
|
+
query: unknown;
|
2352
|
+
headers: {
|
2353
|
+
authorization: string;
|
2354
|
+
};
|
2355
|
+
response: {
|
2356
|
+
200: unknown[];
|
2357
|
+
};
|
2334
2358
|
};
|
2335
2359
|
};
|
2336
2360
|
};
|
@@ -2338,14 +2362,15 @@ declare const app: Elysia<"", false, {
|
|
2338
2362
|
};
|
2339
2363
|
} & {
|
2340
2364
|
"dry-run": {
|
2341
|
-
|
2342
|
-
|
2365
|
+
tvl: {
|
2366
|
+
erc20: {
|
2343
2367
|
get: {
|
2344
2368
|
body: unknown;
|
2345
|
-
params: {
|
2346
|
-
|
2369
|
+
params: {};
|
2370
|
+
query: {
|
2371
|
+
address: string;
|
2372
|
+
chainId: number;
|
2347
2373
|
};
|
2348
|
-
query: unknown;
|
2349
2374
|
headers: {
|
2350
2375
|
authorization: string;
|
2351
2376
|
};
|
@@ -2358,7 +2383,7 @@ declare const app: Elysia<"", false, {
|
|
2358
2383
|
};
|
2359
2384
|
} & {
|
2360
2385
|
"dry-run": {
|
2361
|
-
|
2386
|
+
tvl: {
|
2362
2387
|
list: {
|
2363
2388
|
post: {
|
2364
2389
|
body: string[];
|
@@ -2377,28 +2402,30 @@ declare const app: Elysia<"", false, {
|
|
2377
2402
|
} & {
|
2378
2403
|
"dry-run": {
|
2379
2404
|
tvl: {
|
2380
|
-
|
2381
|
-
|
2382
|
-
|
2383
|
-
|
2384
|
-
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
2388
|
-
|
2389
|
-
|
2390
|
-
|
2391
|
-
|
2392
|
-
|
2393
|
-
|
2394
|
-
|
2395
|
-
|
2396
|
-
|
2397
|
-
|
2398
|
-
|
2399
|
-
|
2400
|
-
|
2401
|
-
|
2405
|
+
index: {
|
2406
|
+
post: {
|
2407
|
+
body: {
|
2408
|
+
id?: string | undefined;
|
2409
|
+
subType?: number | undefined;
|
2410
|
+
campaignId?: string | undefined;
|
2411
|
+
amount?: string | undefined;
|
2412
|
+
creatorAddress?: string | undefined;
|
2413
|
+
type: string;
|
2414
|
+
params: any;
|
2415
|
+
computeChainId: number;
|
2416
|
+
distributionChainId: number;
|
2417
|
+
startTimestamp: number;
|
2418
|
+
endTimestamp: number;
|
2419
|
+
rewardToken: string;
|
2420
|
+
};
|
2421
|
+
params: {};
|
2422
|
+
query: unknown;
|
2423
|
+
headers: {
|
2424
|
+
authorization: string;
|
2425
|
+
};
|
2426
|
+
response: {
|
2427
|
+
200: unknown[];
|
2428
|
+
};
|
2402
2429
|
};
|
2403
2430
|
};
|
2404
2431
|
};
|
@@ -2406,121 +2433,123 @@ declare const app: Elysia<"", false, {
|
|
2406
2433
|
} & {
|
2407
2434
|
"dry-run": {
|
2408
2435
|
metadata: {
|
2409
|
-
|
2410
|
-
|
2411
|
-
|
2412
|
-
|
2413
|
-
|
2414
|
-
|
2415
|
-
|
2416
|
-
|
2417
|
-
params: any;
|
2418
|
-
computeChainId: number;
|
2419
|
-
distributionChainId: number;
|
2420
|
-
startTimestamp: number;
|
2421
|
-
endTimestamp: number;
|
2422
|
-
rewardToken: string;
|
2423
|
-
};
|
2424
|
-
params: {};
|
2425
|
-
query: unknown;
|
2426
|
-
headers: {
|
2427
|
-
authorization: string;
|
2428
|
-
};
|
2429
|
-
response: {
|
2430
|
-
200: {
|
2436
|
+
index: {
|
2437
|
+
post: {
|
2438
|
+
body: {
|
2439
|
+
id?: string | undefined;
|
2440
|
+
subType?: number | undefined;
|
2441
|
+
campaignId?: string | undefined;
|
2442
|
+
amount?: string | undefined;
|
2443
|
+
creatorAddress?: string | undefined;
|
2431
2444
|
type: string;
|
2432
|
-
|
2433
|
-
id: string;
|
2434
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
2435
|
-
subType: number | null;
|
2445
|
+
params: any;
|
2436
2446
|
computeChainId: number;
|
2437
2447
|
distributionChainId: number;
|
2438
|
-
|
2439
|
-
|
2440
|
-
|
2441
|
-
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2445
|
-
|
2446
|
-
|
2447
|
-
|
2448
|
-
|
2449
|
-
|
2450
|
-
|
2451
|
-
Tokens: {
|
2452
|
-
symbol: string;
|
2453
|
-
name: string | null;
|
2448
|
+
startTimestamp: number;
|
2449
|
+
endTimestamp: number;
|
2450
|
+
rewardToken: string;
|
2451
|
+
};
|
2452
|
+
params: {};
|
2453
|
+
query: unknown;
|
2454
|
+
headers: {
|
2455
|
+
authorization: string;
|
2456
|
+
};
|
2457
|
+
response: {
|
2458
|
+
200: {
|
2459
|
+
type: string;
|
2460
|
+
description: string | null;
|
2454
2461
|
id: string;
|
2455
|
-
|
2456
|
-
|
2457
|
-
|
2458
|
-
|
2459
|
-
|
2460
|
-
|
2461
|
-
|
2462
|
-
|
2463
|
-
|
2464
|
-
|
2465
|
-
|
2466
|
-
|
2467
|
-
|
2468
|
-
|
2462
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2463
|
+
subType: number | null;
|
2464
|
+
computeChainId: number;
|
2465
|
+
distributionChainId: number;
|
2466
|
+
campaignId: string;
|
2467
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
2468
|
+
rewardTokenId: string;
|
2469
|
+
amount: string;
|
2470
|
+
opportunityId: string;
|
2471
|
+
startTimestamp: bigint;
|
2472
|
+
endTimestamp: bigint;
|
2473
|
+
creatorAddress: string;
|
2474
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
2475
|
+
createdAt: Date;
|
2476
|
+
rootCampaignId: string | null;
|
2477
|
+
parentCampaignId: string | null;
|
2478
|
+
} | {
|
2479
|
+
Tokens: {
|
2480
|
+
symbol: string;
|
2481
|
+
name: string | null;
|
2482
|
+
id: string;
|
2483
|
+
icon: string;
|
2484
|
+
address: string;
|
2485
|
+
chainId: number;
|
2486
|
+
decimals: number;
|
2487
|
+
displaySymbol: string;
|
2488
|
+
verified: boolean;
|
2489
|
+
isTest: boolean;
|
2490
|
+
isPoint: boolean;
|
2491
|
+
isPreTGE: boolean;
|
2492
|
+
isNative: boolean;
|
2493
|
+
price: number | null;
|
2494
|
+
}[];
|
2495
|
+
Protocols: {
|
2496
|
+
url: string;
|
2497
|
+
name: string;
|
2498
|
+
description: string;
|
2499
|
+
id: string;
|
2500
|
+
tags: string[];
|
2501
|
+
icon: string;
|
2502
|
+
}[];
|
2503
|
+
status: import("@db/api").$Enums.Status;
|
2504
|
+
type: string;
|
2469
2505
|
name: string;
|
2470
2506
|
description: string;
|
2471
2507
|
id: string;
|
2472
2508
|
tags: string[];
|
2473
|
-
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
depositUrl: string | null;
|
2487
|
-
explorerAddress: string | null;
|
2488
|
-
mainProtocolId: string | null;
|
2489
|
-
tvl: number;
|
2490
|
-
apr: number;
|
2491
|
-
dailyRewards: number;
|
2492
|
-
lastCampaignCreatedAt: Date;
|
2493
|
-
} | {
|
2494
|
-
id: string;
|
2495
|
-
chainId: number;
|
2496
|
-
type: string;
|
2497
|
-
identifier: string;
|
2498
|
-
name: string;
|
2499
|
-
status: "PAST" | "LIVE" | "SOON";
|
2500
|
-
action: any;
|
2501
|
-
tokens: ({
|
2502
|
-
symbol: string;
|
2503
|
-
name: string | null;
|
2509
|
+
identifier: string;
|
2510
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
2511
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
2512
|
+
chainId: number;
|
2513
|
+
howToSteps: string[];
|
2514
|
+
depositUrl: string | null;
|
2515
|
+
explorerAddress: string | null;
|
2516
|
+
mainProtocolId: string | null;
|
2517
|
+
tvl: number;
|
2518
|
+
apr: number;
|
2519
|
+
dailyRewards: number;
|
2520
|
+
lastCampaignCreatedAt: Date;
|
2521
|
+
} | {
|
2504
2522
|
id: string;
|
2505
|
-
icon: string;
|
2506
|
-
address: string;
|
2507
2523
|
chainId: number;
|
2508
|
-
|
2509
|
-
|
2510
|
-
|
2511
|
-
|
2512
|
-
|
2513
|
-
|
2514
|
-
|
2515
|
-
|
2516
|
-
|
2517
|
-
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
|
2524
|
+
type: string;
|
2525
|
+
identifier: string;
|
2526
|
+
name: string;
|
2527
|
+
status: "PAST" | "LIVE" | "SOON";
|
2528
|
+
action: any;
|
2529
|
+
tokens: ({
|
2530
|
+
symbol: string;
|
2531
|
+
name: string | null;
|
2532
|
+
id: string;
|
2533
|
+
icon: string;
|
2534
|
+
address: string;
|
2535
|
+
chainId: number;
|
2536
|
+
decimals: number;
|
2537
|
+
verified: boolean;
|
2538
|
+
isTest: boolean;
|
2539
|
+
isPoint: boolean;
|
2540
|
+
isPreTGE: boolean;
|
2541
|
+
isNative: boolean;
|
2542
|
+
} & {
|
2543
|
+
price?: number | null | undefined;
|
2544
|
+
})[];
|
2545
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2546
|
+
description: string;
|
2547
|
+
howToSteps: string[];
|
2548
|
+
depositUrl: string | undefined;
|
2549
|
+
explorerAddress: string | undefined;
|
2550
|
+
tags: string[];
|
2551
|
+
} | undefined;
|
2552
|
+
};
|
2524
2553
|
};
|
2525
2554
|
};
|
2526
2555
|
};
|
@@ -2528,111 +2557,227 @@ declare const app: Elysia<"", false, {
|
|
2528
2557
|
} & {
|
2529
2558
|
"dry-run": {
|
2530
2559
|
metadata: {
|
2531
|
-
|
2532
|
-
|
2533
|
-
|
2534
|
-
|
2535
|
-
|
2536
|
-
|
2537
|
-
};
|
2538
|
-
headers: {
|
2539
|
-
authorization: string;
|
2540
|
-
};
|
2541
|
-
response: {
|
2542
|
-
200: {
|
2543
|
-
type: string;
|
2544
|
-
description: string | null;
|
2545
|
-
id: string;
|
2546
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
2547
|
-
subType: number | null;
|
2548
|
-
computeChainId: number;
|
2549
|
-
distributionChainId: number;
|
2560
|
+
index: {
|
2561
|
+
get: {
|
2562
|
+
body: unknown;
|
2563
|
+
params: {};
|
2564
|
+
query: {
|
2565
|
+
distributionChain?: number | undefined;
|
2550
2566
|
campaignId: string;
|
2551
|
-
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2555
|
-
|
2556
|
-
|
2557
|
-
|
2558
|
-
|
2559
|
-
createdAt: Date;
|
2560
|
-
rootCampaignId: string | null;
|
2561
|
-
parentCampaignId: string | null;
|
2562
|
-
} | {
|
2563
|
-
Tokens: {
|
2564
|
-
symbol: string;
|
2565
|
-
name: string | null;
|
2567
|
+
};
|
2568
|
+
headers: {
|
2569
|
+
authorization: string;
|
2570
|
+
};
|
2571
|
+
response: {
|
2572
|
+
200: {
|
2573
|
+
type: string;
|
2574
|
+
description: string | null;
|
2566
2575
|
id: string;
|
2567
|
-
|
2568
|
-
|
2569
|
-
|
2570
|
-
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2574
|
-
|
2575
|
-
|
2576
|
-
|
2577
|
-
|
2578
|
-
|
2579
|
-
|
2580
|
-
|
2576
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2577
|
+
subType: number | null;
|
2578
|
+
computeChainId: number;
|
2579
|
+
distributionChainId: number;
|
2580
|
+
campaignId: string;
|
2581
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
2582
|
+
rewardTokenId: string;
|
2583
|
+
amount: string;
|
2584
|
+
opportunityId: string;
|
2585
|
+
startTimestamp: bigint;
|
2586
|
+
endTimestamp: bigint;
|
2587
|
+
creatorAddress: string;
|
2588
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
2589
|
+
createdAt: Date;
|
2590
|
+
rootCampaignId: string | null;
|
2591
|
+
parentCampaignId: string | null;
|
2592
|
+
} | {
|
2593
|
+
Tokens: {
|
2594
|
+
symbol: string;
|
2595
|
+
name: string | null;
|
2596
|
+
id: string;
|
2597
|
+
icon: string;
|
2598
|
+
address: string;
|
2599
|
+
chainId: number;
|
2600
|
+
decimals: number;
|
2601
|
+
displaySymbol: string;
|
2602
|
+
verified: boolean;
|
2603
|
+
isTest: boolean;
|
2604
|
+
isPoint: boolean;
|
2605
|
+
isPreTGE: boolean;
|
2606
|
+
isNative: boolean;
|
2607
|
+
price: number | null;
|
2608
|
+
}[];
|
2609
|
+
Protocols: {
|
2610
|
+
url: string;
|
2611
|
+
name: string;
|
2612
|
+
description: string;
|
2613
|
+
id: string;
|
2614
|
+
tags: string[];
|
2615
|
+
icon: string;
|
2616
|
+
}[];
|
2617
|
+
status: import("@db/api").$Enums.Status;
|
2618
|
+
type: string;
|
2581
2619
|
name: string;
|
2582
2620
|
description: string;
|
2583
2621
|
id: string;
|
2584
2622
|
tags: string[];
|
2585
|
-
|
2586
|
-
|
2587
|
-
|
2588
|
-
|
2589
|
-
|
2590
|
-
|
2591
|
-
|
2592
|
-
|
2593
|
-
|
2594
|
-
|
2595
|
-
|
2596
|
-
|
2597
|
-
|
2598
|
-
|
2599
|
-
|
2600
|
-
|
2601
|
-
|
2602
|
-
|
2603
|
-
|
2604
|
-
|
2605
|
-
|
2606
|
-
|
2623
|
+
identifier: string;
|
2624
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
2625
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
2626
|
+
chainId: number;
|
2627
|
+
howToSteps: string[];
|
2628
|
+
depositUrl: string | null;
|
2629
|
+
explorerAddress: string | null;
|
2630
|
+
mainProtocolId: string | null;
|
2631
|
+
tvl: number;
|
2632
|
+
apr: number;
|
2633
|
+
dailyRewards: number;
|
2634
|
+
lastCampaignCreatedAt: Date;
|
2635
|
+
} | {
|
2636
|
+
id: string;
|
2637
|
+
chainId: number;
|
2638
|
+
type: string;
|
2639
|
+
identifier: string;
|
2640
|
+
name: string;
|
2641
|
+
status: "PAST" | "LIVE" | "SOON";
|
2642
|
+
action: any;
|
2643
|
+
tokens: ({
|
2644
|
+
symbol: string;
|
2645
|
+
name: string | null;
|
2646
|
+
id: string;
|
2647
|
+
icon: string;
|
2648
|
+
address: string;
|
2649
|
+
chainId: number;
|
2650
|
+
decimals: number;
|
2651
|
+
verified: boolean;
|
2652
|
+
isTest: boolean;
|
2653
|
+
isPoint: boolean;
|
2654
|
+
isPreTGE: boolean;
|
2655
|
+
isNative: boolean;
|
2656
|
+
} & {
|
2657
|
+
price?: number | null | undefined;
|
2658
|
+
})[];
|
2659
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2660
|
+
description: string;
|
2661
|
+
howToSteps: string[];
|
2662
|
+
depositUrl: string | undefined;
|
2663
|
+
explorerAddress: string | undefined;
|
2664
|
+
tags: string[];
|
2665
|
+
} | undefined;
|
2666
|
+
};
|
2667
|
+
};
|
2668
|
+
};
|
2669
|
+
};
|
2670
|
+
};
|
2671
|
+
} & {
|
2672
|
+
"dry-run": {
|
2673
|
+
metadata: {
|
2674
|
+
erc20: {
|
2675
|
+
get: {
|
2676
|
+
body: unknown;
|
2677
|
+
params: {};
|
2678
|
+
query: {
|
2679
|
+
address: string;
|
2607
2680
|
chainId: number;
|
2608
|
-
|
2609
|
-
|
2610
|
-
|
2611
|
-
|
2612
|
-
|
2613
|
-
|
2614
|
-
|
2615
|
-
|
2681
|
+
};
|
2682
|
+
headers: {
|
2683
|
+
authorization: string;
|
2684
|
+
};
|
2685
|
+
response: {
|
2686
|
+
200: {
|
2687
|
+
type: string;
|
2688
|
+
description: string | null;
|
2616
2689
|
id: string;
|
2617
|
-
|
2618
|
-
|
2690
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2691
|
+
subType: number | null;
|
2692
|
+
computeChainId: number;
|
2693
|
+
distributionChainId: number;
|
2694
|
+
campaignId: string;
|
2695
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
2696
|
+
rewardTokenId: string;
|
2697
|
+
amount: string;
|
2698
|
+
opportunityId: string;
|
2699
|
+
startTimestamp: bigint;
|
2700
|
+
endTimestamp: bigint;
|
2701
|
+
creatorAddress: string;
|
2702
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
2703
|
+
createdAt: Date;
|
2704
|
+
rootCampaignId: string | null;
|
2705
|
+
parentCampaignId: string | null;
|
2706
|
+
} | {
|
2707
|
+
Tokens: {
|
2708
|
+
symbol: string;
|
2709
|
+
name: string | null;
|
2710
|
+
id: string;
|
2711
|
+
icon: string;
|
2712
|
+
address: string;
|
2713
|
+
chainId: number;
|
2714
|
+
decimals: number;
|
2715
|
+
displaySymbol: string;
|
2716
|
+
verified: boolean;
|
2717
|
+
isTest: boolean;
|
2718
|
+
isPoint: boolean;
|
2719
|
+
isPreTGE: boolean;
|
2720
|
+
isNative: boolean;
|
2721
|
+
price: number | null;
|
2722
|
+
}[];
|
2723
|
+
Protocols: {
|
2724
|
+
url: string;
|
2725
|
+
name: string;
|
2726
|
+
description: string;
|
2727
|
+
id: string;
|
2728
|
+
tags: string[];
|
2729
|
+
icon: string;
|
2730
|
+
}[];
|
2731
|
+
status: import("@db/api").$Enums.Status;
|
2732
|
+
type: string;
|
2733
|
+
name: string;
|
2734
|
+
description: string;
|
2735
|
+
id: string;
|
2736
|
+
tags: string[];
|
2737
|
+
identifier: string;
|
2738
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
2739
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
2619
2740
|
chainId: number;
|
2620
|
-
|
2621
|
-
|
2622
|
-
|
2623
|
-
|
2624
|
-
|
2625
|
-
|
2626
|
-
|
2627
|
-
|
2628
|
-
}
|
2629
|
-
|
2630
|
-
|
2631
|
-
|
2632
|
-
|
2633
|
-
|
2634
|
-
|
2635
|
-
|
2741
|
+
howToSteps: string[];
|
2742
|
+
depositUrl: string | null;
|
2743
|
+
explorerAddress: string | null;
|
2744
|
+
mainProtocolId: string | null;
|
2745
|
+
tvl: number;
|
2746
|
+
apr: number;
|
2747
|
+
dailyRewards: number;
|
2748
|
+
lastCampaignCreatedAt: Date;
|
2749
|
+
} | {
|
2750
|
+
id: string;
|
2751
|
+
chainId: number;
|
2752
|
+
type: string;
|
2753
|
+
identifier: string;
|
2754
|
+
name: string;
|
2755
|
+
status: "PAST" | "LIVE" | "SOON";
|
2756
|
+
action: any;
|
2757
|
+
tokens: ({
|
2758
|
+
symbol: string;
|
2759
|
+
name: string | null;
|
2760
|
+
id: string;
|
2761
|
+
icon: string;
|
2762
|
+
address: string;
|
2763
|
+
chainId: number;
|
2764
|
+
decimals: number;
|
2765
|
+
verified: boolean;
|
2766
|
+
isTest: boolean;
|
2767
|
+
isPoint: boolean;
|
2768
|
+
isPreTGE: boolean;
|
2769
|
+
isNative: boolean;
|
2770
|
+
} & {
|
2771
|
+
price?: number | null | undefined;
|
2772
|
+
})[];
|
2773
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2774
|
+
description: string;
|
2775
|
+
howToSteps: string[];
|
2776
|
+
depositUrl: string | undefined;
|
2777
|
+
explorerAddress: string | undefined;
|
2778
|
+
tags: string[];
|
2779
|
+
} | undefined;
|
2780
|
+
};
|
2636
2781
|
};
|
2637
2782
|
};
|
2638
2783
|
};
|
@@ -5550,11 +5695,11 @@ declare const app: Elysia<"", false, {
|
|
5550
5695
|
};
|
5551
5696
|
} & {
|
5552
5697
|
creators: {
|
5553
|
-
":
|
5698
|
+
":creatorId": {
|
5554
5699
|
get: {
|
5555
5700
|
body: unknown;
|
5556
5701
|
params: {
|
5557
|
-
|
5702
|
+
creatorId: string;
|
5558
5703
|
};
|
5559
5704
|
query: unknown;
|
5560
5705
|
headers: unknown;
|
@@ -5576,7 +5721,7 @@ declare const app: Elysia<"", false, {
|
|
5576
5721
|
};
|
5577
5722
|
} & {
|
5578
5723
|
creators: {
|
5579
|
-
":
|
5724
|
+
":creatorId": {
|
5580
5725
|
patch: {
|
5581
5726
|
body: {
|
5582
5727
|
icon?: string | undefined;
|
@@ -5584,7 +5729,7 @@ declare const app: Elysia<"", false, {
|
|
5584
5729
|
addresses: string[];
|
5585
5730
|
};
|
5586
5731
|
params: {
|
5587
|
-
|
5732
|
+
creatorId: string;
|
5588
5733
|
};
|
5589
5734
|
query: unknown;
|
5590
5735
|
headers: {
|
@@ -5603,11 +5748,11 @@ declare const app: Elysia<"", false, {
|
|
5603
5748
|
};
|
5604
5749
|
} & {
|
5605
5750
|
creators: {
|
5606
|
-
":
|
5751
|
+
":creatorId": {
|
5607
5752
|
delete: {
|
5608
5753
|
body: unknown;
|
5609
5754
|
params: {
|
5610
|
-
|
5755
|
+
creatorId: string;
|
5611
5756
|
};
|
5612
5757
|
query: unknown;
|
5613
5758
|
headers: {
|
@@ -5626,24 +5771,26 @@ declare const app: Elysia<"", false, {
|
|
5626
5771
|
};
|
5627
5772
|
} & {
|
5628
5773
|
creators: {
|
5629
|
-
|
5630
|
-
|
5631
|
-
|
5632
|
-
|
5633
|
-
|
5634
|
-
|
5635
|
-
|
5636
|
-
|
5637
|
-
|
5638
|
-
|
5639
|
-
|
5640
|
-
|
5641
|
-
|
5642
|
-
|
5643
|
-
|
5644
|
-
|
5645
|
-
|
5646
|
-
|
5774
|
+
user: {
|
5775
|
+
":address": {
|
5776
|
+
dashboard: {
|
5777
|
+
get: {
|
5778
|
+
body: unknown;
|
5779
|
+
params: {
|
5780
|
+
address: string;
|
5781
|
+
};
|
5782
|
+
query: unknown;
|
5783
|
+
headers: unknown;
|
5784
|
+
response: {
|
5785
|
+
200: {
|
5786
|
+
pastCampaigns: number;
|
5787
|
+
liveCampaigns: number;
|
5788
|
+
futureCampaigns: number;
|
5789
|
+
totalTvl: number;
|
5790
|
+
totalWallets: number;
|
5791
|
+
totalCampaigns: number;
|
5792
|
+
creatorId: string | null;
|
5793
|
+
};
|
5647
5794
|
};
|
5648
5795
|
};
|
5649
5796
|
};
|
@@ -5652,138 +5799,140 @@ declare const app: Elysia<"", false, {
|
|
5652
5799
|
};
|
5653
5800
|
} & {
|
5654
5801
|
creators: {
|
5655
|
-
|
5656
|
-
|
5657
|
-
|
5658
|
-
|
5659
|
-
|
5660
|
-
|
5661
|
-
|
5662
|
-
|
5663
|
-
|
5664
|
-
|
5665
|
-
|
5666
|
-
|
5667
|
-
|
5668
|
-
|
5669
|
-
|
5802
|
+
user: {
|
5803
|
+
":address": {
|
5804
|
+
campaigns: {
|
5805
|
+
get: {
|
5806
|
+
body: unknown;
|
5807
|
+
params: {
|
5808
|
+
address: string;
|
5809
|
+
};
|
5810
|
+
query: {
|
5811
|
+
status?: "PAST" | "LIVE" | "FUTURE" | undefined;
|
5812
|
+
};
|
5813
|
+
headers: unknown;
|
5814
|
+
response: {
|
5815
|
+
200: ({
|
5816
|
+
Opportunity: {
|
5817
|
+
status: import("@db/api").$Enums.Status;
|
5818
|
+
type: string;
|
5819
|
+
name: string;
|
5820
|
+
description: string;
|
5821
|
+
id: string;
|
5822
|
+
tags: string[];
|
5823
|
+
identifier: string;
|
5824
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
5825
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5826
|
+
chainId: number;
|
5827
|
+
howToSteps: string[];
|
5828
|
+
depositUrl: string | null;
|
5829
|
+
explorerAddress: string | null;
|
5830
|
+
mainProtocolId: string | null;
|
5831
|
+
tvl: number;
|
5832
|
+
apr: number;
|
5833
|
+
dailyRewards: number;
|
5834
|
+
lastCampaignCreatedAt: Date;
|
5835
|
+
};
|
5836
|
+
} & {
|
5670
5837
|
type: string;
|
5671
|
-
|
5672
|
-
description: string;
|
5673
|
-
id: string;
|
5674
|
-
tags: string[];
|
5675
|
-
identifier: string;
|
5676
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
5677
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5678
|
-
chainId: number;
|
5679
|
-
howToSteps: string[];
|
5680
|
-
depositUrl: string | null;
|
5681
|
-
explorerAddress: string | null;
|
5682
|
-
mainProtocolId: string | null;
|
5683
|
-
tvl: number;
|
5684
|
-
apr: number;
|
5685
|
-
dailyRewards: number;
|
5686
|
-
lastCampaignCreatedAt: Date;
|
5687
|
-
};
|
5688
|
-
} & {
|
5689
|
-
type: string;
|
5690
|
-
description: string | null;
|
5691
|
-
id: string;
|
5692
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
5693
|
-
subType: number | null;
|
5694
|
-
computeChainId: number;
|
5695
|
-
distributionChainId: number;
|
5696
|
-
campaignId: string;
|
5697
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
5698
|
-
rewardTokenId: string;
|
5699
|
-
amount: string;
|
5700
|
-
opportunityId: string;
|
5701
|
-
startTimestamp: bigint;
|
5702
|
-
endTimestamp: bigint;
|
5703
|
-
creatorAddress: string;
|
5704
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
5705
|
-
createdAt: Date;
|
5706
|
-
rootCampaignId: string | null;
|
5707
|
-
parentCampaignId: string | null;
|
5708
|
-
})[] | {
|
5709
|
-
params: any;
|
5710
|
-
chain: {
|
5711
|
-
name: string;
|
5712
|
-
id: number;
|
5713
|
-
icon: string;
|
5714
|
-
};
|
5715
|
-
endTimestamp: number;
|
5716
|
-
startTimestamp: number;
|
5717
|
-
rewardToken: {
|
5718
|
-
symbol: string;
|
5719
|
-
name: string | null;
|
5838
|
+
description: string | null;
|
5720
5839
|
id: string;
|
5721
|
-
|
5722
|
-
|
5723
|
-
|
5724
|
-
|
5725
|
-
verified: boolean;
|
5726
|
-
isTest: boolean;
|
5727
|
-
isPoint: boolean;
|
5728
|
-
isPreTGE: boolean;
|
5729
|
-
isNative: boolean;
|
5730
|
-
} & {
|
5731
|
-
price?: number | null | undefined;
|
5732
|
-
};
|
5733
|
-
distributionChain: {
|
5734
|
-
name: string;
|
5735
|
-
id: number;
|
5736
|
-
icon: string;
|
5737
|
-
} | undefined;
|
5738
|
-
campaignStatus: {
|
5739
|
-
computedUntil: number;
|
5740
|
-
processingStarted: number;
|
5741
|
-
status: import("@db/api").$Enums.RunStatus;
|
5742
|
-
error: string;
|
5743
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
5840
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
5841
|
+
subType: number | null;
|
5842
|
+
computeChainId: number;
|
5843
|
+
distributionChainId: number;
|
5744
5844
|
campaignId: string;
|
5745
|
-
|
5746
|
-
|
5747
|
-
|
5748
|
-
|
5749
|
-
|
5750
|
-
|
5751
|
-
|
5752
|
-
|
5753
|
-
|
5754
|
-
|
5755
|
-
|
5756
|
-
|
5757
|
-
|
5845
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5846
|
+
rewardTokenId: string;
|
5847
|
+
amount: string;
|
5848
|
+
opportunityId: string;
|
5849
|
+
startTimestamp: bigint;
|
5850
|
+
endTimestamp: bigint;
|
5851
|
+
creatorAddress: string;
|
5852
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
5853
|
+
createdAt: Date;
|
5854
|
+
rootCampaignId: string | null;
|
5855
|
+
parentCampaignId: string | null;
|
5856
|
+
})[] | {
|
5857
|
+
params: any;
|
5858
|
+
chain: {
|
5859
|
+
name: string;
|
5860
|
+
id: number;
|
5861
|
+
icon: string;
|
5862
|
+
};
|
5863
|
+
endTimestamp: number;
|
5864
|
+
startTimestamp: number;
|
5865
|
+
rewardToken: {
|
5866
|
+
symbol: string;
|
5867
|
+
name: string | null;
|
5868
|
+
id: string;
|
5869
|
+
icon: string;
|
5870
|
+
address: string;
|
5871
|
+
chainId: number;
|
5872
|
+
decimals: number;
|
5873
|
+
verified: boolean;
|
5874
|
+
isTest: boolean;
|
5875
|
+
isPoint: boolean;
|
5876
|
+
isPreTGE: boolean;
|
5877
|
+
isNative: boolean;
|
5878
|
+
} & {
|
5879
|
+
price?: number | null | undefined;
|
5880
|
+
};
|
5881
|
+
distributionChain: {
|
5882
|
+
name: string;
|
5883
|
+
id: number;
|
5884
|
+
icon: string;
|
5885
|
+
} | undefined;
|
5886
|
+
campaignStatus: {
|
5887
|
+
computedUntil: number;
|
5888
|
+
processingStarted: number;
|
5889
|
+
status: import("@db/api").$Enums.RunStatus;
|
5890
|
+
error: string;
|
5891
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
5892
|
+
campaignId: string;
|
5893
|
+
} | undefined;
|
5894
|
+
creatorAddress: string;
|
5895
|
+
creator: {
|
5896
|
+
tags: string[];
|
5897
|
+
address: string;
|
5898
|
+
creatorId: string | null;
|
5899
|
+
};
|
5900
|
+
createdAt: string;
|
5901
|
+
description: string | undefined;
|
5902
|
+
parentCampaignId: string | undefined;
|
5903
|
+
rootCampaignId: string | undefined;
|
5904
|
+
Opportunity: {
|
5905
|
+
status: import("@db/api").$Enums.Status;
|
5906
|
+
type: string;
|
5907
|
+
name: string;
|
5908
|
+
description: string;
|
5909
|
+
id: string;
|
5910
|
+
tags: string[];
|
5911
|
+
identifier: string;
|
5912
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
5913
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5914
|
+
chainId: number;
|
5915
|
+
howToSteps: string[];
|
5916
|
+
depositUrl: string | null;
|
5917
|
+
explorerAddress: string | null;
|
5918
|
+
mainProtocolId: string | null;
|
5919
|
+
tvl: number;
|
5920
|
+
apr: number;
|
5921
|
+
dailyRewards: number;
|
5922
|
+
lastCampaignCreatedAt: Date;
|
5923
|
+
};
|
5758
5924
|
type: string;
|
5759
|
-
name: string;
|
5760
|
-
description: string;
|
5761
5925
|
id: string;
|
5762
|
-
|
5763
|
-
|
5764
|
-
|
5765
|
-
|
5766
|
-
|
5767
|
-
|
5768
|
-
|
5769
|
-
|
5770
|
-
|
5771
|
-
|
5772
|
-
apr: number;
|
5773
|
-
dailyRewards: number;
|
5774
|
-
lastCampaignCreatedAt: Date;
|
5775
|
-
};
|
5776
|
-
type: string;
|
5777
|
-
id: string;
|
5778
|
-
subType: number | null;
|
5779
|
-
computeChainId: number;
|
5780
|
-
distributionChainId: number;
|
5781
|
-
campaignId: string;
|
5782
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
5783
|
-
rewardTokenId: string;
|
5784
|
-
amount: string;
|
5785
|
-
opportunityId: string;
|
5786
|
-
}[];
|
5926
|
+
subType: number | null;
|
5927
|
+
computeChainId: number;
|
5928
|
+
distributionChainId: number;
|
5929
|
+
campaignId: string;
|
5930
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5931
|
+
rewardTokenId: string;
|
5932
|
+
amount: string;
|
5933
|
+
opportunityId: string;
|
5934
|
+
}[];
|
5935
|
+
};
|
5787
5936
|
};
|
5788
5937
|
};
|
5789
5938
|
};
|
@@ -5792,11 +5941,11 @@ declare const app: Elysia<"", false, {
|
|
5792
5941
|
} & {
|
5793
5942
|
creators: {
|
5794
5943
|
campaigns: {
|
5795
|
-
":
|
5944
|
+
":campaignId": {
|
5796
5945
|
get: {
|
5797
5946
|
body: unknown;
|
5798
5947
|
params: {
|
5799
|
-
|
5948
|
+
campaignId: string;
|
5800
5949
|
};
|
5801
5950
|
query: unknown;
|
5802
5951
|
headers: unknown;
|