@merkl/api 0.20.51 → 0.20.52
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 +909 -905
- package/dist/src/engine/erc20SubTypeProcessors/helpers/tokenType.d.ts +2 -1
- package/dist/src/engine/erc20SubTypeProcessors/helpers/tokenType.js +5 -0
- package/dist/src/engine/erc20SubTypeProcessors/implementations/processorMapping.js +1 -0
- package/dist/src/engine/erc20SubTypeProcessors/subtypesRound1.js +2 -0
- package/dist/src/engine/opportunityMetadata/implementations/Erc20.js +1 -1
- package/dist/src/index.d.ts +174 -170
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +0 -169
- package/dist/src/modules/v4/campaign/campaign.controller.js +1 -65
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +193 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.js +71 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +67 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +67 -0
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +1 -1
- package/dist/src/modules/v4/protocol/protocol.controller.js +2 -2
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -9
- package/dist/src/modules/v4/protocol/protocol.repository.js +1 -4
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +1 -2
- package/dist/src/modules/v4/protocol/protocol.service.js +2 -6
- package/dist/src/modules/v4/router.d.ts +174 -170
- package/dist/src/modules/v4/router.js +2 -0
- package/dist/src/utils/decodeCalls.js +10 -1
- package/dist/src/utils/encodeCalls.js +3 -0
- package/dist/src/utils/generateCardName.js +5 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -1249,147 +1249,6 @@ declare const eden: {
|
|
1249
1249
|
};
|
1250
1250
|
}>>;
|
1251
1251
|
};
|
1252
|
-
"dry-run": ((params: {
|
1253
|
-
campaignId: string | number;
|
1254
|
-
}) => {
|
1255
|
-
"dynamic-data": {
|
1256
|
-
get: (options: {
|
1257
|
-
headers: {
|
1258
|
-
authorization: string;
|
1259
|
-
};
|
1260
|
-
query?: Record<string, unknown> | undefined;
|
1261
|
-
fetch?: RequestInit | undefined;
|
1262
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1263
|
-
200: unknown[];
|
1264
|
-
}>>;
|
1265
|
-
};
|
1266
|
-
}) & {
|
1267
|
-
"dynamic-data": {
|
1268
|
-
list: {
|
1269
|
-
post: (body: string[], options: {
|
1270
|
-
headers: {
|
1271
|
-
authorization: string;
|
1272
|
-
};
|
1273
|
-
query?: Record<string, unknown> | undefined;
|
1274
|
-
fetch?: RequestInit | undefined;
|
1275
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1276
|
-
200: unknown[];
|
1277
|
-
}>>;
|
1278
|
-
};
|
1279
|
-
post: (body: {
|
1280
|
-
id?: string | undefined;
|
1281
|
-
subType?: number | undefined;
|
1282
|
-
campaignId?: string | undefined;
|
1283
|
-
amount?: string | undefined;
|
1284
|
-
creatorAddress?: string | undefined;
|
1285
|
-
type: string;
|
1286
|
-
params: any;
|
1287
|
-
computeChainId: number;
|
1288
|
-
distributionChainId: number;
|
1289
|
-
startTimestamp: number;
|
1290
|
-
endTimestamp: number;
|
1291
|
-
rewardToken: string;
|
1292
|
-
}, options: {
|
1293
|
-
headers: {
|
1294
|
-
authorization: string;
|
1295
|
-
};
|
1296
|
-
query?: Record<string, unknown> | undefined;
|
1297
|
-
fetch?: RequestInit | undefined;
|
1298
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1299
|
-
200: unknown[];
|
1300
|
-
}>>;
|
1301
|
-
};
|
1302
|
-
metadata: {
|
1303
|
-
post: (body: {
|
1304
|
-
id?: string | undefined;
|
1305
|
-
subType?: number | undefined;
|
1306
|
-
campaignId?: string | undefined;
|
1307
|
-
amount?: string | undefined;
|
1308
|
-
creatorAddress?: string | undefined;
|
1309
|
-
type: string;
|
1310
|
-
params: any;
|
1311
|
-
computeChainId: number;
|
1312
|
-
distributionChainId: number;
|
1313
|
-
startTimestamp: number;
|
1314
|
-
endTimestamp: number;
|
1315
|
-
rewardToken: string;
|
1316
|
-
}, options: {
|
1317
|
-
headers: {
|
1318
|
-
authorization: string;
|
1319
|
-
};
|
1320
|
-
query?: Record<string, unknown> | undefined;
|
1321
|
-
fetch?: RequestInit | undefined;
|
1322
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1323
|
-
200: {
|
1324
|
-
id: string;
|
1325
|
-
chainId: number;
|
1326
|
-
type: string;
|
1327
|
-
identifier: string;
|
1328
|
-
name: string;
|
1329
|
-
status: "PAST" | "LIVE" | "SOON";
|
1330
|
-
action: any;
|
1331
|
-
tokens: ({
|
1332
|
-
symbol: string;
|
1333
|
-
id: string;
|
1334
|
-
name: string | null;
|
1335
|
-
icon: string;
|
1336
|
-
address: string;
|
1337
|
-
chainId: number;
|
1338
|
-
decimals: number;
|
1339
|
-
verified: boolean;
|
1340
|
-
isTest: boolean;
|
1341
|
-
isPoint: boolean;
|
1342
|
-
isNative: boolean;
|
1343
|
-
} & {
|
1344
|
-
price?: number | null | undefined;
|
1345
|
-
})[];
|
1346
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
1347
|
-
depositUrl: any;
|
1348
|
-
explorerAddress: string | undefined;
|
1349
|
-
tags: string[];
|
1350
|
-
};
|
1351
|
-
}>>;
|
1352
|
-
get: (options: {
|
1353
|
-
headers: {
|
1354
|
-
authorization: string;
|
1355
|
-
};
|
1356
|
-
query: {
|
1357
|
-
campaignId: string;
|
1358
|
-
distributionChain: number;
|
1359
|
-
};
|
1360
|
-
fetch?: RequestInit | undefined;
|
1361
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1362
|
-
200: {
|
1363
|
-
id: string;
|
1364
|
-
chainId: number;
|
1365
|
-
type: string;
|
1366
|
-
identifier: string;
|
1367
|
-
name: string;
|
1368
|
-
status: "PAST" | "LIVE" | "SOON";
|
1369
|
-
action: any;
|
1370
|
-
tokens: ({
|
1371
|
-
symbol: string;
|
1372
|
-
id: string;
|
1373
|
-
name: string | null;
|
1374
|
-
icon: string;
|
1375
|
-
address: string;
|
1376
|
-
chainId: number;
|
1377
|
-
decimals: number;
|
1378
|
-
verified: boolean;
|
1379
|
-
isTest: boolean;
|
1380
|
-
isPoint: boolean;
|
1381
|
-
isNative: boolean;
|
1382
|
-
} & {
|
1383
|
-
price?: number | null | undefined;
|
1384
|
-
})[];
|
1385
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
1386
|
-
depositUrl: any;
|
1387
|
-
explorerAddress: string | undefined;
|
1388
|
-
tags: string[];
|
1389
|
-
};
|
1390
|
-
}>>;
|
1391
|
-
};
|
1392
|
-
};
|
1393
1252
|
index: {
|
1394
1253
|
get: (options: {
|
1395
1254
|
headers?: Record<string, unknown> | undefined;
|
@@ -1657,6 +1516,147 @@ declare const eden: {
|
|
1657
1516
|
}>>;
|
1658
1517
|
};
|
1659
1518
|
};
|
1519
|
+
"dry-run": ((params: {
|
1520
|
+
campaignId: string | number;
|
1521
|
+
}) => {
|
1522
|
+
"dynamic-data": {
|
1523
|
+
get: (options: {
|
1524
|
+
headers: {
|
1525
|
+
authorization: string;
|
1526
|
+
};
|
1527
|
+
query?: Record<string, unknown> | undefined;
|
1528
|
+
fetch?: RequestInit | undefined;
|
1529
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1530
|
+
200: unknown[];
|
1531
|
+
}>>;
|
1532
|
+
};
|
1533
|
+
}) & {
|
1534
|
+
"dynamic-data": {
|
1535
|
+
list: {
|
1536
|
+
post: (body: string[], options: {
|
1537
|
+
headers: {
|
1538
|
+
authorization: string;
|
1539
|
+
};
|
1540
|
+
query?: Record<string, unknown> | undefined;
|
1541
|
+
fetch?: RequestInit | undefined;
|
1542
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1543
|
+
200: unknown[];
|
1544
|
+
}>>;
|
1545
|
+
};
|
1546
|
+
post: (body: {
|
1547
|
+
id?: string | undefined;
|
1548
|
+
subType?: number | undefined;
|
1549
|
+
campaignId?: string | undefined;
|
1550
|
+
amount?: string | undefined;
|
1551
|
+
creatorAddress?: string | undefined;
|
1552
|
+
type: string;
|
1553
|
+
params: any;
|
1554
|
+
computeChainId: number;
|
1555
|
+
distributionChainId: number;
|
1556
|
+
startTimestamp: number;
|
1557
|
+
endTimestamp: number;
|
1558
|
+
rewardToken: string;
|
1559
|
+
}, options: {
|
1560
|
+
headers: {
|
1561
|
+
authorization: string;
|
1562
|
+
};
|
1563
|
+
query?: Record<string, unknown> | undefined;
|
1564
|
+
fetch?: RequestInit | undefined;
|
1565
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1566
|
+
200: unknown[];
|
1567
|
+
}>>;
|
1568
|
+
};
|
1569
|
+
metadata: {
|
1570
|
+
post: (body: {
|
1571
|
+
id?: string | undefined;
|
1572
|
+
subType?: number | undefined;
|
1573
|
+
campaignId?: string | undefined;
|
1574
|
+
amount?: string | undefined;
|
1575
|
+
creatorAddress?: string | undefined;
|
1576
|
+
type: string;
|
1577
|
+
params: any;
|
1578
|
+
computeChainId: number;
|
1579
|
+
distributionChainId: number;
|
1580
|
+
startTimestamp: number;
|
1581
|
+
endTimestamp: number;
|
1582
|
+
rewardToken: string;
|
1583
|
+
}, options: {
|
1584
|
+
headers: {
|
1585
|
+
authorization: string;
|
1586
|
+
};
|
1587
|
+
query?: Record<string, unknown> | undefined;
|
1588
|
+
fetch?: RequestInit | undefined;
|
1589
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1590
|
+
200: {
|
1591
|
+
id: string;
|
1592
|
+
chainId: number;
|
1593
|
+
type: string;
|
1594
|
+
identifier: string;
|
1595
|
+
name: string;
|
1596
|
+
status: "PAST" | "LIVE" | "SOON";
|
1597
|
+
action: any;
|
1598
|
+
tokens: ({
|
1599
|
+
symbol: string;
|
1600
|
+
id: string;
|
1601
|
+
name: string | null;
|
1602
|
+
icon: string;
|
1603
|
+
address: string;
|
1604
|
+
chainId: number;
|
1605
|
+
decimals: number;
|
1606
|
+
verified: boolean;
|
1607
|
+
isTest: boolean;
|
1608
|
+
isPoint: boolean;
|
1609
|
+
isNative: boolean;
|
1610
|
+
} & {
|
1611
|
+
price?: number | null | undefined;
|
1612
|
+
})[];
|
1613
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
1614
|
+
depositUrl: any;
|
1615
|
+
explorerAddress: string | undefined;
|
1616
|
+
tags: string[];
|
1617
|
+
};
|
1618
|
+
}>>;
|
1619
|
+
get: (options: {
|
1620
|
+
headers: {
|
1621
|
+
authorization: string;
|
1622
|
+
};
|
1623
|
+
query: {
|
1624
|
+
campaignId: string;
|
1625
|
+
distributionChain: number;
|
1626
|
+
};
|
1627
|
+
fetch?: RequestInit | undefined;
|
1628
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1629
|
+
200: {
|
1630
|
+
id: string;
|
1631
|
+
chainId: number;
|
1632
|
+
type: string;
|
1633
|
+
identifier: string;
|
1634
|
+
name: string;
|
1635
|
+
status: "PAST" | "LIVE" | "SOON";
|
1636
|
+
action: any;
|
1637
|
+
tokens: ({
|
1638
|
+
symbol: string;
|
1639
|
+
id: string;
|
1640
|
+
name: string | null;
|
1641
|
+
icon: string;
|
1642
|
+
address: string;
|
1643
|
+
chainId: number;
|
1644
|
+
decimals: number;
|
1645
|
+
verified: boolean;
|
1646
|
+
isTest: boolean;
|
1647
|
+
isPoint: boolean;
|
1648
|
+
isNative: boolean;
|
1649
|
+
} & {
|
1650
|
+
price?: number | null | undefined;
|
1651
|
+
})[];
|
1652
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
1653
|
+
depositUrl: any;
|
1654
|
+
explorerAddress: string | undefined;
|
1655
|
+
tags: string[];
|
1656
|
+
};
|
1657
|
+
}>>;
|
1658
|
+
};
|
1659
|
+
};
|
1660
1660
|
};
|
1661
1661
|
campaignscount: {
|
1662
1662
|
"by-chains": {
|
@@ -1714,7 +1714,7 @@ declare const eden: {
|
|
1714
1714
|
dailyRewards?: number | undefined;
|
1715
1715
|
numberOfLiveCampaigns?: number | undefined;
|
1716
1716
|
opportunityLiveTags?: string[] | undefined;
|
1717
|
-
}
|
1717
|
+
};
|
1718
1718
|
}>>;
|
1719
1719
|
patch: (body: {
|
1720
1720
|
name?: string | undefined;
|
@@ -5204,147 +5204,6 @@ declare const eden: {
|
|
5204
5204
|
};
|
5205
5205
|
}>>;
|
5206
5206
|
};
|
5207
|
-
"dry-run": ((params: {
|
5208
|
-
campaignId: string | number;
|
5209
|
-
}) => {
|
5210
|
-
"dynamic-data": {
|
5211
|
-
get: (options: {
|
5212
|
-
headers: {
|
5213
|
-
authorization: string;
|
5214
|
-
};
|
5215
|
-
query?: Record<string, unknown> | undefined;
|
5216
|
-
fetch?: RequestInit | undefined;
|
5217
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5218
|
-
200: unknown[];
|
5219
|
-
}>>;
|
5220
|
-
};
|
5221
|
-
}) & {
|
5222
|
-
"dynamic-data": {
|
5223
|
-
list: {
|
5224
|
-
post: (body: string[], options: {
|
5225
|
-
headers: {
|
5226
|
-
authorization: string;
|
5227
|
-
};
|
5228
|
-
query?: Record<string, unknown> | undefined;
|
5229
|
-
fetch?: RequestInit | undefined;
|
5230
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5231
|
-
200: unknown[];
|
5232
|
-
}>>;
|
5233
|
-
};
|
5234
|
-
post: (body: {
|
5235
|
-
id?: string | undefined;
|
5236
|
-
subType?: number | undefined;
|
5237
|
-
campaignId?: string | undefined;
|
5238
|
-
amount?: string | undefined;
|
5239
|
-
creatorAddress?: string | undefined;
|
5240
|
-
type: string;
|
5241
|
-
params: any;
|
5242
|
-
computeChainId: number;
|
5243
|
-
distributionChainId: number;
|
5244
|
-
startTimestamp: number;
|
5245
|
-
endTimestamp: number;
|
5246
|
-
rewardToken: string;
|
5247
|
-
}, options: {
|
5248
|
-
headers: {
|
5249
|
-
authorization: string;
|
5250
|
-
};
|
5251
|
-
query?: Record<string, unknown> | undefined;
|
5252
|
-
fetch?: RequestInit | undefined;
|
5253
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5254
|
-
200: unknown[];
|
5255
|
-
}>>;
|
5256
|
-
};
|
5257
|
-
metadata: {
|
5258
|
-
post: (body: {
|
5259
|
-
id?: string | undefined;
|
5260
|
-
subType?: number | undefined;
|
5261
|
-
campaignId?: string | undefined;
|
5262
|
-
amount?: string | undefined;
|
5263
|
-
creatorAddress?: string | undefined;
|
5264
|
-
type: string;
|
5265
|
-
params: any;
|
5266
|
-
computeChainId: number;
|
5267
|
-
distributionChainId: number;
|
5268
|
-
startTimestamp: number;
|
5269
|
-
endTimestamp: number;
|
5270
|
-
rewardToken: string;
|
5271
|
-
}, options: {
|
5272
|
-
headers: {
|
5273
|
-
authorization: string;
|
5274
|
-
};
|
5275
|
-
query?: Record<string, unknown> | undefined;
|
5276
|
-
fetch?: RequestInit | undefined;
|
5277
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5278
|
-
200: {
|
5279
|
-
id: string;
|
5280
|
-
chainId: number;
|
5281
|
-
type: string;
|
5282
|
-
identifier: string;
|
5283
|
-
name: string;
|
5284
|
-
status: "PAST" | "LIVE" | "SOON";
|
5285
|
-
action: any;
|
5286
|
-
tokens: ({
|
5287
|
-
symbol: string;
|
5288
|
-
id: string;
|
5289
|
-
name: string | null;
|
5290
|
-
icon: string;
|
5291
|
-
address: string;
|
5292
|
-
chainId: number;
|
5293
|
-
decimals: number;
|
5294
|
-
verified: boolean;
|
5295
|
-
isTest: boolean;
|
5296
|
-
isPoint: boolean;
|
5297
|
-
isNative: boolean;
|
5298
|
-
} & {
|
5299
|
-
price?: number | null | undefined;
|
5300
|
-
})[];
|
5301
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
5302
|
-
depositUrl: any;
|
5303
|
-
explorerAddress: string | undefined;
|
5304
|
-
tags: string[];
|
5305
|
-
};
|
5306
|
-
}>>;
|
5307
|
-
get: (options: {
|
5308
|
-
headers: {
|
5309
|
-
authorization: string;
|
5310
|
-
};
|
5311
|
-
query: {
|
5312
|
-
campaignId: string;
|
5313
|
-
distributionChain: number;
|
5314
|
-
};
|
5315
|
-
fetch?: RequestInit | undefined;
|
5316
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5317
|
-
200: {
|
5318
|
-
id: string;
|
5319
|
-
chainId: number;
|
5320
|
-
type: string;
|
5321
|
-
identifier: string;
|
5322
|
-
name: string;
|
5323
|
-
status: "PAST" | "LIVE" | "SOON";
|
5324
|
-
action: any;
|
5325
|
-
tokens: ({
|
5326
|
-
symbol: string;
|
5327
|
-
id: string;
|
5328
|
-
name: string | null;
|
5329
|
-
icon: string;
|
5330
|
-
address: string;
|
5331
|
-
chainId: number;
|
5332
|
-
decimals: number;
|
5333
|
-
verified: boolean;
|
5334
|
-
isTest: boolean;
|
5335
|
-
isPoint: boolean;
|
5336
|
-
isNative: boolean;
|
5337
|
-
} & {
|
5338
|
-
price?: number | null | undefined;
|
5339
|
-
})[];
|
5340
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
5341
|
-
depositUrl: any;
|
5342
|
-
explorerAddress: string | undefined;
|
5343
|
-
tags: string[];
|
5344
|
-
};
|
5345
|
-
}>>;
|
5346
|
-
};
|
5347
|
-
};
|
5348
5207
|
index: {
|
5349
5208
|
get: (options: {
|
5350
5209
|
headers?: Record<string, unknown> | undefined;
|
@@ -5544,70 +5403,211 @@ declare const eden: {
|
|
5544
5403
|
headers: {
|
5545
5404
|
authorization: string;
|
5546
5405
|
};
|
5547
|
-
query: {
|
5548
|
-
type?: string | undefined;
|
5549
|
-
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
5550
|
-
items?: number | undefined;
|
5551
|
-
subType?: number | undefined;
|
5552
|
-
page?: number | undefined;
|
5553
|
-
types?: string[] | undefined;
|
5554
|
-
campaignId?: string | undefined;
|
5555
|
-
opportunityId?: string | undefined;
|
5556
|
-
startTimestamp?: string | undefined;
|
5557
|
-
endTimestamp?: string | undefined;
|
5558
|
-
creatorAddress?: string | undefined;
|
5559
|
-
chainId?: number | undefined;
|
5560
|
-
creatorId?: string | undefined;
|
5561
|
-
mainParameter?: string | undefined;
|
5562
|
-
point?: boolean | undefined;
|
5563
|
-
tokenAddress?: string | undefined;
|
5564
|
-
test?: boolean | undefined;
|
5565
|
-
creatorTag?: string | undefined;
|
5566
|
-
distributionChainIds?: number[] | undefined;
|
5567
|
-
tokenSymbol?: string | undefined;
|
5568
|
-
withOpportunity?: boolean | undefined;
|
5569
|
-
createdAfter?: Date | null | undefined;
|
5406
|
+
query: {
|
5407
|
+
type?: string | undefined;
|
5408
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
5409
|
+
items?: number | undefined;
|
5410
|
+
subType?: number | undefined;
|
5411
|
+
page?: number | undefined;
|
5412
|
+
types?: string[] | undefined;
|
5413
|
+
campaignId?: string | undefined;
|
5414
|
+
opportunityId?: string | undefined;
|
5415
|
+
startTimestamp?: string | undefined;
|
5416
|
+
endTimestamp?: string | undefined;
|
5417
|
+
creatorAddress?: string | undefined;
|
5418
|
+
chainId?: number | undefined;
|
5419
|
+
creatorId?: string | undefined;
|
5420
|
+
mainParameter?: string | undefined;
|
5421
|
+
point?: boolean | undefined;
|
5422
|
+
tokenAddress?: string | undefined;
|
5423
|
+
test?: boolean | undefined;
|
5424
|
+
creatorTag?: string | undefined;
|
5425
|
+
distributionChainIds?: number[] | undefined;
|
5426
|
+
tokenSymbol?: string | undefined;
|
5427
|
+
withOpportunity?: boolean | undefined;
|
5428
|
+
createdAfter?: Date | null | undefined;
|
5429
|
+
};
|
5430
|
+
fetch?: RequestInit | undefined;
|
5431
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5432
|
+
200: {
|
5433
|
+
[x: string]: number;
|
5434
|
+
};
|
5435
|
+
}>>;
|
5436
|
+
};
|
5437
|
+
"by-protocols": {
|
5438
|
+
get: (options: {
|
5439
|
+
headers: {
|
5440
|
+
authorization: string;
|
5441
|
+
};
|
5442
|
+
query: {
|
5443
|
+
type?: string | undefined;
|
5444
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
5445
|
+
items?: number | undefined;
|
5446
|
+
subType?: number | undefined;
|
5447
|
+
page?: number | undefined;
|
5448
|
+
types?: string[] | undefined;
|
5449
|
+
campaignId?: string | undefined;
|
5450
|
+
opportunityId?: string | undefined;
|
5451
|
+
startTimestamp?: string | undefined;
|
5452
|
+
endTimestamp?: string | undefined;
|
5453
|
+
creatorAddress?: string | undefined;
|
5454
|
+
chainId?: number | undefined;
|
5455
|
+
creatorId?: string | undefined;
|
5456
|
+
mainParameter?: string | undefined;
|
5457
|
+
point?: boolean | undefined;
|
5458
|
+
tokenAddress?: string | undefined;
|
5459
|
+
test?: boolean | undefined;
|
5460
|
+
creatorTag?: string | undefined;
|
5461
|
+
distributionChainIds?: number[] | undefined;
|
5462
|
+
tokenSymbol?: string | undefined;
|
5463
|
+
withOpportunity?: boolean | undefined;
|
5464
|
+
createdAfter?: Date | null | undefined;
|
5465
|
+
};
|
5466
|
+
fetch?: RequestInit | undefined;
|
5467
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5468
|
+
200: {
|
5469
|
+
[x: string]: number;
|
5470
|
+
};
|
5471
|
+
}>>;
|
5472
|
+
};
|
5473
|
+
};
|
5474
|
+
"dry-run": ((params: {
|
5475
|
+
campaignId: string | number;
|
5476
|
+
}) => {
|
5477
|
+
"dynamic-data": {
|
5478
|
+
get: (options: {
|
5479
|
+
headers: {
|
5480
|
+
authorization: string;
|
5481
|
+
};
|
5482
|
+
query?: Record<string, unknown> | undefined;
|
5483
|
+
fetch?: RequestInit | undefined;
|
5484
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5485
|
+
200: unknown[];
|
5486
|
+
}>>;
|
5487
|
+
};
|
5488
|
+
}) & {
|
5489
|
+
"dynamic-data": {
|
5490
|
+
list: {
|
5491
|
+
post: (body: string[], options: {
|
5492
|
+
headers: {
|
5493
|
+
authorization: string;
|
5494
|
+
};
|
5495
|
+
query?: Record<string, unknown> | undefined;
|
5496
|
+
fetch?: RequestInit | undefined;
|
5497
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5498
|
+
200: unknown[];
|
5499
|
+
}>>;
|
5500
|
+
};
|
5501
|
+
post: (body: {
|
5502
|
+
id?: string | undefined;
|
5503
|
+
subType?: number | undefined;
|
5504
|
+
campaignId?: string | undefined;
|
5505
|
+
amount?: string | undefined;
|
5506
|
+
creatorAddress?: string | undefined;
|
5507
|
+
type: string;
|
5508
|
+
params: any;
|
5509
|
+
computeChainId: number;
|
5510
|
+
distributionChainId: number;
|
5511
|
+
startTimestamp: number;
|
5512
|
+
endTimestamp: number;
|
5513
|
+
rewardToken: string;
|
5514
|
+
}, options: {
|
5515
|
+
headers: {
|
5516
|
+
authorization: string;
|
5517
|
+
};
|
5518
|
+
query?: Record<string, unknown> | undefined;
|
5519
|
+
fetch?: RequestInit | undefined;
|
5520
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5521
|
+
200: unknown[];
|
5522
|
+
}>>;
|
5523
|
+
};
|
5524
|
+
metadata: {
|
5525
|
+
post: (body: {
|
5526
|
+
id?: string | undefined;
|
5527
|
+
subType?: number | undefined;
|
5528
|
+
campaignId?: string | undefined;
|
5529
|
+
amount?: string | undefined;
|
5530
|
+
creatorAddress?: string | undefined;
|
5531
|
+
type: string;
|
5532
|
+
params: any;
|
5533
|
+
computeChainId: number;
|
5534
|
+
distributionChainId: number;
|
5535
|
+
startTimestamp: number;
|
5536
|
+
endTimestamp: number;
|
5537
|
+
rewardToken: string;
|
5538
|
+
}, options: {
|
5539
|
+
headers: {
|
5540
|
+
authorization: string;
|
5570
5541
|
};
|
5542
|
+
query?: Record<string, unknown> | undefined;
|
5571
5543
|
fetch?: RequestInit | undefined;
|
5572
5544
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5573
5545
|
200: {
|
5574
|
-
|
5546
|
+
id: string;
|
5547
|
+
chainId: number;
|
5548
|
+
type: string;
|
5549
|
+
identifier: string;
|
5550
|
+
name: string;
|
5551
|
+
status: "PAST" | "LIVE" | "SOON";
|
5552
|
+
action: any;
|
5553
|
+
tokens: ({
|
5554
|
+
symbol: string;
|
5555
|
+
id: string;
|
5556
|
+
name: string | null;
|
5557
|
+
icon: string;
|
5558
|
+
address: string;
|
5559
|
+
chainId: number;
|
5560
|
+
decimals: number;
|
5561
|
+
verified: boolean;
|
5562
|
+
isTest: boolean;
|
5563
|
+
isPoint: boolean;
|
5564
|
+
isNative: boolean;
|
5565
|
+
} & {
|
5566
|
+
price?: number | null | undefined;
|
5567
|
+
})[];
|
5568
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
5569
|
+
depositUrl: any;
|
5570
|
+
explorerAddress: string | undefined;
|
5571
|
+
tags: string[];
|
5575
5572
|
};
|
5576
5573
|
}>>;
|
5577
|
-
};
|
5578
|
-
"by-protocols": {
|
5579
5574
|
get: (options: {
|
5580
5575
|
headers: {
|
5581
5576
|
authorization: string;
|
5582
5577
|
};
|
5583
5578
|
query: {
|
5584
|
-
|
5585
|
-
|
5586
|
-
items?: number | undefined;
|
5587
|
-
subType?: number | undefined;
|
5588
|
-
page?: number | undefined;
|
5589
|
-
types?: string[] | undefined;
|
5590
|
-
campaignId?: string | undefined;
|
5591
|
-
opportunityId?: string | undefined;
|
5592
|
-
startTimestamp?: string | undefined;
|
5593
|
-
endTimestamp?: string | undefined;
|
5594
|
-
creatorAddress?: string | undefined;
|
5595
|
-
chainId?: number | undefined;
|
5596
|
-
creatorId?: string | undefined;
|
5597
|
-
mainParameter?: string | undefined;
|
5598
|
-
point?: boolean | undefined;
|
5599
|
-
tokenAddress?: string | undefined;
|
5600
|
-
test?: boolean | undefined;
|
5601
|
-
creatorTag?: string | undefined;
|
5602
|
-
distributionChainIds?: number[] | undefined;
|
5603
|
-
tokenSymbol?: string | undefined;
|
5604
|
-
withOpportunity?: boolean | undefined;
|
5605
|
-
createdAfter?: Date | null | undefined;
|
5579
|
+
campaignId: string;
|
5580
|
+
distributionChain: number;
|
5606
5581
|
};
|
5607
5582
|
fetch?: RequestInit | undefined;
|
5608
5583
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5609
5584
|
200: {
|
5610
|
-
|
5585
|
+
id: string;
|
5586
|
+
chainId: number;
|
5587
|
+
type: string;
|
5588
|
+
identifier: string;
|
5589
|
+
name: string;
|
5590
|
+
status: "PAST" | "LIVE" | "SOON";
|
5591
|
+
action: any;
|
5592
|
+
tokens: ({
|
5593
|
+
symbol: string;
|
5594
|
+
id: string;
|
5595
|
+
name: string | null;
|
5596
|
+
icon: string;
|
5597
|
+
address: string;
|
5598
|
+
chainId: number;
|
5599
|
+
decimals: number;
|
5600
|
+
verified: boolean;
|
5601
|
+
isTest: boolean;
|
5602
|
+
isPoint: boolean;
|
5603
|
+
isNative: boolean;
|
5604
|
+
} & {
|
5605
|
+
price?: number | null | undefined;
|
5606
|
+
})[];
|
5607
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
5608
|
+
depositUrl: any;
|
5609
|
+
explorerAddress: string | undefined;
|
5610
|
+
tags: string[];
|
5611
5611
|
};
|
5612
5612
|
}>>;
|
5613
5613
|
};
|
@@ -5669,7 +5669,7 @@ declare const eden: {
|
|
5669
5669
|
dailyRewards?: number | undefined;
|
5670
5670
|
numberOfLiveCampaigns?: number | undefined;
|
5671
5671
|
opportunityLiveTags?: string[] | undefined;
|
5672
|
-
}
|
5672
|
+
};
|
5673
5673
|
}>>;
|
5674
5674
|
patch: (body: {
|
5675
5675
|
name?: string | undefined;
|
@@ -9908,231 +9908,62 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9908
9908
|
params: {};
|
9909
9909
|
query: unknown;
|
9910
9910
|
headers: {
|
9911
|
-
authorization: string;
|
9912
|
-
};
|
9913
|
-
response: {
|
9914
|
-
200: void;
|
9915
|
-
};
|
9916
|
-
};
|
9917
|
-
};
|
9918
|
-
} & {
|
9919
|
-
metadata: {
|
9920
|
-
patch: {
|
9921
|
-
body: {
|
9922
|
-
url: string;
|
9923
|
-
campaignId: string;
|
9924
|
-
distributionChain: number;
|
9925
|
-
};
|
9926
|
-
params: {};
|
9927
|
-
query: unknown;
|
9928
|
-
headers: {
|
9929
|
-
authorization: string;
|
9930
|
-
};
|
9931
|
-
response: {
|
9932
|
-
200: {
|
9933
|
-
id: string;
|
9934
|
-
type: string;
|
9935
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
9936
|
-
subType: number | null;
|
9937
|
-
computeChainId: number;
|
9938
|
-
distributionChainId: number;
|
9939
|
-
campaignId: string;
|
9940
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
9941
|
-
rewardTokenId: string;
|
9942
|
-
amount: string;
|
9943
|
-
opportunityId: string;
|
9944
|
-
startTimestamp: bigint;
|
9945
|
-
endTimestamp: bigint;
|
9946
|
-
creatorAddress: string;
|
9947
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
9948
|
-
createdAt: Date;
|
9949
|
-
};
|
9950
|
-
};
|
9951
|
-
};
|
9952
|
-
};
|
9953
|
-
} & {
|
9954
|
-
":campaignId": {
|
9955
|
-
"dynamic-data": {
|
9956
|
-
put: {
|
9957
|
-
body: unknown;
|
9958
|
-
params: {
|
9959
|
-
campaignId: string;
|
9960
|
-
};
|
9961
|
-
query: unknown;
|
9962
|
-
headers: {
|
9963
|
-
authorization: string;
|
9964
|
-
};
|
9965
|
-
response: {
|
9966
|
-
200: unknown[];
|
9967
|
-
};
|
9968
|
-
};
|
9969
|
-
};
|
9970
|
-
};
|
9971
|
-
} & {
|
9972
|
-
"dry-run": {
|
9973
|
-
":campaignId": {
|
9974
|
-
"dynamic-data": {
|
9975
|
-
get: {
|
9976
|
-
body: unknown;
|
9977
|
-
params: {
|
9978
|
-
campaignId: string;
|
9979
|
-
};
|
9980
|
-
query: unknown;
|
9981
|
-
headers: {
|
9982
|
-
authorization: string;
|
9983
|
-
};
|
9984
|
-
response: {
|
9985
|
-
200: unknown[];
|
9986
|
-
};
|
9987
|
-
};
|
9988
|
-
};
|
9989
|
-
};
|
9990
|
-
};
|
9991
|
-
} & {
|
9992
|
-
"dry-run": {
|
9993
|
-
"dynamic-data": {
|
9994
|
-
list: {
|
9995
|
-
post: {
|
9996
|
-
body: string[];
|
9997
|
-
params: {};
|
9998
|
-
query: unknown;
|
9999
|
-
headers: {
|
10000
|
-
authorization: string;
|
10001
|
-
};
|
10002
|
-
response: {
|
10003
|
-
200: unknown[];
|
10004
|
-
};
|
10005
|
-
};
|
10006
|
-
};
|
10007
|
-
};
|
10008
|
-
};
|
10009
|
-
} & {
|
10010
|
-
"dry-run": {
|
10011
|
-
"dynamic-data": {
|
10012
|
-
post: {
|
10013
|
-
body: {
|
10014
|
-
id?: string | undefined;
|
10015
|
-
subType?: number | undefined;
|
10016
|
-
campaignId?: string | undefined;
|
10017
|
-
amount?: string | undefined;
|
10018
|
-
creatorAddress?: string | undefined;
|
10019
|
-
type: string;
|
10020
|
-
params: any;
|
10021
|
-
computeChainId: number;
|
10022
|
-
distributionChainId: number;
|
10023
|
-
startTimestamp: number;
|
10024
|
-
endTimestamp: number;
|
10025
|
-
rewardToken: string;
|
10026
|
-
};
|
10027
|
-
params: {};
|
10028
|
-
query: unknown;
|
10029
|
-
headers: {
|
10030
|
-
authorization: string;
|
10031
|
-
};
|
10032
|
-
response: {
|
10033
|
-
200: unknown[];
|
10034
|
-
};
|
9911
|
+
authorization: string;
|
9912
|
+
};
|
9913
|
+
response: {
|
9914
|
+
200: void;
|
10035
9915
|
};
|
10036
9916
|
};
|
10037
9917
|
};
|
10038
9918
|
} & {
|
10039
|
-
|
10040
|
-
|
10041
|
-
|
10042
|
-
|
10043
|
-
|
10044
|
-
|
10045
|
-
|
10046
|
-
|
10047
|
-
|
9919
|
+
metadata: {
|
9920
|
+
patch: {
|
9921
|
+
body: {
|
9922
|
+
url: string;
|
9923
|
+
campaignId: string;
|
9924
|
+
distributionChain: number;
|
9925
|
+
};
|
9926
|
+
params: {};
|
9927
|
+
query: unknown;
|
9928
|
+
headers: {
|
9929
|
+
authorization: string;
|
9930
|
+
};
|
9931
|
+
response: {
|
9932
|
+
200: {
|
9933
|
+
id: string;
|
10048
9934
|
type: string;
|
10049
|
-
params:
|
9935
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
9936
|
+
subType: number | null;
|
10050
9937
|
computeChainId: number;
|
10051
9938
|
distributionChainId: number;
|
10052
|
-
|
10053
|
-
|
10054
|
-
|
10055
|
-
|
10056
|
-
|
10057
|
-
|
10058
|
-
|
10059
|
-
|
10060
|
-
|
10061
|
-
|
10062
|
-
200: {
|
10063
|
-
id: string;
|
10064
|
-
chainId: number;
|
10065
|
-
type: string;
|
10066
|
-
identifier: string;
|
10067
|
-
name: string;
|
10068
|
-
status: "PAST" | "LIVE" | "SOON";
|
10069
|
-
action: any;
|
10070
|
-
tokens: ({
|
10071
|
-
symbol: string;
|
10072
|
-
id: string;
|
10073
|
-
name: string | null;
|
10074
|
-
icon: string;
|
10075
|
-
address: string;
|
10076
|
-
chainId: number;
|
10077
|
-
decimals: number;
|
10078
|
-
verified: boolean;
|
10079
|
-
isTest: boolean;
|
10080
|
-
isPoint: boolean;
|
10081
|
-
isNative: boolean;
|
10082
|
-
} & {
|
10083
|
-
price?: number | null | undefined;
|
10084
|
-
})[];
|
10085
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
10086
|
-
depositUrl: any;
|
10087
|
-
explorerAddress: string | undefined;
|
10088
|
-
tags: string[];
|
10089
|
-
};
|
9939
|
+
campaignId: string;
|
9940
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9941
|
+
rewardTokenId: string;
|
9942
|
+
amount: string;
|
9943
|
+
opportunityId: string;
|
9944
|
+
startTimestamp: bigint;
|
9945
|
+
endTimestamp: bigint;
|
9946
|
+
creatorAddress: string;
|
9947
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
9948
|
+
createdAt: Date;
|
10090
9949
|
};
|
10091
9950
|
};
|
10092
9951
|
};
|
10093
9952
|
};
|
10094
9953
|
} & {
|
10095
|
-
"
|
10096
|
-
|
10097
|
-
|
9954
|
+
":campaignId": {
|
9955
|
+
"dynamic-data": {
|
9956
|
+
put: {
|
10098
9957
|
body: unknown;
|
10099
|
-
params: {
|
10100
|
-
query: {
|
9958
|
+
params: {
|
10101
9959
|
campaignId: string;
|
10102
|
-
distributionChain: number;
|
10103
9960
|
};
|
9961
|
+
query: unknown;
|
10104
9962
|
headers: {
|
10105
9963
|
authorization: string;
|
10106
9964
|
};
|
10107
9965
|
response: {
|
10108
|
-
200:
|
10109
|
-
id: string;
|
10110
|
-
chainId: number;
|
10111
|
-
type: string;
|
10112
|
-
identifier: string;
|
10113
|
-
name: string;
|
10114
|
-
status: "PAST" | "LIVE" | "SOON";
|
10115
|
-
action: any;
|
10116
|
-
tokens: ({
|
10117
|
-
symbol: string;
|
10118
|
-
id: string;
|
10119
|
-
name: string | null;
|
10120
|
-
icon: string;
|
10121
|
-
address: string;
|
10122
|
-
chainId: number;
|
10123
|
-
decimals: number;
|
10124
|
-
verified: boolean;
|
10125
|
-
isTest: boolean;
|
10126
|
-
isPoint: boolean;
|
10127
|
-
isNative: boolean;
|
10128
|
-
} & {
|
10129
|
-
price?: number | null | undefined;
|
10130
|
-
})[];
|
10131
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
10132
|
-
depositUrl: any;
|
10133
|
-
explorerAddress: string | undefined;
|
10134
|
-
tags: string[];
|
10135
|
-
};
|
9966
|
+
200: unknown[];
|
10136
9967
|
};
|
10137
9968
|
};
|
10138
9969
|
};
|
@@ -10629,50 +10460,223 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10629
10460
|
};
|
10630
10461
|
response: {
|
10631
10462
|
200: {
|
10632
|
-
[x: string]: number;
|
10463
|
+
[x: string]: number;
|
10464
|
+
};
|
10465
|
+
};
|
10466
|
+
};
|
10467
|
+
};
|
10468
|
+
};
|
10469
|
+
};
|
10470
|
+
} & {
|
10471
|
+
campaigns: {
|
10472
|
+
count: {
|
10473
|
+
"by-protocols": {
|
10474
|
+
get: {
|
10475
|
+
body: unknown;
|
10476
|
+
params: {};
|
10477
|
+
query: {
|
10478
|
+
type?: string | undefined;
|
10479
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
10480
|
+
items?: number | undefined;
|
10481
|
+
subType?: number | undefined;
|
10482
|
+
page?: number | undefined;
|
10483
|
+
types?: string[] | undefined;
|
10484
|
+
campaignId?: string | undefined;
|
10485
|
+
opportunityId?: string | undefined;
|
10486
|
+
startTimestamp?: string | undefined;
|
10487
|
+
endTimestamp?: string | undefined;
|
10488
|
+
creatorAddress?: string | undefined;
|
10489
|
+
chainId?: number | undefined;
|
10490
|
+
creatorId?: string | undefined;
|
10491
|
+
mainParameter?: string | undefined;
|
10492
|
+
point?: boolean | undefined;
|
10493
|
+
tokenAddress?: string | undefined;
|
10494
|
+
test?: boolean | undefined;
|
10495
|
+
creatorTag?: string | undefined;
|
10496
|
+
distributionChainIds?: number[] | undefined;
|
10497
|
+
tokenSymbol?: string | undefined;
|
10498
|
+
withOpportunity?: boolean | undefined;
|
10499
|
+
createdAfter?: Date | null | undefined;
|
10500
|
+
};
|
10501
|
+
headers: {
|
10502
|
+
authorization: string;
|
10503
|
+
};
|
10504
|
+
response: {
|
10505
|
+
200: {
|
10506
|
+
[x: string]: number;
|
10507
|
+
};
|
10508
|
+
};
|
10509
|
+
};
|
10510
|
+
};
|
10511
|
+
};
|
10512
|
+
};
|
10513
|
+
};
|
10514
|
+
} & {
|
10515
|
+
v4: {
|
10516
|
+
campaigns: {
|
10517
|
+
"dry-run": {
|
10518
|
+
":campaignId": {
|
10519
|
+
"dynamic-data": {
|
10520
|
+
get: {
|
10521
|
+
body: unknown;
|
10522
|
+
params: {
|
10523
|
+
campaignId: string;
|
10524
|
+
};
|
10525
|
+
query: unknown;
|
10526
|
+
headers: {
|
10527
|
+
authorization: string;
|
10528
|
+
};
|
10529
|
+
response: {
|
10530
|
+
200: unknown[];
|
10531
|
+
};
|
10532
|
+
};
|
10533
|
+
};
|
10534
|
+
};
|
10535
|
+
};
|
10536
|
+
} & {
|
10537
|
+
"dry-run": {
|
10538
|
+
"dynamic-data": {
|
10539
|
+
list: {
|
10540
|
+
post: {
|
10541
|
+
body: string[];
|
10542
|
+
params: {};
|
10543
|
+
query: unknown;
|
10544
|
+
headers: {
|
10545
|
+
authorization: string;
|
10546
|
+
};
|
10547
|
+
response: {
|
10548
|
+
200: unknown[];
|
10549
|
+
};
|
10550
|
+
};
|
10551
|
+
};
|
10552
|
+
};
|
10553
|
+
};
|
10554
|
+
} & {
|
10555
|
+
"dry-run": {
|
10556
|
+
"dynamic-data": {
|
10557
|
+
post: {
|
10558
|
+
body: {
|
10559
|
+
id?: string | undefined;
|
10560
|
+
subType?: number | undefined;
|
10561
|
+
campaignId?: string | undefined;
|
10562
|
+
amount?: string | undefined;
|
10563
|
+
creatorAddress?: string | undefined;
|
10564
|
+
type: string;
|
10565
|
+
params: any;
|
10566
|
+
computeChainId: number;
|
10567
|
+
distributionChainId: number;
|
10568
|
+
startTimestamp: number;
|
10569
|
+
endTimestamp: number;
|
10570
|
+
rewardToken: string;
|
10571
|
+
};
|
10572
|
+
params: {};
|
10573
|
+
query: unknown;
|
10574
|
+
headers: {
|
10575
|
+
authorization: string;
|
10576
|
+
};
|
10577
|
+
response: {
|
10578
|
+
200: unknown[];
|
10579
|
+
};
|
10580
|
+
};
|
10581
|
+
};
|
10582
|
+
};
|
10583
|
+
} & {
|
10584
|
+
"dry-run": {
|
10585
|
+
metadata: {
|
10586
|
+
post: {
|
10587
|
+
body: {
|
10588
|
+
id?: string | undefined;
|
10589
|
+
subType?: number | undefined;
|
10590
|
+
campaignId?: string | undefined;
|
10591
|
+
amount?: string | undefined;
|
10592
|
+
creatorAddress?: string | undefined;
|
10593
|
+
type: string;
|
10594
|
+
params: any;
|
10595
|
+
computeChainId: number;
|
10596
|
+
distributionChainId: number;
|
10597
|
+
startTimestamp: number;
|
10598
|
+
endTimestamp: number;
|
10599
|
+
rewardToken: string;
|
10600
|
+
};
|
10601
|
+
params: {};
|
10602
|
+
query: unknown;
|
10603
|
+
headers: {
|
10604
|
+
authorization: string;
|
10605
|
+
};
|
10606
|
+
response: {
|
10607
|
+
200: {
|
10608
|
+
id: string;
|
10609
|
+
chainId: number;
|
10610
|
+
type: string;
|
10611
|
+
identifier: string;
|
10612
|
+
name: string;
|
10613
|
+
status: "PAST" | "LIVE" | "SOON";
|
10614
|
+
action: any;
|
10615
|
+
tokens: ({
|
10616
|
+
symbol: string;
|
10617
|
+
id: string;
|
10618
|
+
name: string | null;
|
10619
|
+
icon: string;
|
10620
|
+
address: string;
|
10621
|
+
chainId: number;
|
10622
|
+
decimals: number;
|
10623
|
+
verified: boolean;
|
10624
|
+
isTest: boolean;
|
10625
|
+
isPoint: boolean;
|
10626
|
+
isNative: boolean;
|
10627
|
+
} & {
|
10628
|
+
price?: number | null | undefined;
|
10629
|
+
})[];
|
10630
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
10631
|
+
depositUrl: any;
|
10632
|
+
explorerAddress: string | undefined;
|
10633
|
+
tags: string[];
|
10633
10634
|
};
|
10634
10635
|
};
|
10635
10636
|
};
|
10636
10637
|
};
|
10637
10638
|
};
|
10638
|
-
}
|
10639
|
-
|
10640
|
-
|
10641
|
-
count: {
|
10642
|
-
"by-protocols": {
|
10639
|
+
} & {
|
10640
|
+
"dry-run": {
|
10641
|
+
metadata: {
|
10643
10642
|
get: {
|
10644
10643
|
body: unknown;
|
10645
10644
|
params: {};
|
10646
10645
|
query: {
|
10647
|
-
|
10648
|
-
|
10649
|
-
items?: number | undefined;
|
10650
|
-
subType?: number | undefined;
|
10651
|
-
page?: number | undefined;
|
10652
|
-
types?: string[] | undefined;
|
10653
|
-
campaignId?: string | undefined;
|
10654
|
-
opportunityId?: string | undefined;
|
10655
|
-
startTimestamp?: string | undefined;
|
10656
|
-
endTimestamp?: string | undefined;
|
10657
|
-
creatorAddress?: string | undefined;
|
10658
|
-
chainId?: number | undefined;
|
10659
|
-
creatorId?: string | undefined;
|
10660
|
-
mainParameter?: string | undefined;
|
10661
|
-
point?: boolean | undefined;
|
10662
|
-
tokenAddress?: string | undefined;
|
10663
|
-
test?: boolean | undefined;
|
10664
|
-
creatorTag?: string | undefined;
|
10665
|
-
distributionChainIds?: number[] | undefined;
|
10666
|
-
tokenSymbol?: string | undefined;
|
10667
|
-
withOpportunity?: boolean | undefined;
|
10668
|
-
createdAfter?: Date | null | undefined;
|
10646
|
+
campaignId: string;
|
10647
|
+
distributionChain: number;
|
10669
10648
|
};
|
10670
10649
|
headers: {
|
10671
10650
|
authorization: string;
|
10672
10651
|
};
|
10673
10652
|
response: {
|
10674
10653
|
200: {
|
10675
|
-
|
10654
|
+
id: string;
|
10655
|
+
chainId: number;
|
10656
|
+
type: string;
|
10657
|
+
identifier: string;
|
10658
|
+
name: string;
|
10659
|
+
status: "PAST" | "LIVE" | "SOON";
|
10660
|
+
action: any;
|
10661
|
+
tokens: ({
|
10662
|
+
symbol: string;
|
10663
|
+
id: string;
|
10664
|
+
name: string | null;
|
10665
|
+
icon: string;
|
10666
|
+
address: string;
|
10667
|
+
chainId: number;
|
10668
|
+
decimals: number;
|
10669
|
+
verified: boolean;
|
10670
|
+
isTest: boolean;
|
10671
|
+
isPoint: boolean;
|
10672
|
+
isNative: boolean;
|
10673
|
+
} & {
|
10674
|
+
price?: number | null | undefined;
|
10675
|
+
})[];
|
10676
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
10677
|
+
depositUrl: any;
|
10678
|
+
explorerAddress: string | undefined;
|
10679
|
+
tags: string[];
|
10676
10680
|
};
|
10677
10681
|
};
|
10678
10682
|
};
|
@@ -10759,7 +10763,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10759
10763
|
dailyRewards?: number | undefined;
|
10760
10764
|
numberOfLiveCampaigns?: number | undefined;
|
10761
10765
|
opportunityLiveTags?: string[] | undefined;
|
10762
|
-
}
|
10766
|
+
};
|
10763
10767
|
};
|
10764
10768
|
};
|
10765
10769
|
};
|
@@ -15714,166 +15718,25 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15714
15718
|
query?: Record<string, unknown> | undefined;
|
15715
15719
|
fetch?: RequestInit | undefined;
|
15716
15720
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15717
|
-
200: {
|
15718
|
-
id: string;
|
15719
|
-
type: string;
|
15720
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
15721
|
-
subType: number | null;
|
15722
|
-
computeChainId: number;
|
15723
|
-
distributionChainId: number;
|
15724
|
-
campaignId: string;
|
15725
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
15726
|
-
rewardTokenId: string;
|
15727
|
-
amount: string;
|
15728
|
-
opportunityId: string;
|
15729
|
-
startTimestamp: bigint;
|
15730
|
-
endTimestamp: bigint;
|
15731
|
-
creatorAddress: string;
|
15732
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
15733
|
-
createdAt: Date;
|
15734
|
-
};
|
15735
|
-
}>>;
|
15736
|
-
};
|
15737
|
-
"dry-run": ((params: {
|
15738
|
-
campaignId: string | number;
|
15739
|
-
}) => {
|
15740
|
-
"dynamic-data": {
|
15741
|
-
get: (options: {
|
15742
|
-
headers: {
|
15743
|
-
authorization: string;
|
15744
|
-
};
|
15745
|
-
query?: Record<string, unknown> | undefined;
|
15746
|
-
fetch?: RequestInit | undefined;
|
15747
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15748
|
-
200: unknown[];
|
15749
|
-
}>>;
|
15750
|
-
};
|
15751
|
-
}) & {
|
15752
|
-
"dynamic-data": {
|
15753
|
-
list: {
|
15754
|
-
post: (body: string[], options: {
|
15755
|
-
headers: {
|
15756
|
-
authorization: string;
|
15757
|
-
};
|
15758
|
-
query?: Record<string, unknown> | undefined;
|
15759
|
-
fetch?: RequestInit | undefined;
|
15760
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15761
|
-
200: unknown[];
|
15762
|
-
}>>;
|
15763
|
-
};
|
15764
|
-
post: (body: {
|
15765
|
-
id?: string | undefined;
|
15766
|
-
subType?: number | undefined;
|
15767
|
-
campaignId?: string | undefined;
|
15768
|
-
amount?: string | undefined;
|
15769
|
-
creatorAddress?: string | undefined;
|
15770
|
-
type: string;
|
15771
|
-
params: any;
|
15772
|
-
computeChainId: number;
|
15773
|
-
distributionChainId: number;
|
15774
|
-
startTimestamp: number;
|
15775
|
-
endTimestamp: number;
|
15776
|
-
rewardToken: string;
|
15777
|
-
}, options: {
|
15778
|
-
headers: {
|
15779
|
-
authorization: string;
|
15780
|
-
};
|
15781
|
-
query?: Record<string, unknown> | undefined;
|
15782
|
-
fetch?: RequestInit | undefined;
|
15783
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15784
|
-
200: unknown[];
|
15785
|
-
}>>;
|
15786
|
-
};
|
15787
|
-
metadata: {
|
15788
|
-
post: (body: {
|
15789
|
-
id?: string | undefined;
|
15790
|
-
subType?: number | undefined;
|
15791
|
-
campaignId?: string | undefined;
|
15792
|
-
amount?: string | undefined;
|
15793
|
-
creatorAddress?: string | undefined;
|
15794
|
-
type: string;
|
15795
|
-
params: any;
|
15796
|
-
computeChainId: number;
|
15797
|
-
distributionChainId: number;
|
15798
|
-
startTimestamp: number;
|
15799
|
-
endTimestamp: number;
|
15800
|
-
rewardToken: string;
|
15801
|
-
}, options: {
|
15802
|
-
headers: {
|
15803
|
-
authorization: string;
|
15804
|
-
};
|
15805
|
-
query?: Record<string, unknown> | undefined;
|
15806
|
-
fetch?: RequestInit | undefined;
|
15807
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15808
|
-
200: {
|
15809
|
-
id: string;
|
15810
|
-
chainId: number;
|
15811
|
-
type: string;
|
15812
|
-
identifier: string;
|
15813
|
-
name: string;
|
15814
|
-
status: "PAST" | "LIVE" | "SOON";
|
15815
|
-
action: any;
|
15816
|
-
tokens: ({
|
15817
|
-
symbol: string;
|
15818
|
-
id: string;
|
15819
|
-
name: string | null;
|
15820
|
-
icon: string;
|
15821
|
-
address: string;
|
15822
|
-
chainId: number;
|
15823
|
-
decimals: number;
|
15824
|
-
verified: boolean;
|
15825
|
-
isTest: boolean;
|
15826
|
-
isPoint: boolean;
|
15827
|
-
isNative: boolean;
|
15828
|
-
} & {
|
15829
|
-
price?: number | null | undefined;
|
15830
|
-
})[];
|
15831
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
15832
|
-
depositUrl: any;
|
15833
|
-
explorerAddress: string | undefined;
|
15834
|
-
tags: string[];
|
15835
|
-
};
|
15836
|
-
}>>;
|
15837
|
-
get: (options: {
|
15838
|
-
headers: {
|
15839
|
-
authorization: string;
|
15840
|
-
};
|
15841
|
-
query: {
|
15842
|
-
campaignId: string;
|
15843
|
-
distributionChain: number;
|
15844
|
-
};
|
15845
|
-
fetch?: RequestInit | undefined;
|
15846
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15847
|
-
200: {
|
15848
|
-
id: string;
|
15849
|
-
chainId: number;
|
15850
|
-
type: string;
|
15851
|
-
identifier: string;
|
15852
|
-
name: string;
|
15853
|
-
status: "PAST" | "LIVE" | "SOON";
|
15854
|
-
action: any;
|
15855
|
-
tokens: ({
|
15856
|
-
symbol: string;
|
15857
|
-
id: string;
|
15858
|
-
name: string | null;
|
15859
|
-
icon: string;
|
15860
|
-
address: string;
|
15861
|
-
chainId: number;
|
15862
|
-
decimals: number;
|
15863
|
-
verified: boolean;
|
15864
|
-
isTest: boolean;
|
15865
|
-
isPoint: boolean;
|
15866
|
-
isNative: boolean;
|
15867
|
-
} & {
|
15868
|
-
price?: number | null | undefined;
|
15869
|
-
})[];
|
15870
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
15871
|
-
depositUrl: any;
|
15872
|
-
explorerAddress: string | undefined;
|
15873
|
-
tags: string[];
|
15874
|
-
};
|
15875
|
-
}>>;
|
15876
|
-
};
|
15721
|
+
200: {
|
15722
|
+
id: string;
|
15723
|
+
type: string;
|
15724
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
15725
|
+
subType: number | null;
|
15726
|
+
computeChainId: number;
|
15727
|
+
distributionChainId: number;
|
15728
|
+
campaignId: string;
|
15729
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15730
|
+
rewardTokenId: string;
|
15731
|
+
amount: string;
|
15732
|
+
opportunityId: string;
|
15733
|
+
startTimestamp: bigint;
|
15734
|
+
endTimestamp: bigint;
|
15735
|
+
creatorAddress: string;
|
15736
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
15737
|
+
createdAt: Date;
|
15738
|
+
};
|
15739
|
+
}>>;
|
15877
15740
|
};
|
15878
15741
|
index: {
|
15879
15742
|
get: (options: {
|
@@ -16142,6 +16005,147 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16142
16005
|
}>>;
|
16143
16006
|
};
|
16144
16007
|
};
|
16008
|
+
"dry-run": ((params: {
|
16009
|
+
campaignId: string | number;
|
16010
|
+
}) => {
|
16011
|
+
"dynamic-data": {
|
16012
|
+
get: (options: {
|
16013
|
+
headers: {
|
16014
|
+
authorization: string;
|
16015
|
+
};
|
16016
|
+
query?: Record<string, unknown> | undefined;
|
16017
|
+
fetch?: RequestInit | undefined;
|
16018
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16019
|
+
200: unknown[];
|
16020
|
+
}>>;
|
16021
|
+
};
|
16022
|
+
}) & {
|
16023
|
+
"dynamic-data": {
|
16024
|
+
list: {
|
16025
|
+
post: (body: string[], options: {
|
16026
|
+
headers: {
|
16027
|
+
authorization: string;
|
16028
|
+
};
|
16029
|
+
query?: Record<string, unknown> | undefined;
|
16030
|
+
fetch?: RequestInit | undefined;
|
16031
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16032
|
+
200: unknown[];
|
16033
|
+
}>>;
|
16034
|
+
};
|
16035
|
+
post: (body: {
|
16036
|
+
id?: string | undefined;
|
16037
|
+
subType?: number | undefined;
|
16038
|
+
campaignId?: string | undefined;
|
16039
|
+
amount?: string | undefined;
|
16040
|
+
creatorAddress?: string | undefined;
|
16041
|
+
type: string;
|
16042
|
+
params: any;
|
16043
|
+
computeChainId: number;
|
16044
|
+
distributionChainId: number;
|
16045
|
+
startTimestamp: number;
|
16046
|
+
endTimestamp: number;
|
16047
|
+
rewardToken: string;
|
16048
|
+
}, options: {
|
16049
|
+
headers: {
|
16050
|
+
authorization: string;
|
16051
|
+
};
|
16052
|
+
query?: Record<string, unknown> | undefined;
|
16053
|
+
fetch?: RequestInit | undefined;
|
16054
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16055
|
+
200: unknown[];
|
16056
|
+
}>>;
|
16057
|
+
};
|
16058
|
+
metadata: {
|
16059
|
+
post: (body: {
|
16060
|
+
id?: string | undefined;
|
16061
|
+
subType?: number | undefined;
|
16062
|
+
campaignId?: string | undefined;
|
16063
|
+
amount?: string | undefined;
|
16064
|
+
creatorAddress?: string | undefined;
|
16065
|
+
type: string;
|
16066
|
+
params: any;
|
16067
|
+
computeChainId: number;
|
16068
|
+
distributionChainId: number;
|
16069
|
+
startTimestamp: number;
|
16070
|
+
endTimestamp: number;
|
16071
|
+
rewardToken: string;
|
16072
|
+
}, options: {
|
16073
|
+
headers: {
|
16074
|
+
authorization: string;
|
16075
|
+
};
|
16076
|
+
query?: Record<string, unknown> | undefined;
|
16077
|
+
fetch?: RequestInit | undefined;
|
16078
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16079
|
+
200: {
|
16080
|
+
id: string;
|
16081
|
+
chainId: number;
|
16082
|
+
type: string;
|
16083
|
+
identifier: string;
|
16084
|
+
name: string;
|
16085
|
+
status: "PAST" | "LIVE" | "SOON";
|
16086
|
+
action: any;
|
16087
|
+
tokens: ({
|
16088
|
+
symbol: string;
|
16089
|
+
id: string;
|
16090
|
+
name: string | null;
|
16091
|
+
icon: string;
|
16092
|
+
address: string;
|
16093
|
+
chainId: number;
|
16094
|
+
decimals: number;
|
16095
|
+
verified: boolean;
|
16096
|
+
isTest: boolean;
|
16097
|
+
isPoint: boolean;
|
16098
|
+
isNative: boolean;
|
16099
|
+
} & {
|
16100
|
+
price?: number | null | undefined;
|
16101
|
+
})[];
|
16102
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
16103
|
+
depositUrl: any;
|
16104
|
+
explorerAddress: string | undefined;
|
16105
|
+
tags: string[];
|
16106
|
+
};
|
16107
|
+
}>>;
|
16108
|
+
get: (options: {
|
16109
|
+
headers: {
|
16110
|
+
authorization: string;
|
16111
|
+
};
|
16112
|
+
query: {
|
16113
|
+
campaignId: string;
|
16114
|
+
distributionChain: number;
|
16115
|
+
};
|
16116
|
+
fetch?: RequestInit | undefined;
|
16117
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16118
|
+
200: {
|
16119
|
+
id: string;
|
16120
|
+
chainId: number;
|
16121
|
+
type: string;
|
16122
|
+
identifier: string;
|
16123
|
+
name: string;
|
16124
|
+
status: "PAST" | "LIVE" | "SOON";
|
16125
|
+
action: any;
|
16126
|
+
tokens: ({
|
16127
|
+
symbol: string;
|
16128
|
+
id: string;
|
16129
|
+
name: string | null;
|
16130
|
+
icon: string;
|
16131
|
+
address: string;
|
16132
|
+
chainId: number;
|
16133
|
+
decimals: number;
|
16134
|
+
verified: boolean;
|
16135
|
+
isTest: boolean;
|
16136
|
+
isPoint: boolean;
|
16137
|
+
isNative: boolean;
|
16138
|
+
} & {
|
16139
|
+
price?: number | null | undefined;
|
16140
|
+
})[];
|
16141
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
16142
|
+
depositUrl: any;
|
16143
|
+
explorerAddress: string | undefined;
|
16144
|
+
tags: string[];
|
16145
|
+
};
|
16146
|
+
}>>;
|
16147
|
+
};
|
16148
|
+
};
|
16145
16149
|
};
|
16146
16150
|
campaignscount: {
|
16147
16151
|
"by-chains": {
|
@@ -16199,7 +16203,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16199
16203
|
dailyRewards?: number | undefined;
|
16200
16204
|
numberOfLiveCampaigns?: number | undefined;
|
16201
16205
|
opportunityLiveTags?: string[] | undefined;
|
16202
|
-
}
|
16206
|
+
};
|
16203
16207
|
}>>;
|
16204
16208
|
patch: (body: {
|
16205
16209
|
name?: string | undefined;
|
@@ -19652,183 +19656,42 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19652
19656
|
authorization: string;
|
19653
19657
|
};
|
19654
19658
|
query?: Record<string, unknown> | undefined;
|
19655
|
-
fetch?: RequestInit | undefined;
|
19656
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19657
|
-
200: void;
|
19658
|
-
}>>;
|
19659
|
-
};
|
19660
|
-
metadata: {
|
19661
|
-
patch: (body: {
|
19662
|
-
url: string;
|
19663
|
-
campaignId: string;
|
19664
|
-
distributionChain: number;
|
19665
|
-
}, options: {
|
19666
|
-
headers: {
|
19667
|
-
authorization: string;
|
19668
|
-
};
|
19669
|
-
query?: Record<string, unknown> | undefined;
|
19670
|
-
fetch?: RequestInit | undefined;
|
19671
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19672
|
-
200: {
|
19673
|
-
id: string;
|
19674
|
-
type: string;
|
19675
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
19676
|
-
subType: number | null;
|
19677
|
-
computeChainId: number;
|
19678
|
-
distributionChainId: number;
|
19679
|
-
campaignId: string;
|
19680
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
19681
|
-
rewardTokenId: string;
|
19682
|
-
amount: string;
|
19683
|
-
opportunityId: string;
|
19684
|
-
startTimestamp: bigint;
|
19685
|
-
endTimestamp: bigint;
|
19686
|
-
creatorAddress: string;
|
19687
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
19688
|
-
createdAt: Date;
|
19689
|
-
};
|
19690
|
-
}>>;
|
19691
|
-
};
|
19692
|
-
"dry-run": ((params: {
|
19693
|
-
campaignId: string | number;
|
19694
|
-
}) => {
|
19695
|
-
"dynamic-data": {
|
19696
|
-
get: (options: {
|
19697
|
-
headers: {
|
19698
|
-
authorization: string;
|
19699
|
-
};
|
19700
|
-
query?: Record<string, unknown> | undefined;
|
19701
|
-
fetch?: RequestInit | undefined;
|
19702
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19703
|
-
200: unknown[];
|
19704
|
-
}>>;
|
19705
|
-
};
|
19706
|
-
}) & {
|
19707
|
-
"dynamic-data": {
|
19708
|
-
list: {
|
19709
|
-
post: (body: string[], options: {
|
19710
|
-
headers: {
|
19711
|
-
authorization: string;
|
19712
|
-
};
|
19713
|
-
query?: Record<string, unknown> | undefined;
|
19714
|
-
fetch?: RequestInit | undefined;
|
19715
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19716
|
-
200: unknown[];
|
19717
|
-
}>>;
|
19718
|
-
};
|
19719
|
-
post: (body: {
|
19720
|
-
id?: string | undefined;
|
19721
|
-
subType?: number | undefined;
|
19722
|
-
campaignId?: string | undefined;
|
19723
|
-
amount?: string | undefined;
|
19724
|
-
creatorAddress?: string | undefined;
|
19725
|
-
type: string;
|
19726
|
-
params: any;
|
19727
|
-
computeChainId: number;
|
19728
|
-
distributionChainId: number;
|
19729
|
-
startTimestamp: number;
|
19730
|
-
endTimestamp: number;
|
19731
|
-
rewardToken: string;
|
19732
|
-
}, options: {
|
19733
|
-
headers: {
|
19734
|
-
authorization: string;
|
19735
|
-
};
|
19736
|
-
query?: Record<string, unknown> | undefined;
|
19737
|
-
fetch?: RequestInit | undefined;
|
19738
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19739
|
-
200: unknown[];
|
19740
|
-
}>>;
|
19741
|
-
};
|
19742
|
-
metadata: {
|
19743
|
-
post: (body: {
|
19744
|
-
id?: string | undefined;
|
19745
|
-
subType?: number | undefined;
|
19746
|
-
campaignId?: string | undefined;
|
19747
|
-
amount?: string | undefined;
|
19748
|
-
creatorAddress?: string | undefined;
|
19659
|
+
fetch?: RequestInit | undefined;
|
19660
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19661
|
+
200: void;
|
19662
|
+
}>>;
|
19663
|
+
};
|
19664
|
+
metadata: {
|
19665
|
+
patch: (body: {
|
19666
|
+
url: string;
|
19667
|
+
campaignId: string;
|
19668
|
+
distributionChain: number;
|
19669
|
+
}, options: {
|
19670
|
+
headers: {
|
19671
|
+
authorization: string;
|
19672
|
+
};
|
19673
|
+
query?: Record<string, unknown> | undefined;
|
19674
|
+
fetch?: RequestInit | undefined;
|
19675
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19676
|
+
200: {
|
19677
|
+
id: string;
|
19749
19678
|
type: string;
|
19750
|
-
params:
|
19679
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
19680
|
+
subType: number | null;
|
19751
19681
|
computeChainId: number;
|
19752
19682
|
distributionChainId: number;
|
19753
|
-
|
19754
|
-
|
19755
|
-
|
19756
|
-
|
19757
|
-
|
19758
|
-
|
19759
|
-
|
19760
|
-
|
19761
|
-
|
19762
|
-
|
19763
|
-
|
19764
|
-
|
19765
|
-
chainId: number;
|
19766
|
-
type: string;
|
19767
|
-
identifier: string;
|
19768
|
-
name: string;
|
19769
|
-
status: "PAST" | "LIVE" | "SOON";
|
19770
|
-
action: any;
|
19771
|
-
tokens: ({
|
19772
|
-
symbol: string;
|
19773
|
-
id: string;
|
19774
|
-
name: string | null;
|
19775
|
-
icon: string;
|
19776
|
-
address: string;
|
19777
|
-
chainId: number;
|
19778
|
-
decimals: number;
|
19779
|
-
verified: boolean;
|
19780
|
-
isTest: boolean;
|
19781
|
-
isPoint: boolean;
|
19782
|
-
isNative: boolean;
|
19783
|
-
} & {
|
19784
|
-
price?: number | null | undefined;
|
19785
|
-
})[];
|
19786
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
19787
|
-
depositUrl: any;
|
19788
|
-
explorerAddress: string | undefined;
|
19789
|
-
tags: string[];
|
19790
|
-
};
|
19791
|
-
}>>;
|
19792
|
-
get: (options: {
|
19793
|
-
headers: {
|
19794
|
-
authorization: string;
|
19795
|
-
};
|
19796
|
-
query: {
|
19797
|
-
campaignId: string;
|
19798
|
-
distributionChain: number;
|
19799
|
-
};
|
19800
|
-
fetch?: RequestInit | undefined;
|
19801
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19802
|
-
200: {
|
19803
|
-
id: string;
|
19804
|
-
chainId: number;
|
19805
|
-
type: string;
|
19806
|
-
identifier: string;
|
19807
|
-
name: string;
|
19808
|
-
status: "PAST" | "LIVE" | "SOON";
|
19809
|
-
action: any;
|
19810
|
-
tokens: ({
|
19811
|
-
symbol: string;
|
19812
|
-
id: string;
|
19813
|
-
name: string | null;
|
19814
|
-
icon: string;
|
19815
|
-
address: string;
|
19816
|
-
chainId: number;
|
19817
|
-
decimals: number;
|
19818
|
-
verified: boolean;
|
19819
|
-
isTest: boolean;
|
19820
|
-
isPoint: boolean;
|
19821
|
-
isNative: boolean;
|
19822
|
-
} & {
|
19823
|
-
price?: number | null | undefined;
|
19824
|
-
})[];
|
19825
|
-
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
19826
|
-
depositUrl: any;
|
19827
|
-
explorerAddress: string | undefined;
|
19828
|
-
tags: string[];
|
19829
|
-
};
|
19830
|
-
}>>;
|
19831
|
-
};
|
19683
|
+
campaignId: string;
|
19684
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19685
|
+
rewardTokenId: string;
|
19686
|
+
amount: string;
|
19687
|
+
opportunityId: string;
|
19688
|
+
startTimestamp: bigint;
|
19689
|
+
endTimestamp: bigint;
|
19690
|
+
creatorAddress: string;
|
19691
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
19692
|
+
createdAt: Date;
|
19693
|
+
};
|
19694
|
+
}>>;
|
19832
19695
|
};
|
19833
19696
|
index: {
|
19834
19697
|
get: (options: {
|
@@ -20097,6 +19960,147 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
20097
19960
|
}>>;
|
20098
19961
|
};
|
20099
19962
|
};
|
19963
|
+
"dry-run": ((params: {
|
19964
|
+
campaignId: string | number;
|
19965
|
+
}) => {
|
19966
|
+
"dynamic-data": {
|
19967
|
+
get: (options: {
|
19968
|
+
headers: {
|
19969
|
+
authorization: string;
|
19970
|
+
};
|
19971
|
+
query?: Record<string, unknown> | undefined;
|
19972
|
+
fetch?: RequestInit | undefined;
|
19973
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19974
|
+
200: unknown[];
|
19975
|
+
}>>;
|
19976
|
+
};
|
19977
|
+
}) & {
|
19978
|
+
"dynamic-data": {
|
19979
|
+
list: {
|
19980
|
+
post: (body: string[], options: {
|
19981
|
+
headers: {
|
19982
|
+
authorization: string;
|
19983
|
+
};
|
19984
|
+
query?: Record<string, unknown> | undefined;
|
19985
|
+
fetch?: RequestInit | undefined;
|
19986
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19987
|
+
200: unknown[];
|
19988
|
+
}>>;
|
19989
|
+
};
|
19990
|
+
post: (body: {
|
19991
|
+
id?: string | undefined;
|
19992
|
+
subType?: number | undefined;
|
19993
|
+
campaignId?: string | undefined;
|
19994
|
+
amount?: string | undefined;
|
19995
|
+
creatorAddress?: string | undefined;
|
19996
|
+
type: string;
|
19997
|
+
params: any;
|
19998
|
+
computeChainId: number;
|
19999
|
+
distributionChainId: number;
|
20000
|
+
startTimestamp: number;
|
20001
|
+
endTimestamp: number;
|
20002
|
+
rewardToken: string;
|
20003
|
+
}, options: {
|
20004
|
+
headers: {
|
20005
|
+
authorization: string;
|
20006
|
+
};
|
20007
|
+
query?: Record<string, unknown> | undefined;
|
20008
|
+
fetch?: RequestInit | undefined;
|
20009
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
20010
|
+
200: unknown[];
|
20011
|
+
}>>;
|
20012
|
+
};
|
20013
|
+
metadata: {
|
20014
|
+
post: (body: {
|
20015
|
+
id?: string | undefined;
|
20016
|
+
subType?: number | undefined;
|
20017
|
+
campaignId?: string | undefined;
|
20018
|
+
amount?: string | undefined;
|
20019
|
+
creatorAddress?: string | undefined;
|
20020
|
+
type: string;
|
20021
|
+
params: any;
|
20022
|
+
computeChainId: number;
|
20023
|
+
distributionChainId: number;
|
20024
|
+
startTimestamp: number;
|
20025
|
+
endTimestamp: number;
|
20026
|
+
rewardToken: string;
|
20027
|
+
}, options: {
|
20028
|
+
headers: {
|
20029
|
+
authorization: string;
|
20030
|
+
};
|
20031
|
+
query?: Record<string, unknown> | undefined;
|
20032
|
+
fetch?: RequestInit | undefined;
|
20033
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
20034
|
+
200: {
|
20035
|
+
id: string;
|
20036
|
+
chainId: number;
|
20037
|
+
type: string;
|
20038
|
+
identifier: string;
|
20039
|
+
name: string;
|
20040
|
+
status: "PAST" | "LIVE" | "SOON";
|
20041
|
+
action: any;
|
20042
|
+
tokens: ({
|
20043
|
+
symbol: string;
|
20044
|
+
id: string;
|
20045
|
+
name: string | null;
|
20046
|
+
icon: string;
|
20047
|
+
address: string;
|
20048
|
+
chainId: number;
|
20049
|
+
decimals: number;
|
20050
|
+
verified: boolean;
|
20051
|
+
isTest: boolean;
|
20052
|
+
isPoint: boolean;
|
20053
|
+
isNative: boolean;
|
20054
|
+
} & {
|
20055
|
+
price?: number | null | undefined;
|
20056
|
+
})[];
|
20057
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
20058
|
+
depositUrl: any;
|
20059
|
+
explorerAddress: string | undefined;
|
20060
|
+
tags: string[];
|
20061
|
+
};
|
20062
|
+
}>>;
|
20063
|
+
get: (options: {
|
20064
|
+
headers: {
|
20065
|
+
authorization: string;
|
20066
|
+
};
|
20067
|
+
query: {
|
20068
|
+
campaignId: string;
|
20069
|
+
distributionChain: number;
|
20070
|
+
};
|
20071
|
+
fetch?: RequestInit | undefined;
|
20072
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
20073
|
+
200: {
|
20074
|
+
id: string;
|
20075
|
+
chainId: number;
|
20076
|
+
type: string;
|
20077
|
+
identifier: string;
|
20078
|
+
name: string;
|
20079
|
+
status: "PAST" | "LIVE" | "SOON";
|
20080
|
+
action: any;
|
20081
|
+
tokens: ({
|
20082
|
+
symbol: string;
|
20083
|
+
id: string;
|
20084
|
+
name: string | null;
|
20085
|
+
icon: string;
|
20086
|
+
address: string;
|
20087
|
+
chainId: number;
|
20088
|
+
decimals: number;
|
20089
|
+
verified: boolean;
|
20090
|
+
isTest: boolean;
|
20091
|
+
isPoint: boolean;
|
20092
|
+
isNative: boolean;
|
20093
|
+
} & {
|
20094
|
+
price?: number | null | undefined;
|
20095
|
+
})[];
|
20096
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "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" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
20097
|
+
depositUrl: any;
|
20098
|
+
explorerAddress: string | undefined;
|
20099
|
+
tags: string[];
|
20100
|
+
};
|
20101
|
+
}>>;
|
20102
|
+
};
|
20103
|
+
};
|
20100
20104
|
};
|
20101
20105
|
campaignscount: {
|
20102
20106
|
"by-chains": {
|
@@ -20154,7 +20158,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
20154
20158
|
dailyRewards?: number | undefined;
|
20155
20159
|
numberOfLiveCampaigns?: number | undefined;
|
20156
20160
|
opportunityLiveTags?: string[] | undefined;
|
20157
|
-
}
|
20161
|
+
};
|
20158
20162
|
}>>;
|
20159
20163
|
patch: (body: {
|
20160
20164
|
name?: string | undefined;
|