@merkl/api 1.6.73 → 1.6.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/eden/index.d.ts +123 -276
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +30 -0
- package/dist/src/index.d.ts +150 -335
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.formatter.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +0 -24
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -3
- package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
- package/dist/src/modules/v4/config/config.controller.d.ts +2 -2
- package/dist/src/modules/v4/config/config.model.d.ts +1 -1
- package/dist/src/modules/v4/config/config.service.js.map +1 -1
- package/dist/src/modules/v4/node/node.controller.d.ts +147 -0
- package/dist/src/modules/v4/node/node.controller.js.map +1 -1
- package/dist/src/modules/v4/node/node.model.d.ts +47 -1
- package/dist/src/modules/v4/node/node.model.js.map +1 -1
- package/dist/src/modules/v4/node/node.repository.d.ts +52 -0
- package/dist/src/modules/v4/node/node.repository.js.map +1 -1
- package/dist/src/modules/v4/node/node.service.d.ts +70 -0
- package/dist/src/modules/v4/node/node.service.js.map +1 -1
- package/dist/src/modules/v4/node/node.utils.d.ts +11 -0
- package/dist/src/modules/v4/node/node.utils.js.map +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -4
- package/dist/src/modules/v4/programPayload/programPayload.service.js.map +1 -1
- package/dist/src/modules/v4/router.d.ts +150 -335
- package/dist/src/modules/v4/router.js.map +1 -1
- package/dist/src/modules/v4/{campaignBatch/campaignBatch.model.d.ts → safePayload/safePayload.model.d.ts} +0 -12
- package/dist/src/modules/v4/safePayload/safePayload.model.js.map +1 -0
- package/dist/src/modules/v4/safePayload/safePayload.service.d.ts +9 -0
- package/dist/src/modules/v4/safePayload/safePayload.service.js.map +1 -0
- package/dist/src/scripts/exportOpportunities.js.map +1 -1
- package/dist/src/scripts/importOpportunities.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +835 -805
- package/dist/src/utils/parseDistributionType.d.ts +30 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +0 -361
- package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.js.map +0 -1
- package/dist/src/modules/v4/campaignBatch/campaignBatch.model.js.map +0 -1
- package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +0 -96
- package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.js.map +0 -1
- package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +0 -121
- package/dist/src/modules/v4/campaignBatch/campaignBatch.service.js.map +0 -1
- package/dist/src/modules/v4/campaignGroup/campaignGroup.model.d.ts +0 -16
- package/dist/src/modules/v4/campaignGroup/campaignGroup.model.js.map +0 -1
- package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +0 -127
- package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.js.map +0 -1
- package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +0 -127
- package/dist/src/modules/v4/campaignGroup/campaignGroup.service.js.map +0 -1
package/dist/src/eden/index.d.ts
CHANGED
|
@@ -1331,279 +1331,6 @@ declare const eden: {
|
|
|
1331
1331
|
};
|
|
1332
1332
|
};
|
|
1333
1333
|
};
|
|
1334
|
-
"campaign-batch": ((params: {
|
|
1335
|
-
id: string | number;
|
|
1336
|
-
}) => {
|
|
1337
|
-
get: (options?: {
|
|
1338
|
-
fetch?: RequestInit | undefined;
|
|
1339
|
-
headers?: Record<string, unknown> | undefined;
|
|
1340
|
-
query?: Record<string, unknown> | undefined;
|
|
1341
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1342
|
-
200: {
|
|
1343
|
-
TemplateCampaigns: {
|
|
1344
|
-
campaigns: {
|
|
1345
|
-
id: string;
|
|
1346
|
-
computeChainId: number;
|
|
1347
|
-
distributionChainId: number;
|
|
1348
|
-
campaignId: string;
|
|
1349
|
-
type: string;
|
|
1350
|
-
distributionType: import("@package/databases").DistributionType;
|
|
1351
|
-
subType: number | null;
|
|
1352
|
-
rewardTokenId: string;
|
|
1353
|
-
amount: string;
|
|
1354
|
-
opportunityId: string;
|
|
1355
|
-
startTimestamp: bigint;
|
|
1356
|
-
endTimestamp: bigint;
|
|
1357
|
-
params: import("@prisma/client/runtime/client").JsonValue;
|
|
1358
|
-
description: string | null;
|
|
1359
|
-
pauseCompute: string | null;
|
|
1360
|
-
dailyRewards: number;
|
|
1361
|
-
apr: number;
|
|
1362
|
-
creatorAddress: string;
|
|
1363
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
1364
|
-
createdAt: Date;
|
|
1365
|
-
rootCampaignId: string | null;
|
|
1366
|
-
parentCampaignId: string | null;
|
|
1367
|
-
}[];
|
|
1368
|
-
} & {
|
|
1369
|
-
id: string;
|
|
1370
|
-
slug: string | null;
|
|
1371
|
-
};
|
|
1372
|
-
} & {
|
|
1373
|
-
id: string;
|
|
1374
|
-
slug: string | null;
|
|
1375
|
-
groupId: string;
|
|
1376
|
-
creatorId: string;
|
|
1377
|
-
};
|
|
1378
|
-
422: {
|
|
1379
|
-
type: "validation";
|
|
1380
|
-
on: string;
|
|
1381
|
-
summary?: string | undefined;
|
|
1382
|
-
message?: string | undefined;
|
|
1383
|
-
found?: unknown;
|
|
1384
|
-
property?: string | undefined;
|
|
1385
|
-
expected?: string | undefined;
|
|
1386
|
-
};
|
|
1387
|
-
}>>;
|
|
1388
|
-
patch: (body: {
|
|
1389
|
-
slug?: string | undefined;
|
|
1390
|
-
campaignsToAdd?: string[] | undefined;
|
|
1391
|
-
campaignsToRemove?: string[] | undefined;
|
|
1392
|
-
}, options: {
|
|
1393
|
-
fetch?: RequestInit | undefined;
|
|
1394
|
-
headers: {
|
|
1395
|
-
authorization: string;
|
|
1396
|
-
};
|
|
1397
|
-
query?: Record<string, unknown> | undefined;
|
|
1398
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1399
|
-
200: {
|
|
1400
|
-
TemplateCampaigns: {
|
|
1401
|
-
campaigns: {
|
|
1402
|
-
id: string;
|
|
1403
|
-
computeChainId: number;
|
|
1404
|
-
distributionChainId: number;
|
|
1405
|
-
campaignId: string;
|
|
1406
|
-
type: string;
|
|
1407
|
-
distributionType: import("@package/databases").DistributionType;
|
|
1408
|
-
subType: number | null;
|
|
1409
|
-
rewardTokenId: string;
|
|
1410
|
-
amount: string;
|
|
1411
|
-
opportunityId: string;
|
|
1412
|
-
startTimestamp: bigint;
|
|
1413
|
-
endTimestamp: bigint;
|
|
1414
|
-
params: import("@prisma/client/runtime/client").JsonValue;
|
|
1415
|
-
description: string | null;
|
|
1416
|
-
pauseCompute: string | null;
|
|
1417
|
-
dailyRewards: number;
|
|
1418
|
-
apr: number;
|
|
1419
|
-
creatorAddress: string;
|
|
1420
|
-
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
1421
|
-
createdAt: Date;
|
|
1422
|
-
rootCampaignId: string | null;
|
|
1423
|
-
parentCampaignId: string | null;
|
|
1424
|
-
}[];
|
|
1425
|
-
} & {
|
|
1426
|
-
id: string;
|
|
1427
|
-
slug: string | null;
|
|
1428
|
-
};
|
|
1429
|
-
} & {
|
|
1430
|
-
id: string;
|
|
1431
|
-
slug: string | null;
|
|
1432
|
-
groupId: string;
|
|
1433
|
-
creatorId: string;
|
|
1434
|
-
};
|
|
1435
|
-
422: {
|
|
1436
|
-
type: "validation";
|
|
1437
|
-
on: string;
|
|
1438
|
-
summary?: string | undefined;
|
|
1439
|
-
message?: string | undefined;
|
|
1440
|
-
found?: unknown;
|
|
1441
|
-
property?: string | undefined;
|
|
1442
|
-
expected?: string | undefined;
|
|
1443
|
-
};
|
|
1444
|
-
}>>;
|
|
1445
|
-
delete: (body: unknown, options: {
|
|
1446
|
-
fetch?: RequestInit | undefined;
|
|
1447
|
-
headers: {
|
|
1448
|
-
authorization: string;
|
|
1449
|
-
};
|
|
1450
|
-
query?: Record<string, unknown> | undefined;
|
|
1451
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1452
|
-
200: {
|
|
1453
|
-
id: string;
|
|
1454
|
-
slug: string | null;
|
|
1455
|
-
groupId: string;
|
|
1456
|
-
creatorId: string;
|
|
1457
|
-
};
|
|
1458
|
-
422: {
|
|
1459
|
-
type: "validation";
|
|
1460
|
-
on: string;
|
|
1461
|
-
summary?: string | undefined;
|
|
1462
|
-
message?: string | undefined;
|
|
1463
|
-
found?: unknown;
|
|
1464
|
-
property?: string | undefined;
|
|
1465
|
-
expected?: string | undefined;
|
|
1466
|
-
};
|
|
1467
|
-
}>>;
|
|
1468
|
-
"generate-payload": {
|
|
1469
|
-
post: (body: {
|
|
1470
|
-
creatorAddress: string;
|
|
1471
|
-
rewardToken: string;
|
|
1472
|
-
distributionChainId: number;
|
|
1473
|
-
startTimestamp: number;
|
|
1474
|
-
endTimestamp: number;
|
|
1475
|
-
campaignsParams: {
|
|
1476
|
-
[x: string]: {
|
|
1477
|
-
amount: string;
|
|
1478
|
-
}[];
|
|
1479
|
-
};
|
|
1480
|
-
}, options?: {
|
|
1481
|
-
fetch?: RequestInit | undefined;
|
|
1482
|
-
headers?: Record<string, unknown> | undefined;
|
|
1483
|
-
query?: Record<string, unknown> | undefined;
|
|
1484
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1485
|
-
200: import("../modules/v4/campaignBatch/campaignBatch.model").SafePayload | null;
|
|
1486
|
-
422: {
|
|
1487
|
-
type: "validation";
|
|
1488
|
-
on: string;
|
|
1489
|
-
summary?: string | undefined;
|
|
1490
|
-
message?: string | undefined;
|
|
1491
|
-
found?: unknown;
|
|
1492
|
-
property?: string | undefined;
|
|
1493
|
-
expected?: string | undefined;
|
|
1494
|
-
};
|
|
1495
|
-
}>>;
|
|
1496
|
-
};
|
|
1497
|
-
model: {
|
|
1498
|
-
get: (options?: {
|
|
1499
|
-
fetch?: RequestInit | undefined;
|
|
1500
|
-
headers?: Record<string, unknown> | undefined;
|
|
1501
|
-
query?: Record<string, unknown> | undefined;
|
|
1502
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1503
|
-
200: {
|
|
1504
|
-
creatorAddress: string;
|
|
1505
|
-
rewardToken: string;
|
|
1506
|
-
distributionChainId: number;
|
|
1507
|
-
startTimestamp: number;
|
|
1508
|
-
endTimestamp: number;
|
|
1509
|
-
campaignsParams: {
|
|
1510
|
-
[x: string]: {
|
|
1511
|
-
amount: string;
|
|
1512
|
-
}[];
|
|
1513
|
-
};
|
|
1514
|
-
};
|
|
1515
|
-
422: {
|
|
1516
|
-
type: "validation";
|
|
1517
|
-
on: string;
|
|
1518
|
-
summary?: string | undefined;
|
|
1519
|
-
message?: string | undefined;
|
|
1520
|
-
found?: unknown;
|
|
1521
|
-
property?: string | undefined;
|
|
1522
|
-
expected?: string | undefined;
|
|
1523
|
-
};
|
|
1524
|
-
}>>;
|
|
1525
|
-
};
|
|
1526
|
-
"simulate-payload": {
|
|
1527
|
-
post: (body: {
|
|
1528
|
-
creatorAddress: string;
|
|
1529
|
-
rewardToken: string;
|
|
1530
|
-
distributionChainId: number;
|
|
1531
|
-
startTimestamp: number;
|
|
1532
|
-
endTimestamp: number;
|
|
1533
|
-
campaignsParams: {
|
|
1534
|
-
[x: string]: {
|
|
1535
|
-
amount: string;
|
|
1536
|
-
}[];
|
|
1537
|
-
};
|
|
1538
|
-
}, options?: {
|
|
1539
|
-
fetch?: RequestInit | undefined;
|
|
1540
|
-
headers?: Record<string, unknown> | undefined;
|
|
1541
|
-
query?: Record<string, unknown> | undefined;
|
|
1542
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1543
|
-
200: unknown[];
|
|
1544
|
-
422: {
|
|
1545
|
-
type: "validation";
|
|
1546
|
-
on: string;
|
|
1547
|
-
summary?: string | undefined;
|
|
1548
|
-
message?: string | undefined;
|
|
1549
|
-
found?: unknown;
|
|
1550
|
-
property?: string | undefined;
|
|
1551
|
-
expected?: string | undefined;
|
|
1552
|
-
};
|
|
1553
|
-
}>>;
|
|
1554
|
-
};
|
|
1555
|
-
}) & {
|
|
1556
|
-
get: (options: {
|
|
1557
|
-
fetch?: RequestInit | undefined;
|
|
1558
|
-
headers?: Record<string, unknown> | undefined;
|
|
1559
|
-
query: {
|
|
1560
|
-
creatorId: string;
|
|
1561
|
-
};
|
|
1562
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1563
|
-
200: {
|
|
1564
|
-
id: string;
|
|
1565
|
-
slug: string | null;
|
|
1566
|
-
groupId: string;
|
|
1567
|
-
creatorId: string;
|
|
1568
|
-
}[];
|
|
1569
|
-
422: {
|
|
1570
|
-
type: "validation";
|
|
1571
|
-
on: string;
|
|
1572
|
-
summary?: string | undefined;
|
|
1573
|
-
message?: string | undefined;
|
|
1574
|
-
found?: unknown;
|
|
1575
|
-
property?: string | undefined;
|
|
1576
|
-
expected?: string | undefined;
|
|
1577
|
-
};
|
|
1578
|
-
}>>;
|
|
1579
|
-
post: (body: {
|
|
1580
|
-
slug?: string | undefined;
|
|
1581
|
-
templateCampaigns: string[];
|
|
1582
|
-
creatorId: string;
|
|
1583
|
-
}, options: {
|
|
1584
|
-
fetch?: RequestInit | undefined;
|
|
1585
|
-
headers: {
|
|
1586
|
-
authorization: string;
|
|
1587
|
-
};
|
|
1588
|
-
query?: Record<string, unknown> | undefined;
|
|
1589
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1590
|
-
200: {
|
|
1591
|
-
id: string;
|
|
1592
|
-
slug: string | null;
|
|
1593
|
-
groupId: string;
|
|
1594
|
-
creatorId: string;
|
|
1595
|
-
};
|
|
1596
|
-
422: {
|
|
1597
|
-
type: "validation";
|
|
1598
|
-
on: string;
|
|
1599
|
-
summary?: string | undefined;
|
|
1600
|
-
message?: string | undefined;
|
|
1601
|
-
found?: unknown;
|
|
1602
|
-
property?: string | undefined;
|
|
1603
|
-
expected?: string | undefined;
|
|
1604
|
-
};
|
|
1605
|
-
}>>;
|
|
1606
|
-
};
|
|
1607
1334
|
"campaign-status": ((params: {
|
|
1608
1335
|
campaignId: string | number;
|
|
1609
1336
|
}) => {
|
|
@@ -5172,7 +4899,7 @@ declare const eden: {
|
|
|
5172
4899
|
headers?: Record<string, unknown> | undefined;
|
|
5173
4900
|
query?: Record<string, unknown> | undefined;
|
|
5174
4901
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
5175
|
-
200: import("../modules/v4/
|
|
4902
|
+
200: import("../modules/v4/safePayload/safePayload.model").SafePayload | null;
|
|
5176
4903
|
422: {
|
|
5177
4904
|
type: "validation";
|
|
5178
4905
|
on: string;
|
|
@@ -7209,7 +6936,7 @@ declare const eden: {
|
|
|
7209
6936
|
extend?: boolean | undefined;
|
|
7210
6937
|
};
|
|
7211
6938
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
7212
|
-
200: import("../modules/v4/
|
|
6939
|
+
200: import("../modules/v4/safePayload/safePayload.model").SafePayload | null;
|
|
7213
6940
|
422: {
|
|
7214
6941
|
type: "validation";
|
|
7215
6942
|
on: string;
|
|
@@ -7230,7 +6957,7 @@ declare const eden: {
|
|
|
7230
6957
|
extend?: boolean | undefined;
|
|
7231
6958
|
};
|
|
7232
6959
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
7233
|
-
200: import("../modules/v4/
|
|
6960
|
+
200: import("../modules/v4/safePayload/safePayload.model").SafePayload | null;
|
|
7234
6961
|
422: {
|
|
7235
6962
|
type: "validation";
|
|
7236
6963
|
on: string;
|
|
@@ -8636,6 +8363,126 @@ declare const eden: {
|
|
|
8636
8363
|
expected?: string | undefined;
|
|
8637
8364
|
};
|
|
8638
8365
|
}>>;
|
|
8366
|
+
"block-difference": {
|
|
8367
|
+
get: (options: {
|
|
8368
|
+
fetch?: RequestInit | undefined;
|
|
8369
|
+
headers?: Record<string, unknown> | undefined;
|
|
8370
|
+
query: {
|
|
8371
|
+
chainId: number;
|
|
8372
|
+
protocol?: import("@package/resources/enums").ProtocolType | undefined;
|
|
8373
|
+
};
|
|
8374
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
8375
|
+
200: {
|
|
8376
|
+
protocol: import("@package/resources/enums").ProtocolType;
|
|
8377
|
+
chainId: number;
|
|
8378
|
+
oldestBlock: number;
|
|
8379
|
+
currentBlock: number;
|
|
8380
|
+
blockDifference: number;
|
|
8381
|
+
source: string;
|
|
8382
|
+
} | null;
|
|
8383
|
+
422: {
|
|
8384
|
+
type: "validation";
|
|
8385
|
+
on: string;
|
|
8386
|
+
summary?: string | undefined;
|
|
8387
|
+
message?: string | undefined;
|
|
8388
|
+
found?: unknown;
|
|
8389
|
+
property?: string | undefined;
|
|
8390
|
+
expected?: string | undefined;
|
|
8391
|
+
};
|
|
8392
|
+
}>>;
|
|
8393
|
+
};
|
|
8394
|
+
"last-block": {
|
|
8395
|
+
get: (options: {
|
|
8396
|
+
fetch?: RequestInit | undefined;
|
|
8397
|
+
headers?: Record<string, unknown> | undefined;
|
|
8398
|
+
query: {
|
|
8399
|
+
chainId: number;
|
|
8400
|
+
protocol?: import("@package/resources/enums").ProtocolType | undefined;
|
|
8401
|
+
};
|
|
8402
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
8403
|
+
200: {
|
|
8404
|
+
protocol: import("@package/resources/enums").ProtocolType;
|
|
8405
|
+
chainId: number;
|
|
8406
|
+
lastFetchedBlockNumber: number;
|
|
8407
|
+
source: string;
|
|
8408
|
+
} | null;
|
|
8409
|
+
422: {
|
|
8410
|
+
type: "validation";
|
|
8411
|
+
on: string;
|
|
8412
|
+
summary?: string | undefined;
|
|
8413
|
+
message?: string | undefined;
|
|
8414
|
+
found?: unknown;
|
|
8415
|
+
property?: string | undefined;
|
|
8416
|
+
expected?: string | undefined;
|
|
8417
|
+
};
|
|
8418
|
+
}>>;
|
|
8419
|
+
};
|
|
8420
|
+
"oldest-block": {
|
|
8421
|
+
get: (options: {
|
|
8422
|
+
fetch?: RequestInit | undefined;
|
|
8423
|
+
headers?: Record<string, unknown> | undefined;
|
|
8424
|
+
query: {
|
|
8425
|
+
chainId: number;
|
|
8426
|
+
protocol?: import("@package/resources/enums").ProtocolType | undefined;
|
|
8427
|
+
};
|
|
8428
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
8429
|
+
200: {
|
|
8430
|
+
protocol: import("@package/resources/enums").ProtocolType;
|
|
8431
|
+
chainId: number;
|
|
8432
|
+
lastFetchedBlockNumber: number;
|
|
8433
|
+
source: string;
|
|
8434
|
+
} | null;
|
|
8435
|
+
422: {
|
|
8436
|
+
type: "validation";
|
|
8437
|
+
on: string;
|
|
8438
|
+
summary?: string | undefined;
|
|
8439
|
+
message?: string | undefined;
|
|
8440
|
+
found?: unknown;
|
|
8441
|
+
property?: string | undefined;
|
|
8442
|
+
expected?: string | undefined;
|
|
8443
|
+
};
|
|
8444
|
+
}>>;
|
|
8445
|
+
};
|
|
8446
|
+
protocol: ((params: {
|
|
8447
|
+
protocol: string | number;
|
|
8448
|
+
}) => {
|
|
8449
|
+
chains: {
|
|
8450
|
+
get: (options?: {
|
|
8451
|
+
fetch?: RequestInit | undefined;
|
|
8452
|
+
headers?: Record<string, unknown> | undefined;
|
|
8453
|
+
query?: Record<string, unknown> | undefined;
|
|
8454
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
8455
|
+
200: import("@package/resources/enums").ChainId[];
|
|
8456
|
+
422: {
|
|
8457
|
+
type: "validation";
|
|
8458
|
+
on: string;
|
|
8459
|
+
summary?: string | undefined;
|
|
8460
|
+
message?: string | undefined;
|
|
8461
|
+
found?: unknown;
|
|
8462
|
+
property?: string | undefined;
|
|
8463
|
+
expected?: string | undefined;
|
|
8464
|
+
};
|
|
8465
|
+
}>>;
|
|
8466
|
+
};
|
|
8467
|
+
}) & {};
|
|
8468
|
+
protocols: {
|
|
8469
|
+
get: (options?: {
|
|
8470
|
+
fetch?: RequestInit | undefined;
|
|
8471
|
+
headers?: Record<string, unknown> | undefined;
|
|
8472
|
+
query?: Record<string, unknown> | undefined;
|
|
8473
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
8474
|
+
200: import("@package/resources/enums").ProtocolType[];
|
|
8475
|
+
422: {
|
|
8476
|
+
type: "validation";
|
|
8477
|
+
on: string;
|
|
8478
|
+
summary?: string | undefined;
|
|
8479
|
+
message?: string | undefined;
|
|
8480
|
+
found?: unknown;
|
|
8481
|
+
property?: string | undefined;
|
|
8482
|
+
expected?: string | undefined;
|
|
8483
|
+
};
|
|
8484
|
+
}>>;
|
|
8485
|
+
};
|
|
8639
8486
|
};
|
|
8640
8487
|
ofac: ((params: {
|
|
8641
8488
|
ip: string | number;
|
|
@@ -236,6 +236,11 @@ export declare class Erc20DynamicData implements DynamicDataBuilder<Erc20LikeCam
|
|
|
236
236
|
computeSettings: {
|
|
237
237
|
maxRewards: string;
|
|
238
238
|
};
|
|
239
|
+
} | {
|
|
240
|
+
computeMethod: import("@package/resources/enums").earlyBirdBoost;
|
|
241
|
+
computeSettings?: {
|
|
242
|
+
decayType?: "exponential" | "linear" | "logarithmic" | undefined;
|
|
243
|
+
} | undefined;
|
|
239
244
|
} | {
|
|
240
245
|
computeMethod: import("@package/resources/enums").logarithmic;
|
|
241
246
|
computeSettings?: {
|
|
@@ -522,6 +527,11 @@ export declare class Erc20DynamicData implements DynamicDataBuilder<Erc20LikeCam
|
|
|
522
527
|
computeSettings: {
|
|
523
528
|
maxRewards: string;
|
|
524
529
|
};
|
|
530
|
+
} | {
|
|
531
|
+
computeMethod: import("@package/resources/enums").earlyBirdBoost;
|
|
532
|
+
computeSettings?: {
|
|
533
|
+
decayType?: "exponential" | "linear" | "logarithmic" | undefined;
|
|
534
|
+
} | undefined;
|
|
525
535
|
} | {
|
|
526
536
|
computeMethod: import("@package/resources/enums").logarithmic;
|
|
527
537
|
computeSettings?: {
|
|
@@ -812,6 +822,11 @@ export declare class Erc20DynamicData implements DynamicDataBuilder<Erc20LikeCam
|
|
|
812
822
|
computeSettings: {
|
|
813
823
|
maxRewards: string;
|
|
814
824
|
};
|
|
825
|
+
} | {
|
|
826
|
+
computeMethod: import("@package/resources/enums").earlyBirdBoost;
|
|
827
|
+
computeSettings?: {
|
|
828
|
+
decayType?: "exponential" | "linear" | "logarithmic" | undefined;
|
|
829
|
+
} | undefined;
|
|
815
830
|
} | {
|
|
816
831
|
computeMethod: import("@package/resources/enums").logarithmic;
|
|
817
832
|
computeSettings?: {
|
|
@@ -1098,6 +1113,11 @@ export declare class Erc20DynamicData implements DynamicDataBuilder<Erc20LikeCam
|
|
|
1098
1113
|
computeSettings: {
|
|
1099
1114
|
maxRewards: string;
|
|
1100
1115
|
};
|
|
1116
|
+
} | {
|
|
1117
|
+
computeMethod: import("@package/resources/enums").earlyBirdBoost;
|
|
1118
|
+
computeSettings?: {
|
|
1119
|
+
decayType?: "exponential" | "linear" | "logarithmic" | undefined;
|
|
1120
|
+
} | undefined;
|
|
1101
1121
|
} | {
|
|
1102
1122
|
computeMethod: import("@package/resources/enums").logarithmic;
|
|
1103
1123
|
computeSettings?: {
|
|
@@ -1386,6 +1406,11 @@ export declare class Erc20DynamicData implements DynamicDataBuilder<Erc20LikeCam
|
|
|
1386
1406
|
computeSettings: {
|
|
1387
1407
|
maxRewards: string;
|
|
1388
1408
|
};
|
|
1409
|
+
} | {
|
|
1410
|
+
computeMethod: import("@package/resources/enums").earlyBirdBoost;
|
|
1411
|
+
computeSettings?: {
|
|
1412
|
+
decayType?: "exponential" | "linear" | "logarithmic" | undefined;
|
|
1413
|
+
} | undefined;
|
|
1389
1414
|
} | {
|
|
1390
1415
|
computeMethod: import("@package/resources/enums").logarithmic;
|
|
1391
1416
|
computeSettings?: {
|
|
@@ -1672,6 +1697,11 @@ export declare class Erc20DynamicData implements DynamicDataBuilder<Erc20LikeCam
|
|
|
1672
1697
|
computeSettings: {
|
|
1673
1698
|
maxRewards: string;
|
|
1674
1699
|
};
|
|
1700
|
+
} | {
|
|
1701
|
+
computeMethod: import("@package/resources/enums").earlyBirdBoost;
|
|
1702
|
+
computeSettings?: {
|
|
1703
|
+
decayType?: "exponential" | "linear" | "logarithmic" | undefined;
|
|
1704
|
+
} | undefined;
|
|
1675
1705
|
} | {
|
|
1676
1706
|
computeMethod: import("@package/resources/enums").logarithmic;
|
|
1677
1707
|
computeSettings?: {
|