@merkl/api 0.20.171 → 0.20.173
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/database/api/.generated/drizzle/schema.d.ts +57 -0
- package/dist/database/api/.generated/drizzle/schema.js +52 -4
- package/dist/database/api/.generated/drizzle/schema.ts +52 -4
- package/dist/database/api/.generated/edge.js +13 -7
- package/dist/database/api/.generated/index-browser.js +10 -4
- package/dist/database/api/.generated/index.d.ts +1624 -39
- package/dist/database/api/.generated/index.js +13 -7
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +23 -13
- package/dist/database/api/.generated/wasm.js +10 -4
- package/dist/src/eden/index.d.ts +430 -315
- package/dist/src/engine/deprecated/dynamicData/factory.js +0 -1
- package/dist/src/engine/metadata/factory.js +0 -1
- package/dist/src/index.d.ts +146 -105
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +133 -105
- package/dist/src/modules/v4/campaign/campaign.controller.js +7 -3
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +8 -0
- package/dist/src/modules/v4/campaign/campaign.model.js +10 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +48 -0
- package/dist/src/modules/v4/campaign/campaign.repository.js +3 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +24 -0
- package/dist/src/modules/v4/campaign/campaign.service.js +5 -1
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +4 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +8 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +10 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +10 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.controller.js +5 -9
- package/dist/src/modules/v4/reward/reward.model.d.ts +3 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +9 -0
- package/dist/src/modules/v4/reward/reward.service.js +2 -1
- package/dist/src/modules/v4/router.d.ts +146 -105
- package/dist/src/modules/v4/user/user.controller.d.ts +3 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -517,6 +517,8 @@ declare const eden: {
|
|
517
517
|
creatorId?: string | null | undefined;
|
518
518
|
address: string;
|
519
519
|
} | undefined;
|
520
|
+
rootCampaignId?: string | undefined;
|
521
|
+
parentCampaignId?: string | undefined;
|
520
522
|
campaignStatus?: {
|
521
523
|
error?: string | undefined;
|
522
524
|
details?: any;
|
@@ -776,6 +778,8 @@ declare const eden: {
|
|
776
778
|
};
|
777
779
|
createdAt: string;
|
778
780
|
description: string | undefined;
|
781
|
+
parentCampaignId: string | undefined;
|
782
|
+
rootCampaignId: string | undefined;
|
779
783
|
Opportunity: {
|
780
784
|
status: import("@db/api").$Enums.Status;
|
781
785
|
type: string;
|
@@ -975,6 +979,8 @@ declare const eden: {
|
|
975
979
|
startTimestamp?: string | undefined;
|
976
980
|
endTimestamp?: string | undefined;
|
977
981
|
creatorAddress?: string | undefined;
|
982
|
+
rootCampaignId?: string | undefined;
|
983
|
+
parentCampaignId?: string | undefined;
|
978
984
|
chainId?: number | undefined;
|
979
985
|
creatorId?: string | undefined;
|
980
986
|
mainParameter?: string | undefined;
|
@@ -1085,6 +1091,8 @@ declare const eden: {
|
|
1085
1091
|
creatorId?: string | null | undefined;
|
1086
1092
|
address: string;
|
1087
1093
|
} | undefined;
|
1094
|
+
rootCampaignId?: string | undefined;
|
1095
|
+
parentCampaignId?: string | undefined;
|
1088
1096
|
campaignStatus?: {
|
1089
1097
|
error?: string | undefined;
|
1090
1098
|
details?: any;
|
@@ -1305,6 +1313,8 @@ declare const eden: {
|
|
1305
1313
|
};
|
1306
1314
|
createdAt: string;
|
1307
1315
|
description: string | undefined;
|
1316
|
+
parentCampaignId: string | undefined;
|
1317
|
+
rootCampaignId: string | undefined;
|
1308
1318
|
Opportunity: {
|
1309
1319
|
status: import("@db/api").$Enums.Status;
|
1310
1320
|
type: string;
|
@@ -1357,121 +1367,127 @@ declare const eden: {
|
|
1357
1367
|
};
|
1358
1368
|
}) & {
|
1359
1369
|
engine: {
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
startTimestamp: string;
|
1371
|
-
endTimestamp: string;
|
1372
|
-
chainId: number;
|
1373
|
-
rewardTokenAddress: string;
|
1374
|
-
opportunityIdentifier: string;
|
1375
|
-
}, options: {
|
1376
|
-
headers: {
|
1377
|
-
authorization: string;
|
1378
|
-
};
|
1379
|
-
query?: Record<string, unknown> | undefined;
|
1380
|
-
fetch?: RequestInit | undefined;
|
1381
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1382
|
-
200: {
|
1383
|
-
type: string;
|
1384
|
-
description: string | null;
|
1385
|
-
id: string;
|
1386
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
1387
|
-
subType: number | null;
|
1370
|
+
index: {
|
1371
|
+
post: (body: {
|
1372
|
+
tags?: string[] | undefined;
|
1373
|
+
identifier?: string | undefined;
|
1374
|
+
subType?: number | undefined;
|
1375
|
+
rootCampaignId?: string | undefined;
|
1376
|
+
parentCampaignId?: string | undefined;
|
1377
|
+
type: number;
|
1378
|
+
params: string;
|
1379
|
+
creator: string;
|
1388
1380
|
computeChainId: number;
|
1389
|
-
distributionChainId: number;
|
1390
1381
|
campaignId: string;
|
1391
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
1392
|
-
rewardTokenId: string;
|
1393
1382
|
amount: string;
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1383
|
+
startTimestamp: string;
|
1384
|
+
endTimestamp: string;
|
1385
|
+
chainId: number;
|
1386
|
+
rewardTokenAddress: string;
|
1387
|
+
opportunityIdentifier: string;
|
1388
|
+
}, options: {
|
1389
|
+
headers: {
|
1390
|
+
authorization: string;
|
1391
|
+
};
|
1392
|
+
query?: Record<string, unknown> | undefined;
|
1393
|
+
fetch?: RequestInit | undefined;
|
1394
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1395
|
+
200: {
|
1396
|
+
type: string;
|
1397
|
+
description: string | null;
|
1404
1398
|
id: string;
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1399
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
1400
|
+
subType: number | null;
|
1401
|
+
computeChainId: number;
|
1402
|
+
distributionChainId: number;
|
1403
|
+
campaignId: string;
|
1404
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1405
|
+
rewardTokenId: string;
|
1406
|
+
amount: string;
|
1407
|
+
opportunityId: string;
|
1408
|
+
startTimestamp: bigint;
|
1409
|
+
endTimestamp: bigint;
|
1410
|
+
creatorAddress: string;
|
1411
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
1412
|
+
createdAt: Date;
|
1413
|
+
rootCampaignId: string | null;
|
1414
|
+
parentCampaignId: string | null;
|
1415
|
+
} | {
|
1416
|
+
Tokens: {
|
1417
|
+
symbol: string;
|
1418
|
+
name: string | null;
|
1419
|
+
id: string;
|
1420
|
+
icon: string;
|
1421
|
+
address: string;
|
1422
|
+
chainId: number;
|
1423
|
+
decimals: number;
|
1424
|
+
displaySymbol: string;
|
1425
|
+
verified: boolean;
|
1426
|
+
isTest: boolean;
|
1427
|
+
isPoint: boolean;
|
1428
|
+
isPreTGE: boolean;
|
1429
|
+
isNative: boolean;
|
1430
|
+
price: number | null;
|
1431
|
+
}[];
|
1432
|
+
Protocols: {
|
1433
|
+
url: string;
|
1434
|
+
name: string;
|
1435
|
+
description: string;
|
1436
|
+
id: string;
|
1437
|
+
tags: string[];
|
1438
|
+
icon: string;
|
1439
|
+
}[];
|
1440
|
+
status: import("@db/api").$Enums.Status;
|
1441
|
+
type: string;
|
1419
1442
|
name: string;
|
1420
1443
|
description: string;
|
1421
1444
|
id: string;
|
1422
1445
|
tags: string[];
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
depositUrl: string | null;
|
1437
|
-
explorerAddress: string | null;
|
1438
|
-
mainProtocolId: string | null;
|
1439
|
-
tvl: number;
|
1440
|
-
apr: number;
|
1441
|
-
dailyRewards: number;
|
1442
|
-
lastCampaignCreatedAt: Date;
|
1443
|
-
} | {
|
1444
|
-
id: string;
|
1445
|
-
chainId: number;
|
1446
|
-
type: string;
|
1447
|
-
identifier: string;
|
1448
|
-
name: string;
|
1449
|
-
status: "PAST" | "LIVE" | "SOON";
|
1450
|
-
action: any;
|
1451
|
-
tokens: ({
|
1452
|
-
symbol: string;
|
1453
|
-
name: string | null;
|
1446
|
+
identifier: string;
|
1447
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
1448
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
1449
|
+
chainId: number;
|
1450
|
+
howToSteps: string[];
|
1451
|
+
depositUrl: string | null;
|
1452
|
+
explorerAddress: string | null;
|
1453
|
+
mainProtocolId: string | null;
|
1454
|
+
tvl: number;
|
1455
|
+
apr: number;
|
1456
|
+
dailyRewards: number;
|
1457
|
+
lastCampaignCreatedAt: Date;
|
1458
|
+
} | {
|
1454
1459
|
id: string;
|
1455
|
-
icon: string;
|
1456
|
-
address: string;
|
1457
1460
|
chainId: number;
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1461
|
+
type: string;
|
1462
|
+
identifier: string;
|
1463
|
+
name: string;
|
1464
|
+
status: "PAST" | "LIVE" | "SOON";
|
1465
|
+
action: any;
|
1466
|
+
tokens: ({
|
1467
|
+
symbol: string;
|
1468
|
+
name: string | null;
|
1469
|
+
id: string;
|
1470
|
+
icon: string;
|
1471
|
+
address: string;
|
1472
|
+
chainId: number;
|
1473
|
+
decimals: number;
|
1474
|
+
verified: boolean;
|
1475
|
+
isTest: boolean;
|
1476
|
+
isPoint: boolean;
|
1477
|
+
isPreTGE: boolean;
|
1478
|
+
isNative: boolean;
|
1479
|
+
} & {
|
1480
|
+
price?: number | null | undefined;
|
1481
|
+
})[];
|
1482
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
1483
|
+
description: string;
|
1484
|
+
howToSteps: string[];
|
1485
|
+
depositUrl: string | undefined;
|
1486
|
+
explorerAddress: string | undefined;
|
1487
|
+
tags: string[];
|
1488
|
+
} | undefined;
|
1489
|
+
}>>;
|
1490
|
+
};
|
1475
1491
|
};
|
1476
1492
|
opportunity: {
|
1477
1493
|
patch: (body: {
|
@@ -1548,6 +1564,8 @@ declare const eden: {
|
|
1548
1564
|
creatorAddress: string;
|
1549
1565
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
1550
1566
|
createdAt: Date;
|
1567
|
+
rootCampaignId: string | null;
|
1568
|
+
parentCampaignId: string | null;
|
1551
1569
|
};
|
1552
1570
|
}>>;
|
1553
1571
|
};
|
@@ -1579,6 +1597,8 @@ declare const eden: {
|
|
1579
1597
|
startTimestamp?: string | undefined;
|
1580
1598
|
endTimestamp?: string | undefined;
|
1581
1599
|
creatorAddress?: string | undefined;
|
1600
|
+
rootCampaignId?: string | undefined;
|
1601
|
+
parentCampaignId?: string | undefined;
|
1582
1602
|
chainId?: number | undefined;
|
1583
1603
|
creatorId?: string | undefined;
|
1584
1604
|
mainParameter?: string | undefined;
|
@@ -1639,6 +1659,8 @@ declare const eden: {
|
|
1639
1659
|
};
|
1640
1660
|
createdAt: string;
|
1641
1661
|
description: string | undefined;
|
1662
|
+
parentCampaignId: string | undefined;
|
1663
|
+
rootCampaignId: string | undefined;
|
1642
1664
|
Opportunity: {
|
1643
1665
|
status: import("@db/api").$Enums.Status;
|
1644
1666
|
type: string;
|
@@ -1747,6 +1769,8 @@ declare const eden: {
|
|
1747
1769
|
startTimestamp?: string | undefined;
|
1748
1770
|
endTimestamp?: string | undefined;
|
1749
1771
|
creatorAddress?: string | undefined;
|
1772
|
+
rootCampaignId?: string | undefined;
|
1773
|
+
parentCampaignId?: string | undefined;
|
1750
1774
|
chainId?: number | undefined;
|
1751
1775
|
creatorId?: string | undefined;
|
1752
1776
|
mainParameter?: string | undefined;
|
@@ -1780,6 +1804,8 @@ declare const eden: {
|
|
1780
1804
|
startTimestamp?: string | undefined;
|
1781
1805
|
endTimestamp?: string | undefined;
|
1782
1806
|
creatorAddress?: string | undefined;
|
1807
|
+
rootCampaignId?: string | undefined;
|
1808
|
+
parentCampaignId?: string | undefined;
|
1783
1809
|
chainId?: number | undefined;
|
1784
1810
|
creatorId?: string | undefined;
|
1785
1811
|
mainParameter?: string | undefined;
|
@@ -1816,6 +1842,8 @@ declare const eden: {
|
|
1816
1842
|
startTimestamp?: string | undefined;
|
1817
1843
|
endTimestamp?: string | undefined;
|
1818
1844
|
creatorAddress?: string | undefined;
|
1845
|
+
rootCampaignId?: string | undefined;
|
1846
|
+
parentCampaignId?: string | undefined;
|
1819
1847
|
chainId?: number | undefined;
|
1820
1848
|
creatorId?: string | undefined;
|
1821
1849
|
mainParameter?: string | undefined;
|
@@ -1959,6 +1987,8 @@ declare const eden: {
|
|
1959
1987
|
creatorAddress: string;
|
1960
1988
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
1961
1989
|
createdAt: Date;
|
1990
|
+
rootCampaignId: string | null;
|
1991
|
+
parentCampaignId: string | null;
|
1962
1992
|
} | {
|
1963
1993
|
Tokens: {
|
1964
1994
|
symbol: string;
|
@@ -2062,6 +2092,8 @@ declare const eden: {
|
|
2062
2092
|
creatorAddress: string;
|
2063
2093
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
2064
2094
|
createdAt: Date;
|
2095
|
+
rootCampaignId: string | null;
|
2096
|
+
parentCampaignId: string | null;
|
2065
2097
|
} | {
|
2066
2098
|
Tokens: {
|
2067
2099
|
symbol: string;
|
@@ -2158,6 +2190,8 @@ declare const eden: {
|
|
2158
2190
|
startTimestamp?: string | undefined;
|
2159
2191
|
endTimestamp?: string | undefined;
|
2160
2192
|
creatorAddress?: string | undefined;
|
2193
|
+
rootCampaignId?: string | undefined;
|
2194
|
+
parentCampaignId?: string | undefined;
|
2161
2195
|
chainId?: number | undefined;
|
2162
2196
|
creatorId?: string | undefined;
|
2163
2197
|
mainParameter?: string | undefined;
|
@@ -3356,6 +3390,7 @@ declare const eden: {
|
|
3356
3390
|
};
|
3357
3391
|
breakdowns: {
|
3358
3392
|
campaignId: string;
|
3393
|
+
subCampaignId: string | undefined;
|
3359
3394
|
opportunity: {
|
3360
3395
|
Chain: {
|
3361
3396
|
name: string;
|
@@ -3470,6 +3505,7 @@ declare const eden: {
|
|
3470
3505
|
};
|
3471
3506
|
breakdowns: {
|
3472
3507
|
campaignId: string;
|
3508
|
+
subCampaignId: string | undefined;
|
3473
3509
|
opportunity: {
|
3474
3510
|
Chain: {
|
3475
3511
|
name: string;
|
@@ -3542,6 +3578,7 @@ declare const eden: {
|
|
3542
3578
|
}, "breakdowns"> & {
|
3543
3579
|
breakdowns: {
|
3544
3580
|
campaignId: string;
|
3581
|
+
subCampaignId: string | undefined;
|
3545
3582
|
reason: string;
|
3546
3583
|
pending: string;
|
3547
3584
|
amount: string;
|
@@ -5951,6 +5988,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5951
5988
|
};
|
5952
5989
|
createdAt: string;
|
5953
5990
|
description: string | undefined;
|
5991
|
+
parentCampaignId: string | undefined;
|
5992
|
+
rootCampaignId: string | undefined;
|
5954
5993
|
Opportunity: {
|
5955
5994
|
status: import("@db/api").$Enums.Status;
|
5956
5995
|
type: string;
|
@@ -6289,6 +6328,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6289
6328
|
startTimestamp?: string | undefined;
|
6290
6329
|
endTimestamp?: string | undefined;
|
6291
6330
|
creatorAddress?: string | undefined;
|
6331
|
+
rootCampaignId?: string | undefined;
|
6332
|
+
parentCampaignId?: string | undefined;
|
6292
6333
|
chainId?: number | undefined;
|
6293
6334
|
creatorId?: string | undefined;
|
6294
6335
|
mainParameter?: string | undefined;
|
@@ -6399,6 +6440,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6399
6440
|
creatorId?: string | null | undefined;
|
6400
6441
|
address: string;
|
6401
6442
|
} | undefined;
|
6443
|
+
rootCampaignId?: string | undefined;
|
6444
|
+
parentCampaignId?: string | undefined;
|
6402
6445
|
campaignStatus?: {
|
6403
6446
|
error?: string | undefined;
|
6404
6447
|
details?: any;
|
@@ -6571,6 +6614,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6571
6614
|
creatorId?: string | null | undefined;
|
6572
6615
|
address: string;
|
6573
6616
|
} | undefined;
|
6617
|
+
rootCampaignId?: string | undefined;
|
6618
|
+
parentCampaignId?: string | undefined;
|
6574
6619
|
campaignStatus?: {
|
6575
6620
|
error?: string | undefined;
|
6576
6621
|
details?: any;
|
@@ -6768,121 +6813,127 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6768
6813
|
v4: {
|
6769
6814
|
campaigns: {
|
6770
6815
|
engine: {
|
6771
|
-
|
6772
|
-
|
6773
|
-
|
6774
|
-
|
6775
|
-
|
6776
|
-
|
6777
|
-
|
6778
|
-
|
6779
|
-
|
6780
|
-
|
6781
|
-
|
6782
|
-
startTimestamp: string;
|
6783
|
-
endTimestamp: string;
|
6784
|
-
chainId: number;
|
6785
|
-
rewardTokenAddress: string;
|
6786
|
-
opportunityIdentifier: string;
|
6787
|
-
};
|
6788
|
-
params: {};
|
6789
|
-
query: unknown;
|
6790
|
-
headers: {
|
6791
|
-
authorization: string;
|
6792
|
-
};
|
6793
|
-
response: {
|
6794
|
-
200: {
|
6795
|
-
type: string;
|
6796
|
-
description: string | null;
|
6797
|
-
id: string;
|
6798
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
6799
|
-
subType: number | null;
|
6816
|
+
index: {
|
6817
|
+
post: {
|
6818
|
+
body: {
|
6819
|
+
tags?: string[] | undefined;
|
6820
|
+
identifier?: string | undefined;
|
6821
|
+
subType?: number | undefined;
|
6822
|
+
rootCampaignId?: string | undefined;
|
6823
|
+
parentCampaignId?: string | undefined;
|
6824
|
+
type: number;
|
6825
|
+
params: string;
|
6826
|
+
creator: string;
|
6800
6827
|
computeChainId: number;
|
6801
|
-
distributionChainId: number;
|
6802
6828
|
campaignId: string;
|
6803
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
6804
|
-
rewardTokenId: string;
|
6805
6829
|
amount: string;
|
6806
|
-
|
6807
|
-
|
6808
|
-
|
6809
|
-
|
6810
|
-
|
6811
|
-
|
6812
|
-
|
6813
|
-
|
6814
|
-
|
6815
|
-
|
6830
|
+
startTimestamp: string;
|
6831
|
+
endTimestamp: string;
|
6832
|
+
chainId: number;
|
6833
|
+
rewardTokenAddress: string;
|
6834
|
+
opportunityIdentifier: string;
|
6835
|
+
};
|
6836
|
+
params: {};
|
6837
|
+
query: unknown;
|
6838
|
+
headers: {
|
6839
|
+
authorization: string;
|
6840
|
+
};
|
6841
|
+
response: {
|
6842
|
+
200: {
|
6843
|
+
type: string;
|
6844
|
+
description: string | null;
|
6816
6845
|
id: string;
|
6817
|
-
|
6818
|
-
|
6819
|
-
|
6820
|
-
|
6821
|
-
|
6822
|
-
|
6823
|
-
|
6824
|
-
|
6825
|
-
|
6826
|
-
|
6827
|
-
|
6828
|
-
|
6829
|
-
|
6830
|
-
|
6846
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
6847
|
+
subType: number | null;
|
6848
|
+
computeChainId: number;
|
6849
|
+
distributionChainId: number;
|
6850
|
+
campaignId: string;
|
6851
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
6852
|
+
rewardTokenId: string;
|
6853
|
+
amount: string;
|
6854
|
+
opportunityId: string;
|
6855
|
+
startTimestamp: bigint;
|
6856
|
+
endTimestamp: bigint;
|
6857
|
+
creatorAddress: string;
|
6858
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
6859
|
+
createdAt: Date;
|
6860
|
+
rootCampaignId: string | null;
|
6861
|
+
parentCampaignId: string | null;
|
6862
|
+
} | {
|
6863
|
+
Tokens: {
|
6864
|
+
symbol: string;
|
6865
|
+
name: string | null;
|
6866
|
+
id: string;
|
6867
|
+
icon: string;
|
6868
|
+
address: string;
|
6869
|
+
chainId: number;
|
6870
|
+
decimals: number;
|
6871
|
+
displaySymbol: string;
|
6872
|
+
verified: boolean;
|
6873
|
+
isTest: boolean;
|
6874
|
+
isPoint: boolean;
|
6875
|
+
isPreTGE: boolean;
|
6876
|
+
isNative: boolean;
|
6877
|
+
price: number | null;
|
6878
|
+
}[];
|
6879
|
+
Protocols: {
|
6880
|
+
url: string;
|
6881
|
+
name: string;
|
6882
|
+
description: string;
|
6883
|
+
id: string;
|
6884
|
+
tags: string[];
|
6885
|
+
icon: string;
|
6886
|
+
}[];
|
6887
|
+
status: import("@db/api").$Enums.Status;
|
6888
|
+
type: string;
|
6831
6889
|
name: string;
|
6832
6890
|
description: string;
|
6833
6891
|
id: string;
|
6834
6892
|
tags: string[];
|
6835
|
-
|
6836
|
-
|
6837
|
-
|
6838
|
-
|
6839
|
-
|
6840
|
-
|
6841
|
-
|
6842
|
-
|
6843
|
-
|
6844
|
-
|
6845
|
-
|
6846
|
-
|
6847
|
-
|
6848
|
-
depositUrl: string | null;
|
6849
|
-
explorerAddress: string | null;
|
6850
|
-
mainProtocolId: string | null;
|
6851
|
-
tvl: number;
|
6852
|
-
apr: number;
|
6853
|
-
dailyRewards: number;
|
6854
|
-
lastCampaignCreatedAt: Date;
|
6855
|
-
} | {
|
6856
|
-
id: string;
|
6857
|
-
chainId: number;
|
6858
|
-
type: string;
|
6859
|
-
identifier: string;
|
6860
|
-
name: string;
|
6861
|
-
status: "PAST" | "LIVE" | "SOON";
|
6862
|
-
action: any;
|
6863
|
-
tokens: ({
|
6864
|
-
symbol: string;
|
6865
|
-
name: string | null;
|
6893
|
+
identifier: string;
|
6894
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
6895
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
6896
|
+
chainId: number;
|
6897
|
+
howToSteps: string[];
|
6898
|
+
depositUrl: string | null;
|
6899
|
+
explorerAddress: string | null;
|
6900
|
+
mainProtocolId: string | null;
|
6901
|
+
tvl: number;
|
6902
|
+
apr: number;
|
6903
|
+
dailyRewards: number;
|
6904
|
+
lastCampaignCreatedAt: Date;
|
6905
|
+
} | {
|
6866
6906
|
id: string;
|
6867
|
-
icon: string;
|
6868
|
-
address: string;
|
6869
6907
|
chainId: number;
|
6870
|
-
|
6871
|
-
|
6872
|
-
|
6873
|
-
|
6874
|
-
|
6875
|
-
|
6876
|
-
|
6877
|
-
|
6878
|
-
|
6879
|
-
|
6880
|
-
|
6881
|
-
|
6882
|
-
|
6883
|
-
|
6884
|
-
|
6885
|
-
|
6908
|
+
type: string;
|
6909
|
+
identifier: string;
|
6910
|
+
name: string;
|
6911
|
+
status: "PAST" | "LIVE" | "SOON";
|
6912
|
+
action: any;
|
6913
|
+
tokens: ({
|
6914
|
+
symbol: string;
|
6915
|
+
name: string | null;
|
6916
|
+
id: string;
|
6917
|
+
icon: string;
|
6918
|
+
address: string;
|
6919
|
+
chainId: number;
|
6920
|
+
decimals: number;
|
6921
|
+
verified: boolean;
|
6922
|
+
isTest: boolean;
|
6923
|
+
isPoint: boolean;
|
6924
|
+
isPreTGE: boolean;
|
6925
|
+
isNative: boolean;
|
6926
|
+
} & {
|
6927
|
+
price?: number | null | undefined;
|
6928
|
+
})[];
|
6929
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
6930
|
+
description: string;
|
6931
|
+
howToSteps: string[];
|
6932
|
+
depositUrl: string | undefined;
|
6933
|
+
explorerAddress: string | undefined;
|
6934
|
+
tags: string[];
|
6935
|
+
} | undefined;
|
6936
|
+
};
|
6886
6937
|
};
|
6887
6938
|
};
|
6888
6939
|
};
|
@@ -6972,6 +7023,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6972
7023
|
creatorAddress: string;
|
6973
7024
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
6974
7025
|
createdAt: Date;
|
7026
|
+
rootCampaignId: string | null;
|
7027
|
+
parentCampaignId: string | null;
|
6975
7028
|
};
|
6976
7029
|
};
|
6977
7030
|
};
|
@@ -7011,6 +7064,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7011
7064
|
startTimestamp?: string | undefined;
|
7012
7065
|
endTimestamp?: string | undefined;
|
7013
7066
|
creatorAddress?: string | undefined;
|
7067
|
+
rootCampaignId?: string | undefined;
|
7068
|
+
parentCampaignId?: string | undefined;
|
7014
7069
|
chainId?: number | undefined;
|
7015
7070
|
creatorId?: string | undefined;
|
7016
7071
|
mainParameter?: string | undefined;
|
@@ -7071,6 +7126,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7071
7126
|
};
|
7072
7127
|
createdAt: string;
|
7073
7128
|
description: string | undefined;
|
7129
|
+
parentCampaignId: string | undefined;
|
7130
|
+
rootCampaignId: string | undefined;
|
7074
7131
|
Opportunity: {
|
7075
7132
|
status: import("@db/api").$Enums.Status;
|
7076
7133
|
type: string;
|
@@ -7161,6 +7218,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7161
7218
|
};
|
7162
7219
|
createdAt: string;
|
7163
7220
|
description: string | undefined;
|
7221
|
+
parentCampaignId: string | undefined;
|
7222
|
+
rootCampaignId: string | undefined;
|
7164
7223
|
Opportunity: {
|
7165
7224
|
status: import("@db/api").$Enums.Status;
|
7166
7225
|
type: string;
|
@@ -7317,6 +7376,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7317
7376
|
startTimestamp?: string | undefined;
|
7318
7377
|
endTimestamp?: string | undefined;
|
7319
7378
|
creatorAddress?: string | undefined;
|
7379
|
+
rootCampaignId?: string | undefined;
|
7380
|
+
parentCampaignId?: string | undefined;
|
7320
7381
|
chainId?: number | undefined;
|
7321
7382
|
creatorId?: string | undefined;
|
7322
7383
|
mainParameter?: string | undefined;
|
@@ -7377,6 +7438,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7377
7438
|
};
|
7378
7439
|
createdAt: string;
|
7379
7440
|
description: string | undefined;
|
7441
|
+
parentCampaignId: string | undefined;
|
7442
|
+
rootCampaignId: string | undefined;
|
7380
7443
|
Opportunity: {
|
7381
7444
|
status: import("@db/api").$Enums.Status;
|
7382
7445
|
type: string;
|
@@ -7430,6 +7493,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7430
7493
|
startTimestamp?: string | undefined;
|
7431
7494
|
endTimestamp?: string | undefined;
|
7432
7495
|
creatorAddress?: string | undefined;
|
7496
|
+
rootCampaignId?: string | undefined;
|
7497
|
+
parentCampaignId?: string | undefined;
|
7433
7498
|
chainId?: number | undefined;
|
7434
7499
|
creatorId?: string | undefined;
|
7435
7500
|
mainParameter?: string | undefined;
|
@@ -7467,6 +7532,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7467
7532
|
startTimestamp?: string | undefined;
|
7468
7533
|
endTimestamp?: string | undefined;
|
7469
7534
|
creatorAddress?: string | undefined;
|
7535
|
+
rootCampaignId?: string | undefined;
|
7536
|
+
parentCampaignId?: string | undefined;
|
7470
7537
|
chainId?: number | undefined;
|
7471
7538
|
creatorId?: string | undefined;
|
7472
7539
|
mainParameter?: string | undefined;
|
@@ -7509,6 +7576,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7509
7576
|
startTimestamp?: string | undefined;
|
7510
7577
|
endTimestamp?: string | undefined;
|
7511
7578
|
creatorAddress?: string | undefined;
|
7579
|
+
rootCampaignId?: string | undefined;
|
7580
|
+
parentCampaignId?: string | undefined;
|
7512
7581
|
chainId?: number | undefined;
|
7513
7582
|
creatorId?: string | undefined;
|
7514
7583
|
mainParameter?: string | undefined;
|
@@ -7552,6 +7621,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7552
7621
|
startTimestamp?: string | undefined;
|
7553
7622
|
endTimestamp?: string | undefined;
|
7554
7623
|
creatorAddress?: string | undefined;
|
7624
|
+
rootCampaignId?: string | undefined;
|
7625
|
+
parentCampaignId?: string | undefined;
|
7555
7626
|
chainId?: number | undefined;
|
7556
7627
|
creatorId?: string | undefined;
|
7557
7628
|
mainParameter?: string | undefined;
|
@@ -7737,6 +7808,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7737
7808
|
creatorAddress: string;
|
7738
7809
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
7739
7810
|
createdAt: Date;
|
7811
|
+
rootCampaignId: string | null;
|
7812
|
+
parentCampaignId: string | null;
|
7740
7813
|
} | {
|
7741
7814
|
Tokens: {
|
7742
7815
|
symbol: string;
|
@@ -7847,6 +7920,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7847
7920
|
creatorAddress: string;
|
7848
7921
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
7849
7922
|
createdAt: Date;
|
7923
|
+
rootCampaignId: string | null;
|
7924
|
+
parentCampaignId: string | null;
|
7850
7925
|
} | {
|
7851
7926
|
Tokens: {
|
7852
7927
|
symbol: string;
|
@@ -9461,6 +9536,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9461
9536
|
};
|
9462
9537
|
breakdowns: {
|
9463
9538
|
campaignId: string;
|
9539
|
+
subCampaignId: string | undefined;
|
9464
9540
|
opportunity: {
|
9465
9541
|
Chain: {
|
9466
9542
|
name: string;
|
@@ -9586,6 +9662,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9586
9662
|
};
|
9587
9663
|
breakdowns: {
|
9588
9664
|
campaignId: string;
|
9665
|
+
subCampaignId: string | undefined;
|
9589
9666
|
opportunity: {
|
9590
9667
|
Chain: {
|
9591
9668
|
name: string;
|
@@ -9658,6 +9735,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9658
9735
|
}, "breakdowns"> & {
|
9659
9736
|
breakdowns: {
|
9660
9737
|
campaignId: string;
|
9738
|
+
subCampaignId: string | undefined;
|
9661
9739
|
reason: string;
|
9662
9740
|
pending: string;
|
9663
9741
|
amount: string;
|
@@ -12486,6 +12564,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12486
12564
|
creatorId?: string | null | undefined;
|
12487
12565
|
address: string;
|
12488
12566
|
} | undefined;
|
12567
|
+
rootCampaignId?: string | undefined;
|
12568
|
+
parentCampaignId?: string | undefined;
|
12489
12569
|
campaignStatus?: {
|
12490
12570
|
error?: string | undefined;
|
12491
12571
|
details?: any;
|
@@ -12745,6 +12825,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12745
12825
|
};
|
12746
12826
|
createdAt: string;
|
12747
12827
|
description: string | undefined;
|
12828
|
+
parentCampaignId: string | undefined;
|
12829
|
+
rootCampaignId: string | undefined;
|
12748
12830
|
Opportunity: {
|
12749
12831
|
status: import("@db/api").$Enums.Status;
|
12750
12832
|
type: string;
|
@@ -12944,6 +13026,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12944
13026
|
startTimestamp?: string | undefined;
|
12945
13027
|
endTimestamp?: string | undefined;
|
12946
13028
|
creatorAddress?: string | undefined;
|
13029
|
+
rootCampaignId?: string | undefined;
|
13030
|
+
parentCampaignId?: string | undefined;
|
12947
13031
|
chainId?: number | undefined;
|
12948
13032
|
creatorId?: string | undefined;
|
12949
13033
|
mainParameter?: string | undefined;
|
@@ -13054,6 +13138,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13054
13138
|
creatorId?: string | null | undefined;
|
13055
13139
|
address: string;
|
13056
13140
|
} | undefined;
|
13141
|
+
rootCampaignId?: string | undefined;
|
13142
|
+
parentCampaignId?: string | undefined;
|
13057
13143
|
campaignStatus?: {
|
13058
13144
|
error?: string | undefined;
|
13059
13145
|
details?: any;
|
@@ -13274,6 +13360,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13274
13360
|
};
|
13275
13361
|
createdAt: string;
|
13276
13362
|
description: string | undefined;
|
13363
|
+
parentCampaignId: string | undefined;
|
13364
|
+
rootCampaignId: string | undefined;
|
13277
13365
|
Opportunity: {
|
13278
13366
|
status: import("@db/api").$Enums.Status;
|
13279
13367
|
type: string;
|
@@ -13326,121 +13414,127 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13326
13414
|
};
|
13327
13415
|
}) & {
|
13328
13416
|
engine: {
|
13329
|
-
|
13330
|
-
|
13331
|
-
|
13332
|
-
|
13333
|
-
|
13334
|
-
|
13335
|
-
|
13336
|
-
|
13337
|
-
|
13338
|
-
|
13339
|
-
startTimestamp: string;
|
13340
|
-
endTimestamp: string;
|
13341
|
-
chainId: number;
|
13342
|
-
rewardTokenAddress: string;
|
13343
|
-
opportunityIdentifier: string;
|
13344
|
-
}, options: {
|
13345
|
-
headers: {
|
13346
|
-
authorization: string;
|
13347
|
-
};
|
13348
|
-
query?: Record<string, unknown> | undefined;
|
13349
|
-
fetch?: RequestInit | undefined;
|
13350
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
13351
|
-
200: {
|
13352
|
-
type: string;
|
13353
|
-
description: string | null;
|
13354
|
-
id: string;
|
13355
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
13356
|
-
subType: number | null;
|
13417
|
+
index: {
|
13418
|
+
post: (body: {
|
13419
|
+
tags?: string[] | undefined;
|
13420
|
+
identifier?: string | undefined;
|
13421
|
+
subType?: number | undefined;
|
13422
|
+
rootCampaignId?: string | undefined;
|
13423
|
+
parentCampaignId?: string | undefined;
|
13424
|
+
type: number;
|
13425
|
+
params: string;
|
13426
|
+
creator: string;
|
13357
13427
|
computeChainId: number;
|
13358
|
-
distributionChainId: number;
|
13359
13428
|
campaignId: string;
|
13360
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
13361
|
-
rewardTokenId: string;
|
13362
13429
|
amount: string;
|
13363
|
-
|
13364
|
-
|
13365
|
-
|
13366
|
-
|
13367
|
-
|
13368
|
-
|
13369
|
-
|
13370
|
-
|
13371
|
-
|
13372
|
-
|
13430
|
+
startTimestamp: string;
|
13431
|
+
endTimestamp: string;
|
13432
|
+
chainId: number;
|
13433
|
+
rewardTokenAddress: string;
|
13434
|
+
opportunityIdentifier: string;
|
13435
|
+
}, options: {
|
13436
|
+
headers: {
|
13437
|
+
authorization: string;
|
13438
|
+
};
|
13439
|
+
query?: Record<string, unknown> | undefined;
|
13440
|
+
fetch?: RequestInit | undefined;
|
13441
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
13442
|
+
200: {
|
13443
|
+
type: string;
|
13444
|
+
description: string | null;
|
13373
13445
|
id: string;
|
13374
|
-
|
13375
|
-
|
13376
|
-
|
13377
|
-
|
13378
|
-
|
13379
|
-
|
13380
|
-
|
13381
|
-
|
13382
|
-
|
13383
|
-
|
13384
|
-
|
13385
|
-
|
13386
|
-
|
13387
|
-
|
13446
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
13447
|
+
subType: number | null;
|
13448
|
+
computeChainId: number;
|
13449
|
+
distributionChainId: number;
|
13450
|
+
campaignId: string;
|
13451
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
13452
|
+
rewardTokenId: string;
|
13453
|
+
amount: string;
|
13454
|
+
opportunityId: string;
|
13455
|
+
startTimestamp: bigint;
|
13456
|
+
endTimestamp: bigint;
|
13457
|
+
creatorAddress: string;
|
13458
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
13459
|
+
createdAt: Date;
|
13460
|
+
rootCampaignId: string | null;
|
13461
|
+
parentCampaignId: string | null;
|
13462
|
+
} | {
|
13463
|
+
Tokens: {
|
13464
|
+
symbol: string;
|
13465
|
+
name: string | null;
|
13466
|
+
id: string;
|
13467
|
+
icon: string;
|
13468
|
+
address: string;
|
13469
|
+
chainId: number;
|
13470
|
+
decimals: number;
|
13471
|
+
displaySymbol: string;
|
13472
|
+
verified: boolean;
|
13473
|
+
isTest: boolean;
|
13474
|
+
isPoint: boolean;
|
13475
|
+
isPreTGE: boolean;
|
13476
|
+
isNative: boolean;
|
13477
|
+
price: number | null;
|
13478
|
+
}[];
|
13479
|
+
Protocols: {
|
13480
|
+
url: string;
|
13481
|
+
name: string;
|
13482
|
+
description: string;
|
13483
|
+
id: string;
|
13484
|
+
tags: string[];
|
13485
|
+
icon: string;
|
13486
|
+
}[];
|
13487
|
+
status: import("@db/api").$Enums.Status;
|
13488
|
+
type: string;
|
13388
13489
|
name: string;
|
13389
13490
|
description: string;
|
13390
13491
|
id: string;
|
13391
13492
|
tags: string[];
|
13392
|
-
|
13393
|
-
|
13394
|
-
|
13395
|
-
|
13396
|
-
|
13397
|
-
|
13398
|
-
|
13399
|
-
|
13400
|
-
|
13401
|
-
|
13402
|
-
|
13403
|
-
|
13404
|
-
|
13405
|
-
depositUrl: string | null;
|
13406
|
-
explorerAddress: string | null;
|
13407
|
-
mainProtocolId: string | null;
|
13408
|
-
tvl: number;
|
13409
|
-
apr: number;
|
13410
|
-
dailyRewards: number;
|
13411
|
-
lastCampaignCreatedAt: Date;
|
13412
|
-
} | {
|
13413
|
-
id: string;
|
13414
|
-
chainId: number;
|
13415
|
-
type: string;
|
13416
|
-
identifier: string;
|
13417
|
-
name: string;
|
13418
|
-
status: "PAST" | "LIVE" | "SOON";
|
13419
|
-
action: any;
|
13420
|
-
tokens: ({
|
13421
|
-
symbol: string;
|
13422
|
-
name: string | null;
|
13493
|
+
identifier: string;
|
13494
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
13495
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
13496
|
+
chainId: number;
|
13497
|
+
howToSteps: string[];
|
13498
|
+
depositUrl: string | null;
|
13499
|
+
explorerAddress: string | null;
|
13500
|
+
mainProtocolId: string | null;
|
13501
|
+
tvl: number;
|
13502
|
+
apr: number;
|
13503
|
+
dailyRewards: number;
|
13504
|
+
lastCampaignCreatedAt: Date;
|
13505
|
+
} | {
|
13423
13506
|
id: string;
|
13424
|
-
icon: string;
|
13425
|
-
address: string;
|
13426
13507
|
chainId: number;
|
13427
|
-
|
13428
|
-
|
13429
|
-
|
13430
|
-
|
13431
|
-
|
13432
|
-
|
13433
|
-
|
13434
|
-
|
13435
|
-
|
13436
|
-
|
13437
|
-
|
13438
|
-
|
13439
|
-
|
13440
|
-
|
13441
|
-
|
13442
|
-
|
13443
|
-
|
13508
|
+
type: string;
|
13509
|
+
identifier: string;
|
13510
|
+
name: string;
|
13511
|
+
status: "PAST" | "LIVE" | "SOON";
|
13512
|
+
action: any;
|
13513
|
+
tokens: ({
|
13514
|
+
symbol: string;
|
13515
|
+
name: string | null;
|
13516
|
+
id: string;
|
13517
|
+
icon: string;
|
13518
|
+
address: string;
|
13519
|
+
chainId: number;
|
13520
|
+
decimals: number;
|
13521
|
+
verified: boolean;
|
13522
|
+
isTest: boolean;
|
13523
|
+
isPoint: boolean;
|
13524
|
+
isPreTGE: boolean;
|
13525
|
+
isNative: boolean;
|
13526
|
+
} & {
|
13527
|
+
price?: number | null | undefined;
|
13528
|
+
})[];
|
13529
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "termmax" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
|
13530
|
+
description: string;
|
13531
|
+
howToSteps: string[];
|
13532
|
+
depositUrl: string | undefined;
|
13533
|
+
explorerAddress: string | undefined;
|
13534
|
+
tags: string[];
|
13535
|
+
} | undefined;
|
13536
|
+
}>>;
|
13537
|
+
};
|
13444
13538
|
};
|
13445
13539
|
opportunity: {
|
13446
13540
|
patch: (body: {
|
@@ -13517,6 +13611,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13517
13611
|
creatorAddress: string;
|
13518
13612
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
13519
13613
|
createdAt: Date;
|
13614
|
+
rootCampaignId: string | null;
|
13615
|
+
parentCampaignId: string | null;
|
13520
13616
|
};
|
13521
13617
|
}>>;
|
13522
13618
|
};
|
@@ -13548,6 +13644,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13548
13644
|
startTimestamp?: string | undefined;
|
13549
13645
|
endTimestamp?: string | undefined;
|
13550
13646
|
creatorAddress?: string | undefined;
|
13647
|
+
rootCampaignId?: string | undefined;
|
13648
|
+
parentCampaignId?: string | undefined;
|
13551
13649
|
chainId?: number | undefined;
|
13552
13650
|
creatorId?: string | undefined;
|
13553
13651
|
mainParameter?: string | undefined;
|
@@ -13608,6 +13706,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13608
13706
|
};
|
13609
13707
|
createdAt: string;
|
13610
13708
|
description: string | undefined;
|
13709
|
+
parentCampaignId: string | undefined;
|
13710
|
+
rootCampaignId: string | undefined;
|
13611
13711
|
Opportunity: {
|
13612
13712
|
status: import("@db/api").$Enums.Status;
|
13613
13713
|
type: string;
|
@@ -13716,6 +13816,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13716
13816
|
startTimestamp?: string | undefined;
|
13717
13817
|
endTimestamp?: string | undefined;
|
13718
13818
|
creatorAddress?: string | undefined;
|
13819
|
+
rootCampaignId?: string | undefined;
|
13820
|
+
parentCampaignId?: string | undefined;
|
13719
13821
|
chainId?: number | undefined;
|
13720
13822
|
creatorId?: string | undefined;
|
13721
13823
|
mainParameter?: string | undefined;
|
@@ -13749,6 +13851,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13749
13851
|
startTimestamp?: string | undefined;
|
13750
13852
|
endTimestamp?: string | undefined;
|
13751
13853
|
creatorAddress?: string | undefined;
|
13854
|
+
rootCampaignId?: string | undefined;
|
13855
|
+
parentCampaignId?: string | undefined;
|
13752
13856
|
chainId?: number | undefined;
|
13753
13857
|
creatorId?: string | undefined;
|
13754
13858
|
mainParameter?: string | undefined;
|
@@ -13785,6 +13889,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13785
13889
|
startTimestamp?: string | undefined;
|
13786
13890
|
endTimestamp?: string | undefined;
|
13787
13891
|
creatorAddress?: string | undefined;
|
13892
|
+
rootCampaignId?: string | undefined;
|
13893
|
+
parentCampaignId?: string | undefined;
|
13788
13894
|
chainId?: number | undefined;
|
13789
13895
|
creatorId?: string | undefined;
|
13790
13896
|
mainParameter?: string | undefined;
|
@@ -13928,6 +14034,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13928
14034
|
creatorAddress: string;
|
13929
14035
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
13930
14036
|
createdAt: Date;
|
14037
|
+
rootCampaignId: string | null;
|
14038
|
+
parentCampaignId: string | null;
|
13931
14039
|
} | {
|
13932
14040
|
Tokens: {
|
13933
14041
|
symbol: string;
|
@@ -14031,6 +14139,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14031
14139
|
creatorAddress: string;
|
14032
14140
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14033
14141
|
createdAt: Date;
|
14142
|
+
rootCampaignId: string | null;
|
14143
|
+
parentCampaignId: string | null;
|
14034
14144
|
} | {
|
14035
14145
|
Tokens: {
|
14036
14146
|
symbol: string;
|
@@ -14127,6 +14237,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14127
14237
|
startTimestamp?: string | undefined;
|
14128
14238
|
endTimestamp?: string | undefined;
|
14129
14239
|
creatorAddress?: string | undefined;
|
14240
|
+
rootCampaignId?: string | undefined;
|
14241
|
+
parentCampaignId?: string | undefined;
|
14130
14242
|
chainId?: number | undefined;
|
14131
14243
|
creatorId?: string | undefined;
|
14132
14244
|
mainParameter?: string | undefined;
|
@@ -15325,6 +15437,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15325
15437
|
};
|
15326
15438
|
breakdowns: {
|
15327
15439
|
campaignId: string;
|
15440
|
+
subCampaignId: string | undefined;
|
15328
15441
|
opportunity: {
|
15329
15442
|
Chain: {
|
15330
15443
|
name: string;
|
@@ -15439,6 +15552,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15439
15552
|
};
|
15440
15553
|
breakdowns: {
|
15441
15554
|
campaignId: string;
|
15555
|
+
subCampaignId: string | undefined;
|
15442
15556
|
opportunity: {
|
15443
15557
|
Chain: {
|
15444
15558
|
name: string;
|
@@ -15511,6 +15625,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15511
15625
|
}, "breakdowns"> & {
|
15512
15626
|
breakdowns: {
|
15513
15627
|
campaignId: string;
|
15628
|
+
subCampaignId: string | undefined;
|
15514
15629
|
reason: string;
|
15515
15630
|
pending: string;
|
15516
15631
|
amount: string;
|