@merkl/api 0.20.51 → 0.20.53
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/backgroundJobs/index.js +5 -3
- package/dist/src/eden/index.d.ts +1169 -976
- package/dist/src/engine/dynamicData/factory.js +6 -0
- package/dist/src/engine/dynamicData/implementations/Erc20.d.ts +2 -2
- package/dist/src/engine/dynamicData/implementations/Erc20.js +16 -2
- package/dist/src/engine/dynamicData/implementations/UniswapV4.js +1 -1
- 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/factory.js +6 -0
- package/dist/src/engine/opportunityMetadata/implementations/Erc20.js +1 -1
- package/dist/src/index.d.ts +246 -185
- package/dist/src/jobs/update-uniswap-v4-pools.js +3 -2
- package/dist/src/modules/v4/accounting/accounting.repository.js +72 -18
- 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 +246 -185
- package/dist/src/modules/v4/router.js +2 -0
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +72 -15
- package/dist/src/modules/v4/uniswap/uniswap.controller.js +49 -6
- package/dist/src/modules/v4/uniswap/uniswap.model.d.ts +35 -16
- package/dist/src/modules/v4/uniswap/uniswap.model.js +22 -8
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
- package/dist/src/modules/v4/uniswap/uniswap.repository.js +2 -2
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +4 -19
- package/dist/src/modules/v4/uniswap/uniswap.service.js +20 -80
- package/dist/src/routes/v3/uniswapv4.js +5 -5
- 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 +14 -14
- package/dist/src/engine/dynamicData/utils/getUniswapV4Pools.d.ts +0 -10
- package/dist/src/engine/dynamicData/utils/getUniswapV4Pools.js +0 -188
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,81 +1516,222 @@ declare const eden: {
|
|
1657
1516
|
}>>;
|
1658
1517
|
};
|
1659
1518
|
};
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
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
|
+
}>>;
|
1666
1545
|
};
|
1667
|
-
|
1668
|
-
|
1669
|
-
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1670
|
-
items?: number | undefined;
|
1546
|
+
post: (body: {
|
1547
|
+
id?: string | undefined;
|
1671
1548
|
subType?: number | undefined;
|
1672
|
-
page?: number | undefined;
|
1673
|
-
types?: string[] | undefined;
|
1674
1549
|
campaignId?: string | undefined;
|
1675
|
-
|
1676
|
-
startTimestamp?: string | undefined;
|
1677
|
-
endTimestamp?: string | undefined;
|
1550
|
+
amount?: string | undefined;
|
1678
1551
|
creatorAddress?: string | undefined;
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
};
|
1696
|
-
}>>;
|
1697
|
-
};
|
1698
|
-
};
|
1699
|
-
protocols: ((params: {
|
1700
|
-
id: string | number;
|
1701
|
-
}) => {
|
1702
|
-
get: (options?: {
|
1703
|
-
headers?: Record<string, unknown> | undefined;
|
1704
|
-
query?: Record<string, unknown> | undefined;
|
1705
|
-
fetch?: RequestInit | undefined;
|
1706
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1707
|
-
200: {
|
1708
|
-
id: string;
|
1709
|
-
name: string;
|
1710
|
-
url: string;
|
1711
|
-
description: string;
|
1712
|
-
tags: string[];
|
1713
|
-
icon: string;
|
1714
|
-
dailyRewards?: number | undefined;
|
1715
|
-
numberOfLiveCampaigns?: number | undefined;
|
1716
|
-
opportunityLiveTags?: string[] | undefined;
|
1717
|
-
} | null;
|
1718
|
-
}>>;
|
1719
|
-
patch: (body: {
|
1720
|
-
name?: string | undefined;
|
1721
|
-
url?: string | undefined;
|
1722
|
-
description?: string | undefined;
|
1723
|
-
icon?: string | undefined;
|
1724
|
-
}, options: {
|
1725
|
-
headers: {
|
1726
|
-
authorization: string;
|
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
|
+
}>>;
|
1727
1568
|
};
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
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
|
+
};
|
1661
|
+
campaignscount: {
|
1662
|
+
"by-chains": {
|
1663
|
+
get: (options: {
|
1664
|
+
headers: {
|
1665
|
+
authorization: string;
|
1666
|
+
};
|
1667
|
+
query: {
|
1668
|
+
type?: string | undefined;
|
1669
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1670
|
+
items?: number | undefined;
|
1671
|
+
subType?: number | undefined;
|
1672
|
+
page?: number | undefined;
|
1673
|
+
types?: string[] | undefined;
|
1674
|
+
campaignId?: string | undefined;
|
1675
|
+
opportunityId?: string | undefined;
|
1676
|
+
startTimestamp?: string | undefined;
|
1677
|
+
endTimestamp?: string | undefined;
|
1678
|
+
creatorAddress?: string | undefined;
|
1679
|
+
chainId?: number | undefined;
|
1680
|
+
creatorId?: string | undefined;
|
1681
|
+
mainParameter?: string | undefined;
|
1682
|
+
point?: boolean | undefined;
|
1683
|
+
tokenAddress?: string | undefined;
|
1684
|
+
test?: boolean | undefined;
|
1685
|
+
creatorTag?: string | undefined;
|
1686
|
+
distributionChainIds?: number[] | undefined;
|
1687
|
+
tokenSymbol?: string | undefined;
|
1688
|
+
withOpportunity?: boolean | undefined;
|
1689
|
+
createdAfter?: Date | null | undefined;
|
1690
|
+
};
|
1691
|
+
fetch?: RequestInit | undefined;
|
1692
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1693
|
+
200: {
|
1694
|
+
[x: string]: number;
|
1695
|
+
};
|
1696
|
+
}>>;
|
1697
|
+
};
|
1698
|
+
};
|
1699
|
+
protocols: ((params: {
|
1700
|
+
id: string | number;
|
1701
|
+
}) => {
|
1702
|
+
get: (options?: {
|
1703
|
+
headers?: Record<string, unknown> | undefined;
|
1704
|
+
query?: Record<string, unknown> | undefined;
|
1705
|
+
fetch?: RequestInit | undefined;
|
1706
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1707
|
+
200: {
|
1708
|
+
id: string;
|
1709
|
+
name: string;
|
1710
|
+
url: string;
|
1711
|
+
description: string;
|
1712
|
+
tags: string[];
|
1713
|
+
icon: string;
|
1714
|
+
dailyRewards?: number | undefined;
|
1715
|
+
numberOfLiveCampaigns?: number | undefined;
|
1716
|
+
opportunityLiveTags?: string[] | undefined;
|
1717
|
+
};
|
1718
|
+
}>>;
|
1719
|
+
patch: (body: {
|
1720
|
+
name?: string | undefined;
|
1721
|
+
url?: string | undefined;
|
1722
|
+
description?: string | undefined;
|
1723
|
+
icon?: string | undefined;
|
1724
|
+
}, options: {
|
1725
|
+
headers: {
|
1726
|
+
authorization: string;
|
1727
|
+
};
|
1728
|
+
query?: Record<string, unknown> | undefined;
|
1729
|
+
fetch?: RequestInit | undefined;
|
1730
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1731
|
+
200: {
|
1732
|
+
id: string;
|
1733
|
+
name: string;
|
1734
|
+
url: string;
|
1735
1735
|
description: string;
|
1736
1736
|
tags: string[];
|
1737
1737
|
icon: string;
|
@@ -4019,34 +4019,67 @@ declare const eden: {
|
|
4019
4019
|
};
|
4020
4020
|
}>>;
|
4021
4021
|
};
|
4022
|
-
v4: {
|
4022
|
+
v4: ((params: {
|
4023
|
+
poolId: string | number;
|
4024
|
+
}) => {
|
4025
|
+
get: (options?: {
|
4026
|
+
headers?: Record<string, unknown> | undefined;
|
4027
|
+
query?: Record<string, unknown> | undefined;
|
4028
|
+
fetch?: RequestInit | undefined;
|
4029
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4030
|
+
200: UniswapV4PoolType[];
|
4031
|
+
}>>;
|
4032
|
+
}) & {
|
4023
4033
|
pools: {
|
4024
|
-
get: (options
|
4034
|
+
get: (options?: {
|
4025
4035
|
headers?: Record<string, unknown> | undefined;
|
4026
|
-
query
|
4027
|
-
chainId: number;
|
4028
|
-
};
|
4036
|
+
query?: Record<string, unknown> | undefined;
|
4029
4037
|
fetch?: RequestInit | undefined;
|
4030
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4038
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4031
4039
|
200: {
|
4032
4040
|
[x: string]: {
|
4033
|
-
poolId: string;
|
4034
|
-
|
4035
|
-
|
4036
|
-
|
4037
|
-
|
4038
|
-
|
4039
|
-
|
4040
|
-
|
4041
|
-
|
4042
|
-
|
4043
|
-
|
4044
|
-
|
4045
|
-
|
4041
|
+
[poolId: string]: UniswapV4PoolType;
|
4042
|
+
} | undefined;
|
4043
|
+
};
|
4044
|
+
}>>;
|
4045
|
+
};
|
4046
|
+
update: ((params: {
|
4047
|
+
chainId: string | number;
|
4048
|
+
}) => {
|
4049
|
+
post: (body: unknown, options: {
|
4050
|
+
headers: {
|
4051
|
+
authorization: string;
|
4052
|
+
};
|
4053
|
+
query?: Record<string, unknown> | undefined;
|
4054
|
+
fetch?: RequestInit | undefined;
|
4055
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4056
|
+
200: void;
|
4057
|
+
}>>;
|
4058
|
+
}) & {
|
4059
|
+
post: (body: unknown, options: {
|
4060
|
+
headers: {
|
4061
|
+
authorization: string;
|
4046
4062
|
};
|
4063
|
+
query?: Record<string, unknown> | undefined;
|
4064
|
+
fetch?: RequestInit | undefined;
|
4065
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4066
|
+
200: void;
|
4047
4067
|
}>>;
|
4048
4068
|
};
|
4049
4069
|
};
|
4070
|
+
v4pools: ((params: {
|
4071
|
+
chainId: string | number;
|
4072
|
+
}) => {
|
4073
|
+
get: (options?: {
|
4074
|
+
headers?: Record<string, unknown> | undefined;
|
4075
|
+
query?: Record<string, unknown> | undefined;
|
4076
|
+
fetch?: RequestInit | undefined;
|
4077
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4078
|
+
200: {
|
4079
|
+
[x: string]: any;
|
4080
|
+
};
|
4081
|
+
}>>;
|
4082
|
+
}) & {};
|
4050
4083
|
};
|
4051
4084
|
} | {
|
4052
4085
|
derive: {};
|
@@ -5204,147 +5237,6 @@ declare const eden: {
|
|
5204
5237
|
};
|
5205
5238
|
}>>;
|
5206
5239
|
};
|
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
5240
|
index: {
|
5349
5241
|
get: (options: {
|
5350
5242
|
headers?: Record<string, unknown> | undefined;
|
@@ -5612,6 +5504,147 @@ declare const eden: {
|
|
5612
5504
|
}>>;
|
5613
5505
|
};
|
5614
5506
|
};
|
5507
|
+
"dry-run": ((params: {
|
5508
|
+
campaignId: string | number;
|
5509
|
+
}) => {
|
5510
|
+
"dynamic-data": {
|
5511
|
+
get: (options: {
|
5512
|
+
headers: {
|
5513
|
+
authorization: string;
|
5514
|
+
};
|
5515
|
+
query?: Record<string, unknown> | undefined;
|
5516
|
+
fetch?: RequestInit | undefined;
|
5517
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5518
|
+
200: unknown[];
|
5519
|
+
}>>;
|
5520
|
+
};
|
5521
|
+
}) & {
|
5522
|
+
"dynamic-data": {
|
5523
|
+
list: {
|
5524
|
+
post: (body: string[], options: {
|
5525
|
+
headers: {
|
5526
|
+
authorization: string;
|
5527
|
+
};
|
5528
|
+
query?: Record<string, unknown> | undefined;
|
5529
|
+
fetch?: RequestInit | undefined;
|
5530
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5531
|
+
200: unknown[];
|
5532
|
+
}>>;
|
5533
|
+
};
|
5534
|
+
post: (body: {
|
5535
|
+
id?: string | undefined;
|
5536
|
+
subType?: number | undefined;
|
5537
|
+
campaignId?: string | undefined;
|
5538
|
+
amount?: string | undefined;
|
5539
|
+
creatorAddress?: string | undefined;
|
5540
|
+
type: string;
|
5541
|
+
params: any;
|
5542
|
+
computeChainId: number;
|
5543
|
+
distributionChainId: number;
|
5544
|
+
startTimestamp: number;
|
5545
|
+
endTimestamp: number;
|
5546
|
+
rewardToken: string;
|
5547
|
+
}, options: {
|
5548
|
+
headers: {
|
5549
|
+
authorization: string;
|
5550
|
+
};
|
5551
|
+
query?: Record<string, unknown> | undefined;
|
5552
|
+
fetch?: RequestInit | undefined;
|
5553
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5554
|
+
200: unknown[];
|
5555
|
+
}>>;
|
5556
|
+
};
|
5557
|
+
metadata: {
|
5558
|
+
post: (body: {
|
5559
|
+
id?: string | undefined;
|
5560
|
+
subType?: number | undefined;
|
5561
|
+
campaignId?: string | undefined;
|
5562
|
+
amount?: string | undefined;
|
5563
|
+
creatorAddress?: string | undefined;
|
5564
|
+
type: string;
|
5565
|
+
params: any;
|
5566
|
+
computeChainId: number;
|
5567
|
+
distributionChainId: number;
|
5568
|
+
startTimestamp: number;
|
5569
|
+
endTimestamp: number;
|
5570
|
+
rewardToken: string;
|
5571
|
+
}, options: {
|
5572
|
+
headers: {
|
5573
|
+
authorization: string;
|
5574
|
+
};
|
5575
|
+
query?: Record<string, unknown> | undefined;
|
5576
|
+
fetch?: RequestInit | undefined;
|
5577
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5578
|
+
200: {
|
5579
|
+
id: string;
|
5580
|
+
chainId: number;
|
5581
|
+
type: string;
|
5582
|
+
identifier: string;
|
5583
|
+
name: string;
|
5584
|
+
status: "PAST" | "LIVE" | "SOON";
|
5585
|
+
action: any;
|
5586
|
+
tokens: ({
|
5587
|
+
symbol: string;
|
5588
|
+
id: string;
|
5589
|
+
name: string | null;
|
5590
|
+
icon: string;
|
5591
|
+
address: string;
|
5592
|
+
chainId: number;
|
5593
|
+
decimals: number;
|
5594
|
+
verified: boolean;
|
5595
|
+
isTest: boolean;
|
5596
|
+
isPoint: boolean;
|
5597
|
+
isNative: boolean;
|
5598
|
+
} & {
|
5599
|
+
price?: number | null | undefined;
|
5600
|
+
})[];
|
5601
|
+
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;
|
5602
|
+
depositUrl: any;
|
5603
|
+
explorerAddress: string | undefined;
|
5604
|
+
tags: string[];
|
5605
|
+
};
|
5606
|
+
}>>;
|
5607
|
+
get: (options: {
|
5608
|
+
headers: {
|
5609
|
+
authorization: string;
|
5610
|
+
};
|
5611
|
+
query: {
|
5612
|
+
campaignId: string;
|
5613
|
+
distributionChain: number;
|
5614
|
+
};
|
5615
|
+
fetch?: RequestInit | undefined;
|
5616
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5617
|
+
200: {
|
5618
|
+
id: string;
|
5619
|
+
chainId: number;
|
5620
|
+
type: string;
|
5621
|
+
identifier: string;
|
5622
|
+
name: string;
|
5623
|
+
status: "PAST" | "LIVE" | "SOON";
|
5624
|
+
action: any;
|
5625
|
+
tokens: ({
|
5626
|
+
symbol: string;
|
5627
|
+
id: string;
|
5628
|
+
name: string | null;
|
5629
|
+
icon: string;
|
5630
|
+
address: string;
|
5631
|
+
chainId: number;
|
5632
|
+
decimals: number;
|
5633
|
+
verified: boolean;
|
5634
|
+
isTest: boolean;
|
5635
|
+
isPoint: boolean;
|
5636
|
+
isNative: boolean;
|
5637
|
+
} & {
|
5638
|
+
price?: number | null | undefined;
|
5639
|
+
})[];
|
5640
|
+
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;
|
5641
|
+
depositUrl: any;
|
5642
|
+
explorerAddress: string | undefined;
|
5643
|
+
tags: string[];
|
5644
|
+
};
|
5645
|
+
}>>;
|
5646
|
+
};
|
5647
|
+
};
|
5615
5648
|
};
|
5616
5649
|
campaignscount: {
|
5617
5650
|
"by-chains": {
|
@@ -5669,7 +5702,7 @@ declare const eden: {
|
|
5669
5702
|
dailyRewards?: number | undefined;
|
5670
5703
|
numberOfLiveCampaigns?: number | undefined;
|
5671
5704
|
opportunityLiveTags?: string[] | undefined;
|
5672
|
-
}
|
5705
|
+
};
|
5673
5706
|
}>>;
|
5674
5707
|
patch: (body: {
|
5675
5708
|
name?: string | undefined;
|
@@ -7974,34 +8007,67 @@ declare const eden: {
|
|
7974
8007
|
};
|
7975
8008
|
}>>;
|
7976
8009
|
};
|
7977
|
-
v4: {
|
7978
|
-
|
7979
|
-
|
7980
|
-
|
7981
|
-
|
7982
|
-
|
7983
|
-
|
8010
|
+
v4: ((params: {
|
8011
|
+
poolId: string | number;
|
8012
|
+
}) => {
|
8013
|
+
get: (options?: {
|
8014
|
+
headers?: Record<string, unknown> | undefined;
|
8015
|
+
query?: Record<string, unknown> | undefined;
|
8016
|
+
fetch?: RequestInit | undefined;
|
8017
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8018
|
+
200: UniswapV4PoolType[];
|
8019
|
+
}>>;
|
8020
|
+
}) & {
|
8021
|
+
pools: {
|
8022
|
+
get: (options?: {
|
8023
|
+
headers?: Record<string, unknown> | undefined;
|
8024
|
+
query?: Record<string, unknown> | undefined;
|
7984
8025
|
fetch?: RequestInit | undefined;
|
7985
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8026
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
7986
8027
|
200: {
|
7987
8028
|
[x: string]: {
|
7988
|
-
poolId: string;
|
7989
|
-
|
7990
|
-
|
7991
|
-
|
7992
|
-
|
7993
|
-
|
7994
|
-
|
7995
|
-
|
7996
|
-
|
7997
|
-
|
7998
|
-
|
7999
|
-
|
8000
|
-
|
8029
|
+
[poolId: string]: UniswapV4PoolType;
|
8030
|
+
} | undefined;
|
8031
|
+
};
|
8032
|
+
}>>;
|
8033
|
+
};
|
8034
|
+
update: ((params: {
|
8035
|
+
chainId: string | number;
|
8036
|
+
}) => {
|
8037
|
+
post: (body: unknown, options: {
|
8038
|
+
headers: {
|
8039
|
+
authorization: string;
|
8040
|
+
};
|
8041
|
+
query?: Record<string, unknown> | undefined;
|
8042
|
+
fetch?: RequestInit | undefined;
|
8043
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8044
|
+
200: void;
|
8045
|
+
}>>;
|
8046
|
+
}) & {
|
8047
|
+
post: (body: unknown, options: {
|
8048
|
+
headers: {
|
8049
|
+
authorization: string;
|
8001
8050
|
};
|
8051
|
+
query?: Record<string, unknown> | undefined;
|
8052
|
+
fetch?: RequestInit | undefined;
|
8053
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8054
|
+
200: void;
|
8002
8055
|
}>>;
|
8003
8056
|
};
|
8004
8057
|
};
|
8058
|
+
v4pools: ((params: {
|
8059
|
+
chainId: string | number;
|
8060
|
+
}) => {
|
8061
|
+
get: (options?: {
|
8062
|
+
headers?: Record<string, unknown> | undefined;
|
8063
|
+
query?: Record<string, unknown> | undefined;
|
8064
|
+
fetch?: RequestInit | undefined;
|
8065
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8066
|
+
200: {
|
8067
|
+
[x: string]: any;
|
8068
|
+
};
|
8069
|
+
}>>;
|
8070
|
+
}) & {};
|
8005
8071
|
};
|
8006
8072
|
};
|
8007
8073
|
v3: {
|
@@ -9968,175 +10034,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9968
10034
|
};
|
9969
10035
|
};
|
9970
10036
|
};
|
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
|
-
};
|
10035
|
-
};
|
10036
|
-
};
|
10037
|
-
};
|
10038
|
-
} & {
|
10039
|
-
"dry-run": {
|
10040
|
-
metadata: {
|
10041
|
-
post: {
|
10042
|
-
body: {
|
10043
|
-
id?: string | undefined;
|
10044
|
-
subType?: number | undefined;
|
10045
|
-
campaignId?: string | undefined;
|
10046
|
-
amount?: string | undefined;
|
10047
|
-
creatorAddress?: string | undefined;
|
10048
|
-
type: string;
|
10049
|
-
params: any;
|
10050
|
-
computeChainId: number;
|
10051
|
-
distributionChainId: number;
|
10052
|
-
startTimestamp: number;
|
10053
|
-
endTimestamp: number;
|
10054
|
-
rewardToken: string;
|
10055
|
-
};
|
10056
|
-
params: {};
|
10057
|
-
query: unknown;
|
10058
|
-
headers: {
|
10059
|
-
authorization: string;
|
10060
|
-
};
|
10061
|
-
response: {
|
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
|
-
};
|
10090
|
-
};
|
10091
|
-
};
|
10092
|
-
};
|
10093
|
-
};
|
10094
|
-
} & {
|
10095
|
-
"dry-run": {
|
10096
|
-
metadata: {
|
10097
|
-
get: {
|
10098
|
-
body: unknown;
|
10099
|
-
params: {};
|
10100
|
-
query: {
|
10101
|
-
campaignId: string;
|
10102
|
-
distributionChain: number;
|
10103
|
-
};
|
10104
|
-
headers: {
|
10105
|
-
authorization: string;
|
10106
|
-
};
|
10107
|
-
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
|
-
};
|
10136
|
-
};
|
10137
|
-
};
|
10138
|
-
};
|
10139
|
-
};
|
10140
10037
|
} & {
|
10141
10038
|
index: {
|
10142
10039
|
get: {
|
@@ -10682,25 +10579,198 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10682
10579
|
};
|
10683
10580
|
} & {
|
10684
10581
|
v4: {
|
10685
|
-
|
10686
|
-
|
10687
|
-
|
10688
|
-
|
10689
|
-
|
10690
|
-
|
10691
|
-
|
10692
|
-
|
10693
|
-
|
10694
|
-
|
10695
|
-
|
10696
|
-
|
10697
|
-
|
10698
|
-
|
10582
|
+
campaigns: {
|
10583
|
+
"dry-run": {
|
10584
|
+
":campaignId": {
|
10585
|
+
"dynamic-data": {
|
10586
|
+
get: {
|
10587
|
+
body: unknown;
|
10588
|
+
params: {
|
10589
|
+
campaignId: string;
|
10590
|
+
};
|
10591
|
+
query: unknown;
|
10592
|
+
headers: {
|
10593
|
+
authorization: string;
|
10594
|
+
};
|
10595
|
+
response: {
|
10596
|
+
200: unknown[];
|
10597
|
+
};
|
10598
|
+
};
|
10699
10599
|
};
|
10700
|
-
|
10701
|
-
|
10702
|
-
|
10703
|
-
|
10600
|
+
};
|
10601
|
+
};
|
10602
|
+
} & {
|
10603
|
+
"dry-run": {
|
10604
|
+
"dynamic-data": {
|
10605
|
+
list: {
|
10606
|
+
post: {
|
10607
|
+
body: string[];
|
10608
|
+
params: {};
|
10609
|
+
query: unknown;
|
10610
|
+
headers: {
|
10611
|
+
authorization: string;
|
10612
|
+
};
|
10613
|
+
response: {
|
10614
|
+
200: unknown[];
|
10615
|
+
};
|
10616
|
+
};
|
10617
|
+
};
|
10618
|
+
};
|
10619
|
+
};
|
10620
|
+
} & {
|
10621
|
+
"dry-run": {
|
10622
|
+
"dynamic-data": {
|
10623
|
+
post: {
|
10624
|
+
body: {
|
10625
|
+
id?: string | undefined;
|
10626
|
+
subType?: number | undefined;
|
10627
|
+
campaignId?: string | undefined;
|
10628
|
+
amount?: string | undefined;
|
10629
|
+
creatorAddress?: string | undefined;
|
10630
|
+
type: string;
|
10631
|
+
params: any;
|
10632
|
+
computeChainId: number;
|
10633
|
+
distributionChainId: number;
|
10634
|
+
startTimestamp: number;
|
10635
|
+
endTimestamp: number;
|
10636
|
+
rewardToken: string;
|
10637
|
+
};
|
10638
|
+
params: {};
|
10639
|
+
query: unknown;
|
10640
|
+
headers: {
|
10641
|
+
authorization: string;
|
10642
|
+
};
|
10643
|
+
response: {
|
10644
|
+
200: unknown[];
|
10645
|
+
};
|
10646
|
+
};
|
10647
|
+
};
|
10648
|
+
};
|
10649
|
+
} & {
|
10650
|
+
"dry-run": {
|
10651
|
+
metadata: {
|
10652
|
+
post: {
|
10653
|
+
body: {
|
10654
|
+
id?: string | undefined;
|
10655
|
+
subType?: number | undefined;
|
10656
|
+
campaignId?: string | undefined;
|
10657
|
+
amount?: string | undefined;
|
10658
|
+
creatorAddress?: string | undefined;
|
10659
|
+
type: string;
|
10660
|
+
params: any;
|
10661
|
+
computeChainId: number;
|
10662
|
+
distributionChainId: number;
|
10663
|
+
startTimestamp: number;
|
10664
|
+
endTimestamp: number;
|
10665
|
+
rewardToken: string;
|
10666
|
+
};
|
10667
|
+
params: {};
|
10668
|
+
query: unknown;
|
10669
|
+
headers: {
|
10670
|
+
authorization: string;
|
10671
|
+
};
|
10672
|
+
response: {
|
10673
|
+
200: {
|
10674
|
+
id: string;
|
10675
|
+
chainId: number;
|
10676
|
+
type: string;
|
10677
|
+
identifier: string;
|
10678
|
+
name: string;
|
10679
|
+
status: "PAST" | "LIVE" | "SOON";
|
10680
|
+
action: any;
|
10681
|
+
tokens: ({
|
10682
|
+
symbol: string;
|
10683
|
+
id: string;
|
10684
|
+
name: string | null;
|
10685
|
+
icon: string;
|
10686
|
+
address: string;
|
10687
|
+
chainId: number;
|
10688
|
+
decimals: number;
|
10689
|
+
verified: boolean;
|
10690
|
+
isTest: boolean;
|
10691
|
+
isPoint: boolean;
|
10692
|
+
isNative: boolean;
|
10693
|
+
} & {
|
10694
|
+
price?: number | null | undefined;
|
10695
|
+
})[];
|
10696
|
+
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;
|
10697
|
+
depositUrl: any;
|
10698
|
+
explorerAddress: string | undefined;
|
10699
|
+
tags: string[];
|
10700
|
+
};
|
10701
|
+
};
|
10702
|
+
};
|
10703
|
+
};
|
10704
|
+
};
|
10705
|
+
} & {
|
10706
|
+
"dry-run": {
|
10707
|
+
metadata: {
|
10708
|
+
get: {
|
10709
|
+
body: unknown;
|
10710
|
+
params: {};
|
10711
|
+
query: {
|
10712
|
+
campaignId: string;
|
10713
|
+
distributionChain: number;
|
10714
|
+
};
|
10715
|
+
headers: {
|
10716
|
+
authorization: string;
|
10717
|
+
};
|
10718
|
+
response: {
|
10719
|
+
200: {
|
10720
|
+
id: string;
|
10721
|
+
chainId: number;
|
10722
|
+
type: string;
|
10723
|
+
identifier: string;
|
10724
|
+
name: string;
|
10725
|
+
status: "PAST" | "LIVE" | "SOON";
|
10726
|
+
action: any;
|
10727
|
+
tokens: ({
|
10728
|
+
symbol: string;
|
10729
|
+
id: string;
|
10730
|
+
name: string | null;
|
10731
|
+
icon: string;
|
10732
|
+
address: string;
|
10733
|
+
chainId: number;
|
10734
|
+
decimals: number;
|
10735
|
+
verified: boolean;
|
10736
|
+
isTest: boolean;
|
10737
|
+
isPoint: boolean;
|
10738
|
+
isNative: boolean;
|
10739
|
+
} & {
|
10740
|
+
price?: number | null | undefined;
|
10741
|
+
})[];
|
10742
|
+
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;
|
10743
|
+
depositUrl: any;
|
10744
|
+
explorerAddress: string | undefined;
|
10745
|
+
tags: string[];
|
10746
|
+
};
|
10747
|
+
};
|
10748
|
+
};
|
10749
|
+
};
|
10750
|
+
};
|
10751
|
+
};
|
10752
|
+
};
|
10753
|
+
} & {
|
10754
|
+
v4: {
|
10755
|
+
protocols: {
|
10756
|
+
index: {
|
10757
|
+
get: {
|
10758
|
+
body: unknown;
|
10759
|
+
params: {};
|
10760
|
+
query: {
|
10761
|
+
id?: string | undefined;
|
10762
|
+
name?: string | undefined;
|
10763
|
+
items?: number | undefined;
|
10764
|
+
tags?: string[] | undefined;
|
10765
|
+
page?: number | undefined;
|
10766
|
+
test?: boolean | undefined;
|
10767
|
+
ids?: string[] | undefined;
|
10768
|
+
opportunityTag?: string | undefined;
|
10769
|
+
};
|
10770
|
+
headers: unknown;
|
10771
|
+
response: {
|
10772
|
+
200: ({
|
10773
|
+
id: string;
|
10704
10774
|
name: string;
|
10705
10775
|
url: string;
|
10706
10776
|
description: string;
|
@@ -10759,7 +10829,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10759
10829
|
dailyRewards?: number | undefined;
|
10760
10830
|
numberOfLiveCampaigns?: number | undefined;
|
10761
10831
|
opportunityLiveTags?: string[] | undefined;
|
10762
|
-
}
|
10832
|
+
};
|
10763
10833
|
};
|
10764
10834
|
};
|
10765
10835
|
};
|
@@ -13647,26 +13717,83 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13647
13717
|
get: {
|
13648
13718
|
body: unknown;
|
13649
13719
|
params: {};
|
13650
|
-
query:
|
13720
|
+
query: unknown;
|
13721
|
+
headers: unknown;
|
13722
|
+
response: {
|
13723
|
+
200: {
|
13724
|
+
[x: string]: {
|
13725
|
+
[poolId: string]: UniswapV4PoolType;
|
13726
|
+
} | undefined;
|
13727
|
+
};
|
13728
|
+
};
|
13729
|
+
};
|
13730
|
+
};
|
13731
|
+
};
|
13732
|
+
} & {
|
13733
|
+
v4pools: {
|
13734
|
+
":chainId": {
|
13735
|
+
get: {
|
13736
|
+
body: unknown;
|
13737
|
+
params: {
|
13651
13738
|
chainId: number;
|
13652
13739
|
};
|
13740
|
+
query: unknown;
|
13653
13741
|
headers: unknown;
|
13654
13742
|
response: {
|
13655
13743
|
200: {
|
13656
|
-
[x: string]:
|
13657
|
-
|
13658
|
-
|
13659
|
-
|
13660
|
-
|
13661
|
-
|
13662
|
-
|
13663
|
-
|
13664
|
-
|
13665
|
-
|
13666
|
-
|
13667
|
-
|
13668
|
-
|
13669
|
-
|
13744
|
+
[x: string]: any;
|
13745
|
+
};
|
13746
|
+
};
|
13747
|
+
};
|
13748
|
+
};
|
13749
|
+
};
|
13750
|
+
} & {
|
13751
|
+
v4: {
|
13752
|
+
":poolId": {
|
13753
|
+
get: {
|
13754
|
+
body: unknown;
|
13755
|
+
params: {
|
13756
|
+
poolId: string;
|
13757
|
+
};
|
13758
|
+
query: unknown;
|
13759
|
+
headers: unknown;
|
13760
|
+
response: {
|
13761
|
+
200: UniswapV4PoolType[];
|
13762
|
+
};
|
13763
|
+
};
|
13764
|
+
};
|
13765
|
+
};
|
13766
|
+
} & {
|
13767
|
+
v4: {
|
13768
|
+
update: {
|
13769
|
+
post: {
|
13770
|
+
body: unknown;
|
13771
|
+
params: {};
|
13772
|
+
query: unknown;
|
13773
|
+
headers: {
|
13774
|
+
authorization: string;
|
13775
|
+
};
|
13776
|
+
response: {
|
13777
|
+
200: void;
|
13778
|
+
};
|
13779
|
+
};
|
13780
|
+
};
|
13781
|
+
};
|
13782
|
+
} & {
|
13783
|
+
v4: {
|
13784
|
+
update: {
|
13785
|
+
":chainId": {
|
13786
|
+
post: {
|
13787
|
+
body: unknown;
|
13788
|
+
params: {
|
13789
|
+
chainId: number;
|
13790
|
+
};
|
13791
|
+
query: unknown;
|
13792
|
+
headers: {
|
13793
|
+
authorization: string;
|
13794
|
+
};
|
13795
|
+
response: {
|
13796
|
+
200: void;
|
13670
13797
|
};
|
13671
13798
|
};
|
13672
13799
|
};
|
@@ -15734,147 +15861,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15734
15861
|
};
|
15735
15862
|
}>>;
|
15736
15863
|
};
|
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
|
-
};
|
15877
|
-
};
|
15878
15864
|
index: {
|
15879
15865
|
get: (options: {
|
15880
15866
|
headers?: Record<string, unknown> | undefined;
|
@@ -16142,6 +16128,147 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16142
16128
|
}>>;
|
16143
16129
|
};
|
16144
16130
|
};
|
16131
|
+
"dry-run": ((params: {
|
16132
|
+
campaignId: string | number;
|
16133
|
+
}) => {
|
16134
|
+
"dynamic-data": {
|
16135
|
+
get: (options: {
|
16136
|
+
headers: {
|
16137
|
+
authorization: string;
|
16138
|
+
};
|
16139
|
+
query?: Record<string, unknown> | undefined;
|
16140
|
+
fetch?: RequestInit | undefined;
|
16141
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16142
|
+
200: unknown[];
|
16143
|
+
}>>;
|
16144
|
+
};
|
16145
|
+
}) & {
|
16146
|
+
"dynamic-data": {
|
16147
|
+
list: {
|
16148
|
+
post: (body: string[], options: {
|
16149
|
+
headers: {
|
16150
|
+
authorization: string;
|
16151
|
+
};
|
16152
|
+
query?: Record<string, unknown> | undefined;
|
16153
|
+
fetch?: RequestInit | undefined;
|
16154
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16155
|
+
200: unknown[];
|
16156
|
+
}>>;
|
16157
|
+
};
|
16158
|
+
post: (body: {
|
16159
|
+
id?: string | undefined;
|
16160
|
+
subType?: number | undefined;
|
16161
|
+
campaignId?: string | undefined;
|
16162
|
+
amount?: string | undefined;
|
16163
|
+
creatorAddress?: string | undefined;
|
16164
|
+
type: string;
|
16165
|
+
params: any;
|
16166
|
+
computeChainId: number;
|
16167
|
+
distributionChainId: number;
|
16168
|
+
startTimestamp: number;
|
16169
|
+
endTimestamp: number;
|
16170
|
+
rewardToken: string;
|
16171
|
+
}, options: {
|
16172
|
+
headers: {
|
16173
|
+
authorization: string;
|
16174
|
+
};
|
16175
|
+
query?: Record<string, unknown> | undefined;
|
16176
|
+
fetch?: RequestInit | undefined;
|
16177
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16178
|
+
200: unknown[];
|
16179
|
+
}>>;
|
16180
|
+
};
|
16181
|
+
metadata: {
|
16182
|
+
post: (body: {
|
16183
|
+
id?: string | undefined;
|
16184
|
+
subType?: number | undefined;
|
16185
|
+
campaignId?: string | undefined;
|
16186
|
+
amount?: string | undefined;
|
16187
|
+
creatorAddress?: string | undefined;
|
16188
|
+
type: string;
|
16189
|
+
params: any;
|
16190
|
+
computeChainId: number;
|
16191
|
+
distributionChainId: number;
|
16192
|
+
startTimestamp: number;
|
16193
|
+
endTimestamp: number;
|
16194
|
+
rewardToken: string;
|
16195
|
+
}, options: {
|
16196
|
+
headers: {
|
16197
|
+
authorization: string;
|
16198
|
+
};
|
16199
|
+
query?: Record<string, unknown> | undefined;
|
16200
|
+
fetch?: RequestInit | undefined;
|
16201
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16202
|
+
200: {
|
16203
|
+
id: string;
|
16204
|
+
chainId: number;
|
16205
|
+
type: string;
|
16206
|
+
identifier: string;
|
16207
|
+
name: string;
|
16208
|
+
status: "PAST" | "LIVE" | "SOON";
|
16209
|
+
action: any;
|
16210
|
+
tokens: ({
|
16211
|
+
symbol: string;
|
16212
|
+
id: string;
|
16213
|
+
name: string | null;
|
16214
|
+
icon: string;
|
16215
|
+
address: string;
|
16216
|
+
chainId: number;
|
16217
|
+
decimals: number;
|
16218
|
+
verified: boolean;
|
16219
|
+
isTest: boolean;
|
16220
|
+
isPoint: boolean;
|
16221
|
+
isNative: boolean;
|
16222
|
+
} & {
|
16223
|
+
price?: number | null | undefined;
|
16224
|
+
})[];
|
16225
|
+
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;
|
16226
|
+
depositUrl: any;
|
16227
|
+
explorerAddress: string | undefined;
|
16228
|
+
tags: string[];
|
16229
|
+
};
|
16230
|
+
}>>;
|
16231
|
+
get: (options: {
|
16232
|
+
headers: {
|
16233
|
+
authorization: string;
|
16234
|
+
};
|
16235
|
+
query: {
|
16236
|
+
campaignId: string;
|
16237
|
+
distributionChain: number;
|
16238
|
+
};
|
16239
|
+
fetch?: RequestInit | undefined;
|
16240
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16241
|
+
200: {
|
16242
|
+
id: string;
|
16243
|
+
chainId: number;
|
16244
|
+
type: string;
|
16245
|
+
identifier: string;
|
16246
|
+
name: string;
|
16247
|
+
status: "PAST" | "LIVE" | "SOON";
|
16248
|
+
action: any;
|
16249
|
+
tokens: ({
|
16250
|
+
symbol: string;
|
16251
|
+
id: string;
|
16252
|
+
name: string | null;
|
16253
|
+
icon: string;
|
16254
|
+
address: string;
|
16255
|
+
chainId: number;
|
16256
|
+
decimals: number;
|
16257
|
+
verified: boolean;
|
16258
|
+
isTest: boolean;
|
16259
|
+
isPoint: boolean;
|
16260
|
+
isNative: boolean;
|
16261
|
+
} & {
|
16262
|
+
price?: number | null | undefined;
|
16263
|
+
})[];
|
16264
|
+
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;
|
16265
|
+
depositUrl: any;
|
16266
|
+
explorerAddress: string | undefined;
|
16267
|
+
tags: string[];
|
16268
|
+
};
|
16269
|
+
}>>;
|
16270
|
+
};
|
16271
|
+
};
|
16145
16272
|
};
|
16146
16273
|
campaignscount: {
|
16147
16274
|
"by-chains": {
|
@@ -16199,7 +16326,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16199
16326
|
dailyRewards?: number | undefined;
|
16200
16327
|
numberOfLiveCampaigns?: number | undefined;
|
16201
16328
|
opportunityLiveTags?: string[] | undefined;
|
16202
|
-
}
|
16329
|
+
};
|
16203
16330
|
}>>;
|
16204
16331
|
patch: (body: {
|
16205
16332
|
name?: string | undefined;
|
@@ -18504,34 +18631,67 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18504
18631
|
};
|
18505
18632
|
}>>;
|
18506
18633
|
};
|
18507
|
-
v4: {
|
18634
|
+
v4: ((params: {
|
18635
|
+
poolId: string | number;
|
18636
|
+
}) => {
|
18637
|
+
get: (options?: {
|
18638
|
+
headers?: Record<string, unknown> | undefined;
|
18639
|
+
query?: Record<string, unknown> | undefined;
|
18640
|
+
fetch?: RequestInit | undefined;
|
18641
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18642
|
+
200: UniswapV4PoolType[];
|
18643
|
+
}>>;
|
18644
|
+
}) & {
|
18508
18645
|
pools: {
|
18509
|
-
get: (options
|
18646
|
+
get: (options?: {
|
18510
18647
|
headers?: Record<string, unknown> | undefined;
|
18511
|
-
query
|
18512
|
-
chainId: number;
|
18513
|
-
};
|
18648
|
+
query?: Record<string, unknown> | undefined;
|
18514
18649
|
fetch?: RequestInit | undefined;
|
18515
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18650
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18516
18651
|
200: {
|
18517
18652
|
[x: string]: {
|
18518
|
-
poolId: string;
|
18519
|
-
|
18520
|
-
|
18521
|
-
|
18522
|
-
|
18523
|
-
|
18524
|
-
|
18525
|
-
|
18526
|
-
|
18527
|
-
|
18528
|
-
|
18529
|
-
symbolCurrency1: string;
|
18530
|
-
};
|
18653
|
+
[poolId: string]: UniswapV4PoolType;
|
18654
|
+
} | undefined;
|
18655
|
+
};
|
18656
|
+
}>>;
|
18657
|
+
};
|
18658
|
+
update: ((params: {
|
18659
|
+
chainId: string | number;
|
18660
|
+
}) => {
|
18661
|
+
post: (body: unknown, options: {
|
18662
|
+
headers: {
|
18663
|
+
authorization: string;
|
18531
18664
|
};
|
18665
|
+
query?: Record<string, unknown> | undefined;
|
18666
|
+
fetch?: RequestInit | undefined;
|
18667
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18668
|
+
200: void;
|
18669
|
+
}>>;
|
18670
|
+
}) & {
|
18671
|
+
post: (body: unknown, options: {
|
18672
|
+
headers: {
|
18673
|
+
authorization: string;
|
18674
|
+
};
|
18675
|
+
query?: Record<string, unknown> | undefined;
|
18676
|
+
fetch?: RequestInit | undefined;
|
18677
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18678
|
+
200: void;
|
18532
18679
|
}>>;
|
18533
18680
|
};
|
18534
18681
|
};
|
18682
|
+
v4pools: ((params: {
|
18683
|
+
chainId: string | number;
|
18684
|
+
}) => {
|
18685
|
+
get: (options?: {
|
18686
|
+
headers?: Record<string, unknown> | undefined;
|
18687
|
+
query?: Record<string, unknown> | undefined;
|
18688
|
+
fetch?: RequestInit | undefined;
|
18689
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18690
|
+
200: {
|
18691
|
+
[x: string]: any;
|
18692
|
+
};
|
18693
|
+
}>>;
|
18694
|
+
}) & {};
|
18535
18695
|
};
|
18536
18696
|
} | {
|
18537
18697
|
derive: {};
|
@@ -19630,205 +19790,64 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19630
19790
|
creator: {
|
19631
19791
|
patch: (body: {
|
19632
19792
|
campaignId: string;
|
19633
|
-
creatorAddress: string;
|
19634
|
-
distributionChain: number;
|
19635
|
-
}, options: {
|
19636
|
-
headers: {
|
19637
|
-
authorization: string;
|
19638
|
-
};
|
19639
|
-
query?: Record<string, unknown> | undefined;
|
19640
|
-
fetch?: RequestInit | undefined;
|
19641
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19642
|
-
200: void;
|
19643
|
-
}>>;
|
19644
|
-
};
|
19645
|
-
"remove-override": {
|
19646
|
-
patch: (body: {
|
19647
|
-
campaignId: string;
|
19648
|
-
field: "opportunityId" | "creatorAddress";
|
19649
|
-
distributionChain: number;
|
19650
|
-
}, options: {
|
19651
|
-
headers: {
|
19652
|
-
authorization: string;
|
19653
|
-
};
|
19654
|
-
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;
|
19749
|
-
type: string;
|
19750
|
-
params: any;
|
19751
|
-
computeChainId: number;
|
19752
|
-
distributionChainId: number;
|
19753
|
-
startTimestamp: number;
|
19754
|
-
endTimestamp: number;
|
19755
|
-
rewardToken: string;
|
19756
|
-
}, options: {
|
19757
|
-
headers: {
|
19758
|
-
authorization: string;
|
19759
|
-
};
|
19760
|
-
query?: Record<string, unknown> | undefined;
|
19761
|
-
fetch?: RequestInit | undefined;
|
19762
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19763
|
-
200: {
|
19764
|
-
id: string;
|
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
|
-
};
|
19793
|
+
creatorAddress: string;
|
19794
|
+
distributionChain: number;
|
19795
|
+
}, options: {
|
19796
|
+
headers: {
|
19797
|
+
authorization: string;
|
19798
|
+
};
|
19799
|
+
query?: Record<string, unknown> | undefined;
|
19800
|
+
fetch?: RequestInit | undefined;
|
19801
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19802
|
+
200: void;
|
19803
|
+
}>>;
|
19804
|
+
};
|
19805
|
+
"remove-override": {
|
19806
|
+
patch: (body: {
|
19807
|
+
campaignId: string;
|
19808
|
+
field: "opportunityId" | "creatorAddress";
|
19809
|
+
distributionChain: number;
|
19810
|
+
}, options: {
|
19811
|
+
headers: {
|
19812
|
+
authorization: string;
|
19813
|
+
};
|
19814
|
+
query?: Record<string, unknown> | undefined;
|
19815
|
+
fetch?: RequestInit | undefined;
|
19816
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19817
|
+
200: void;
|
19818
|
+
}>>;
|
19819
|
+
};
|
19820
|
+
metadata: {
|
19821
|
+
patch: (body: {
|
19822
|
+
url: string;
|
19823
|
+
campaignId: string;
|
19824
|
+
distributionChain: number;
|
19825
|
+
}, options: {
|
19826
|
+
headers: {
|
19827
|
+
authorization: string;
|
19828
|
+
};
|
19829
|
+
query?: Record<string, unknown> | undefined;
|
19830
|
+
fetch?: RequestInit | undefined;
|
19831
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19832
|
+
200: {
|
19833
|
+
id: string;
|
19834
|
+
type: string;
|
19835
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
19836
|
+
subType: number | null;
|
19837
|
+
computeChainId: number;
|
19838
|
+
distributionChainId: number;
|
19839
|
+
campaignId: string;
|
19840
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19841
|
+
rewardTokenId: string;
|
19842
|
+
amount: string;
|
19843
|
+
opportunityId: string;
|
19844
|
+
startTimestamp: bigint;
|
19845
|
+
endTimestamp: bigint;
|
19846
|
+
creatorAddress: string;
|
19847
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
19848
|
+
createdAt: Date;
|
19849
|
+
};
|
19850
|
+
}>>;
|
19832
19851
|
};
|
19833
19852
|
index: {
|
19834
19853
|
get: (options: {
|
@@ -20097,6 +20116,147 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
20097
20116
|
}>>;
|
20098
20117
|
};
|
20099
20118
|
};
|
20119
|
+
"dry-run": ((params: {
|
20120
|
+
campaignId: string | number;
|
20121
|
+
}) => {
|
20122
|
+
"dynamic-data": {
|
20123
|
+
get: (options: {
|
20124
|
+
headers: {
|
20125
|
+
authorization: string;
|
20126
|
+
};
|
20127
|
+
query?: Record<string, unknown> | undefined;
|
20128
|
+
fetch?: RequestInit | undefined;
|
20129
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
20130
|
+
200: unknown[];
|
20131
|
+
}>>;
|
20132
|
+
};
|
20133
|
+
}) & {
|
20134
|
+
"dynamic-data": {
|
20135
|
+
list: {
|
20136
|
+
post: (body: string[], options: {
|
20137
|
+
headers: {
|
20138
|
+
authorization: string;
|
20139
|
+
};
|
20140
|
+
query?: Record<string, unknown> | undefined;
|
20141
|
+
fetch?: RequestInit | undefined;
|
20142
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
20143
|
+
200: unknown[];
|
20144
|
+
}>>;
|
20145
|
+
};
|
20146
|
+
post: (body: {
|
20147
|
+
id?: string | undefined;
|
20148
|
+
subType?: number | undefined;
|
20149
|
+
campaignId?: string | undefined;
|
20150
|
+
amount?: string | undefined;
|
20151
|
+
creatorAddress?: string | undefined;
|
20152
|
+
type: string;
|
20153
|
+
params: any;
|
20154
|
+
computeChainId: number;
|
20155
|
+
distributionChainId: number;
|
20156
|
+
startTimestamp: number;
|
20157
|
+
endTimestamp: number;
|
20158
|
+
rewardToken: string;
|
20159
|
+
}, options: {
|
20160
|
+
headers: {
|
20161
|
+
authorization: string;
|
20162
|
+
};
|
20163
|
+
query?: Record<string, unknown> | undefined;
|
20164
|
+
fetch?: RequestInit | undefined;
|
20165
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
20166
|
+
200: unknown[];
|
20167
|
+
}>>;
|
20168
|
+
};
|
20169
|
+
metadata: {
|
20170
|
+
post: (body: {
|
20171
|
+
id?: string | undefined;
|
20172
|
+
subType?: number | undefined;
|
20173
|
+
campaignId?: string | undefined;
|
20174
|
+
amount?: string | undefined;
|
20175
|
+
creatorAddress?: string | undefined;
|
20176
|
+
type: string;
|
20177
|
+
params: any;
|
20178
|
+
computeChainId: number;
|
20179
|
+
distributionChainId: number;
|
20180
|
+
startTimestamp: number;
|
20181
|
+
endTimestamp: number;
|
20182
|
+
rewardToken: string;
|
20183
|
+
}, options: {
|
20184
|
+
headers: {
|
20185
|
+
authorization: string;
|
20186
|
+
};
|
20187
|
+
query?: Record<string, unknown> | undefined;
|
20188
|
+
fetch?: RequestInit | undefined;
|
20189
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
20190
|
+
200: {
|
20191
|
+
id: string;
|
20192
|
+
chainId: number;
|
20193
|
+
type: string;
|
20194
|
+
identifier: string;
|
20195
|
+
name: string;
|
20196
|
+
status: "PAST" | "LIVE" | "SOON";
|
20197
|
+
action: any;
|
20198
|
+
tokens: ({
|
20199
|
+
symbol: string;
|
20200
|
+
id: string;
|
20201
|
+
name: string | null;
|
20202
|
+
icon: string;
|
20203
|
+
address: string;
|
20204
|
+
chainId: number;
|
20205
|
+
decimals: number;
|
20206
|
+
verified: boolean;
|
20207
|
+
isTest: boolean;
|
20208
|
+
isPoint: boolean;
|
20209
|
+
isNative: boolean;
|
20210
|
+
} & {
|
20211
|
+
price?: number | null | undefined;
|
20212
|
+
})[];
|
20213
|
+
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;
|
20214
|
+
depositUrl: any;
|
20215
|
+
explorerAddress: string | undefined;
|
20216
|
+
tags: string[];
|
20217
|
+
};
|
20218
|
+
}>>;
|
20219
|
+
get: (options: {
|
20220
|
+
headers: {
|
20221
|
+
authorization: string;
|
20222
|
+
};
|
20223
|
+
query: {
|
20224
|
+
campaignId: string;
|
20225
|
+
distributionChain: number;
|
20226
|
+
};
|
20227
|
+
fetch?: RequestInit | undefined;
|
20228
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
20229
|
+
200: {
|
20230
|
+
id: string;
|
20231
|
+
chainId: number;
|
20232
|
+
type: string;
|
20233
|
+
identifier: string;
|
20234
|
+
name: string;
|
20235
|
+
status: "PAST" | "LIVE" | "SOON";
|
20236
|
+
action: any;
|
20237
|
+
tokens: ({
|
20238
|
+
symbol: string;
|
20239
|
+
id: string;
|
20240
|
+
name: string | null;
|
20241
|
+
icon: string;
|
20242
|
+
address: string;
|
20243
|
+
chainId: number;
|
20244
|
+
decimals: number;
|
20245
|
+
verified: boolean;
|
20246
|
+
isTest: boolean;
|
20247
|
+
isPoint: boolean;
|
20248
|
+
isNative: boolean;
|
20249
|
+
} & {
|
20250
|
+
price?: number | null | undefined;
|
20251
|
+
})[];
|
20252
|
+
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;
|
20253
|
+
depositUrl: any;
|
20254
|
+
explorerAddress: string | undefined;
|
20255
|
+
tags: string[];
|
20256
|
+
};
|
20257
|
+
}>>;
|
20258
|
+
};
|
20259
|
+
};
|
20100
20260
|
};
|
20101
20261
|
campaignscount: {
|
20102
20262
|
"by-chains": {
|
@@ -20154,7 +20314,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
20154
20314
|
dailyRewards?: number | undefined;
|
20155
20315
|
numberOfLiveCampaigns?: number | undefined;
|
20156
20316
|
opportunityLiveTags?: string[] | undefined;
|
20157
|
-
}
|
20317
|
+
};
|
20158
20318
|
}>>;
|
20159
20319
|
patch: (body: {
|
20160
20320
|
name?: string | undefined;
|
@@ -22459,34 +22619,67 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
22459
22619
|
};
|
22460
22620
|
}>>;
|
22461
22621
|
};
|
22462
|
-
v4: {
|
22622
|
+
v4: ((params: {
|
22623
|
+
poolId: string | number;
|
22624
|
+
}) => {
|
22625
|
+
get: (options?: {
|
22626
|
+
headers?: Record<string, unknown> | undefined;
|
22627
|
+
query?: Record<string, unknown> | undefined;
|
22628
|
+
fetch?: RequestInit | undefined;
|
22629
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
22630
|
+
200: UniswapV4PoolType[];
|
22631
|
+
}>>;
|
22632
|
+
}) & {
|
22463
22633
|
pools: {
|
22464
|
-
get: (options
|
22634
|
+
get: (options?: {
|
22465
22635
|
headers?: Record<string, unknown> | undefined;
|
22466
|
-
query
|
22467
|
-
chainId: number;
|
22468
|
-
};
|
22636
|
+
query?: Record<string, unknown> | undefined;
|
22469
22637
|
fetch?: RequestInit | undefined;
|
22470
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
22638
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
22471
22639
|
200: {
|
22472
22640
|
[x: string]: {
|
22473
|
-
poolId: string;
|
22474
|
-
|
22475
|
-
|
22476
|
-
|
22477
|
-
|
22478
|
-
|
22479
|
-
|
22480
|
-
|
22481
|
-
|
22482
|
-
|
22483
|
-
|
22484
|
-
|
22485
|
-
|
22641
|
+
[poolId: string]: UniswapV4PoolType;
|
22642
|
+
} | undefined;
|
22643
|
+
};
|
22644
|
+
}>>;
|
22645
|
+
};
|
22646
|
+
update: ((params: {
|
22647
|
+
chainId: string | number;
|
22648
|
+
}) => {
|
22649
|
+
post: (body: unknown, options: {
|
22650
|
+
headers: {
|
22651
|
+
authorization: string;
|
22652
|
+
};
|
22653
|
+
query?: Record<string, unknown> | undefined;
|
22654
|
+
fetch?: RequestInit | undefined;
|
22655
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
22656
|
+
200: void;
|
22657
|
+
}>>;
|
22658
|
+
}) & {
|
22659
|
+
post: (body: unknown, options: {
|
22660
|
+
headers: {
|
22661
|
+
authorization: string;
|
22486
22662
|
};
|
22663
|
+
query?: Record<string, unknown> | undefined;
|
22664
|
+
fetch?: RequestInit | undefined;
|
22665
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
22666
|
+
200: void;
|
22487
22667
|
}>>;
|
22488
22668
|
};
|
22489
22669
|
};
|
22670
|
+
v4pools: ((params: {
|
22671
|
+
chainId: string | number;
|
22672
|
+
}) => {
|
22673
|
+
get: (options?: {
|
22674
|
+
headers?: Record<string, unknown> | undefined;
|
22675
|
+
query?: Record<string, unknown> | undefined;
|
22676
|
+
fetch?: RequestInit | undefined;
|
22677
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
22678
|
+
200: {
|
22679
|
+
[x: string]: any;
|
22680
|
+
};
|
22681
|
+
}>>;
|
22682
|
+
}) & {};
|
22490
22683
|
};
|
22491
22684
|
};
|
22492
22685
|
v3: {
|