@chainstream-io/sdk 0.1.12 → 0.1.14
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/README.md +332 -25
- package/dist/{WatchlistApi-iO0m0ez9.d.cts → WatchlistApi-Cxzs25LV.d.cts} +2332 -2266
- package/dist/{WatchlistApi-iO0m0ez9.d.ts → WatchlistApi-Cxzs25LV.d.ts} +2332 -2266
- package/dist/{index-BkJK0-d_.d.ts → index-C1Sl0lsa.d.ts} +1 -1
- package/dist/{index-DNVVUaIe.d.cts → index-xAErxElK.d.cts} +1 -1
- package/dist/index.cjs +371 -310
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +371 -310
- package/dist/index.mjs.map +1 -1
- package/dist/openapi/index.cjs +1642 -1550
- package/dist/openapi/index.cjs.map +1 -1
- package/dist/openapi/index.d.cts +2 -2
- package/dist/openapi/index.d.ts +2 -2
- package/dist/openapi/index.mjs +1637 -1550
- package/dist/openapi/index.mjs.map +1 -1
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/openapi/index.cjs
CHANGED
|
@@ -100,6 +100,10 @@ __export(openapi_exports, {
|
|
|
100
100
|
DefaultConfig: () => DefaultConfig,
|
|
101
101
|
DefiSolanaMoonshotApi: () => DefiSolanaMoonshotApi,
|
|
102
102
|
DefiSolanaPumpfunApi: () => DefiSolanaPumpfunApi,
|
|
103
|
+
DevTokenDTOFromJSON: () => DevTokenDTOFromJSON,
|
|
104
|
+
DevTokenDTOFromJSONTyped: () => DevTokenDTOFromJSONTyped,
|
|
105
|
+
DevTokenDTOToJSON: () => DevTokenDTOToJSON,
|
|
106
|
+
DevTokenDTOToJSONTyped: () => DevTokenDTOToJSONTyped,
|
|
103
107
|
DexApi: () => DexApi,
|
|
104
108
|
DexDTOFromJSON: () => DexDTOFromJSON,
|
|
105
109
|
DexDTOFromJSONTyped: () => DexDTOFromJSONTyped,
|
|
@@ -481,6 +485,7 @@ __export(openapi_exports, {
|
|
|
481
485
|
instanceOfCreateRedPacketReply: () => instanceOfCreateRedPacketReply,
|
|
482
486
|
instanceOfCreateTokenInput: () => instanceOfCreateTokenInput,
|
|
483
487
|
instanceOfCreateTokenReply: () => instanceOfCreateTokenReply,
|
|
488
|
+
instanceOfDevTokenDTO: () => instanceOfDevTokenDTO,
|
|
484
489
|
instanceOfDexDTO: () => instanceOfDexDTO,
|
|
485
490
|
instanceOfDexPage: () => instanceOfDexPage,
|
|
486
491
|
instanceOfDexPoolDTO: () => instanceOfDexPoolDTO,
|
|
@@ -1192,7 +1197,7 @@ var Chain = {
|
|
|
1192
1197
|
Arbitrum: "arbitrum",
|
|
1193
1198
|
Optimism: "optimism",
|
|
1194
1199
|
Avalanche: "avalanche",
|
|
1195
|
-
|
|
1200
|
+
Eth: "eth",
|
|
1196
1201
|
Zksync: "zksync",
|
|
1197
1202
|
Sui: "sui"
|
|
1198
1203
|
};
|
|
@@ -1228,7 +1233,7 @@ var ChainSymbol = {
|
|
|
1228
1233
|
Arbitrum: "arbitrum",
|
|
1229
1234
|
Optimism: "optimism",
|
|
1230
1235
|
Avalanche: "avalanche",
|
|
1231
|
-
|
|
1236
|
+
Eth: "eth",
|
|
1232
1237
|
Zksync: "zksync",
|
|
1233
1238
|
Sui: "sui"
|
|
1234
1239
|
};
|
|
@@ -1264,7 +1269,7 @@ var ClaimRedPacketInputChainEnum = {
|
|
|
1264
1269
|
Arbitrum: "arbitrum",
|
|
1265
1270
|
Optimism: "optimism",
|
|
1266
1271
|
Avalanche: "avalanche",
|
|
1267
|
-
|
|
1272
|
+
Eth: "eth",
|
|
1268
1273
|
Zksync: "zksync",
|
|
1269
1274
|
Sui: "sui"
|
|
1270
1275
|
};
|
|
@@ -1354,7 +1359,7 @@ var CreateRedPacketInputChainEnum = {
|
|
|
1354
1359
|
Arbitrum: "arbitrum",
|
|
1355
1360
|
Optimism: "optimism",
|
|
1356
1361
|
Avalanche: "avalanche",
|
|
1357
|
-
|
|
1362
|
+
Eth: "eth",
|
|
1358
1363
|
Zksync: "zksync",
|
|
1359
1364
|
Sui: "sui"
|
|
1360
1365
|
};
|
|
@@ -1518,1440 +1523,1555 @@ function CreateTokenReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1518
1523
|
};
|
|
1519
1524
|
}
|
|
1520
1525
|
|
|
1521
|
-
// src/openapi/models/
|
|
1522
|
-
function
|
|
1523
|
-
if (!("
|
|
1526
|
+
// src/openapi/models/TokenMarketData.ts
|
|
1527
|
+
function instanceOfTokenMarketData(value) {
|
|
1528
|
+
if (!("totalSupply" in value) || value["totalSupply"] === void 0) return false;
|
|
1529
|
+
if (!("marketCapInUsd" in value) || value["marketCapInUsd"] === void 0) return false;
|
|
1530
|
+
if (!("holders" in value) || value["holders"] === void 0) return false;
|
|
1531
|
+
if (!("priceInUsd" in value) || value["priceInUsd"] === void 0) return false;
|
|
1532
|
+
if (!("tvlInUsd" in value) || value["tvlInUsd"] === void 0) return false;
|
|
1524
1533
|
return true;
|
|
1525
1534
|
}
|
|
1526
|
-
function
|
|
1527
|
-
return
|
|
1535
|
+
function TokenMarketDataFromJSON(json) {
|
|
1536
|
+
return TokenMarketDataFromJSONTyped(json, false);
|
|
1528
1537
|
}
|
|
1529
|
-
function
|
|
1538
|
+
function TokenMarketDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1530
1539
|
if (json == null) {
|
|
1531
1540
|
return json;
|
|
1532
1541
|
}
|
|
1533
1542
|
return {
|
|
1534
|
-
"
|
|
1535
|
-
"
|
|
1536
|
-
"
|
|
1537
|
-
"
|
|
1543
|
+
"totalSupply": json["totalSupply"],
|
|
1544
|
+
"marketCapInSol": json["marketCapInSol"] == null ? void 0 : json["marketCapInSol"],
|
|
1545
|
+
"marketCapInUsd": json["marketCapInUsd"],
|
|
1546
|
+
"top10TotalHoldings": json["top10TotalHoldings"] == null ? void 0 : json["top10TotalHoldings"],
|
|
1547
|
+
"top10HoldingsRatio": json["top10HoldingsRatio"] == null ? void 0 : json["top10HoldingsRatio"],
|
|
1548
|
+
"top100TotalHoldings": json["top100TotalHoldings"] == null ? void 0 : json["top100TotalHoldings"],
|
|
1549
|
+
"top100HoldingsRatio": json["top100HoldingsRatio"] == null ? void 0 : json["top100HoldingsRatio"],
|
|
1550
|
+
"holders": json["holders"],
|
|
1551
|
+
"priceInSol": json["priceInSol"] == null ? void 0 : json["priceInSol"],
|
|
1552
|
+
"priceInUsd": json["priceInUsd"],
|
|
1553
|
+
"tvlInSol": json["tvlInSol"] == null ? void 0 : json["tvlInSol"],
|
|
1554
|
+
"tvlInUsd": json["tvlInUsd"],
|
|
1555
|
+
"completionRatio": json["completionRatio"] == null ? void 0 : json["completionRatio"],
|
|
1556
|
+
"devTeamCount": json["devTeamCount"] == null ? void 0 : json["devTeamCount"],
|
|
1557
|
+
"devTeamAmount": json["devTeamAmount"] == null ? void 0 : json["devTeamAmount"],
|
|
1558
|
+
"devTeamRatio": json["devTeamRatio"] == null ? void 0 : json["devTeamRatio"]
|
|
1538
1559
|
};
|
|
1539
1560
|
}
|
|
1540
|
-
function
|
|
1541
|
-
return
|
|
1561
|
+
function TokenMarketDataToJSON(json) {
|
|
1562
|
+
return TokenMarketDataToJSONTyped(json, false);
|
|
1542
1563
|
}
|
|
1543
|
-
function
|
|
1564
|
+
function TokenMarketDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1544
1565
|
if (value == null) {
|
|
1545
1566
|
return value;
|
|
1546
1567
|
}
|
|
1547
1568
|
return {
|
|
1548
|
-
"
|
|
1549
|
-
"
|
|
1550
|
-
"
|
|
1551
|
-
"
|
|
1569
|
+
"totalSupply": value["totalSupply"],
|
|
1570
|
+
"marketCapInSol": value["marketCapInSol"],
|
|
1571
|
+
"marketCapInUsd": value["marketCapInUsd"],
|
|
1572
|
+
"top10TotalHoldings": value["top10TotalHoldings"],
|
|
1573
|
+
"top10HoldingsRatio": value["top10HoldingsRatio"],
|
|
1574
|
+
"top100TotalHoldings": value["top100TotalHoldings"],
|
|
1575
|
+
"top100HoldingsRatio": value["top100HoldingsRatio"],
|
|
1576
|
+
"holders": value["holders"],
|
|
1577
|
+
"priceInSol": value["priceInSol"],
|
|
1578
|
+
"priceInUsd": value["priceInUsd"],
|
|
1579
|
+
"tvlInSol": value["tvlInSol"],
|
|
1580
|
+
"tvlInUsd": value["tvlInUsd"],
|
|
1581
|
+
"completionRatio": value["completionRatio"],
|
|
1582
|
+
"devTeamCount": value["devTeamCount"],
|
|
1583
|
+
"devTeamAmount": value["devTeamAmount"],
|
|
1584
|
+
"devTeamRatio": value["devTeamRatio"]
|
|
1552
1585
|
};
|
|
1553
1586
|
}
|
|
1554
1587
|
|
|
1555
|
-
// src/openapi/models/
|
|
1556
|
-
function
|
|
1557
|
-
if (!("data" in value) || value["data"] === void 0) return false;
|
|
1588
|
+
// src/openapi/models/TokenExtraDTO.ts
|
|
1589
|
+
function instanceOfTokenExtraDTO(value) {
|
|
1558
1590
|
return true;
|
|
1559
1591
|
}
|
|
1560
|
-
function
|
|
1561
|
-
return
|
|
1592
|
+
function TokenExtraDTOFromJSON(json) {
|
|
1593
|
+
return TokenExtraDTOFromJSONTyped(json, false);
|
|
1562
1594
|
}
|
|
1563
|
-
function
|
|
1595
|
+
function TokenExtraDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
1564
1596
|
if (json == null) {
|
|
1565
1597
|
return json;
|
|
1566
1598
|
}
|
|
1567
1599
|
return {
|
|
1568
|
-
"
|
|
1569
|
-
"
|
|
1570
|
-
"
|
|
1571
|
-
"
|
|
1572
|
-
"
|
|
1573
|
-
"
|
|
1600
|
+
"collectionAddress": json["collectionAddress"] == null ? void 0 : json["collectionAddress"],
|
|
1601
|
+
"editionNonce": json["editionNonce"] == null ? void 0 : json["editionNonce"],
|
|
1602
|
+
"fungible": json["fungible"] == null ? void 0 : json["fungible"],
|
|
1603
|
+
"isMutable": json["isMutable"] == null ? void 0 : json["isMutable"],
|
|
1604
|
+
"key": json["key"] == null ? void 0 : json["key"],
|
|
1605
|
+
"isNative": json["isNative"] == null ? void 0 : json["isNative"],
|
|
1606
|
+
"primarySaleHappened": json["primarySaleHappened"] == null ? void 0 : json["primarySaleHappened"],
|
|
1607
|
+
"launchFromProgramAddress": json["launchFromProgramAddress"] == null ? void 0 : json["launchFromProgramAddress"],
|
|
1608
|
+
"launchFromProtocolFamily": json["launchFromProtocolFamily"] == null ? void 0 : json["launchFromProtocolFamily"],
|
|
1609
|
+
"programAddress": json["programAddress"] == null ? void 0 : json["programAddress"],
|
|
1610
|
+
"migratedToProgramAddress": json["migratedToProgramAddress"] == null ? void 0 : json["migratedToProgramAddress"],
|
|
1611
|
+
"migratedToProtocolFamily": json["migratedToProtocolFamily"] == null ? void 0 : json["migratedToProtocolFamily"],
|
|
1612
|
+
"migratedToPoolAddress": json["migratedToPoolAddress"] == null ? void 0 : json["migratedToPoolAddress"],
|
|
1613
|
+
"migratedAt": json["migratedAt"] == null ? void 0 : json["migratedAt"],
|
|
1614
|
+
"sellerFeeBasisPoints": json["sellerFeeBasisPoints"] == null ? void 0 : json["sellerFeeBasisPoints"],
|
|
1615
|
+
"tokenStandard": json["tokenStandard"] == null ? void 0 : json["tokenStandard"],
|
|
1616
|
+
"mintAuthority": json["mintAuthority"] == null ? void 0 : json["mintAuthority"],
|
|
1617
|
+
"freezeAuthority": json["freezeAuthority"] == null ? void 0 : json["freezeAuthority"],
|
|
1618
|
+
"updateAuthority": json["updateAuthority"] == null ? void 0 : json["updateAuthority"],
|
|
1619
|
+
"isVerifiedCollection": json["isVerifiedCollection"] == null ? void 0 : json["isVerifiedCollection"],
|
|
1620
|
+
"isWrapped": json["isWrapped"] == null ? void 0 : json["isWrapped"]
|
|
1574
1621
|
};
|
|
1575
1622
|
}
|
|
1576
|
-
function
|
|
1577
|
-
return
|
|
1623
|
+
function TokenExtraDTOToJSON(json) {
|
|
1624
|
+
return TokenExtraDTOToJSONTyped(json, false);
|
|
1578
1625
|
}
|
|
1579
|
-
function
|
|
1626
|
+
function TokenExtraDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1580
1627
|
if (value == null) {
|
|
1581
1628
|
return value;
|
|
1582
1629
|
}
|
|
1583
1630
|
return {
|
|
1584
|
-
"
|
|
1585
|
-
"
|
|
1586
|
-
"
|
|
1587
|
-
"
|
|
1588
|
-
"
|
|
1589
|
-
"
|
|
1631
|
+
"collectionAddress": value["collectionAddress"],
|
|
1632
|
+
"editionNonce": value["editionNonce"],
|
|
1633
|
+
"fungible": value["fungible"],
|
|
1634
|
+
"isMutable": value["isMutable"],
|
|
1635
|
+
"key": value["key"],
|
|
1636
|
+
"isNative": value["isNative"],
|
|
1637
|
+
"primarySaleHappened": value["primarySaleHappened"],
|
|
1638
|
+
"launchFromProgramAddress": value["launchFromProgramAddress"],
|
|
1639
|
+
"launchFromProtocolFamily": value["launchFromProtocolFamily"],
|
|
1640
|
+
"programAddress": value["programAddress"],
|
|
1641
|
+
"migratedToProgramAddress": value["migratedToProgramAddress"],
|
|
1642
|
+
"migratedToProtocolFamily": value["migratedToProtocolFamily"],
|
|
1643
|
+
"migratedToPoolAddress": value["migratedToPoolAddress"],
|
|
1644
|
+
"migratedAt": value["migratedAt"],
|
|
1645
|
+
"sellerFeeBasisPoints": value["sellerFeeBasisPoints"],
|
|
1646
|
+
"tokenStandard": value["tokenStandard"],
|
|
1647
|
+
"mintAuthority": value["mintAuthority"],
|
|
1648
|
+
"freezeAuthority": value["freezeAuthority"],
|
|
1649
|
+
"updateAuthority": value["updateAuthority"],
|
|
1650
|
+
"isVerifiedCollection": value["isVerifiedCollection"],
|
|
1651
|
+
"isWrapped": value["isWrapped"]
|
|
1590
1652
|
};
|
|
1591
1653
|
}
|
|
1592
1654
|
|
|
1593
|
-
// src/openapi/models/
|
|
1594
|
-
function
|
|
1595
|
-
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
1596
|
-
if (!("poolAddress" in value) || value["poolAddress"] === void 0) return false;
|
|
1597
|
-
if (!("tokenAAddress" in value) || value["tokenAAddress"] === void 0) return false;
|
|
1598
|
-
if (!("tokenBAddress" in value) || value["tokenBAddress"] === void 0) return false;
|
|
1655
|
+
// src/openapi/models/TokenCreatorsDTO.ts
|
|
1656
|
+
function instanceOfTokenCreatorsDTO(value) {
|
|
1599
1657
|
return true;
|
|
1600
1658
|
}
|
|
1601
|
-
function
|
|
1602
|
-
return
|
|
1659
|
+
function TokenCreatorsDTOFromJSON(json) {
|
|
1660
|
+
return TokenCreatorsDTOFromJSONTyped(json, false);
|
|
1603
1661
|
}
|
|
1604
|
-
function
|
|
1662
|
+
function TokenCreatorsDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
1605
1663
|
if (json == null) {
|
|
1606
1664
|
return json;
|
|
1607
1665
|
}
|
|
1608
1666
|
return {
|
|
1609
|
-
"
|
|
1610
|
-
"
|
|
1611
|
-
"
|
|
1612
|
-
"chain": json["chain"],
|
|
1613
|
-
"poolAddress": json["poolAddress"],
|
|
1614
|
-
"protocolName": json["protocolName"] == null ? void 0 : json["protocolName"],
|
|
1615
|
-
"tokenAAddress": json["tokenAAddress"],
|
|
1616
|
-
"tokenBAddress": json["tokenBAddress"],
|
|
1617
|
-
"tvlInUsd": json["tvlInUsd"] == null ? void 0 : json["tvlInUsd"],
|
|
1618
|
-
"tvlInSol": json["tvlInSol"] == null ? void 0 : json["tvlInSol"]
|
|
1667
|
+
"address": json["address"] == null ? void 0 : json["address"],
|
|
1668
|
+
"share": json["share"] == null ? void 0 : json["share"],
|
|
1669
|
+
"isVerified": json["isVerified"] == null ? void 0 : json["isVerified"]
|
|
1619
1670
|
};
|
|
1620
1671
|
}
|
|
1621
|
-
function
|
|
1622
|
-
return
|
|
1672
|
+
function TokenCreatorsDTOToJSON(json) {
|
|
1673
|
+
return TokenCreatorsDTOToJSONTyped(json, false);
|
|
1623
1674
|
}
|
|
1624
|
-
function
|
|
1675
|
+
function TokenCreatorsDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1625
1676
|
if (value == null) {
|
|
1626
1677
|
return value;
|
|
1627
1678
|
}
|
|
1628
1679
|
return {
|
|
1629
|
-
"
|
|
1630
|
-
"
|
|
1631
|
-
"
|
|
1632
|
-
"chain": value["chain"],
|
|
1633
|
-
"poolAddress": value["poolAddress"],
|
|
1634
|
-
"protocolName": value["protocolName"],
|
|
1635
|
-
"tokenAAddress": value["tokenAAddress"],
|
|
1636
|
-
"tokenBAddress": value["tokenBAddress"],
|
|
1637
|
-
"tvlInUsd": value["tvlInUsd"],
|
|
1638
|
-
"tvlInSol": value["tvlInSol"]
|
|
1680
|
+
"address": value["address"],
|
|
1681
|
+
"share": value["share"],
|
|
1682
|
+
"isVerified": value["isVerified"]
|
|
1639
1683
|
};
|
|
1640
1684
|
}
|
|
1641
1685
|
|
|
1642
|
-
// src/openapi/models/
|
|
1643
|
-
function
|
|
1644
|
-
if (!("name" in value) || value["name"] === void 0) return false;
|
|
1645
|
-
if (!("categoryId" in value) || value["categoryId"] === void 0) return false;
|
|
1686
|
+
// src/openapi/models/TokenSocialMediasDTO.ts
|
|
1687
|
+
function instanceOfTokenSocialMediasDTO(value) {
|
|
1646
1688
|
return true;
|
|
1647
1689
|
}
|
|
1648
|
-
function
|
|
1649
|
-
return
|
|
1690
|
+
function TokenSocialMediasDTOFromJSON(json) {
|
|
1691
|
+
return TokenSocialMediasDTOFromJSONTyped(json, false);
|
|
1650
1692
|
}
|
|
1651
|
-
function
|
|
1693
|
+
function TokenSocialMediasDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
1652
1694
|
if (json == null) {
|
|
1653
1695
|
return json;
|
|
1654
1696
|
}
|
|
1655
1697
|
return {
|
|
1656
|
-
"
|
|
1657
|
-
"
|
|
1698
|
+
"twitter": json["twitter"] == null ? void 0 : json["twitter"],
|
|
1699
|
+
"telegram": json["telegram"] == null ? void 0 : json["telegram"],
|
|
1700
|
+
"website": json["website"] == null ? void 0 : json["website"],
|
|
1701
|
+
"tiktok": json["tiktok"] == null ? void 0 : json["tiktok"],
|
|
1702
|
+
"discord": json["discord"] == null ? void 0 : json["discord"],
|
|
1703
|
+
"facebook": json["facebook"] == null ? void 0 : json["facebook"],
|
|
1704
|
+
"github": json["github"] == null ? void 0 : json["github"],
|
|
1705
|
+
"instagram": json["instagram"] == null ? void 0 : json["instagram"],
|
|
1706
|
+
"linkedin": json["linkedin"] == null ? void 0 : json["linkedin"],
|
|
1707
|
+
"medium": json["medium"] == null ? void 0 : json["medium"],
|
|
1708
|
+
"reddit": json["reddit"] == null ? void 0 : json["reddit"],
|
|
1709
|
+
"youtube": json["youtube"] == null ? void 0 : json["youtube"],
|
|
1710
|
+
"bitbucket": json["bitbucket"] == null ? void 0 : json["bitbucket"]
|
|
1658
1711
|
};
|
|
1659
1712
|
}
|
|
1660
|
-
function
|
|
1661
|
-
return
|
|
1713
|
+
function TokenSocialMediasDTOToJSON(json) {
|
|
1714
|
+
return TokenSocialMediasDTOToJSONTyped(json, false);
|
|
1662
1715
|
}
|
|
1663
|
-
function
|
|
1716
|
+
function TokenSocialMediasDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1664
1717
|
if (value == null) {
|
|
1665
1718
|
return value;
|
|
1666
1719
|
}
|
|
1667
1720
|
return {
|
|
1668
|
-
"
|
|
1669
|
-
"
|
|
1721
|
+
"twitter": value["twitter"],
|
|
1722
|
+
"telegram": value["telegram"],
|
|
1723
|
+
"website": value["website"],
|
|
1724
|
+
"tiktok": value["tiktok"],
|
|
1725
|
+
"discord": value["discord"],
|
|
1726
|
+
"facebook": value["facebook"],
|
|
1727
|
+
"github": value["github"],
|
|
1728
|
+
"instagram": value["instagram"],
|
|
1729
|
+
"linkedin": value["linkedin"],
|
|
1730
|
+
"medium": value["medium"],
|
|
1731
|
+
"reddit": value["reddit"],
|
|
1732
|
+
"youtube": value["youtube"],
|
|
1733
|
+
"bitbucket": value["bitbucket"]
|
|
1670
1734
|
};
|
|
1671
1735
|
}
|
|
1672
1736
|
|
|
1673
|
-
// src/openapi/models/
|
|
1674
|
-
function
|
|
1737
|
+
// src/openapi/models/TokenMetadata.ts
|
|
1738
|
+
function instanceOfTokenMetadata(value) {
|
|
1739
|
+
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
1740
|
+
if (!("decimals" in value) || value["decimals"] === void 0) return false;
|
|
1741
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
1742
|
+
if (!("symbol" in value) || value["symbol"] === void 0) return false;
|
|
1743
|
+
if (!("address" in value) || value["address"] === void 0) return false;
|
|
1675
1744
|
return true;
|
|
1676
1745
|
}
|
|
1677
|
-
function
|
|
1678
|
-
return
|
|
1746
|
+
function TokenMetadataFromJSON(json) {
|
|
1747
|
+
return TokenMetadataFromJSONTyped(json, false);
|
|
1679
1748
|
}
|
|
1680
|
-
function
|
|
1749
|
+
function TokenMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1681
1750
|
if (json == null) {
|
|
1682
1751
|
return json;
|
|
1683
1752
|
}
|
|
1684
1753
|
return {
|
|
1685
|
-
"
|
|
1686
|
-
"
|
|
1687
|
-
"
|
|
1688
|
-
"
|
|
1689
|
-
"
|
|
1690
|
-
"
|
|
1691
|
-
"
|
|
1692
|
-
"
|
|
1693
|
-
"
|
|
1694
|
-
"
|
|
1695
|
-
"
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
function EndpointResponseToJSON(json) {
|
|
1699
|
-
return EndpointResponseToJSONTyped(json, false);
|
|
1700
|
-
}
|
|
1701
|
-
function EndpointResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1702
|
-
if (value == null) {
|
|
1703
|
-
return value;
|
|
1704
|
-
}
|
|
1705
|
-
return {
|
|
1706
|
-
"id": value["id"],
|
|
1707
|
-
"url": value["url"],
|
|
1708
|
-
"description": value["description"],
|
|
1709
|
-
"filterTypes": value["filterTypes"],
|
|
1710
|
-
"channels": value["channels"],
|
|
1711
|
-
"disabled": value["disabled"],
|
|
1712
|
-
"metadata": value["metadata"],
|
|
1713
|
-
"rateLimit": value["rateLimit"],
|
|
1714
|
-
"filter": value["filter"],
|
|
1715
|
-
"createdAt": value["createdAt"],
|
|
1716
|
-
"updatedAt": value["updatedAt"]
|
|
1717
|
-
};
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
// src/openapi/models/EndpointListResponse.ts
|
|
1721
|
-
function instanceOfEndpointListResponse(value) {
|
|
1722
|
-
return true;
|
|
1723
|
-
}
|
|
1724
|
-
function EndpointListResponseFromJSON(json) {
|
|
1725
|
-
return EndpointListResponseFromJSONTyped(json, false);
|
|
1726
|
-
}
|
|
1727
|
-
function EndpointListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1728
|
-
if (json == null) {
|
|
1729
|
-
return json;
|
|
1730
|
-
}
|
|
1731
|
-
return {
|
|
1732
|
-
"data": json["data"] == null ? void 0 : json["data"].map(EndpointResponseFromJSON),
|
|
1733
|
-
"done": json["done"] == null ? void 0 : json["done"],
|
|
1734
|
-
"iterator": json["iterator"] == null ? void 0 : json["iterator"],
|
|
1735
|
-
"prevIterator": json["prevIterator"] == null ? void 0 : json["prevIterator"]
|
|
1736
|
-
};
|
|
1737
|
-
}
|
|
1738
|
-
function EndpointListResponseToJSON(json) {
|
|
1739
|
-
return EndpointListResponseToJSONTyped(json, false);
|
|
1740
|
-
}
|
|
1741
|
-
function EndpointListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1742
|
-
if (value == null) {
|
|
1743
|
-
return value;
|
|
1744
|
-
}
|
|
1745
|
-
return {
|
|
1746
|
-
"data": value["data"] == null ? void 0 : value["data"].map(EndpointResponseToJSON),
|
|
1747
|
-
"done": value["done"],
|
|
1748
|
-
"iterator": value["iterator"],
|
|
1749
|
-
"prevIterator": value["prevIterator"]
|
|
1750
|
-
};
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
// src/openapi/models/EndpointOperationResponse.ts
|
|
1754
|
-
function instanceOfEndpointOperationResponse(value) {
|
|
1755
|
-
return true;
|
|
1756
|
-
}
|
|
1757
|
-
function EndpointOperationResponseFromJSON(json) {
|
|
1758
|
-
return EndpointOperationResponseFromJSONTyped(json, false);
|
|
1759
|
-
}
|
|
1760
|
-
function EndpointOperationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1761
|
-
if (json == null) {
|
|
1762
|
-
return json;
|
|
1763
|
-
}
|
|
1764
|
-
return {
|
|
1765
|
-
"success": json["success"] == null ? void 0 : json["success"]
|
|
1766
|
-
};
|
|
1767
|
-
}
|
|
1768
|
-
function EndpointOperationResponseToJSON(json) {
|
|
1769
|
-
return EndpointOperationResponseToJSONTyped(json, false);
|
|
1770
|
-
}
|
|
1771
|
-
function EndpointOperationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1772
|
-
if (value == null) {
|
|
1773
|
-
return value;
|
|
1774
|
-
}
|
|
1775
|
-
return {
|
|
1776
|
-
"success": value["success"]
|
|
1777
|
-
};
|
|
1778
|
-
}
|
|
1779
|
-
|
|
1780
|
-
// src/openapi/models/EndpointSecretResponse.ts
|
|
1781
|
-
function instanceOfEndpointSecretResponse(value) {
|
|
1782
|
-
return true;
|
|
1783
|
-
}
|
|
1784
|
-
function EndpointSecretResponseFromJSON(json) {
|
|
1785
|
-
return EndpointSecretResponseFromJSONTyped(json, false);
|
|
1786
|
-
}
|
|
1787
|
-
function EndpointSecretResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1788
|
-
if (json == null) {
|
|
1789
|
-
return json;
|
|
1790
|
-
}
|
|
1791
|
-
return {
|
|
1792
|
-
"secret": json["secret"] == null ? void 0 : json["secret"]
|
|
1754
|
+
"chain": json["chain"],
|
|
1755
|
+
"decimals": json["decimals"],
|
|
1756
|
+
"name": json["name"],
|
|
1757
|
+
"symbol": json["symbol"],
|
|
1758
|
+
"metadataAddress": json["metadataAddress"] == null ? void 0 : json["metadataAddress"],
|
|
1759
|
+
"address": json["address"],
|
|
1760
|
+
"tokenCreators": json["tokenCreators"] == null ? void 0 : json["tokenCreators"].map(TokenCreatorsDTOFromJSON),
|
|
1761
|
+
"imageUrl": json["imageUrl"] == null ? void 0 : json["imageUrl"],
|
|
1762
|
+
"uri": json["uri"] == null ? void 0 : json["uri"],
|
|
1763
|
+
"extra": json["extra"] == null ? void 0 : TokenExtraDTOFromJSON(json["extra"]),
|
|
1764
|
+
"socialMedias": json["socialMedias"] == null ? void 0 : TokenSocialMediasDTOFromJSON(json["socialMedias"]),
|
|
1765
|
+
"tokenCreatedAt": json["tokenCreatedAt"] == null ? void 0 : json["tokenCreatedAt"],
|
|
1766
|
+
"description": json["description"] == null ? void 0 : json["description"]
|
|
1793
1767
|
};
|
|
1794
1768
|
}
|
|
1795
|
-
function
|
|
1796
|
-
return
|
|
1769
|
+
function TokenMetadataToJSON(json) {
|
|
1770
|
+
return TokenMetadataToJSONTyped(json, false);
|
|
1797
1771
|
}
|
|
1798
|
-
function
|
|
1772
|
+
function TokenMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1799
1773
|
if (value == null) {
|
|
1800
1774
|
return value;
|
|
1801
1775
|
}
|
|
1802
1776
|
return {
|
|
1803
|
-
"
|
|
1777
|
+
"chain": value["chain"],
|
|
1778
|
+
"decimals": value["decimals"],
|
|
1779
|
+
"name": value["name"],
|
|
1780
|
+
"symbol": value["symbol"],
|
|
1781
|
+
"metadataAddress": value["metadataAddress"],
|
|
1782
|
+
"address": value["address"],
|
|
1783
|
+
"tokenCreators": value["tokenCreators"] == null ? void 0 : value["tokenCreators"].map(TokenCreatorsDTOToJSON),
|
|
1784
|
+
"imageUrl": value["imageUrl"],
|
|
1785
|
+
"uri": value["uri"],
|
|
1786
|
+
"extra": TokenExtraDTOToJSON(value["extra"]),
|
|
1787
|
+
"socialMedias": TokenSocialMediasDTOToJSON(value["socialMedias"]),
|
|
1788
|
+
"tokenCreatedAt": value["tokenCreatedAt"],
|
|
1789
|
+
"description": value["description"]
|
|
1804
1790
|
};
|
|
1805
1791
|
}
|
|
1806
1792
|
|
|
1807
|
-
// src/openapi/models/
|
|
1808
|
-
function
|
|
1809
|
-
if (!("
|
|
1810
|
-
if (!("
|
|
1811
|
-
if (!("
|
|
1793
|
+
// src/openapi/models/TokenStat.ts
|
|
1794
|
+
function instanceOfTokenStat(value) {
|
|
1795
|
+
if (!("address" in value) || value["address"] === void 0) return false;
|
|
1796
|
+
if (!("price1m" in value) || value["price1m"] === void 0) return false;
|
|
1797
|
+
if (!("buys1m" in value) || value["buys1m"] === void 0) return false;
|
|
1798
|
+
if (!("sells1m" in value) || value["sells1m"] === void 0) return false;
|
|
1799
|
+
if (!("buyVolumes1m" in value) || value["buyVolumes1m"] === void 0) return false;
|
|
1800
|
+
if (!("sellsVolumes1m" in value) || value["sellsVolumes1m"] === void 0) return false;
|
|
1801
|
+
if (!("volumes1m" in value) || value["volumes1m"] === void 0) return false;
|
|
1802
|
+
if (!("buyVolumesInUsd1m" in value) || value["buyVolumesInUsd1m"] === void 0) return false;
|
|
1803
|
+
if (!("sellVolumesInUsd1m" in value) || value["sellVolumesInUsd1m"] === void 0) return false;
|
|
1804
|
+
if (!("volumesInUsd1m" in value) || value["volumesInUsd1m"] === void 0) return false;
|
|
1805
|
+
if (!("openPriceInUsd1m" in value) || value["openPriceInUsd1m"] === void 0) return false;
|
|
1806
|
+
if (!("closePriceInUsd1m" in value) || value["closePriceInUsd1m"] === void 0) return false;
|
|
1807
|
+
if (!("priceChangeRatioInUsd1m" in value) || value["priceChangeRatioInUsd1m"] === void 0) return false;
|
|
1808
|
+
if (!("trades1m" in value) || value["trades1m"] === void 0) return false;
|
|
1809
|
+
if (!("price5m" in value) || value["price5m"] === void 0) return false;
|
|
1810
|
+
if (!("buys5m" in value) || value["buys5m"] === void 0) return false;
|
|
1811
|
+
if (!("sells5m" in value) || value["sells5m"] === void 0) return false;
|
|
1812
|
+
if (!("buyVolumes5m" in value) || value["buyVolumes5m"] === void 0) return false;
|
|
1813
|
+
if (!("sellsVolumes5m" in value) || value["sellsVolumes5m"] === void 0) return false;
|
|
1814
|
+
if (!("volumes5m" in value) || value["volumes5m"] === void 0) return false;
|
|
1815
|
+
if (!("buyVolumesInUsd5m" in value) || value["buyVolumesInUsd5m"] === void 0) return false;
|
|
1816
|
+
if (!("sellVolumesInUsd5m" in value) || value["sellVolumesInUsd5m"] === void 0) return false;
|
|
1817
|
+
if (!("volumesInUsd5m" in value) || value["volumesInUsd5m"] === void 0) return false;
|
|
1818
|
+
if (!("openPriceInUsd5m" in value) || value["openPriceInUsd5m"] === void 0) return false;
|
|
1819
|
+
if (!("closePriceInUsd5m" in value) || value["closePriceInUsd5m"] === void 0) return false;
|
|
1820
|
+
if (!("priceChangeRatioInUsd5m" in value) || value["priceChangeRatioInUsd5m"] === void 0) return false;
|
|
1821
|
+
if (!("trades5m" in value) || value["trades5m"] === void 0) return false;
|
|
1822
|
+
if (!("price30m" in value) || value["price30m"] === void 0) return false;
|
|
1823
|
+
if (!("buys30m" in value) || value["buys30m"] === void 0) return false;
|
|
1824
|
+
if (!("sells30m" in value) || value["sells30m"] === void 0) return false;
|
|
1825
|
+
if (!("buyVolumes30m" in value) || value["buyVolumes30m"] === void 0) return false;
|
|
1826
|
+
if (!("sellsVolumes30m" in value) || value["sellsVolumes30m"] === void 0) return false;
|
|
1827
|
+
if (!("volumes30m" in value) || value["volumes30m"] === void 0) return false;
|
|
1828
|
+
if (!("buyVolumesInUsd30m" in value) || value["buyVolumesInUsd30m"] === void 0) return false;
|
|
1829
|
+
if (!("sellVolumesInUsd30m" in value) || value["sellVolumesInUsd30m"] === void 0) return false;
|
|
1830
|
+
if (!("volumesInUsd30m" in value) || value["volumesInUsd30m"] === void 0) return false;
|
|
1831
|
+
if (!("openPriceInUsd30m" in value) || value["openPriceInUsd30m"] === void 0) return false;
|
|
1832
|
+
if (!("closePriceInUsd30m" in value) || value["closePriceInUsd30m"] === void 0) return false;
|
|
1833
|
+
if (!("priceChangeRatioInUsd30m" in value) || value["priceChangeRatioInUsd30m"] === void 0) return false;
|
|
1834
|
+
if (!("trades30m" in value) || value["trades30m"] === void 0) return false;
|
|
1835
|
+
if (!("price1h" in value) || value["price1h"] === void 0) return false;
|
|
1836
|
+
if (!("buys1h" in value) || value["buys1h"] === void 0) return false;
|
|
1837
|
+
if (!("sells1h" in value) || value["sells1h"] === void 0) return false;
|
|
1838
|
+
if (!("buyVolumes1h" in value) || value["buyVolumes1h"] === void 0) return false;
|
|
1839
|
+
if (!("sellsVolumes1h" in value) || value["sellsVolumes1h"] === void 0) return false;
|
|
1840
|
+
if (!("volumes1h" in value) || value["volumes1h"] === void 0) return false;
|
|
1841
|
+
if (!("buyVolumesInUsd1h" in value) || value["buyVolumesInUsd1h"] === void 0) return false;
|
|
1842
|
+
if (!("sellVolumesInUsd1h" in value) || value["sellVolumesInUsd1h"] === void 0) return false;
|
|
1843
|
+
if (!("volumesInUsd1h" in value) || value["volumesInUsd1h"] === void 0) return false;
|
|
1844
|
+
if (!("openPriceInUsd1h" in value) || value["openPriceInUsd1h"] === void 0) return false;
|
|
1845
|
+
if (!("closePriceInUsd1h" in value) || value["closePriceInUsd1h"] === void 0) return false;
|
|
1846
|
+
if (!("priceChangeRatioInUsd1h" in value) || value["priceChangeRatioInUsd1h"] === void 0) return false;
|
|
1847
|
+
if (!("trades1h" in value) || value["trades1h"] === void 0) return false;
|
|
1848
|
+
if (!("price4h" in value) || value["price4h"] === void 0) return false;
|
|
1849
|
+
if (!("buys4h" in value) || value["buys4h"] === void 0) return false;
|
|
1850
|
+
if (!("sells4h" in value) || value["sells4h"] === void 0) return false;
|
|
1851
|
+
if (!("buyVolumes4h" in value) || value["buyVolumes4h"] === void 0) return false;
|
|
1852
|
+
if (!("sellsVolumes4h" in value) || value["sellsVolumes4h"] === void 0) return false;
|
|
1853
|
+
if (!("volumes4h" in value) || value["volumes4h"] === void 0) return false;
|
|
1854
|
+
if (!("buyVolumesInUsd4h" in value) || value["buyVolumesInUsd4h"] === void 0) return false;
|
|
1855
|
+
if (!("sellVolumesInUsd4h" in value) || value["sellVolumesInUsd4h"] === void 0) return false;
|
|
1856
|
+
if (!("volumesInUsd4h" in value) || value["volumesInUsd4h"] === void 0) return false;
|
|
1857
|
+
if (!("openPriceInUsd4h" in value) || value["openPriceInUsd4h"] === void 0) return false;
|
|
1858
|
+
if (!("closePriceInUsd4h" in value) || value["closePriceInUsd4h"] === void 0) return false;
|
|
1859
|
+
if (!("priceChangeRatioInUsd4h" in value) || value["priceChangeRatioInUsd4h"] === void 0) return false;
|
|
1860
|
+
if (!("trades4h" in value) || value["trades4h"] === void 0) return false;
|
|
1861
|
+
if (!("price24h" in value) || value["price24h"] === void 0) return false;
|
|
1862
|
+
if (!("buys24h" in value) || value["buys24h"] === void 0) return false;
|
|
1863
|
+
if (!("sells24h" in value) || value["sells24h"] === void 0) return false;
|
|
1864
|
+
if (!("buyVolumes24h" in value) || value["buyVolumes24h"] === void 0) return false;
|
|
1865
|
+
if (!("sellsVolumes24h" in value) || value["sellsVolumes24h"] === void 0) return false;
|
|
1866
|
+
if (!("volumes24h" in value) || value["volumes24h"] === void 0) return false;
|
|
1867
|
+
if (!("buyVolumesInUsd24h" in value) || value["buyVolumesInUsd24h"] === void 0) return false;
|
|
1868
|
+
if (!("sellVolumesInUsd24h" in value) || value["sellVolumesInUsd24h"] === void 0) return false;
|
|
1869
|
+
if (!("volumesInUsd24h" in value) || value["volumesInUsd24h"] === void 0) return false;
|
|
1870
|
+
if (!("openPriceInUsd24h" in value) || value["openPriceInUsd24h"] === void 0) return false;
|
|
1871
|
+
if (!("closePriceInUsd24h" in value) || value["closePriceInUsd24h"] === void 0) return false;
|
|
1872
|
+
if (!("priceChangeRatioInUsd24h" in value) || value["priceChangeRatioInUsd24h"] === void 0) return false;
|
|
1873
|
+
if (!("trades24h" in value) || value["trades24h"] === void 0) return false;
|
|
1812
1874
|
return true;
|
|
1813
1875
|
}
|
|
1814
|
-
function
|
|
1815
|
-
return
|
|
1876
|
+
function TokenStatFromJSON(json) {
|
|
1877
|
+
return TokenStatFromJSONTyped(json, false);
|
|
1816
1878
|
}
|
|
1817
|
-
function
|
|
1818
|
-
if (json == null) {
|
|
1819
|
-
return json;
|
|
1820
|
-
}
|
|
1821
|
-
return {
|
|
1822
|
-
"from": json["from"],
|
|
1823
|
-
"to": json["to"],
|
|
1824
|
-
"data": json["data"],
|
|
1825
|
-
"value": json["value"] == null ? void 0 : json["value"]
|
|
1826
|
-
};
|
|
1827
|
-
}
|
|
1828
|
-
function EstimateGasLimitInputToJSON(json) {
|
|
1829
|
-
return EstimateGasLimitInputToJSONTyped(json, false);
|
|
1830
|
-
}
|
|
1831
|
-
function EstimateGasLimitInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1832
|
-
if (value == null) {
|
|
1833
|
-
return value;
|
|
1834
|
-
}
|
|
1835
|
-
return {
|
|
1836
|
-
"from": value["from"],
|
|
1837
|
-
"to": value["to"],
|
|
1838
|
-
"data": value["data"],
|
|
1839
|
-
"value": value["value"]
|
|
1840
|
-
};
|
|
1841
|
-
}
|
|
1842
|
-
|
|
1843
|
-
// src/openapi/models/EstimateGasLimitResponse.ts
|
|
1844
|
-
function instanceOfEstimateGasLimitResponse(value) {
|
|
1845
|
-
if (!("gasLimit" in value) || value["gasLimit"] === void 0) return false;
|
|
1846
|
-
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
1847
|
-
return true;
|
|
1848
|
-
}
|
|
1849
|
-
function EstimateGasLimitResponseFromJSON(json) {
|
|
1850
|
-
return EstimateGasLimitResponseFromJSONTyped(json, false);
|
|
1851
|
-
}
|
|
1852
|
-
function EstimateGasLimitResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1853
|
-
if (json == null) {
|
|
1854
|
-
return json;
|
|
1855
|
-
}
|
|
1856
|
-
return {
|
|
1857
|
-
"gasLimit": json["gasLimit"],
|
|
1858
|
-
"chain": json["chain"]
|
|
1859
|
-
};
|
|
1860
|
-
}
|
|
1861
|
-
function EstimateGasLimitResponseToJSON(json) {
|
|
1862
|
-
return EstimateGasLimitResponseToJSONTyped(json, false);
|
|
1863
|
-
}
|
|
1864
|
-
function EstimateGasLimitResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1865
|
-
if (value == null) {
|
|
1866
|
-
return value;
|
|
1867
|
-
}
|
|
1868
|
-
return {
|
|
1869
|
-
"gasLimit": value["gasLimit"],
|
|
1870
|
-
"chain": value["chain"]
|
|
1871
|
-
};
|
|
1872
|
-
}
|
|
1873
|
-
|
|
1874
|
-
// src/openapi/models/FilterCondition.ts
|
|
1875
|
-
var FilterConditionFieldEnum = {
|
|
1876
|
-
MarketDataPriceInUsd: "marketData.priceInUsd",
|
|
1877
|
-
StatsPriceChangeRatioInUsd1m: "stats.priceChangeRatioInUsd1m",
|
|
1878
|
-
StatsPriceChangeRatioInUsd5m: "stats.priceChangeRatioInUsd5m",
|
|
1879
|
-
StatsPriceChangeRatioInUsd1h: "stats.priceChangeRatioInUsd1h",
|
|
1880
|
-
StatsPriceChangeRatioInUsd4h: "stats.priceChangeRatioInUsd4h",
|
|
1881
|
-
StatsPriceChangeRatioInUsd24h: "stats.priceChangeRatioInUsd24h",
|
|
1882
|
-
MarketDataMarketCapInUsd: "marketData.marketCapInUsd",
|
|
1883
|
-
MarketDataTvlInUsd: "marketData.tvlInUsd",
|
|
1884
|
-
MarketDataTop10TotalHoldings: "marketData.top10TotalHoldings",
|
|
1885
|
-
MarketDataTop10HoldingsRatio: "marketData.top10HoldingsRatio",
|
|
1886
|
-
MarketDataTop100TotalHoldings: "marketData.top100TotalHoldings",
|
|
1887
|
-
MarketDataTop100HoldingsRatio: "marketData.top100HoldingsRatio",
|
|
1888
|
-
MarketDataHolders: "marketData.holders",
|
|
1889
|
-
MarketDataCreatorHoldings: "marketData.creatorHoldings",
|
|
1890
|
-
MarketDataCreatorHoldingsRatio: "marketData.creatorHoldingsRatio",
|
|
1891
|
-
StatsBuys1m: "stats.buys1m",
|
|
1892
|
-
StatsBuys5m: "stats.buys5m",
|
|
1893
|
-
StatsBuys15m: "stats.buys15m",
|
|
1894
|
-
StatsBuys30m: "stats.buys30m",
|
|
1895
|
-
StatsBuys1h: "stats.buys1h",
|
|
1896
|
-
StatsBuys4h: "stats.buys4h",
|
|
1897
|
-
StatsBuys24h: "stats.buys24h",
|
|
1898
|
-
StatsSells1m: "stats.sells1m",
|
|
1899
|
-
StatsSells5m: "stats.sells5m",
|
|
1900
|
-
StatsSells15m: "stats.sells15m",
|
|
1901
|
-
StatsSells30m: "stats.sells30m",
|
|
1902
|
-
StatsSells1h: "stats.sells1h",
|
|
1903
|
-
StatsSells4h: "stats.sells4h",
|
|
1904
|
-
StatsSells24h: "stats.sells24h",
|
|
1905
|
-
StatsTrades1m: "stats.trades1m",
|
|
1906
|
-
StatsTrades5m: "stats.trades5m",
|
|
1907
|
-
StatsTrades1h: "stats.trades1h",
|
|
1908
|
-
StatsTrades4h: "stats.trades4h",
|
|
1909
|
-
StatsTrades24h: "stats.trades24h",
|
|
1910
|
-
StatsTraders1m: "stats.traders1m",
|
|
1911
|
-
StatsTraders5m: "stats.traders5m",
|
|
1912
|
-
StatsTraders1h: "stats.traders1h",
|
|
1913
|
-
StatsTraders4h: "stats.traders4h",
|
|
1914
|
-
StatsTraders24h: "stats.traders24h",
|
|
1915
|
-
StatsVolumesInUsd1m: "stats.volumesInUsd1m",
|
|
1916
|
-
StatsVolumesInUsd5m: "stats.volumesInUsd5m",
|
|
1917
|
-
StatsVolumesInUsd1h: "stats.volumesInUsd1h",
|
|
1918
|
-
StatsVolumesInUsd4h: "stats.volumesInUsd4h",
|
|
1919
|
-
StatsVolumesInUsd24h: "stats.volumesInUsd24h",
|
|
1920
|
-
TokenCreatedAt: "tokenCreatedAt"
|
|
1921
|
-
};
|
|
1922
|
-
function instanceOfFilterCondition(value) {
|
|
1923
|
-
return true;
|
|
1924
|
-
}
|
|
1925
|
-
function FilterConditionFromJSON(json) {
|
|
1926
|
-
return FilterConditionFromJSONTyped(json, false);
|
|
1927
|
-
}
|
|
1928
|
-
function FilterConditionFromJSONTyped(json, ignoreDiscriminator) {
|
|
1929
|
-
if (json == null) {
|
|
1930
|
-
return json;
|
|
1931
|
-
}
|
|
1932
|
-
return {
|
|
1933
|
-
"field": json["field"] == null ? void 0 : json["field"],
|
|
1934
|
-
"min": json["min"] == null ? void 0 : json["min"],
|
|
1935
|
-
"max": json["max"] == null ? void 0 : json["max"]
|
|
1936
|
-
};
|
|
1937
|
-
}
|
|
1938
|
-
function FilterConditionToJSON(json) {
|
|
1939
|
-
return FilterConditionToJSONTyped(json, false);
|
|
1940
|
-
}
|
|
1941
|
-
function FilterConditionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1942
|
-
if (value == null) {
|
|
1943
|
-
return value;
|
|
1944
|
-
}
|
|
1945
|
-
return {
|
|
1946
|
-
"field": value["field"],
|
|
1947
|
-
"min": value["min"],
|
|
1948
|
-
"max": value["max"]
|
|
1949
|
-
};
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
|
-
// src/openapi/models/GainersAndLosersDTO.ts
|
|
1953
|
-
function instanceOfGainersAndLosersDTO(value) {
|
|
1954
|
-
if (!("address" in value) || value["address"] === void 0) return false;
|
|
1955
|
-
if (!("pnl" in value) || value["pnl"] === void 0) return false;
|
|
1956
|
-
if (!("tradeCount" in value) || value["tradeCount"] === void 0) return false;
|
|
1957
|
-
if (!("volume" in value) || value["volume"] === void 0) return false;
|
|
1958
|
-
return true;
|
|
1959
|
-
}
|
|
1960
|
-
function GainersAndLosersDTOFromJSON(json) {
|
|
1961
|
-
return GainersAndLosersDTOFromJSONTyped(json, false);
|
|
1962
|
-
}
|
|
1963
|
-
function GainersAndLosersDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
1879
|
+
function TokenStatFromJSONTyped(json, ignoreDiscriminator) {
|
|
1964
1880
|
if (json == null) {
|
|
1965
1881
|
return json;
|
|
1966
1882
|
}
|
|
1967
1883
|
return {
|
|
1968
1884
|
"address": json["address"],
|
|
1969
|
-
"
|
|
1970
|
-
"
|
|
1971
|
-
"
|
|
1885
|
+
"price1m": json["price1m"],
|
|
1886
|
+
"buys1m": json["buys1m"],
|
|
1887
|
+
"sells1m": json["sells1m"],
|
|
1888
|
+
"buyVolumes1m": json["buyVolumes1m"],
|
|
1889
|
+
"sellsVolumes1m": json["sellsVolumes1m"],
|
|
1890
|
+
"volumes1m": json["volumes1m"],
|
|
1891
|
+
"buyVolumesInUsd1m": json["buyVolumesInUsd1m"],
|
|
1892
|
+
"sellVolumesInUsd1m": json["sellVolumesInUsd1m"],
|
|
1893
|
+
"volumesInUsd1m": json["volumesInUsd1m"],
|
|
1894
|
+
"buyers1m": json["buyers1m"] == null ? void 0 : json["buyers1m"],
|
|
1895
|
+
"sellers1m": json["sellers1m"] == null ? void 0 : json["sellers1m"],
|
|
1896
|
+
"openPriceInUsd1m": json["openPriceInUsd1m"],
|
|
1897
|
+
"closePriceInUsd1m": json["closePriceInUsd1m"],
|
|
1898
|
+
"priceChangeRatioInUsd1m": json["priceChangeRatioInUsd1m"],
|
|
1899
|
+
"trades1m": json["trades1m"],
|
|
1900
|
+
"traders1m": json["traders1m"] == null ? void 0 : json["traders1m"],
|
|
1901
|
+
"highInUsd1m": json["highInUsd1m"] == null ? void 0 : json["highInUsd1m"],
|
|
1902
|
+
"lowInUsd1m": json["lowInUsd1m"] == null ? void 0 : json["lowInUsd1m"],
|
|
1903
|
+
"price5m": json["price5m"],
|
|
1904
|
+
"buys5m": json["buys5m"],
|
|
1905
|
+
"sells5m": json["sells5m"],
|
|
1906
|
+
"buyVolumes5m": json["buyVolumes5m"],
|
|
1907
|
+
"sellsVolumes5m": json["sellsVolumes5m"],
|
|
1908
|
+
"volumes5m": json["volumes5m"],
|
|
1909
|
+
"buyVolumesInUsd5m": json["buyVolumesInUsd5m"],
|
|
1910
|
+
"sellVolumesInUsd5m": json["sellVolumesInUsd5m"],
|
|
1911
|
+
"volumesInUsd5m": json["volumesInUsd5m"],
|
|
1912
|
+
"buyers5m": json["buyers5m"] == null ? void 0 : json["buyers5m"],
|
|
1913
|
+
"sellers5m": json["sellers5m"] == null ? void 0 : json["sellers5m"],
|
|
1914
|
+
"openPriceInUsd5m": json["openPriceInUsd5m"],
|
|
1915
|
+
"closePriceInUsd5m": json["closePriceInUsd5m"],
|
|
1916
|
+
"priceChangeRatioInUsd5m": json["priceChangeRatioInUsd5m"],
|
|
1917
|
+
"trades5m": json["trades5m"],
|
|
1918
|
+
"traders5m": json["traders5m"] == null ? void 0 : json["traders5m"],
|
|
1919
|
+
"highInUsd5m": json["highInUsd5m"] == null ? void 0 : json["highInUsd5m"],
|
|
1920
|
+
"lowInUsd5m": json["lowInUsd5m"] == null ? void 0 : json["lowInUsd5m"],
|
|
1921
|
+
"price15m": json["price15m"] == null ? void 0 : json["price15m"],
|
|
1922
|
+
"buys15m": json["buys15m"] == null ? void 0 : json["buys15m"],
|
|
1923
|
+
"sells15m": json["sells15m"] == null ? void 0 : json["sells15m"],
|
|
1924
|
+
"buyVolumes15m": json["buyVolumes15m"] == null ? void 0 : json["buyVolumes15m"],
|
|
1925
|
+
"sellsVolumes15m": json["sellsVolumes15m"] == null ? void 0 : json["sellsVolumes15m"],
|
|
1926
|
+
"volumes15m": json["volumes15m"] == null ? void 0 : json["volumes15m"],
|
|
1927
|
+
"buyVolumesInUsd15m": json["buyVolumesInUsd15m"] == null ? void 0 : json["buyVolumesInUsd15m"],
|
|
1928
|
+
"sellVolumesInUsd15m": json["sellVolumesInUsd15m"] == null ? void 0 : json["sellVolumesInUsd15m"],
|
|
1929
|
+
"volumesInUsd15m": json["volumesInUsd15m"] == null ? void 0 : json["volumesInUsd15m"],
|
|
1930
|
+
"buyers15m": json["buyers15m"] == null ? void 0 : json["buyers15m"],
|
|
1931
|
+
"sellers15m": json["sellers15m"] == null ? void 0 : json["sellers15m"],
|
|
1932
|
+
"openPriceInUsd15m": json["openPriceInUsd15m"] == null ? void 0 : json["openPriceInUsd15m"],
|
|
1933
|
+
"closePriceInUsd15m": json["closePriceInUsd15m"] == null ? void 0 : json["closePriceInUsd15m"],
|
|
1934
|
+
"priceChangeRatioInUsd15m": json["priceChangeRatioInUsd15m"] == null ? void 0 : json["priceChangeRatioInUsd15m"],
|
|
1935
|
+
"trades15m": json["trades15m"] == null ? void 0 : json["trades15m"],
|
|
1936
|
+
"traders15m": json["traders15m"] == null ? void 0 : json["traders15m"],
|
|
1937
|
+
"highInUsd15m": json["highInUsd15m"] == null ? void 0 : json["highInUsd15m"],
|
|
1938
|
+
"lowInUsd15m": json["lowInUsd15m"] == null ? void 0 : json["lowInUsd15m"],
|
|
1939
|
+
"price30m": json["price30m"],
|
|
1940
|
+
"buys30m": json["buys30m"],
|
|
1941
|
+
"sells30m": json["sells30m"],
|
|
1942
|
+
"buyVolumes30m": json["buyVolumes30m"],
|
|
1943
|
+
"sellsVolumes30m": json["sellsVolumes30m"],
|
|
1944
|
+
"volumes30m": json["volumes30m"],
|
|
1945
|
+
"buyVolumesInUsd30m": json["buyVolumesInUsd30m"],
|
|
1946
|
+
"sellVolumesInUsd30m": json["sellVolumesInUsd30m"],
|
|
1947
|
+
"volumesInUsd30m": json["volumesInUsd30m"],
|
|
1948
|
+
"buyers30m": json["buyers30m"] == null ? void 0 : json["buyers30m"],
|
|
1949
|
+
"sellers30m": json["sellers30m"] == null ? void 0 : json["sellers30m"],
|
|
1950
|
+
"openPriceInUsd30m": json["openPriceInUsd30m"],
|
|
1951
|
+
"closePriceInUsd30m": json["closePriceInUsd30m"],
|
|
1952
|
+
"priceChangeRatioInUsd30m": json["priceChangeRatioInUsd30m"],
|
|
1953
|
+
"trades30m": json["trades30m"],
|
|
1954
|
+
"traders30m": json["traders30m"] == null ? void 0 : json["traders30m"],
|
|
1955
|
+
"highInUsd30m": json["highInUsd30m"] == null ? void 0 : json["highInUsd30m"],
|
|
1956
|
+
"lowInUsd30m": json["lowInUsd30m"] == null ? void 0 : json["lowInUsd30m"],
|
|
1957
|
+
"price1h": json["price1h"],
|
|
1958
|
+
"buys1h": json["buys1h"],
|
|
1959
|
+
"sells1h": json["sells1h"],
|
|
1960
|
+
"buyVolumes1h": json["buyVolumes1h"],
|
|
1961
|
+
"sellsVolumes1h": json["sellsVolumes1h"],
|
|
1962
|
+
"volumes1h": json["volumes1h"],
|
|
1963
|
+
"buyVolumesInUsd1h": json["buyVolumesInUsd1h"],
|
|
1964
|
+
"sellVolumesInUsd1h": json["sellVolumesInUsd1h"],
|
|
1965
|
+
"volumesInUsd1h": json["volumesInUsd1h"],
|
|
1966
|
+
"buyers1h": json["buyers1h"] == null ? void 0 : json["buyers1h"],
|
|
1967
|
+
"sellers1h": json["sellers1h"] == null ? void 0 : json["sellers1h"],
|
|
1968
|
+
"openPriceInUsd1h": json["openPriceInUsd1h"],
|
|
1969
|
+
"closePriceInUsd1h": json["closePriceInUsd1h"],
|
|
1970
|
+
"priceChangeRatioInUsd1h": json["priceChangeRatioInUsd1h"],
|
|
1971
|
+
"trades1h": json["trades1h"],
|
|
1972
|
+
"traders1h": json["traders1h"] == null ? void 0 : json["traders1h"],
|
|
1973
|
+
"highInUsd1h": json["highInUsd1h"] == null ? void 0 : json["highInUsd1h"],
|
|
1974
|
+
"lowInUsd1h": json["lowInUsd1h"] == null ? void 0 : json["lowInUsd1h"],
|
|
1975
|
+
"price4h": json["price4h"],
|
|
1976
|
+
"buys4h": json["buys4h"],
|
|
1977
|
+
"sells4h": json["sells4h"],
|
|
1978
|
+
"buyVolumes4h": json["buyVolumes4h"],
|
|
1979
|
+
"sellsVolumes4h": json["sellsVolumes4h"],
|
|
1980
|
+
"volumes4h": json["volumes4h"],
|
|
1981
|
+
"buyVolumesInUsd4h": json["buyVolumesInUsd4h"],
|
|
1982
|
+
"sellVolumesInUsd4h": json["sellVolumesInUsd4h"],
|
|
1983
|
+
"volumesInUsd4h": json["volumesInUsd4h"],
|
|
1984
|
+
"buyers4h": json["buyers4h"] == null ? void 0 : json["buyers4h"],
|
|
1985
|
+
"sellers4h": json["sellers4h"] == null ? void 0 : json["sellers4h"],
|
|
1986
|
+
"openPriceInUsd4h": json["openPriceInUsd4h"],
|
|
1987
|
+
"closePriceInUsd4h": json["closePriceInUsd4h"],
|
|
1988
|
+
"priceChangeRatioInUsd4h": json["priceChangeRatioInUsd4h"],
|
|
1989
|
+
"trades4h": json["trades4h"],
|
|
1990
|
+
"traders4h": json["traders4h"] == null ? void 0 : json["traders4h"],
|
|
1991
|
+
"highInUsd4h": json["highInUsd4h"] == null ? void 0 : json["highInUsd4h"],
|
|
1992
|
+
"lowInUsd4h": json["lowInUsd4h"] == null ? void 0 : json["lowInUsd4h"],
|
|
1993
|
+
"price24h": json["price24h"],
|
|
1994
|
+
"buys24h": json["buys24h"],
|
|
1995
|
+
"sells24h": json["sells24h"],
|
|
1996
|
+
"buyVolumes24h": json["buyVolumes24h"],
|
|
1997
|
+
"sellsVolumes24h": json["sellsVolumes24h"],
|
|
1998
|
+
"volumes24h": json["volumes24h"],
|
|
1999
|
+
"buyVolumesInUsd24h": json["buyVolumesInUsd24h"],
|
|
2000
|
+
"sellVolumesInUsd24h": json["sellVolumesInUsd24h"],
|
|
2001
|
+
"volumesInUsd24h": json["volumesInUsd24h"],
|
|
2002
|
+
"buyers24h": json["buyers24h"] == null ? void 0 : json["buyers24h"],
|
|
2003
|
+
"sellers24h": json["sellers24h"] == null ? void 0 : json["sellers24h"],
|
|
2004
|
+
"openPriceInUsd24h": json["openPriceInUsd24h"],
|
|
2005
|
+
"closePriceInUsd24h": json["closePriceInUsd24h"],
|
|
2006
|
+
"priceChangeRatioInUsd24h": json["priceChangeRatioInUsd24h"],
|
|
2007
|
+
"trades24h": json["trades24h"],
|
|
2008
|
+
"traders24h": json["traders24h"] == null ? void 0 : json["traders24h"],
|
|
2009
|
+
"highInUsd24h": json["highInUsd24h"] == null ? void 0 : json["highInUsd24h"],
|
|
2010
|
+
"lowInUsd24h": json["lowInUsd24h"] == null ? void 0 : json["lowInUsd24h"]
|
|
1972
2011
|
};
|
|
1973
2012
|
}
|
|
1974
|
-
function
|
|
1975
|
-
return
|
|
2013
|
+
function TokenStatToJSON(json) {
|
|
2014
|
+
return TokenStatToJSONTyped(json, false);
|
|
1976
2015
|
}
|
|
1977
|
-
function
|
|
2016
|
+
function TokenStatToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1978
2017
|
if (value == null) {
|
|
1979
2018
|
return value;
|
|
1980
2019
|
}
|
|
1981
2020
|
return {
|
|
1982
2021
|
"address": value["address"],
|
|
1983
|
-
"
|
|
1984
|
-
"
|
|
1985
|
-
"
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
2022
|
+
"price1m": value["price1m"],
|
|
2023
|
+
"buys1m": value["buys1m"],
|
|
2024
|
+
"sells1m": value["sells1m"],
|
|
2025
|
+
"buyVolumes1m": value["buyVolumes1m"],
|
|
2026
|
+
"sellsVolumes1m": value["sellsVolumes1m"],
|
|
2027
|
+
"volumes1m": value["volumes1m"],
|
|
2028
|
+
"buyVolumesInUsd1m": value["buyVolumesInUsd1m"],
|
|
2029
|
+
"sellVolumesInUsd1m": value["sellVolumesInUsd1m"],
|
|
2030
|
+
"volumesInUsd1m": value["volumesInUsd1m"],
|
|
2031
|
+
"buyers1m": value["buyers1m"],
|
|
2032
|
+
"sellers1m": value["sellers1m"],
|
|
2033
|
+
"openPriceInUsd1m": value["openPriceInUsd1m"],
|
|
2034
|
+
"closePriceInUsd1m": value["closePriceInUsd1m"],
|
|
2035
|
+
"priceChangeRatioInUsd1m": value["priceChangeRatioInUsd1m"],
|
|
2036
|
+
"trades1m": value["trades1m"],
|
|
2037
|
+
"traders1m": value["traders1m"],
|
|
2038
|
+
"highInUsd1m": value["highInUsd1m"],
|
|
2039
|
+
"lowInUsd1m": value["lowInUsd1m"],
|
|
2040
|
+
"price5m": value["price5m"],
|
|
2041
|
+
"buys5m": value["buys5m"],
|
|
2042
|
+
"sells5m": value["sells5m"],
|
|
2043
|
+
"buyVolumes5m": value["buyVolumes5m"],
|
|
2044
|
+
"sellsVolumes5m": value["sellsVolumes5m"],
|
|
2045
|
+
"volumes5m": value["volumes5m"],
|
|
2046
|
+
"buyVolumesInUsd5m": value["buyVolumesInUsd5m"],
|
|
2047
|
+
"sellVolumesInUsd5m": value["sellVolumesInUsd5m"],
|
|
2048
|
+
"volumesInUsd5m": value["volumesInUsd5m"],
|
|
2049
|
+
"buyers5m": value["buyers5m"],
|
|
2050
|
+
"sellers5m": value["sellers5m"],
|
|
2051
|
+
"openPriceInUsd5m": value["openPriceInUsd5m"],
|
|
2052
|
+
"closePriceInUsd5m": value["closePriceInUsd5m"],
|
|
2053
|
+
"priceChangeRatioInUsd5m": value["priceChangeRatioInUsd5m"],
|
|
2054
|
+
"trades5m": value["trades5m"],
|
|
2055
|
+
"traders5m": value["traders5m"],
|
|
2056
|
+
"highInUsd5m": value["highInUsd5m"],
|
|
2057
|
+
"lowInUsd5m": value["lowInUsd5m"],
|
|
2058
|
+
"price15m": value["price15m"],
|
|
2059
|
+
"buys15m": value["buys15m"],
|
|
2060
|
+
"sells15m": value["sells15m"],
|
|
2061
|
+
"buyVolumes15m": value["buyVolumes15m"],
|
|
2062
|
+
"sellsVolumes15m": value["sellsVolumes15m"],
|
|
2063
|
+
"volumes15m": value["volumes15m"],
|
|
2064
|
+
"buyVolumesInUsd15m": value["buyVolumesInUsd15m"],
|
|
2065
|
+
"sellVolumesInUsd15m": value["sellVolumesInUsd15m"],
|
|
2066
|
+
"volumesInUsd15m": value["volumesInUsd15m"],
|
|
2067
|
+
"buyers15m": value["buyers15m"],
|
|
2068
|
+
"sellers15m": value["sellers15m"],
|
|
2069
|
+
"openPriceInUsd15m": value["openPriceInUsd15m"],
|
|
2070
|
+
"closePriceInUsd15m": value["closePriceInUsd15m"],
|
|
2071
|
+
"priceChangeRatioInUsd15m": value["priceChangeRatioInUsd15m"],
|
|
2072
|
+
"trades15m": value["trades15m"],
|
|
2073
|
+
"traders15m": value["traders15m"],
|
|
2074
|
+
"highInUsd15m": value["highInUsd15m"],
|
|
2075
|
+
"lowInUsd15m": value["lowInUsd15m"],
|
|
2076
|
+
"price30m": value["price30m"],
|
|
2077
|
+
"buys30m": value["buys30m"],
|
|
2078
|
+
"sells30m": value["sells30m"],
|
|
2079
|
+
"buyVolumes30m": value["buyVolumes30m"],
|
|
2080
|
+
"sellsVolumes30m": value["sellsVolumes30m"],
|
|
2081
|
+
"volumes30m": value["volumes30m"],
|
|
2082
|
+
"buyVolumesInUsd30m": value["buyVolumesInUsd30m"],
|
|
2083
|
+
"sellVolumesInUsd30m": value["sellVolumesInUsd30m"],
|
|
2084
|
+
"volumesInUsd30m": value["volumesInUsd30m"],
|
|
2085
|
+
"buyers30m": value["buyers30m"],
|
|
2086
|
+
"sellers30m": value["sellers30m"],
|
|
2087
|
+
"openPriceInUsd30m": value["openPriceInUsd30m"],
|
|
2088
|
+
"closePriceInUsd30m": value["closePriceInUsd30m"],
|
|
2089
|
+
"priceChangeRatioInUsd30m": value["priceChangeRatioInUsd30m"],
|
|
2090
|
+
"trades30m": value["trades30m"],
|
|
2091
|
+
"traders30m": value["traders30m"],
|
|
2092
|
+
"highInUsd30m": value["highInUsd30m"],
|
|
2093
|
+
"lowInUsd30m": value["lowInUsd30m"],
|
|
2094
|
+
"price1h": value["price1h"],
|
|
2095
|
+
"buys1h": value["buys1h"],
|
|
2096
|
+
"sells1h": value["sells1h"],
|
|
2097
|
+
"buyVolumes1h": value["buyVolumes1h"],
|
|
2098
|
+
"sellsVolumes1h": value["sellsVolumes1h"],
|
|
2099
|
+
"volumes1h": value["volumes1h"],
|
|
2100
|
+
"buyVolumesInUsd1h": value["buyVolumesInUsd1h"],
|
|
2101
|
+
"sellVolumesInUsd1h": value["sellVolumesInUsd1h"],
|
|
2102
|
+
"volumesInUsd1h": value["volumesInUsd1h"],
|
|
2103
|
+
"buyers1h": value["buyers1h"],
|
|
2104
|
+
"sellers1h": value["sellers1h"],
|
|
2105
|
+
"openPriceInUsd1h": value["openPriceInUsd1h"],
|
|
2106
|
+
"closePriceInUsd1h": value["closePriceInUsd1h"],
|
|
2107
|
+
"priceChangeRatioInUsd1h": value["priceChangeRatioInUsd1h"],
|
|
2108
|
+
"trades1h": value["trades1h"],
|
|
2109
|
+
"traders1h": value["traders1h"],
|
|
2110
|
+
"highInUsd1h": value["highInUsd1h"],
|
|
2111
|
+
"lowInUsd1h": value["lowInUsd1h"],
|
|
2112
|
+
"price4h": value["price4h"],
|
|
2113
|
+
"buys4h": value["buys4h"],
|
|
2114
|
+
"sells4h": value["sells4h"],
|
|
2115
|
+
"buyVolumes4h": value["buyVolumes4h"],
|
|
2116
|
+
"sellsVolumes4h": value["sellsVolumes4h"],
|
|
2117
|
+
"volumes4h": value["volumes4h"],
|
|
2118
|
+
"buyVolumesInUsd4h": value["buyVolumesInUsd4h"],
|
|
2119
|
+
"sellVolumesInUsd4h": value["sellVolumesInUsd4h"],
|
|
2120
|
+
"volumesInUsd4h": value["volumesInUsd4h"],
|
|
2121
|
+
"buyers4h": value["buyers4h"],
|
|
2122
|
+
"sellers4h": value["sellers4h"],
|
|
2123
|
+
"openPriceInUsd4h": value["openPriceInUsd4h"],
|
|
2124
|
+
"closePriceInUsd4h": value["closePriceInUsd4h"],
|
|
2125
|
+
"priceChangeRatioInUsd4h": value["priceChangeRatioInUsd4h"],
|
|
2126
|
+
"trades4h": value["trades4h"],
|
|
2127
|
+
"traders4h": value["traders4h"],
|
|
2128
|
+
"highInUsd4h": value["highInUsd4h"],
|
|
2129
|
+
"lowInUsd4h": value["lowInUsd4h"],
|
|
2130
|
+
"price24h": value["price24h"],
|
|
2131
|
+
"buys24h": value["buys24h"],
|
|
2132
|
+
"sells24h": value["sells24h"],
|
|
2133
|
+
"buyVolumes24h": value["buyVolumes24h"],
|
|
2134
|
+
"sellsVolumes24h": value["sellsVolumes24h"],
|
|
2135
|
+
"volumes24h": value["volumes24h"],
|
|
2136
|
+
"buyVolumesInUsd24h": value["buyVolumesInUsd24h"],
|
|
2137
|
+
"sellVolumesInUsd24h": value["sellVolumesInUsd24h"],
|
|
2138
|
+
"volumesInUsd24h": value["volumesInUsd24h"],
|
|
2139
|
+
"buyers24h": value["buyers24h"],
|
|
2140
|
+
"sellers24h": value["sellers24h"],
|
|
2141
|
+
"openPriceInUsd24h": value["openPriceInUsd24h"],
|
|
2142
|
+
"closePriceInUsd24h": value["closePriceInUsd24h"],
|
|
2143
|
+
"priceChangeRatioInUsd24h": value["priceChangeRatioInUsd24h"],
|
|
2144
|
+
"trades24h": value["trades24h"],
|
|
2145
|
+
"traders24h": value["traders24h"],
|
|
2146
|
+
"highInUsd24h": value["highInUsd24h"],
|
|
2147
|
+
"lowInUsd24h": value["lowInUsd24h"]
|
|
2148
|
+
};
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
// src/openapi/models/DevTokenDTO.ts
|
|
2152
|
+
function instanceOfDevTokenDTO(value) {
|
|
2153
|
+
if (!("address" in value) || value["address"] === void 0) return false;
|
|
2154
|
+
if (!("metadata" in value) || value["metadata"] === void 0) return false;
|
|
2155
|
+
if (!("marketData" in value) || value["marketData"] === void 0) return false;
|
|
2156
|
+
if (!("stats" in value) || value["stats"] === void 0) return false;
|
|
1992
2157
|
return true;
|
|
1993
2158
|
}
|
|
1994
|
-
function
|
|
1995
|
-
return
|
|
2159
|
+
function DevTokenDTOFromJSON(json) {
|
|
2160
|
+
return DevTokenDTOFromJSONTyped(json, false);
|
|
1996
2161
|
}
|
|
1997
|
-
function
|
|
2162
|
+
function DevTokenDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
1998
2163
|
if (json == null) {
|
|
1999
2164
|
return json;
|
|
2000
2165
|
}
|
|
2001
2166
|
return {
|
|
2002
|
-
"
|
|
2003
|
-
"
|
|
2004
|
-
"
|
|
2005
|
-
"
|
|
2006
|
-
"total": json["total"] == null ? void 0 : json["total"],
|
|
2007
|
-
"data": json["data"].map(GainersAndLosersDTOFromJSON)
|
|
2167
|
+
"address": json["address"],
|
|
2168
|
+
"metadata": TokenMetadataFromJSON(json["metadata"]),
|
|
2169
|
+
"marketData": TokenMarketDataFromJSON(json["marketData"]),
|
|
2170
|
+
"stats": TokenStatFromJSON(json["stats"])
|
|
2008
2171
|
};
|
|
2009
2172
|
}
|
|
2010
|
-
function
|
|
2011
|
-
return
|
|
2173
|
+
function DevTokenDTOToJSON(json) {
|
|
2174
|
+
return DevTokenDTOToJSONTyped(json, false);
|
|
2012
2175
|
}
|
|
2013
|
-
function
|
|
2176
|
+
function DevTokenDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2014
2177
|
if (value == null) {
|
|
2015
2178
|
return value;
|
|
2016
2179
|
}
|
|
2017
2180
|
return {
|
|
2018
|
-
"
|
|
2019
|
-
"
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
2022
|
-
"total": value["total"],
|
|
2023
|
-
"data": value["data"].map(GainersAndLosersDTOToJSON)
|
|
2181
|
+
"address": value["address"],
|
|
2182
|
+
"metadata": TokenMetadataToJSON(value["metadata"]),
|
|
2183
|
+
"marketData": TokenMarketDataToJSON(value["marketData"]),
|
|
2184
|
+
"stats": TokenStatToJSON(value["stats"])
|
|
2024
2185
|
};
|
|
2025
2186
|
}
|
|
2026
2187
|
|
|
2027
|
-
// src/openapi/models/
|
|
2028
|
-
function
|
|
2029
|
-
if (!("gasPrice" in value) || value["gasPrice"] === void 0) return false;
|
|
2188
|
+
// src/openapi/models/DexDTO.ts
|
|
2189
|
+
function instanceOfDexDTO(value) {
|
|
2030
2190
|
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
2031
2191
|
return true;
|
|
2032
2192
|
}
|
|
2033
|
-
function
|
|
2034
|
-
return
|
|
2193
|
+
function DexDTOFromJSON(json) {
|
|
2194
|
+
return DexDTOFromJSONTyped(json, false);
|
|
2035
2195
|
}
|
|
2036
|
-
function
|
|
2196
|
+
function DexDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2037
2197
|
if (json == null) {
|
|
2038
2198
|
return json;
|
|
2039
2199
|
}
|
|
2040
2200
|
return {
|
|
2041
|
-
"
|
|
2201
|
+
"programAddress": json["programAddress"] == null ? void 0 : json["programAddress"],
|
|
2202
|
+
"protocolFamily": json["protocolFamily"] == null ? void 0 : json["protocolFamily"],
|
|
2203
|
+
"image": json["image"] == null ? void 0 : json["image"],
|
|
2042
2204
|
"chain": json["chain"]
|
|
2043
2205
|
};
|
|
2044
2206
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2207
|
+
function DexDTOToJSON(json) {
|
|
2208
|
+
return DexDTOToJSONTyped(json, false);
|
|
2047
2209
|
}
|
|
2048
|
-
function
|
|
2210
|
+
function DexDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2049
2211
|
if (value == null) {
|
|
2050
2212
|
return value;
|
|
2051
2213
|
}
|
|
2052
2214
|
return {
|
|
2053
|
-
"
|
|
2215
|
+
"programAddress": value["programAddress"],
|
|
2216
|
+
"protocolFamily": value["protocolFamily"],
|
|
2217
|
+
"image": value["image"],
|
|
2054
2218
|
"chain": value["chain"]
|
|
2055
2219
|
};
|
|
2056
2220
|
}
|
|
2057
2221
|
|
|
2058
|
-
// src/openapi/models/
|
|
2059
|
-
function
|
|
2060
|
-
if (!("
|
|
2061
|
-
if (!("result" in value) || value["result"] === void 0) return false;
|
|
2222
|
+
// src/openapi/models/DexPage.ts
|
|
2223
|
+
function instanceOfDexPage(value) {
|
|
2224
|
+
if (!("data" in value) || value["data"] === void 0) return false;
|
|
2062
2225
|
return true;
|
|
2063
2226
|
}
|
|
2064
|
-
function
|
|
2065
|
-
return
|
|
2227
|
+
function DexPageFromJSON(json) {
|
|
2228
|
+
return DexPageFromJSONTyped(json, false);
|
|
2066
2229
|
}
|
|
2067
|
-
function
|
|
2230
|
+
function DexPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
2068
2231
|
if (json == null) {
|
|
2069
2232
|
return json;
|
|
2070
2233
|
}
|
|
2071
2234
|
return {
|
|
2072
|
-
"
|
|
2073
|
-
"
|
|
2235
|
+
"hasNext": json["hasNext"] == null ? void 0 : json["hasNext"],
|
|
2236
|
+
"hasPrev": json["hasPrev"] == null ? void 0 : json["hasPrev"],
|
|
2237
|
+
"startCursor": json["startCursor"] == null ? void 0 : json["startCursor"],
|
|
2238
|
+
"endCursor": json["endCursor"] == null ? void 0 : json["endCursor"],
|
|
2239
|
+
"total": json["total"] == null ? void 0 : json["total"],
|
|
2240
|
+
"data": json["data"].map(DexDTOFromJSON)
|
|
2074
2241
|
};
|
|
2075
2242
|
}
|
|
2076
|
-
function
|
|
2077
|
-
return
|
|
2243
|
+
function DexPageToJSON(json) {
|
|
2244
|
+
return DexPageToJSONTyped(json, false);
|
|
2078
2245
|
}
|
|
2079
|
-
function
|
|
2246
|
+
function DexPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2080
2247
|
if (value == null) {
|
|
2081
2248
|
return value;
|
|
2082
2249
|
}
|
|
2083
2250
|
return {
|
|
2084
|
-
"
|
|
2085
|
-
"
|
|
2251
|
+
"hasNext": value["hasNext"],
|
|
2252
|
+
"hasPrev": value["hasPrev"],
|
|
2253
|
+
"startCursor": value["startCursor"],
|
|
2254
|
+
"endCursor": value["endCursor"],
|
|
2255
|
+
"total": value["total"],
|
|
2256
|
+
"data": value["data"].map(DexDTOToJSON)
|
|
2086
2257
|
};
|
|
2087
2258
|
}
|
|
2088
2259
|
|
|
2089
|
-
// src/openapi/models/
|
|
2090
|
-
function
|
|
2091
|
-
if (!("
|
|
2092
|
-
if (!("
|
|
2260
|
+
// src/openapi/models/DexPoolDTO.ts
|
|
2261
|
+
function instanceOfDexPoolDTO(value) {
|
|
2262
|
+
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
2263
|
+
if (!("poolAddress" in value) || value["poolAddress"] === void 0) return false;
|
|
2264
|
+
if (!("tokenAAddress" in value) || value["tokenAAddress"] === void 0) return false;
|
|
2265
|
+
if (!("tokenBAddress" in value) || value["tokenBAddress"] === void 0) return false;
|
|
2093
2266
|
return true;
|
|
2094
2267
|
}
|
|
2095
|
-
function
|
|
2096
|
-
return
|
|
2268
|
+
function DexPoolDTOFromJSON(json) {
|
|
2269
|
+
return DexPoolDTOFromJSONTyped(json, false);
|
|
2097
2270
|
}
|
|
2098
|
-
function
|
|
2271
|
+
function DexPoolDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2099
2272
|
if (json == null) {
|
|
2100
2273
|
return json;
|
|
2101
2274
|
}
|
|
2102
2275
|
return {
|
|
2103
|
-
"
|
|
2104
|
-
"
|
|
2276
|
+
"programAddress": json["programAddress"] == null ? void 0 : json["programAddress"],
|
|
2277
|
+
"protocolFamily": json["protocolFamily"] == null ? void 0 : json["protocolFamily"],
|
|
2278
|
+
"image": json["image"] == null ? void 0 : json["image"],
|
|
2279
|
+
"chain": json["chain"],
|
|
2280
|
+
"poolAddress": json["poolAddress"],
|
|
2281
|
+
"protocolName": json["protocolName"] == null ? void 0 : json["protocolName"],
|
|
2282
|
+
"tokenAAddress": json["tokenAAddress"],
|
|
2283
|
+
"tokenBAddress": json["tokenBAddress"],
|
|
2284
|
+
"tvlInUsd": json["tvlInUsd"] == null ? void 0 : json["tvlInUsd"],
|
|
2285
|
+
"tvlInSol": json["tvlInSol"] == null ? void 0 : json["tvlInSol"]
|
|
2105
2286
|
};
|
|
2106
2287
|
}
|
|
2107
|
-
function
|
|
2108
|
-
return
|
|
2288
|
+
function DexPoolDTOToJSON(json) {
|
|
2289
|
+
return DexPoolDTOToJSONTyped(json, false);
|
|
2109
2290
|
}
|
|
2110
|
-
function
|
|
2291
|
+
function DexPoolDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2111
2292
|
if (value == null) {
|
|
2112
2293
|
return value;
|
|
2113
2294
|
}
|
|
2114
2295
|
return {
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
};
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
if (!("
|
|
2132
|
-
if (!("asset" in value) || value["asset"] === void 0) return false;
|
|
2133
|
-
if (!("transferReference" in value) || value["transferReference"] === void 0) return false;
|
|
2134
|
-
if (!("direction" in value) || value["direction"] === void 0) return false;
|
|
2296
|
+
"programAddress": value["programAddress"],
|
|
2297
|
+
"protocolFamily": value["protocolFamily"],
|
|
2298
|
+
"image": value["image"],
|
|
2299
|
+
"chain": value["chain"],
|
|
2300
|
+
"poolAddress": value["poolAddress"],
|
|
2301
|
+
"protocolName": value["protocolName"],
|
|
2302
|
+
"tokenAAddress": value["tokenAAddress"],
|
|
2303
|
+
"tokenBAddress": value["tokenBAddress"],
|
|
2304
|
+
"tvlInUsd": value["tvlInUsd"],
|
|
2305
|
+
"tvlInSol": value["tvlInSol"]
|
|
2306
|
+
};
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
// src/openapi/models/DirectExposureDetail.ts
|
|
2310
|
+
function instanceOfDirectExposureDetail(value) {
|
|
2311
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
2312
|
+
if (!("categoryId" in value) || value["categoryId"] === void 0) return false;
|
|
2135
2313
|
return true;
|
|
2136
2314
|
}
|
|
2137
|
-
function
|
|
2138
|
-
return
|
|
2315
|
+
function DirectExposureDetailFromJSON(json) {
|
|
2316
|
+
return DirectExposureDetailFromJSONTyped(json, false);
|
|
2139
2317
|
}
|
|
2140
|
-
function
|
|
2318
|
+
function DirectExposureDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
2141
2319
|
if (json == null) {
|
|
2142
2320
|
return json;
|
|
2143
2321
|
}
|
|
2144
2322
|
return {
|
|
2145
|
-
"
|
|
2146
|
-
"
|
|
2147
|
-
"transferReference": json["transferReference"],
|
|
2148
|
-
"direction": json["direction"]
|
|
2323
|
+
"name": json["name"],
|
|
2324
|
+
"categoryId": json["categoryId"]
|
|
2149
2325
|
};
|
|
2150
2326
|
}
|
|
2151
|
-
function
|
|
2152
|
-
return
|
|
2327
|
+
function DirectExposureDetailToJSON(json) {
|
|
2328
|
+
return DirectExposureDetailToJSONTyped(json, false);
|
|
2153
2329
|
}
|
|
2154
|
-
function
|
|
2330
|
+
function DirectExposureDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2155
2331
|
if (value == null) {
|
|
2156
2332
|
return value;
|
|
2157
2333
|
}
|
|
2158
2334
|
return {
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2161
|
-
"transferReference": value["transferReference"],
|
|
2162
|
-
"direction": value["direction"]
|
|
2335
|
+
"name": value["name"],
|
|
2336
|
+
"categoryId": value["categoryId"]
|
|
2163
2337
|
};
|
|
2164
2338
|
}
|
|
2165
2339
|
|
|
2166
|
-
// src/openapi/models/
|
|
2167
|
-
|
|
2168
|
-
Website: "website",
|
|
2169
|
-
Twitter: "twitter",
|
|
2170
|
-
Telegram: "telegram",
|
|
2171
|
-
Discord: "discord"
|
|
2172
|
-
};
|
|
2173
|
-
function instanceOfLink(value) {
|
|
2174
|
-
if (!("url" in value) || value["url"] === void 0) return false;
|
|
2175
|
-
if (!("label" in value) || value["label"] === void 0) return false;
|
|
2340
|
+
// src/openapi/models/EndpointResponse.ts
|
|
2341
|
+
function instanceOfEndpointResponse(value) {
|
|
2176
2342
|
return true;
|
|
2177
2343
|
}
|
|
2178
|
-
function
|
|
2179
|
-
return
|
|
2344
|
+
function EndpointResponseFromJSON(json) {
|
|
2345
|
+
return EndpointResponseFromJSONTyped(json, false);
|
|
2180
2346
|
}
|
|
2181
|
-
function
|
|
2347
|
+
function EndpointResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2182
2348
|
if (json == null) {
|
|
2183
2349
|
return json;
|
|
2184
2350
|
}
|
|
2185
2351
|
return {
|
|
2186
|
-
"
|
|
2187
|
-
"
|
|
2352
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
2353
|
+
"url": json["url"] == null ? void 0 : json["url"],
|
|
2354
|
+
"description": json["description"] == null ? void 0 : json["description"],
|
|
2355
|
+
"filterTypes": json["filterTypes"] == null ? void 0 : json["filterTypes"],
|
|
2356
|
+
"channels": json["channels"] == null ? void 0 : json["channels"],
|
|
2357
|
+
"disabled": json["disabled"] == null ? void 0 : json["disabled"],
|
|
2358
|
+
"metadata": json["metadata"] == null ? void 0 : json["metadata"],
|
|
2359
|
+
"rateLimit": json["rateLimit"] == null ? void 0 : json["rateLimit"],
|
|
2360
|
+
"filter": json["filter"] == null ? void 0 : json["filter"],
|
|
2361
|
+
"createdAt": json["createdAt"] == null ? void 0 : json["createdAt"],
|
|
2362
|
+
"updatedAt": json["updatedAt"] == null ? void 0 : json["updatedAt"]
|
|
2188
2363
|
};
|
|
2189
2364
|
}
|
|
2190
|
-
function
|
|
2191
|
-
return
|
|
2365
|
+
function EndpointResponseToJSON(json) {
|
|
2366
|
+
return EndpointResponseToJSONTyped(json, false);
|
|
2192
2367
|
}
|
|
2193
|
-
function
|
|
2368
|
+
function EndpointResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2194
2369
|
if (value == null) {
|
|
2195
2370
|
return value;
|
|
2196
2371
|
}
|
|
2197
2372
|
return {
|
|
2373
|
+
"id": value["id"],
|
|
2198
2374
|
"url": value["url"],
|
|
2199
|
-
"
|
|
2375
|
+
"description": value["description"],
|
|
2376
|
+
"filterTypes": value["filterTypes"],
|
|
2377
|
+
"channels": value["channels"],
|
|
2378
|
+
"disabled": value["disabled"],
|
|
2379
|
+
"metadata": value["metadata"],
|
|
2380
|
+
"rateLimit": value["rateLimit"],
|
|
2381
|
+
"filter": value["filter"],
|
|
2382
|
+
"createdAt": value["createdAt"],
|
|
2383
|
+
"updatedAt": value["updatedAt"]
|
|
2200
2384
|
};
|
|
2201
2385
|
}
|
|
2202
2386
|
|
|
2203
|
-
// src/openapi/models/
|
|
2204
|
-
|
|
2205
|
-
Moonshot: "moonshot"
|
|
2206
|
-
};
|
|
2207
|
-
var MoonshotCreateTokenInputMigrationDexEnum = {
|
|
2208
|
-
Raydium: "RAYDIUM",
|
|
2209
|
-
Meteora: "METEORA",
|
|
2210
|
-
Uniswap: "UNISWAP"
|
|
2211
|
-
};
|
|
2212
|
-
function instanceOfMoonshotCreateTokenInput(value) {
|
|
2213
|
-
if (!("dex" in value) || value["dex"] === void 0) return false;
|
|
2214
|
-
if (!("userAddress" in value) || value["userAddress"] === void 0) return false;
|
|
2215
|
-
if (!("name" in value) || value["name"] === void 0) return false;
|
|
2216
|
-
if (!("symbol" in value) || value["symbol"] === void 0) return false;
|
|
2217
|
-
if (!("migrationDex" in value) || value["migrationDex"] === void 0) return false;
|
|
2218
|
-
if (!("icon" in value) || value["icon"] === void 0) return false;
|
|
2219
|
-
if (!("description" in value) || value["description"] === void 0) return false;
|
|
2220
|
-
if (!("links" in value) || value["links"] === void 0) return false;
|
|
2221
|
-
if (!("tokenAmount" in value) || value["tokenAmount"] === void 0) return false;
|
|
2387
|
+
// src/openapi/models/EndpointListResponse.ts
|
|
2388
|
+
function instanceOfEndpointListResponse(value) {
|
|
2222
2389
|
return true;
|
|
2223
2390
|
}
|
|
2224
|
-
function
|
|
2225
|
-
return
|
|
2391
|
+
function EndpointListResponseFromJSON(json) {
|
|
2392
|
+
return EndpointListResponseFromJSONTyped(json, false);
|
|
2226
2393
|
}
|
|
2227
|
-
function
|
|
2394
|
+
function EndpointListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2228
2395
|
if (json == null) {
|
|
2229
2396
|
return json;
|
|
2230
2397
|
}
|
|
2231
2398
|
return {
|
|
2232
|
-
"
|
|
2233
|
-
"
|
|
2234
|
-
"
|
|
2235
|
-
"
|
|
2236
|
-
"symbol": json["symbol"],
|
|
2237
|
-
"migrationDex": json["migrationDex"],
|
|
2238
|
-
"icon": json["icon"],
|
|
2239
|
-
"description": json["description"],
|
|
2240
|
-
"links": json["links"].map(LinkFromJSON),
|
|
2241
|
-
"banner": json["banner"] == null ? void 0 : json["banner"],
|
|
2242
|
-
"tokenAmount": json["tokenAmount"]
|
|
2399
|
+
"data": json["data"] == null ? void 0 : json["data"].map(EndpointResponseFromJSON),
|
|
2400
|
+
"done": json["done"] == null ? void 0 : json["done"],
|
|
2401
|
+
"iterator": json["iterator"] == null ? void 0 : json["iterator"],
|
|
2402
|
+
"prevIterator": json["prevIterator"] == null ? void 0 : json["prevIterator"]
|
|
2243
2403
|
};
|
|
2244
2404
|
}
|
|
2245
|
-
function
|
|
2246
|
-
return
|
|
2405
|
+
function EndpointListResponseToJSON(json) {
|
|
2406
|
+
return EndpointListResponseToJSONTyped(json, false);
|
|
2247
2407
|
}
|
|
2248
|
-
function
|
|
2408
|
+
function EndpointListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2249
2409
|
if (value == null) {
|
|
2250
2410
|
return value;
|
|
2251
2411
|
}
|
|
2252
2412
|
return {
|
|
2253
|
-
"
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
2256
|
-
"
|
|
2257
|
-
"symbol": value["symbol"],
|
|
2258
|
-
"migrationDex": value["migrationDex"],
|
|
2259
|
-
"icon": value["icon"],
|
|
2260
|
-
"description": value["description"],
|
|
2261
|
-
"links": value["links"].map(LinkToJSON),
|
|
2262
|
-
"banner": value["banner"],
|
|
2263
|
-
"tokenAmount": value["tokenAmount"]
|
|
2413
|
+
"data": value["data"] == null ? void 0 : value["data"].map(EndpointResponseToJSON),
|
|
2414
|
+
"done": value["done"],
|
|
2415
|
+
"iterator": value["iterator"],
|
|
2416
|
+
"prevIterator": value["prevIterator"]
|
|
2264
2417
|
};
|
|
2265
2418
|
}
|
|
2266
2419
|
|
|
2267
|
-
// src/openapi/models/
|
|
2268
|
-
function
|
|
2269
|
-
if (!("serializedTx" in value) || value["serializedTx"] === void 0) return false;
|
|
2270
|
-
if (!("extra" in value) || value["extra"] === void 0) return false;
|
|
2420
|
+
// src/openapi/models/EndpointOperationResponse.ts
|
|
2421
|
+
function instanceOfEndpointOperationResponse(value) {
|
|
2271
2422
|
return true;
|
|
2272
2423
|
}
|
|
2273
|
-
function
|
|
2274
|
-
return
|
|
2424
|
+
function EndpointOperationResponseFromJSON(json) {
|
|
2425
|
+
return EndpointOperationResponseFromJSONTyped(json, false);
|
|
2275
2426
|
}
|
|
2276
|
-
function
|
|
2427
|
+
function EndpointOperationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2277
2428
|
if (json == null) {
|
|
2278
2429
|
return json;
|
|
2279
2430
|
}
|
|
2280
2431
|
return {
|
|
2281
|
-
"
|
|
2282
|
-
"extra": json["extra"]
|
|
2432
|
+
"success": json["success"] == null ? void 0 : json["success"]
|
|
2283
2433
|
};
|
|
2284
2434
|
}
|
|
2285
|
-
function
|
|
2286
|
-
return
|
|
2435
|
+
function EndpointOperationResponseToJSON(json) {
|
|
2436
|
+
return EndpointOperationResponseToJSONTyped(json, false);
|
|
2287
2437
|
}
|
|
2288
|
-
function
|
|
2438
|
+
function EndpointOperationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2289
2439
|
if (value == null) {
|
|
2290
2440
|
return value;
|
|
2291
2441
|
}
|
|
2292
2442
|
return {
|
|
2293
|
-
"
|
|
2294
|
-
"extra": value["extra"]
|
|
2443
|
+
"success": value["success"]
|
|
2295
2444
|
};
|
|
2296
2445
|
}
|
|
2297
2446
|
|
|
2298
|
-
// src/openapi/models/
|
|
2299
|
-
function
|
|
2447
|
+
// src/openapi/models/EndpointSecretResponse.ts
|
|
2448
|
+
function instanceOfEndpointSecretResponse(value) {
|
|
2300
2449
|
return true;
|
|
2301
2450
|
}
|
|
2302
|
-
function
|
|
2303
|
-
return
|
|
2451
|
+
function EndpointSecretResponseFromJSON(json) {
|
|
2452
|
+
return EndpointSecretResponseFromJSONTyped(json, false);
|
|
2304
2453
|
}
|
|
2305
|
-
function
|
|
2454
|
+
function EndpointSecretResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2306
2455
|
if (json == null) {
|
|
2307
2456
|
return json;
|
|
2308
2457
|
}
|
|
2309
2458
|
return {
|
|
2310
|
-
"
|
|
2311
|
-
"slot": json["slot"] == null ? void 0 : json["slot"]
|
|
2459
|
+
"secret": json["secret"] == null ? void 0 : json["secret"]
|
|
2312
2460
|
};
|
|
2313
2461
|
}
|
|
2314
|
-
function
|
|
2315
|
-
return
|
|
2462
|
+
function EndpointSecretResponseToJSON(json) {
|
|
2463
|
+
return EndpointSecretResponseToJSONTyped(json, false);
|
|
2316
2464
|
}
|
|
2317
|
-
function
|
|
2465
|
+
function EndpointSecretResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2318
2466
|
if (value == null) {
|
|
2319
2467
|
return value;
|
|
2320
2468
|
}
|
|
2321
2469
|
return {
|
|
2322
|
-
"
|
|
2323
|
-
"slot": value["slot"]
|
|
2470
|
+
"secret": value["secret"]
|
|
2324
2471
|
};
|
|
2325
2472
|
}
|
|
2326
2473
|
|
|
2327
|
-
// src/openapi/models/
|
|
2328
|
-
function
|
|
2329
|
-
if (!("
|
|
2474
|
+
// src/openapi/models/EstimateGasLimitInput.ts
|
|
2475
|
+
function instanceOfEstimateGasLimitInput(value) {
|
|
2476
|
+
if (!("from" in value) || value["from"] === void 0) return false;
|
|
2477
|
+
if (!("to" in value) || value["to"] === void 0) return false;
|
|
2478
|
+
if (!("data" in value) || value["data"] === void 0) return false;
|
|
2330
2479
|
return true;
|
|
2331
2480
|
}
|
|
2332
|
-
function
|
|
2333
|
-
return
|
|
2481
|
+
function EstimateGasLimitInputFromJSON(json) {
|
|
2482
|
+
return EstimateGasLimitInputFromJSONTyped(json, false);
|
|
2334
2483
|
}
|
|
2335
|
-
function
|
|
2484
|
+
function EstimateGasLimitInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
2336
2485
|
if (json == null) {
|
|
2337
2486
|
return json;
|
|
2338
2487
|
}
|
|
2339
2488
|
return {
|
|
2340
|
-
"
|
|
2341
|
-
"
|
|
2489
|
+
"from": json["from"],
|
|
2490
|
+
"to": json["to"],
|
|
2491
|
+
"data": json["data"],
|
|
2492
|
+
"value": json["value"] == null ? void 0 : json["value"]
|
|
2342
2493
|
};
|
|
2343
2494
|
}
|
|
2344
|
-
function
|
|
2345
|
-
return
|
|
2495
|
+
function EstimateGasLimitInputToJSON(json) {
|
|
2496
|
+
return EstimateGasLimitInputToJSONTyped(json, false);
|
|
2346
2497
|
}
|
|
2347
|
-
function
|
|
2498
|
+
function EstimateGasLimitInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2348
2499
|
if (value == null) {
|
|
2349
2500
|
return value;
|
|
2350
2501
|
}
|
|
2351
2502
|
return {
|
|
2352
|
-
"
|
|
2353
|
-
"
|
|
2503
|
+
"from": value["from"],
|
|
2504
|
+
"to": value["to"],
|
|
2505
|
+
"data": value["data"],
|
|
2506
|
+
"value": value["value"]
|
|
2354
2507
|
};
|
|
2355
2508
|
}
|
|
2356
2509
|
|
|
2357
|
-
// src/openapi/models/
|
|
2358
|
-
function
|
|
2359
|
-
if (!("
|
|
2510
|
+
// src/openapi/models/EstimateGasLimitResponse.ts
|
|
2511
|
+
function instanceOfEstimateGasLimitResponse(value) {
|
|
2512
|
+
if (!("gasLimit" in value) || value["gasLimit"] === void 0) return false;
|
|
2513
|
+
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
2360
2514
|
return true;
|
|
2361
2515
|
}
|
|
2362
|
-
function
|
|
2363
|
-
return
|
|
2516
|
+
function EstimateGasLimitResponseFromJSON(json) {
|
|
2517
|
+
return EstimateGasLimitResponseFromJSONTyped(json, false);
|
|
2364
2518
|
}
|
|
2365
|
-
function
|
|
2519
|
+
function EstimateGasLimitResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2366
2520
|
if (json == null) {
|
|
2367
2521
|
return json;
|
|
2368
2522
|
}
|
|
2369
2523
|
return {
|
|
2370
|
-
"
|
|
2524
|
+
"gasLimit": json["gasLimit"],
|
|
2525
|
+
"chain": json["chain"]
|
|
2371
2526
|
};
|
|
2372
2527
|
}
|
|
2373
|
-
function
|
|
2374
|
-
return
|
|
2528
|
+
function EstimateGasLimitResponseToJSON(json) {
|
|
2529
|
+
return EstimateGasLimitResponseToJSONTyped(json, false);
|
|
2375
2530
|
}
|
|
2376
|
-
function
|
|
2531
|
+
function EstimateGasLimitResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2377
2532
|
if (value == null) {
|
|
2378
2533
|
return value;
|
|
2379
2534
|
}
|
|
2380
2535
|
return {
|
|
2381
|
-
"
|
|
2536
|
+
"gasLimit": value["gasLimit"],
|
|
2537
|
+
"chain": value["chain"]
|
|
2382
2538
|
};
|
|
2383
2539
|
}
|
|
2384
2540
|
|
|
2385
|
-
// src/openapi/models/
|
|
2386
|
-
var
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2541
|
+
// src/openapi/models/FilterCondition.ts
|
|
2542
|
+
var FilterConditionFieldEnum = {
|
|
2543
|
+
MarketDataPriceInUsd: "marketData.priceInUsd",
|
|
2544
|
+
StatsPriceChangeRatioInUsd1m: "stats.priceChangeRatioInUsd1m",
|
|
2545
|
+
StatsPriceChangeRatioInUsd5m: "stats.priceChangeRatioInUsd5m",
|
|
2546
|
+
StatsPriceChangeRatioInUsd1h: "stats.priceChangeRatioInUsd1h",
|
|
2547
|
+
StatsPriceChangeRatioInUsd4h: "stats.priceChangeRatioInUsd4h",
|
|
2548
|
+
StatsPriceChangeRatioInUsd24h: "stats.priceChangeRatioInUsd24h",
|
|
2549
|
+
MarketDataMarketCapInUsd: "marketData.marketCapInUsd",
|
|
2550
|
+
MarketDataTvlInUsd: "marketData.tvlInUsd",
|
|
2551
|
+
MarketDataTop10TotalHoldings: "marketData.top10TotalHoldings",
|
|
2552
|
+
MarketDataTop10HoldingsRatio: "marketData.top10HoldingsRatio",
|
|
2553
|
+
MarketDataTop100TotalHoldings: "marketData.top100TotalHoldings",
|
|
2554
|
+
MarketDataTop100HoldingsRatio: "marketData.top100HoldingsRatio",
|
|
2555
|
+
MarketDataHolders: "marketData.holders",
|
|
2556
|
+
MarketDataCreatorHoldings: "marketData.creatorHoldings",
|
|
2557
|
+
MarketDataCreatorHoldingsRatio: "marketData.creatorHoldingsRatio",
|
|
2558
|
+
StatsBuys1m: "stats.buys1m",
|
|
2559
|
+
StatsBuys5m: "stats.buys5m",
|
|
2560
|
+
StatsBuys15m: "stats.buys15m",
|
|
2561
|
+
StatsBuys30m: "stats.buys30m",
|
|
2562
|
+
StatsBuys1h: "stats.buys1h",
|
|
2563
|
+
StatsBuys4h: "stats.buys4h",
|
|
2564
|
+
StatsBuys24h: "stats.buys24h",
|
|
2565
|
+
StatsSells1m: "stats.sells1m",
|
|
2566
|
+
StatsSells5m: "stats.sells5m",
|
|
2567
|
+
StatsSells15m: "stats.sells15m",
|
|
2568
|
+
StatsSells30m: "stats.sells30m",
|
|
2569
|
+
StatsSells1h: "stats.sells1h",
|
|
2570
|
+
StatsSells4h: "stats.sells4h",
|
|
2571
|
+
StatsSells24h: "stats.sells24h",
|
|
2572
|
+
StatsTrades1m: "stats.trades1m",
|
|
2573
|
+
StatsTrades5m: "stats.trades5m",
|
|
2574
|
+
StatsTrades1h: "stats.trades1h",
|
|
2575
|
+
StatsTrades4h: "stats.trades4h",
|
|
2576
|
+
StatsTrades24h: "stats.trades24h",
|
|
2577
|
+
StatsTraders1m: "stats.traders1m",
|
|
2578
|
+
StatsTraders5m: "stats.traders5m",
|
|
2579
|
+
StatsTraders1h: "stats.traders1h",
|
|
2580
|
+
StatsTraders4h: "stats.traders4h",
|
|
2581
|
+
StatsTraders24h: "stats.traders24h",
|
|
2582
|
+
StatsVolumesInUsd1m: "stats.volumesInUsd1m",
|
|
2583
|
+
StatsVolumesInUsd5m: "stats.volumesInUsd5m",
|
|
2584
|
+
StatsVolumesInUsd1h: "stats.volumesInUsd1h",
|
|
2585
|
+
StatsVolumesInUsd4h: "stats.volumesInUsd4h",
|
|
2586
|
+
StatsVolumesInUsd24h: "stats.volumesInUsd24h",
|
|
2587
|
+
TokenCreatedAt: "tokenCreatedAt"
|
|
2392
2588
|
};
|
|
2393
|
-
function
|
|
2394
|
-
if (!("dex" in value) || value["dex"] === void 0) return false;
|
|
2395
|
-
if (!("userAddress" in value) || value["userAddress"] === void 0) return false;
|
|
2396
|
-
if (!("name" in value) || value["name"] === void 0) return false;
|
|
2397
|
-
if (!("symbol" in value) || value["symbol"] === void 0) return false;
|
|
2398
|
-
if (!("migrationDex" in value) || value["migrationDex"] === void 0) return false;
|
|
2399
|
-
if (!("image" in value) || value["image"] === void 0) return false;
|
|
2400
|
-
if (!("mintAddress" in value) || value["mintAddress"] === void 0) return false;
|
|
2401
|
-
if (!("description" in value) || value["description"] === void 0) return false;
|
|
2589
|
+
function instanceOfFilterCondition(value) {
|
|
2402
2590
|
return true;
|
|
2403
2591
|
}
|
|
2404
|
-
function
|
|
2405
|
-
return
|
|
2592
|
+
function FilterConditionFromJSON(json) {
|
|
2593
|
+
return FilterConditionFromJSONTyped(json, false);
|
|
2406
2594
|
}
|
|
2407
|
-
function
|
|
2595
|
+
function FilterConditionFromJSONTyped(json, ignoreDiscriminator) {
|
|
2408
2596
|
if (json == null) {
|
|
2409
2597
|
return json;
|
|
2410
2598
|
}
|
|
2411
2599
|
return {
|
|
2412
|
-
"
|
|
2413
|
-
"
|
|
2414
|
-
"
|
|
2415
|
-
"twitter": json["twitter"] == null ? void 0 : json["twitter"],
|
|
2416
|
-
"telegram": json["telegram"] == null ? void 0 : json["telegram"],
|
|
2417
|
-
"website": json["website"] == null ? void 0 : json["website"],
|
|
2418
|
-
"name": json["name"],
|
|
2419
|
-
"symbol": json["symbol"],
|
|
2420
|
-
"migrationDex": json["migrationDex"],
|
|
2421
|
-
"image": json["image"],
|
|
2422
|
-
"mintAddress": json["mintAddress"],
|
|
2423
|
-
"description": json["description"]
|
|
2600
|
+
"field": json["field"] == null ? void 0 : json["field"],
|
|
2601
|
+
"min": json["min"] == null ? void 0 : json["min"],
|
|
2602
|
+
"max": json["max"] == null ? void 0 : json["max"]
|
|
2424
2603
|
};
|
|
2425
2604
|
}
|
|
2426
|
-
function
|
|
2427
|
-
return
|
|
2605
|
+
function FilterConditionToJSON(json) {
|
|
2606
|
+
return FilterConditionToJSONTyped(json, false);
|
|
2428
2607
|
}
|
|
2429
|
-
function
|
|
2608
|
+
function FilterConditionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2430
2609
|
if (value == null) {
|
|
2431
2610
|
return value;
|
|
2432
2611
|
}
|
|
2433
2612
|
return {
|
|
2434
|
-
"
|
|
2435
|
-
"
|
|
2436
|
-
"
|
|
2437
|
-
"twitter": value["twitter"],
|
|
2438
|
-
"telegram": value["telegram"],
|
|
2439
|
-
"website": value["website"],
|
|
2440
|
-
"name": value["name"],
|
|
2441
|
-
"symbol": value["symbol"],
|
|
2442
|
-
"migrationDex": value["migrationDex"],
|
|
2443
|
-
"image": value["image"],
|
|
2444
|
-
"mintAddress": value["mintAddress"],
|
|
2445
|
-
"description": value["description"]
|
|
2613
|
+
"field": value["field"],
|
|
2614
|
+
"min": value["min"],
|
|
2615
|
+
"max": value["max"]
|
|
2446
2616
|
};
|
|
2447
2617
|
}
|
|
2448
2618
|
|
|
2449
|
-
// src/openapi/models/
|
|
2450
|
-
function
|
|
2451
|
-
if (!("
|
|
2619
|
+
// src/openapi/models/GainersAndLosersDTO.ts
|
|
2620
|
+
function instanceOfGainersAndLosersDTO(value) {
|
|
2621
|
+
if (!("address" in value) || value["address"] === void 0) return false;
|
|
2622
|
+
if (!("pnl" in value) || value["pnl"] === void 0) return false;
|
|
2623
|
+
if (!("tradeCount" in value) || value["tradeCount"] === void 0) return false;
|
|
2624
|
+
if (!("volume" in value) || value["volume"] === void 0) return false;
|
|
2452
2625
|
return true;
|
|
2453
2626
|
}
|
|
2454
|
-
function
|
|
2455
|
-
return
|
|
2627
|
+
function GainersAndLosersDTOFromJSON(json) {
|
|
2628
|
+
return GainersAndLosersDTOFromJSONTyped(json, false);
|
|
2456
2629
|
}
|
|
2457
|
-
function
|
|
2630
|
+
function GainersAndLosersDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2458
2631
|
if (json == null) {
|
|
2459
2632
|
return json;
|
|
2460
2633
|
}
|
|
2461
2634
|
return {
|
|
2462
|
-
"
|
|
2463
|
-
"
|
|
2635
|
+
"address": json["address"],
|
|
2636
|
+
"pnl": json["pnl"],
|
|
2637
|
+
"tradeCount": json["tradeCount"],
|
|
2638
|
+
"volume": json["volume"]
|
|
2464
2639
|
};
|
|
2465
2640
|
}
|
|
2466
|
-
function
|
|
2467
|
-
return
|
|
2641
|
+
function GainersAndLosersDTOToJSON(json) {
|
|
2642
|
+
return GainersAndLosersDTOToJSONTyped(json, false);
|
|
2468
2643
|
}
|
|
2469
|
-
function
|
|
2644
|
+
function GainersAndLosersDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2470
2645
|
if (value == null) {
|
|
2471
2646
|
return value;
|
|
2472
2647
|
}
|
|
2473
2648
|
return {
|
|
2474
|
-
"
|
|
2475
|
-
"
|
|
2649
|
+
"address": value["address"],
|
|
2650
|
+
"pnl": value["pnl"],
|
|
2651
|
+
"tradeCount": value["tradeCount"],
|
|
2652
|
+
"volume": value["volume"]
|
|
2476
2653
|
};
|
|
2477
2654
|
}
|
|
2478
2655
|
|
|
2479
|
-
// src/openapi/models/
|
|
2480
|
-
function
|
|
2656
|
+
// src/openapi/models/GainersAndLosersPage.ts
|
|
2657
|
+
function instanceOfGainersAndLosersPage(value) {
|
|
2658
|
+
if (!("data" in value) || value["data"] === void 0) return false;
|
|
2481
2659
|
return true;
|
|
2482
2660
|
}
|
|
2483
|
-
function
|
|
2484
|
-
return
|
|
2661
|
+
function GainersAndLosersPageFromJSON(json) {
|
|
2662
|
+
return GainersAndLosersPageFromJSONTyped(json, false);
|
|
2485
2663
|
}
|
|
2486
|
-
function
|
|
2664
|
+
function GainersAndLosersPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
2487
2665
|
if (json == null) {
|
|
2488
2666
|
return json;
|
|
2489
2667
|
}
|
|
2490
2668
|
return {
|
|
2491
|
-
"
|
|
2492
|
-
"
|
|
2493
|
-
"
|
|
2494
|
-
"
|
|
2495
|
-
"
|
|
2496
|
-
"
|
|
2669
|
+
"hasNext": json["hasNext"] == null ? void 0 : json["hasNext"],
|
|
2670
|
+
"hasPrev": json["hasPrev"] == null ? void 0 : json["hasPrev"],
|
|
2671
|
+
"startCursor": json["startCursor"] == null ? void 0 : json["startCursor"],
|
|
2672
|
+
"endCursor": json["endCursor"] == null ? void 0 : json["endCursor"],
|
|
2673
|
+
"total": json["total"] == null ? void 0 : json["total"],
|
|
2674
|
+
"data": json["data"].map(GainersAndLosersDTOFromJSON)
|
|
2497
2675
|
};
|
|
2498
2676
|
}
|
|
2499
|
-
function
|
|
2500
|
-
return
|
|
2677
|
+
function GainersAndLosersPageToJSON(json) {
|
|
2678
|
+
return GainersAndLosersPageToJSONTyped(json, false);
|
|
2501
2679
|
}
|
|
2502
|
-
function
|
|
2680
|
+
function GainersAndLosersPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2503
2681
|
if (value == null) {
|
|
2504
2682
|
return value;
|
|
2505
2683
|
}
|
|
2506
2684
|
return {
|
|
2507
|
-
"
|
|
2508
|
-
"
|
|
2509
|
-
"
|
|
2510
|
-
"
|
|
2511
|
-
"
|
|
2512
|
-
"
|
|
2685
|
+
"hasNext": value["hasNext"],
|
|
2686
|
+
"hasPrev": value["hasPrev"],
|
|
2687
|
+
"startCursor": value["startCursor"],
|
|
2688
|
+
"endCursor": value["endCursor"],
|
|
2689
|
+
"total": value["total"],
|
|
2690
|
+
"data": value["data"].map(GainersAndLosersDTOToJSON)
|
|
2513
2691
|
};
|
|
2514
2692
|
}
|
|
2515
2693
|
|
|
2516
|
-
// src/openapi/models/
|
|
2517
|
-
function
|
|
2518
|
-
if (!("
|
|
2694
|
+
// src/openapi/models/GasPriceResponse.ts
|
|
2695
|
+
function instanceOfGasPriceResponse(value) {
|
|
2696
|
+
if (!("gasPrice" in value) || value["gasPrice"] === void 0) return false;
|
|
2519
2697
|
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
2520
|
-
if (!("claimer" in value) || value["claimer"] === void 0) return false;
|
|
2521
|
-
if (!("mint" in value) || value["mint"] === void 0) return false;
|
|
2522
|
-
if (!("amount" in value) || value["amount"] === void 0) return false;
|
|
2523
|
-
if (!("claimedAt" in value) || value["claimedAt"] === void 0) return false;
|
|
2524
|
-
if (!("creator" in value) || value["creator"] === void 0) return false;
|
|
2525
|
-
if (!("txHash" in value) || value["txHash"] === void 0) return false;
|
|
2526
2698
|
return true;
|
|
2527
2699
|
}
|
|
2528
|
-
function
|
|
2529
|
-
return
|
|
2700
|
+
function GasPriceResponseFromJSON(json) {
|
|
2701
|
+
return GasPriceResponseFromJSONTyped(json, false);
|
|
2530
2702
|
}
|
|
2531
|
-
function
|
|
2703
|
+
function GasPriceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2532
2704
|
if (json == null) {
|
|
2533
2705
|
return json;
|
|
2534
2706
|
}
|
|
2535
2707
|
return {
|
|
2536
|
-
"
|
|
2537
|
-
"chain":
|
|
2538
|
-
"claimer": json["claimer"],
|
|
2539
|
-
"mint": json["mint"],
|
|
2540
|
-
"amount": json["amount"],
|
|
2541
|
-
"claimedAt": json["claimedAt"],
|
|
2542
|
-
"creator": json["creator"],
|
|
2543
|
-
"txHash": json["txHash"]
|
|
2708
|
+
"gasPrice": json["gasPrice"],
|
|
2709
|
+
"chain": json["chain"]
|
|
2544
2710
|
};
|
|
2545
2711
|
}
|
|
2546
|
-
function
|
|
2547
|
-
return
|
|
2712
|
+
function GasPriceResponseToJSON(json) {
|
|
2713
|
+
return GasPriceResponseToJSONTyped(json, false);
|
|
2548
2714
|
}
|
|
2549
|
-
function
|
|
2715
|
+
function GasPriceResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2550
2716
|
if (value == null) {
|
|
2551
2717
|
return value;
|
|
2552
2718
|
}
|
|
2553
2719
|
return {
|
|
2554
|
-
"
|
|
2555
|
-
"chain":
|
|
2556
|
-
"claimer": value["claimer"],
|
|
2557
|
-
"mint": value["mint"],
|
|
2558
|
-
"amount": value["amount"],
|
|
2559
|
-
"claimedAt": value["claimedAt"],
|
|
2560
|
-
"creator": value["creator"],
|
|
2561
|
-
"txHash": value["txHash"]
|
|
2720
|
+
"gasPrice": value["gasPrice"],
|
|
2721
|
+
"chain": value["chain"]
|
|
2562
2722
|
};
|
|
2563
2723
|
}
|
|
2564
2724
|
|
|
2565
|
-
// src/openapi/models/
|
|
2566
|
-
function
|
|
2567
|
-
if (!("
|
|
2568
|
-
if (!("
|
|
2569
|
-
if (!("startCursor" in value) || value["startCursor"] === void 0) return false;
|
|
2570
|
-
if (!("endCursor" in value) || value["endCursor"] === void 0) return false;
|
|
2571
|
-
if (!("records" in value) || value["records"] === void 0) return false;
|
|
2725
|
+
// src/openapi/models/JobDTO.ts
|
|
2726
|
+
function instanceOfJobDTO(value) {
|
|
2727
|
+
if (!("state" in value) || value["state"] === void 0) return false;
|
|
2728
|
+
if (!("result" in value) || value["result"] === void 0) return false;
|
|
2572
2729
|
return true;
|
|
2573
2730
|
}
|
|
2574
|
-
function
|
|
2575
|
-
return
|
|
2731
|
+
function JobDTOFromJSON(json) {
|
|
2732
|
+
return JobDTOFromJSONTyped(json, false);
|
|
2576
2733
|
}
|
|
2577
|
-
function
|
|
2734
|
+
function JobDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2578
2735
|
if (json == null) {
|
|
2579
2736
|
return json;
|
|
2580
2737
|
}
|
|
2581
2738
|
return {
|
|
2582
|
-
"
|
|
2583
|
-
"
|
|
2584
|
-
|
|
2585
|
-
"endCursor": json["endCursor"],
|
|
2586
|
-
"records": json["records"].map(RedPacketClaimDTOFromJSON)
|
|
2587
|
-
};
|
|
2739
|
+
"state": json["state"],
|
|
2740
|
+
"result": json["result"]
|
|
2741
|
+
};
|
|
2588
2742
|
}
|
|
2589
|
-
function
|
|
2590
|
-
return
|
|
2743
|
+
function JobDTOToJSON(json) {
|
|
2744
|
+
return JobDTOToJSONTyped(json, false);
|
|
2591
2745
|
}
|
|
2592
|
-
function
|
|
2746
|
+
function JobDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2593
2747
|
if (value == null) {
|
|
2594
2748
|
return value;
|
|
2595
2749
|
}
|
|
2596
2750
|
return {
|
|
2597
|
-
"
|
|
2598
|
-
"
|
|
2599
|
-
"startCursor": value["startCursor"],
|
|
2600
|
-
"endCursor": value["endCursor"],
|
|
2601
|
-
"records": value["records"].map(RedPacketClaimDTOToJSON)
|
|
2751
|
+
"state": value["state"],
|
|
2752
|
+
"result": value["result"]
|
|
2602
2753
|
};
|
|
2603
2754
|
}
|
|
2604
2755
|
|
|
2605
|
-
// src/openapi/models/
|
|
2606
|
-
function
|
|
2607
|
-
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
2756
|
+
// src/openapi/models/JobStreamingDTO.ts
|
|
2757
|
+
function instanceOfJobStreamingDTO(value) {
|
|
2608
2758
|
if (!("id" in value) || value["id"] === void 0) return false;
|
|
2609
|
-
if (!("
|
|
2610
|
-
if (!("txHash" in value) || value["txHash"] === void 0) return false;
|
|
2611
|
-
if (!("creator" in value) || value["creator"] === void 0) return false;
|
|
2612
|
-
if (!("mint" in value) || value["mint"] === void 0) return false;
|
|
2613
|
-
if (!("totalAmount" in value) || value["totalAmount"] === void 0) return false;
|
|
2614
|
-
if (!("memo" in value) || value["memo"] === void 0) return false;
|
|
2615
|
-
if (!("maxClaims" in value) || value["maxClaims"] === void 0) return false;
|
|
2616
|
-
if (!("claimAuthority" in value) || value["claimAuthority"] === void 0) return false;
|
|
2617
|
-
if (!("expired" in value) || value["expired"] === void 0) return false;
|
|
2618
|
-
if (!("expiration" in value) || value["expiration"] === void 0) return false;
|
|
2619
|
-
if (!("createdAt" in value) || value["createdAt"] === void 0) return false;
|
|
2620
|
-
if (!("expiredAt" in value) || value["expiredAt"] === void 0) return false;
|
|
2621
|
-
if (!("claimedCount" in value) || value["claimedCount"] === void 0) return false;
|
|
2622
|
-
if (!("claimedAmount" in value) || value["claimedAmount"] === void 0) return false;
|
|
2623
|
-
if (!("refundedAmount" in value) || value["refundedAmount"] === void 0) return false;
|
|
2759
|
+
if (!("data" in value) || value["data"] === void 0) return false;
|
|
2624
2760
|
return true;
|
|
2625
2761
|
}
|
|
2626
|
-
function
|
|
2627
|
-
return
|
|
2762
|
+
function JobStreamingDTOFromJSON(json) {
|
|
2763
|
+
return JobStreamingDTOFromJSONTyped(json, false);
|
|
2628
2764
|
}
|
|
2629
|
-
function
|
|
2765
|
+
function JobStreamingDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2630
2766
|
if (json == null) {
|
|
2631
2767
|
return json;
|
|
2632
2768
|
}
|
|
2633
2769
|
return {
|
|
2634
|
-
"chain": ChainFromJSON(json["chain"]),
|
|
2635
2770
|
"id": json["id"],
|
|
2636
|
-
"
|
|
2637
|
-
"txHash": json["txHash"],
|
|
2638
|
-
"creator": json["creator"],
|
|
2639
|
-
"mint": json["mint"],
|
|
2640
|
-
"totalAmount": json["totalAmount"],
|
|
2641
|
-
"memo": json["memo"],
|
|
2642
|
-
"maxClaims": json["maxClaims"],
|
|
2643
|
-
"claimAuthority": json["claimAuthority"],
|
|
2644
|
-
"expired": json["expired"],
|
|
2645
|
-
"expiration": json["expiration"],
|
|
2646
|
-
"createdAt": json["createdAt"],
|
|
2647
|
-
"expiredAt": json["expiredAt"],
|
|
2648
|
-
"claimedCount": json["claimedCount"],
|
|
2649
|
-
"claimedAmount": json["claimedAmount"],
|
|
2650
|
-
"refundedAmount": json["refundedAmount"]
|
|
2771
|
+
"data": json["data"]
|
|
2651
2772
|
};
|
|
2652
2773
|
}
|
|
2653
|
-
function
|
|
2654
|
-
return
|
|
2774
|
+
function JobStreamingDTOToJSON(json) {
|
|
2775
|
+
return JobStreamingDTOToJSONTyped(json, false);
|
|
2655
2776
|
}
|
|
2656
|
-
function
|
|
2777
|
+
function JobStreamingDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2657
2778
|
if (value == null) {
|
|
2658
2779
|
return value;
|
|
2659
2780
|
}
|
|
2660
2781
|
return {
|
|
2661
|
-
"chain": ChainToJSON(value["chain"]),
|
|
2662
2782
|
"id": value["id"],
|
|
2663
|
-
"
|
|
2664
|
-
"txHash": value["txHash"],
|
|
2665
|
-
"creator": value["creator"],
|
|
2666
|
-
"mint": value["mint"],
|
|
2667
|
-
"totalAmount": value["totalAmount"],
|
|
2668
|
-
"memo": value["memo"],
|
|
2669
|
-
"maxClaims": value["maxClaims"],
|
|
2670
|
-
"claimAuthority": value["claimAuthority"],
|
|
2671
|
-
"expired": value["expired"],
|
|
2672
|
-
"expiration": value["expiration"],
|
|
2673
|
-
"createdAt": value["createdAt"],
|
|
2674
|
-
"expiredAt": value["expiredAt"],
|
|
2675
|
-
"claimedCount": value["claimedCount"],
|
|
2676
|
-
"claimedAmount": value["claimedAmount"],
|
|
2677
|
-
"refundedAmount": value["refundedAmount"]
|
|
2783
|
+
"data": value["data"]
|
|
2678
2784
|
};
|
|
2679
2785
|
}
|
|
2680
2786
|
|
|
2681
|
-
// src/openapi/models/
|
|
2682
|
-
|
|
2683
|
-
|
|
2787
|
+
// src/openapi/models/KYTRegisterTransferRequest.ts
|
|
2788
|
+
var KYTRegisterTransferRequestNetworkEnum = {
|
|
2789
|
+
Bitcoin: "bitcoin",
|
|
2790
|
+
Ethereum: "ethereum",
|
|
2791
|
+
Solana: "Solana"
|
|
2792
|
+
};
|
|
2793
|
+
var KYTRegisterTransferRequestDirectionEnum = {
|
|
2794
|
+
Sent: "sent",
|
|
2795
|
+
Received: "received"
|
|
2796
|
+
};
|
|
2797
|
+
function instanceOfKYTRegisterTransferRequest(value) {
|
|
2798
|
+
if (!("network" in value) || value["network"] === void 0) return false;
|
|
2799
|
+
if (!("asset" in value) || value["asset"] === void 0) return false;
|
|
2800
|
+
if (!("transferReference" in value) || value["transferReference"] === void 0) return false;
|
|
2801
|
+
if (!("direction" in value) || value["direction"] === void 0) return false;
|
|
2684
2802
|
return true;
|
|
2685
2803
|
}
|
|
2686
|
-
function
|
|
2687
|
-
return
|
|
2804
|
+
function KYTRegisterTransferRequestFromJSON(json) {
|
|
2805
|
+
return KYTRegisterTransferRequestFromJSONTyped(json, false);
|
|
2688
2806
|
}
|
|
2689
|
-
function
|
|
2807
|
+
function KYTRegisterTransferRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
2690
2808
|
if (json == null) {
|
|
2691
2809
|
return json;
|
|
2692
2810
|
}
|
|
2693
2811
|
return {
|
|
2694
|
-
"
|
|
2812
|
+
"network": json["network"],
|
|
2813
|
+
"asset": json["asset"],
|
|
2814
|
+
"transferReference": json["transferReference"],
|
|
2815
|
+
"direction": json["direction"]
|
|
2695
2816
|
};
|
|
2696
2817
|
}
|
|
2697
|
-
function
|
|
2698
|
-
return
|
|
2818
|
+
function KYTRegisterTransferRequestToJSON(json) {
|
|
2819
|
+
return KYTRegisterTransferRequestToJSONTyped(json, false);
|
|
2699
2820
|
}
|
|
2700
|
-
function
|
|
2821
|
+
function KYTRegisterTransferRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2701
2822
|
if (value == null) {
|
|
2702
2823
|
return value;
|
|
2703
2824
|
}
|
|
2704
2825
|
return {
|
|
2705
|
-
"
|
|
2826
|
+
"network": value["network"],
|
|
2827
|
+
"asset": value["asset"],
|
|
2828
|
+
"transferReference": value["transferReference"],
|
|
2829
|
+
"direction": value["direction"]
|
|
2706
2830
|
};
|
|
2707
2831
|
}
|
|
2708
2832
|
|
|
2709
|
-
// src/openapi/models/
|
|
2710
|
-
|
|
2711
|
-
|
|
2833
|
+
// src/openapi/models/Link.ts
|
|
2834
|
+
var LinkLabelEnum = {
|
|
2835
|
+
Website: "website",
|
|
2836
|
+
Twitter: "twitter",
|
|
2837
|
+
Telegram: "telegram",
|
|
2838
|
+
Discord: "discord"
|
|
2839
|
+
};
|
|
2840
|
+
function instanceOfLink(value) {
|
|
2841
|
+
if (!("url" in value) || value["url"] === void 0) return false;
|
|
2842
|
+
if (!("label" in value) || value["label"] === void 0) return false;
|
|
2712
2843
|
return true;
|
|
2713
2844
|
}
|
|
2714
|
-
function
|
|
2715
|
-
return
|
|
2845
|
+
function LinkFromJSON(json) {
|
|
2846
|
+
return LinkFromJSONTyped(json, false);
|
|
2716
2847
|
}
|
|
2717
|
-
function
|
|
2848
|
+
function LinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
2718
2849
|
if (json == null) {
|
|
2719
2850
|
return json;
|
|
2720
2851
|
}
|
|
2721
2852
|
return {
|
|
2722
|
-
"
|
|
2853
|
+
"url": json["url"],
|
|
2854
|
+
"label": json["label"]
|
|
2723
2855
|
};
|
|
2724
2856
|
}
|
|
2725
|
-
function
|
|
2726
|
-
return
|
|
2857
|
+
function LinkToJSON(json) {
|
|
2858
|
+
return LinkToJSONTyped(json, false);
|
|
2727
2859
|
}
|
|
2728
|
-
function
|
|
2860
|
+
function LinkToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2729
2861
|
if (value == null) {
|
|
2730
2862
|
return value;
|
|
2731
2863
|
}
|
|
2732
2864
|
return {
|
|
2733
|
-
"
|
|
2865
|
+
"url": value["url"],
|
|
2866
|
+
"label": value["label"]
|
|
2734
2867
|
};
|
|
2735
2868
|
}
|
|
2736
2869
|
|
|
2737
|
-
// src/openapi/models/
|
|
2738
|
-
|
|
2739
|
-
|
|
2870
|
+
// src/openapi/models/MoonshotCreateTokenInput.ts
|
|
2871
|
+
var MoonshotCreateTokenInputDexEnum = {
|
|
2872
|
+
Moonshot: "moonshot"
|
|
2873
|
+
};
|
|
2874
|
+
var MoonshotCreateTokenInputMigrationDexEnum = {
|
|
2875
|
+
Raydium: "RAYDIUM",
|
|
2876
|
+
Meteora: "METEORA",
|
|
2877
|
+
Uniswap: "UNISWAP"
|
|
2878
|
+
};
|
|
2879
|
+
function instanceOfMoonshotCreateTokenInput(value) {
|
|
2880
|
+
if (!("dex" in value) || value["dex"] === void 0) return false;
|
|
2881
|
+
if (!("userAddress" in value) || value["userAddress"] === void 0) return false;
|
|
2882
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
2883
|
+
if (!("symbol" in value) || value["symbol"] === void 0) return false;
|
|
2884
|
+
if (!("migrationDex" in value) || value["migrationDex"] === void 0) return false;
|
|
2885
|
+
if (!("icon" in value) || value["icon"] === void 0) return false;
|
|
2886
|
+
if (!("description" in value) || value["description"] === void 0) return false;
|
|
2887
|
+
if (!("links" in value) || value["links"] === void 0) return false;
|
|
2888
|
+
if (!("tokenAmount" in value) || value["tokenAmount"] === void 0) return false;
|
|
2740
2889
|
return true;
|
|
2741
2890
|
}
|
|
2742
|
-
function
|
|
2743
|
-
return
|
|
2891
|
+
function MoonshotCreateTokenInputFromJSON(json) {
|
|
2892
|
+
return MoonshotCreateTokenInputFromJSONTyped(json, false);
|
|
2744
2893
|
}
|
|
2745
|
-
function
|
|
2894
|
+
function MoonshotCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
2746
2895
|
if (json == null) {
|
|
2747
2896
|
return json;
|
|
2748
2897
|
}
|
|
2749
2898
|
return {
|
|
2750
|
-
"
|
|
2899
|
+
"dex": json["dex"],
|
|
2900
|
+
"userAddress": json["userAddress"],
|
|
2901
|
+
"priorityFee": json["priorityFee"] == null ? void 0 : json["priorityFee"],
|
|
2902
|
+
"name": json["name"],
|
|
2903
|
+
"symbol": json["symbol"],
|
|
2904
|
+
"migrationDex": json["migrationDex"],
|
|
2905
|
+
"icon": json["icon"],
|
|
2906
|
+
"description": json["description"],
|
|
2907
|
+
"links": json["links"].map(LinkFromJSON),
|
|
2908
|
+
"banner": json["banner"] == null ? void 0 : json["banner"],
|
|
2909
|
+
"tokenAmount": json["tokenAmount"]
|
|
2751
2910
|
};
|
|
2752
2911
|
}
|
|
2753
|
-
function
|
|
2754
|
-
return
|
|
2912
|
+
function MoonshotCreateTokenInputToJSON(json) {
|
|
2913
|
+
return MoonshotCreateTokenInputToJSONTyped(json, false);
|
|
2755
2914
|
}
|
|
2756
|
-
function
|
|
2915
|
+
function MoonshotCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2757
2916
|
if (value == null) {
|
|
2758
2917
|
return value;
|
|
2759
2918
|
}
|
|
2760
2919
|
return {
|
|
2761
|
-
"
|
|
2920
|
+
"dex": value["dex"],
|
|
2921
|
+
"userAddress": value["userAddress"],
|
|
2922
|
+
"priorityFee": value["priorityFee"],
|
|
2923
|
+
"name": value["name"],
|
|
2924
|
+
"symbol": value["symbol"],
|
|
2925
|
+
"migrationDex": value["migrationDex"],
|
|
2926
|
+
"icon": value["icon"],
|
|
2927
|
+
"description": value["description"],
|
|
2928
|
+
"links": value["links"].map(LinkToJSON),
|
|
2929
|
+
"banner": value["banner"],
|
|
2930
|
+
"tokenAmount": value["tokenAmount"]
|
|
2762
2931
|
};
|
|
2763
2932
|
}
|
|
2764
2933
|
|
|
2765
|
-
// src/openapi/models/
|
|
2766
|
-
function
|
|
2767
|
-
if (!("
|
|
2768
|
-
if (!("
|
|
2769
|
-
if (!("startCursor" in value) || value["startCursor"] === void 0) return false;
|
|
2770
|
-
if (!("endCursor" in value) || value["endCursor"] === void 0) return false;
|
|
2771
|
-
if (!("records" in value) || value["records"] === void 0) return false;
|
|
2934
|
+
// src/openapi/models/MoonshotCreateTokenReply.ts
|
|
2935
|
+
function instanceOfMoonshotCreateTokenReply(value) {
|
|
2936
|
+
if (!("serializedTx" in value) || value["serializedTx"] === void 0) return false;
|
|
2937
|
+
if (!("extra" in value) || value["extra"] === void 0) return false;
|
|
2772
2938
|
return true;
|
|
2773
2939
|
}
|
|
2774
|
-
function
|
|
2775
|
-
return
|
|
2940
|
+
function MoonshotCreateTokenReplyFromJSON(json) {
|
|
2941
|
+
return MoonshotCreateTokenReplyFromJSONTyped(json, false);
|
|
2776
2942
|
}
|
|
2777
|
-
function
|
|
2943
|
+
function MoonshotCreateTokenReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
2778
2944
|
if (json == null) {
|
|
2779
2945
|
return json;
|
|
2780
2946
|
}
|
|
2781
2947
|
return {
|
|
2782
|
-
"
|
|
2783
|
-
"
|
|
2784
|
-
"startCursor": json["startCursor"],
|
|
2785
|
-
"endCursor": json["endCursor"],
|
|
2786
|
-
"records": json["records"].map(RedPacketDTOFromJSON)
|
|
2948
|
+
"serializedTx": json["serializedTx"],
|
|
2949
|
+
"extra": json["extra"]
|
|
2787
2950
|
};
|
|
2788
2951
|
}
|
|
2789
|
-
function
|
|
2790
|
-
return
|
|
2952
|
+
function MoonshotCreateTokenReplyToJSON(json) {
|
|
2953
|
+
return MoonshotCreateTokenReplyToJSONTyped(json, false);
|
|
2791
2954
|
}
|
|
2792
|
-
function
|
|
2955
|
+
function MoonshotCreateTokenReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2793
2956
|
if (value == null) {
|
|
2794
2957
|
return value;
|
|
2795
2958
|
}
|
|
2796
2959
|
return {
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
2799
|
-
"startCursor": value["startCursor"],
|
|
2800
|
-
"endCursor": value["endCursor"],
|
|
2801
|
-
"records": value["records"].map(RedPacketDTOToJSON)
|
|
2960
|
+
"serializedTx": value["serializedTx"],
|
|
2961
|
+
"extra": value["extra"]
|
|
2802
2962
|
};
|
|
2803
2963
|
}
|
|
2804
2964
|
|
|
2805
|
-
// src/openapi/models/
|
|
2806
|
-
function
|
|
2807
|
-
if (!("address" in value) || value["address"] === void 0) return false;
|
|
2965
|
+
// src/openapi/models/MoonshotSubmitCreateToken200Response.ts
|
|
2966
|
+
function instanceOfMoonshotSubmitCreateToken200Response(value) {
|
|
2808
2967
|
return true;
|
|
2809
2968
|
}
|
|
2810
|
-
function
|
|
2811
|
-
return
|
|
2812
|
-
}
|
|
2813
|
-
function RegisterAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
2814
|
-
if (json == null) {
|
|
2815
|
-
return json;
|
|
2816
|
-
}
|
|
2817
|
-
return {
|
|
2818
|
-
"address": json["address"]
|
|
2819
|
-
};
|
|
2820
|
-
}
|
|
2821
|
-
function RegisterAddressRequestToJSON(json) {
|
|
2822
|
-
return RegisterAddressRequestToJSONTyped(json, false);
|
|
2823
|
-
}
|
|
2824
|
-
function RegisterAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2825
|
-
if (value == null) {
|
|
2826
|
-
return value;
|
|
2827
|
-
}
|
|
2828
|
-
return {
|
|
2829
|
-
"address": value["address"]
|
|
2830
|
-
};
|
|
2831
|
-
}
|
|
2832
|
-
|
|
2833
|
-
// src/openapi/models/RegisterAddressResponseDTO.ts
|
|
2834
|
-
function instanceOfRegisterAddressResponseDTO(value) {
|
|
2835
|
-
if (!("address" in value) || value["address"] === void 0) return false;
|
|
2836
|
-
return true;
|
|
2837
|
-
}
|
|
2838
|
-
function RegisterAddressResponseDTOFromJSON(json) {
|
|
2839
|
-
return RegisterAddressResponseDTOFromJSONTyped(json, false);
|
|
2969
|
+
function MoonshotSubmitCreateToken200ResponseFromJSON(json) {
|
|
2970
|
+
return MoonshotSubmitCreateToken200ResponseFromJSONTyped(json, false);
|
|
2840
2971
|
}
|
|
2841
|
-
function
|
|
2972
|
+
function MoonshotSubmitCreateToken200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2842
2973
|
if (json == null) {
|
|
2843
2974
|
return json;
|
|
2844
2975
|
}
|
|
2845
2976
|
return {
|
|
2846
|
-
"
|
|
2977
|
+
"signature": json["signature"] == null ? void 0 : json["signature"],
|
|
2978
|
+
"slot": json["slot"] == null ? void 0 : json["slot"]
|
|
2847
2979
|
};
|
|
2848
2980
|
}
|
|
2849
|
-
function
|
|
2850
|
-
return
|
|
2981
|
+
function MoonshotSubmitCreateToken200ResponseToJSON(json) {
|
|
2982
|
+
return MoonshotSubmitCreateToken200ResponseToJSONTyped(json, false);
|
|
2851
2983
|
}
|
|
2852
|
-
function
|
|
2984
|
+
function MoonshotSubmitCreateToken200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2853
2985
|
if (value == null) {
|
|
2854
2986
|
return value;
|
|
2855
2987
|
}
|
|
2856
2988
|
return {
|
|
2857
|
-
"
|
|
2989
|
+
"signature": value["signature"],
|
|
2990
|
+
"slot": value["slot"]
|
|
2858
2991
|
};
|
|
2859
2992
|
}
|
|
2860
2993
|
|
|
2861
|
-
// src/openapi/models/
|
|
2862
|
-
|
|
2863
|
-
Default: "default",
|
|
2864
|
-
Priority: "priority"
|
|
2865
|
-
};
|
|
2866
|
-
function instanceOfSendTxInput(value) {
|
|
2994
|
+
// src/openapi/models/MoonshotSubmitCreateTokenInput.ts
|
|
2995
|
+
function instanceOfMoonshotSubmitCreateTokenInput(value) {
|
|
2867
2996
|
if (!("signedTx" in value) || value["signedTx"] === void 0) return false;
|
|
2868
2997
|
return true;
|
|
2869
2998
|
}
|
|
2870
|
-
function
|
|
2871
|
-
return
|
|
2999
|
+
function MoonshotSubmitCreateTokenInputFromJSON(json) {
|
|
3000
|
+
return MoonshotSubmitCreateTokenInputFromJSONTyped(json, false);
|
|
2872
3001
|
}
|
|
2873
|
-
function
|
|
3002
|
+
function MoonshotSubmitCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
2874
3003
|
if (json == null) {
|
|
2875
3004
|
return json;
|
|
2876
3005
|
}
|
|
2877
3006
|
return {
|
|
2878
3007
|
"signedTx": json["signedTx"],
|
|
2879
|
-
"
|
|
2880
|
-
"options": json["options"] == null ? void 0 : json["options"]
|
|
3008
|
+
"extra": json["extra"] == null ? void 0 : json["extra"]
|
|
2881
3009
|
};
|
|
2882
3010
|
}
|
|
2883
|
-
function
|
|
2884
|
-
return
|
|
3011
|
+
function MoonshotSubmitCreateTokenInputToJSON(json) {
|
|
3012
|
+
return MoonshotSubmitCreateTokenInputToJSONTyped(json, false);
|
|
2885
3013
|
}
|
|
2886
|
-
function
|
|
3014
|
+
function MoonshotSubmitCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2887
3015
|
if (value == null) {
|
|
2888
3016
|
return value;
|
|
2889
3017
|
}
|
|
2890
3018
|
return {
|
|
2891
3019
|
"signedTx": value["signedTx"],
|
|
2892
|
-
"
|
|
2893
|
-
"options": value["options"]
|
|
3020
|
+
"extra": value["extra"]
|
|
2894
3021
|
};
|
|
2895
3022
|
}
|
|
2896
3023
|
|
|
2897
|
-
// src/openapi/models/
|
|
2898
|
-
function
|
|
2899
|
-
if (!("
|
|
2900
|
-
if (!("elapsedTime" in value) || value["elapsedTime"] === void 0) return false;
|
|
2901
|
-
if (!("jobId" in value) || value["jobId"] === void 0) return false;
|
|
3024
|
+
// src/openapi/models/NetworkIdentificationOrg.ts
|
|
3025
|
+
function instanceOfNetworkIdentificationOrg(value) {
|
|
3026
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
2902
3027
|
return true;
|
|
2903
3028
|
}
|
|
2904
|
-
function
|
|
2905
|
-
return
|
|
3029
|
+
function NetworkIdentificationOrgFromJSON(json) {
|
|
3030
|
+
return NetworkIdentificationOrgFromJSONTyped(json, false);
|
|
2906
3031
|
}
|
|
2907
|
-
function
|
|
3032
|
+
function NetworkIdentificationOrgFromJSONTyped(json, ignoreDiscriminator) {
|
|
2908
3033
|
if (json == null) {
|
|
2909
3034
|
return json;
|
|
2910
3035
|
}
|
|
2911
3036
|
return {
|
|
2912
|
-
"
|
|
2913
|
-
"elapsedTime": json["elapsedTime"],
|
|
2914
|
-
"jobId": json["jobId"]
|
|
3037
|
+
"name": json["name"]
|
|
2915
3038
|
};
|
|
2916
3039
|
}
|
|
2917
|
-
function
|
|
2918
|
-
return
|
|
3040
|
+
function NetworkIdentificationOrgToJSON(json) {
|
|
3041
|
+
return NetworkIdentificationOrgToJSONTyped(json, false);
|
|
2919
3042
|
}
|
|
2920
|
-
function
|
|
3043
|
+
function NetworkIdentificationOrgToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2921
3044
|
if (value == null) {
|
|
2922
3045
|
return value;
|
|
2923
3046
|
}
|
|
2924
3047
|
return {
|
|
2925
|
-
"
|
|
2926
|
-
"elapsedTime": value["elapsedTime"],
|
|
2927
|
-
"jobId": value["jobId"]
|
|
3048
|
+
"name": value["name"]
|
|
2928
3049
|
};
|
|
2929
3050
|
}
|
|
2930
3051
|
|
|
2931
|
-
// src/openapi/models/
|
|
2932
|
-
var
|
|
2933
|
-
|
|
2934
|
-
Pumpfun: "pumpfun",
|
|
2935
|
-
Moonshot: "moonshot",
|
|
2936
|
-
Candy: "candy",
|
|
2937
|
-
Launchpad: "launchpad"
|
|
3052
|
+
// src/openapi/models/PumpCreateTokenInput.ts
|
|
3053
|
+
var PumpCreateTokenInputDexEnum = {
|
|
3054
|
+
Pumpfun: "pumpfun"
|
|
2938
3055
|
};
|
|
2939
|
-
var
|
|
2940
|
-
|
|
2941
|
-
|
|
3056
|
+
var PumpCreateTokenInputMigrationDexEnum = {
|
|
3057
|
+
Raydium: "RAYDIUM",
|
|
3058
|
+
Meteora: "METEORA"
|
|
2942
3059
|
};
|
|
2943
|
-
function
|
|
3060
|
+
function instanceOfPumpCreateTokenInput(value) {
|
|
2944
3061
|
if (!("dex" in value) || value["dex"] === void 0) return false;
|
|
2945
3062
|
if (!("userAddress" in value) || value["userAddress"] === void 0) return false;
|
|
2946
|
-
if (!("
|
|
2947
|
-
if (!("
|
|
2948
|
-
if (!("
|
|
3063
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3064
|
+
if (!("symbol" in value) || value["symbol"] === void 0) return false;
|
|
3065
|
+
if (!("migrationDex" in value) || value["migrationDex"] === void 0) return false;
|
|
3066
|
+
if (!("image" in value) || value["image"] === void 0) return false;
|
|
3067
|
+
if (!("mintAddress" in value) || value["mintAddress"] === void 0) return false;
|
|
3068
|
+
if (!("description" in value) || value["description"] === void 0) return false;
|
|
2949
3069
|
return true;
|
|
2950
3070
|
}
|
|
2951
|
-
function
|
|
2952
|
-
return
|
|
3071
|
+
function PumpCreateTokenInputFromJSON(json) {
|
|
3072
|
+
return PumpCreateTokenInputFromJSONTyped(json, false);
|
|
2953
3073
|
}
|
|
2954
|
-
function
|
|
3074
|
+
function PumpCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
2955
3075
|
if (json == null) {
|
|
2956
3076
|
return json;
|
|
2957
3077
|
}
|
|
@@ -2959,18 +3079,21 @@ function SwapInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2959
3079
|
"dex": json["dex"],
|
|
2960
3080
|
"userAddress": json["userAddress"],
|
|
2961
3081
|
"priorityFee": json["priorityFee"] == null ? void 0 : json["priorityFee"],
|
|
2962
|
-
"
|
|
2963
|
-
"
|
|
2964
|
-
"
|
|
2965
|
-
"
|
|
2966
|
-
"
|
|
2967
|
-
"
|
|
3082
|
+
"twitter": json["twitter"] == null ? void 0 : json["twitter"],
|
|
3083
|
+
"telegram": json["telegram"] == null ? void 0 : json["telegram"],
|
|
3084
|
+
"website": json["website"] == null ? void 0 : json["website"],
|
|
3085
|
+
"name": json["name"],
|
|
3086
|
+
"symbol": json["symbol"],
|
|
3087
|
+
"migrationDex": json["migrationDex"],
|
|
3088
|
+
"image": json["image"],
|
|
3089
|
+
"mintAddress": json["mintAddress"],
|
|
3090
|
+
"description": json["description"]
|
|
2968
3091
|
};
|
|
2969
3092
|
}
|
|
2970
|
-
function
|
|
2971
|
-
return
|
|
3093
|
+
function PumpCreateTokenInputToJSON(json) {
|
|
3094
|
+
return PumpCreateTokenInputToJSONTyped(json, false);
|
|
2972
3095
|
}
|
|
2973
|
-
function
|
|
3096
|
+
function PumpCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2974
3097
|
if (value == null) {
|
|
2975
3098
|
return value;
|
|
2976
3099
|
}
|
|
@@ -2978,713 +3101,688 @@ function SwapInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2978
3101
|
"dex": value["dex"],
|
|
2979
3102
|
"userAddress": value["userAddress"],
|
|
2980
3103
|
"priorityFee": value["priorityFee"],
|
|
2981
|
-
"
|
|
2982
|
-
"
|
|
2983
|
-
"
|
|
2984
|
-
"
|
|
2985
|
-
"
|
|
2986
|
-
"
|
|
3104
|
+
"twitter": value["twitter"],
|
|
3105
|
+
"telegram": value["telegram"],
|
|
3106
|
+
"website": value["website"],
|
|
3107
|
+
"name": value["name"],
|
|
3108
|
+
"symbol": value["symbol"],
|
|
3109
|
+
"migrationDex": value["migrationDex"],
|
|
3110
|
+
"image": value["image"],
|
|
3111
|
+
"mintAddress": value["mintAddress"],
|
|
3112
|
+
"description": value["description"]
|
|
2987
3113
|
};
|
|
2988
3114
|
}
|
|
2989
3115
|
|
|
2990
|
-
// src/openapi/models/
|
|
2991
|
-
function
|
|
3116
|
+
// src/openapi/models/PumpCreateTokenReply.ts
|
|
3117
|
+
function instanceOfPumpCreateTokenReply(value) {
|
|
2992
3118
|
if (!("serializedTx" in value) || value["serializedTx"] === void 0) return false;
|
|
2993
|
-
if (!("elapsedTime" in value) || value["elapsedTime"] === void 0) return false;
|
|
2994
3119
|
return true;
|
|
2995
3120
|
}
|
|
2996
|
-
function
|
|
2997
|
-
return
|
|
3121
|
+
function PumpCreateTokenReplyFromJSON(json) {
|
|
3122
|
+
return PumpCreateTokenReplyFromJSONTyped(json, false);
|
|
2998
3123
|
}
|
|
2999
|
-
function
|
|
3124
|
+
function PumpCreateTokenReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
3000
3125
|
if (json == null) {
|
|
3001
3126
|
return json;
|
|
3002
3127
|
}
|
|
3003
3128
|
return {
|
|
3004
3129
|
"serializedTx": json["serializedTx"],
|
|
3005
|
-
"
|
|
3130
|
+
"extra": json["extra"] == null ? void 0 : json["extra"]
|
|
3006
3131
|
};
|
|
3007
3132
|
}
|
|
3008
|
-
function
|
|
3009
|
-
return
|
|
3133
|
+
function PumpCreateTokenReplyToJSON(json) {
|
|
3134
|
+
return PumpCreateTokenReplyToJSONTyped(json, false);
|
|
3010
3135
|
}
|
|
3011
|
-
function
|
|
3136
|
+
function PumpCreateTokenReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3012
3137
|
if (value == null) {
|
|
3013
3138
|
return value;
|
|
3014
3139
|
}
|
|
3015
3140
|
return {
|
|
3016
3141
|
"serializedTx": value["serializedTx"],
|
|
3017
|
-
"
|
|
3142
|
+
"extra": value["extra"]
|
|
3018
3143
|
};
|
|
3019
3144
|
}
|
|
3020
3145
|
|
|
3021
|
-
// src/openapi/models/
|
|
3022
|
-
|
|
3023
|
-
Jupiter: "jupiter",
|
|
3024
|
-
Kyberswap: "kyberswap"
|
|
3025
|
-
};
|
|
3026
|
-
var SwapRouteInputSwapModeEnum = {
|
|
3027
|
-
ExactIn: "ExactIn",
|
|
3028
|
-
ExactOut: "ExactOut"
|
|
3029
|
-
};
|
|
3030
|
-
function instanceOfSwapRouteInput(value) {
|
|
3031
|
-
if (!("dex" in value) || value["dex"] === void 0) return false;
|
|
3032
|
-
if (!("userAddress" in value) || value["userAddress"] === void 0) return false;
|
|
3033
|
-
if (!("amount" in value) || value["amount"] === void 0) return false;
|
|
3034
|
-
if (!("swapMode" in value) || value["swapMode"] === void 0) return false;
|
|
3035
|
-
if (!("slippage" in value) || value["slippage"] === void 0) return false;
|
|
3146
|
+
// src/openapi/models/QuoteResponse.ts
|
|
3147
|
+
function instanceOfQuoteResponse(value) {
|
|
3036
3148
|
return true;
|
|
3037
3149
|
}
|
|
3038
|
-
function
|
|
3039
|
-
return
|
|
3150
|
+
function QuoteResponseFromJSON(json) {
|
|
3151
|
+
return QuoteResponseFromJSONTyped(json, false);
|
|
3040
3152
|
}
|
|
3041
|
-
function
|
|
3153
|
+
function QuoteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3042
3154
|
if (json == null) {
|
|
3043
3155
|
return json;
|
|
3044
3156
|
}
|
|
3045
3157
|
return {
|
|
3046
|
-
"
|
|
3047
|
-
"
|
|
3048
|
-
"
|
|
3049
|
-
"
|
|
3050
|
-
"
|
|
3051
|
-
"
|
|
3052
|
-
"inputMint": json["inputMint"] == null ? void 0 : json["inputMint"],
|
|
3053
|
-
"outputMint": json["outputMint"] == null ? void 0 : json["outputMint"],
|
|
3054
|
-
"recipientAddress": json["recipientAddress"] == null ? void 0 : json["recipientAddress"],
|
|
3055
|
-
"permit": json["permit"] == null ? void 0 : json["permit"],
|
|
3056
|
-
"deadline": json["deadline"] == null ? void 0 : json["deadline"],
|
|
3057
|
-
"tipFee": json["tipFee"] == null ? void 0 : json["tipFee"],
|
|
3058
|
-
"isAntiMev": json["isAntiMev"] == null ? void 0 : json["isAntiMev"]
|
|
3158
|
+
"amountOut": json["amountOut"] == null ? void 0 : json["amountOut"],
|
|
3159
|
+
"minAmountOut": json["minAmountOut"] == null ? void 0 : json["minAmountOut"],
|
|
3160
|
+
"currentPrice": json["currentPrice"] == null ? void 0 : json["currentPrice"],
|
|
3161
|
+
"executionPrice": json["executionPrice"] == null ? void 0 : json["executionPrice"],
|
|
3162
|
+
"priceImpact": json["priceImpact"] == null ? void 0 : json["priceImpact"],
|
|
3163
|
+
"fee": json["fee"] == null ? void 0 : json["fee"]
|
|
3059
3164
|
};
|
|
3060
3165
|
}
|
|
3061
|
-
function
|
|
3062
|
-
return
|
|
3166
|
+
function QuoteResponseToJSON(json) {
|
|
3167
|
+
return QuoteResponseToJSONTyped(json, false);
|
|
3063
3168
|
}
|
|
3064
|
-
function
|
|
3169
|
+
function QuoteResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3065
3170
|
if (value == null) {
|
|
3066
3171
|
return value;
|
|
3067
3172
|
}
|
|
3068
3173
|
return {
|
|
3069
|
-
"
|
|
3070
|
-
"
|
|
3071
|
-
"
|
|
3072
|
-
"
|
|
3073
|
-
"
|
|
3074
|
-
"
|
|
3075
|
-
"inputMint": value["inputMint"],
|
|
3076
|
-
"outputMint": value["outputMint"],
|
|
3077
|
-
"recipientAddress": value["recipientAddress"],
|
|
3078
|
-
"permit": value["permit"],
|
|
3079
|
-
"deadline": value["deadline"],
|
|
3080
|
-
"tipFee": value["tipFee"],
|
|
3081
|
-
"isAntiMev": value["isAntiMev"]
|
|
3174
|
+
"amountOut": value["amountOut"],
|
|
3175
|
+
"minAmountOut": value["minAmountOut"],
|
|
3176
|
+
"currentPrice": value["currentPrice"],
|
|
3177
|
+
"executionPrice": value["executionPrice"],
|
|
3178
|
+
"priceImpact": value["priceImpact"],
|
|
3179
|
+
"fee": value["fee"]
|
|
3082
3180
|
};
|
|
3083
3181
|
}
|
|
3084
3182
|
|
|
3085
|
-
// src/openapi/models/
|
|
3086
|
-
function
|
|
3087
|
-
if (!("
|
|
3088
|
-
if (!("
|
|
3089
|
-
if (!("
|
|
3090
|
-
if (!("
|
|
3183
|
+
// src/openapi/models/RedPacketClaimDTO.ts
|
|
3184
|
+
function instanceOfRedPacketClaimDTO(value) {
|
|
3185
|
+
if (!("packetId" in value) || value["packetId"] === void 0) return false;
|
|
3186
|
+
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
3187
|
+
if (!("claimer" in value) || value["claimer"] === void 0) return false;
|
|
3188
|
+
if (!("mint" in value) || value["mint"] === void 0) return false;
|
|
3189
|
+
if (!("amount" in value) || value["amount"] === void 0) return false;
|
|
3190
|
+
if (!("claimedAt" in value) || value["claimedAt"] === void 0) return false;
|
|
3191
|
+
if (!("creator" in value) || value["creator"] === void 0) return false;
|
|
3192
|
+
if (!("txHash" in value) || value["txHash"] === void 0) return false;
|
|
3091
3193
|
return true;
|
|
3092
3194
|
}
|
|
3093
|
-
function
|
|
3094
|
-
return
|
|
3195
|
+
function RedPacketClaimDTOFromJSON(json) {
|
|
3196
|
+
return RedPacketClaimDTOFromJSONTyped(json, false);
|
|
3095
3197
|
}
|
|
3096
|
-
function
|
|
3198
|
+
function RedPacketClaimDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
3097
3199
|
if (json == null) {
|
|
3098
3200
|
return json;
|
|
3099
3201
|
}
|
|
3100
3202
|
return {
|
|
3101
|
-
"
|
|
3102
|
-
"
|
|
3103
|
-
"
|
|
3104
|
-
"
|
|
3203
|
+
"packetId": json["packetId"],
|
|
3204
|
+
"chain": ChainFromJSON(json["chain"]),
|
|
3205
|
+
"claimer": json["claimer"],
|
|
3206
|
+
"mint": json["mint"],
|
|
3207
|
+
"amount": json["amount"],
|
|
3208
|
+
"claimedAt": json["claimedAt"],
|
|
3209
|
+
"creator": json["creator"],
|
|
3210
|
+
"txHash": json["txHash"]
|
|
3105
3211
|
};
|
|
3106
3212
|
}
|
|
3107
|
-
function
|
|
3108
|
-
return
|
|
3213
|
+
function RedPacketClaimDTOToJSON(json) {
|
|
3214
|
+
return RedPacketClaimDTOToJSONTyped(json, false);
|
|
3109
3215
|
}
|
|
3110
|
-
function
|
|
3216
|
+
function RedPacketClaimDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3111
3217
|
if (value == null) {
|
|
3112
3218
|
return value;
|
|
3113
3219
|
}
|
|
3114
3220
|
return {
|
|
3115
|
-
"
|
|
3116
|
-
"
|
|
3117
|
-
"
|
|
3118
|
-
"
|
|
3221
|
+
"packetId": value["packetId"],
|
|
3222
|
+
"chain": ChainToJSON(value["chain"]),
|
|
3223
|
+
"claimer": value["claimer"],
|
|
3224
|
+
"mint": value["mint"],
|
|
3225
|
+
"amount": value["amount"],
|
|
3226
|
+
"claimedAt": value["claimedAt"],
|
|
3227
|
+
"creator": value["creator"],
|
|
3228
|
+
"txHash": value["txHash"]
|
|
3119
3229
|
};
|
|
3120
3230
|
}
|
|
3121
3231
|
|
|
3122
|
-
// src/openapi/models/
|
|
3123
|
-
function
|
|
3124
|
-
if (!("
|
|
3125
|
-
if (!("
|
|
3126
|
-
if (!("
|
|
3127
|
-
if (!("
|
|
3128
|
-
if (!("
|
|
3232
|
+
// src/openapi/models/RedPacketClaimsPage.ts
|
|
3233
|
+
function instanceOfRedPacketClaimsPage(value) {
|
|
3234
|
+
if (!("total" in value) || value["total"] === void 0) return false;
|
|
3235
|
+
if (!("hasNextPage" in value) || value["hasNextPage"] === void 0) return false;
|
|
3236
|
+
if (!("startCursor" in value) || value["startCursor"] === void 0) return false;
|
|
3237
|
+
if (!("endCursor" in value) || value["endCursor"] === void 0) return false;
|
|
3238
|
+
if (!("records" in value) || value["records"] === void 0) return false;
|
|
3129
3239
|
return true;
|
|
3130
3240
|
}
|
|
3131
|
-
function
|
|
3132
|
-
return
|
|
3241
|
+
function RedPacketClaimsPageFromJSON(json) {
|
|
3242
|
+
return RedPacketClaimsPageFromJSONTyped(json, false);
|
|
3133
3243
|
}
|
|
3134
|
-
function
|
|
3244
|
+
function RedPacketClaimsPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
3135
3245
|
if (json == null) {
|
|
3136
3246
|
return json;
|
|
3137
3247
|
}
|
|
3138
3248
|
return {
|
|
3139
|
-
"
|
|
3140
|
-
"
|
|
3141
|
-
"
|
|
3142
|
-
"
|
|
3143
|
-
"
|
|
3144
|
-
"top100TotalHoldings": json["top100TotalHoldings"] == null ? void 0 : json["top100TotalHoldings"],
|
|
3145
|
-
"top100HoldingsRatio": json["top100HoldingsRatio"] == null ? void 0 : json["top100HoldingsRatio"],
|
|
3146
|
-
"holders": json["holders"],
|
|
3147
|
-
"priceInSol": json["priceInSol"] == null ? void 0 : json["priceInSol"],
|
|
3148
|
-
"priceInUsd": json["priceInUsd"],
|
|
3149
|
-
"tvlInSol": json["tvlInSol"] == null ? void 0 : json["tvlInSol"],
|
|
3150
|
-
"tvlInUsd": json["tvlInUsd"],
|
|
3151
|
-
"completionRatio": json["completionRatio"] == null ? void 0 : json["completionRatio"],
|
|
3152
|
-
"devTeamCount": json["devTeamCount"] == null ? void 0 : json["devTeamCount"],
|
|
3153
|
-
"devTeamAmount": json["devTeamAmount"] == null ? void 0 : json["devTeamAmount"],
|
|
3154
|
-
"devTeamRatio": json["devTeamRatio"] == null ? void 0 : json["devTeamRatio"]
|
|
3249
|
+
"total": json["total"],
|
|
3250
|
+
"hasNextPage": json["hasNextPage"],
|
|
3251
|
+
"startCursor": json["startCursor"],
|
|
3252
|
+
"endCursor": json["endCursor"],
|
|
3253
|
+
"records": json["records"].map(RedPacketClaimDTOFromJSON)
|
|
3155
3254
|
};
|
|
3156
3255
|
}
|
|
3157
|
-
function
|
|
3158
|
-
return
|
|
3256
|
+
function RedPacketClaimsPageToJSON(json) {
|
|
3257
|
+
return RedPacketClaimsPageToJSONTyped(json, false);
|
|
3159
3258
|
}
|
|
3160
|
-
function
|
|
3259
|
+
function RedPacketClaimsPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3161
3260
|
if (value == null) {
|
|
3162
3261
|
return value;
|
|
3163
3262
|
}
|
|
3164
3263
|
return {
|
|
3165
|
-
"
|
|
3166
|
-
"
|
|
3167
|
-
"
|
|
3168
|
-
"
|
|
3169
|
-
"
|
|
3170
|
-
"top100TotalHoldings": value["top100TotalHoldings"],
|
|
3171
|
-
"top100HoldingsRatio": value["top100HoldingsRatio"],
|
|
3172
|
-
"holders": value["holders"],
|
|
3173
|
-
"priceInSol": value["priceInSol"],
|
|
3174
|
-
"priceInUsd": value["priceInUsd"],
|
|
3175
|
-
"tvlInSol": value["tvlInSol"],
|
|
3176
|
-
"tvlInUsd": value["tvlInUsd"],
|
|
3177
|
-
"completionRatio": value["completionRatio"],
|
|
3178
|
-
"devTeamCount": value["devTeamCount"],
|
|
3179
|
-
"devTeamAmount": value["devTeamAmount"],
|
|
3180
|
-
"devTeamRatio": value["devTeamRatio"]
|
|
3264
|
+
"total": value["total"],
|
|
3265
|
+
"hasNextPage": value["hasNextPage"],
|
|
3266
|
+
"startCursor": value["startCursor"],
|
|
3267
|
+
"endCursor": value["endCursor"],
|
|
3268
|
+
"records": value["records"].map(RedPacketClaimDTOToJSON)
|
|
3181
3269
|
};
|
|
3182
3270
|
}
|
|
3183
3271
|
|
|
3184
|
-
// src/openapi/models/
|
|
3185
|
-
function
|
|
3272
|
+
// src/openapi/models/RedPacketDTO.ts
|
|
3273
|
+
function instanceOfRedPacketDTO(value) {
|
|
3274
|
+
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
3275
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
3276
|
+
if (!("shareId" in value) || value["shareId"] === void 0) return false;
|
|
3277
|
+
if (!("txHash" in value) || value["txHash"] === void 0) return false;
|
|
3278
|
+
if (!("creator" in value) || value["creator"] === void 0) return false;
|
|
3279
|
+
if (!("mint" in value) || value["mint"] === void 0) return false;
|
|
3280
|
+
if (!("totalAmount" in value) || value["totalAmount"] === void 0) return false;
|
|
3281
|
+
if (!("memo" in value) || value["memo"] === void 0) return false;
|
|
3282
|
+
if (!("maxClaims" in value) || value["maxClaims"] === void 0) return false;
|
|
3283
|
+
if (!("claimAuthority" in value) || value["claimAuthority"] === void 0) return false;
|
|
3284
|
+
if (!("expired" in value) || value["expired"] === void 0) return false;
|
|
3285
|
+
if (!("expiration" in value) || value["expiration"] === void 0) return false;
|
|
3286
|
+
if (!("createdAt" in value) || value["createdAt"] === void 0) return false;
|
|
3287
|
+
if (!("expiredAt" in value) || value["expiredAt"] === void 0) return false;
|
|
3288
|
+
if (!("claimedCount" in value) || value["claimedCount"] === void 0) return false;
|
|
3289
|
+
if (!("claimedAmount" in value) || value["claimedAmount"] === void 0) return false;
|
|
3290
|
+
if (!("refundedAmount" in value) || value["refundedAmount"] === void 0) return false;
|
|
3186
3291
|
return true;
|
|
3187
3292
|
}
|
|
3188
|
-
function
|
|
3189
|
-
return
|
|
3293
|
+
function RedPacketDTOFromJSON(json) {
|
|
3294
|
+
return RedPacketDTOFromJSONTyped(json, false);
|
|
3190
3295
|
}
|
|
3191
|
-
function
|
|
3296
|
+
function RedPacketDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
3192
3297
|
if (json == null) {
|
|
3193
3298
|
return json;
|
|
3194
3299
|
}
|
|
3195
3300
|
return {
|
|
3196
|
-
"
|
|
3197
|
-
"
|
|
3198
|
-
"
|
|
3199
|
-
"
|
|
3200
|
-
"
|
|
3201
|
-
"
|
|
3202
|
-
"
|
|
3203
|
-
"
|
|
3204
|
-
"
|
|
3205
|
-
"
|
|
3206
|
-
"
|
|
3207
|
-
"
|
|
3208
|
-
"
|
|
3209
|
-
"
|
|
3210
|
-
"
|
|
3211
|
-
"
|
|
3212
|
-
"
|
|
3213
|
-
"freezeAuthority": json["freezeAuthority"] == null ? void 0 : json["freezeAuthority"],
|
|
3214
|
-
"updateAuthority": json["updateAuthority"] == null ? void 0 : json["updateAuthority"],
|
|
3215
|
-
"isVerifiedCollection": json["isVerifiedCollection"] == null ? void 0 : json["isVerifiedCollection"],
|
|
3216
|
-
"isWrapped": json["isWrapped"] == null ? void 0 : json["isWrapped"]
|
|
3301
|
+
"chain": ChainFromJSON(json["chain"]),
|
|
3302
|
+
"id": json["id"],
|
|
3303
|
+
"shareId": json["shareId"],
|
|
3304
|
+
"txHash": json["txHash"],
|
|
3305
|
+
"creator": json["creator"],
|
|
3306
|
+
"mint": json["mint"],
|
|
3307
|
+
"totalAmount": json["totalAmount"],
|
|
3308
|
+
"memo": json["memo"],
|
|
3309
|
+
"maxClaims": json["maxClaims"],
|
|
3310
|
+
"claimAuthority": json["claimAuthority"],
|
|
3311
|
+
"expired": json["expired"],
|
|
3312
|
+
"expiration": json["expiration"],
|
|
3313
|
+
"createdAt": json["createdAt"],
|
|
3314
|
+
"expiredAt": json["expiredAt"],
|
|
3315
|
+
"claimedCount": json["claimedCount"],
|
|
3316
|
+
"claimedAmount": json["claimedAmount"],
|
|
3317
|
+
"refundedAmount": json["refundedAmount"]
|
|
3217
3318
|
};
|
|
3218
3319
|
}
|
|
3219
|
-
function
|
|
3220
|
-
return
|
|
3320
|
+
function RedPacketDTOToJSON(json) {
|
|
3321
|
+
return RedPacketDTOToJSONTyped(json, false);
|
|
3221
3322
|
}
|
|
3222
|
-
function
|
|
3323
|
+
function RedPacketDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3223
3324
|
if (value == null) {
|
|
3224
3325
|
return value;
|
|
3225
3326
|
}
|
|
3226
3327
|
return {
|
|
3227
|
-
"
|
|
3228
|
-
"
|
|
3229
|
-
"
|
|
3230
|
-
"
|
|
3231
|
-
"
|
|
3232
|
-
"
|
|
3233
|
-
"
|
|
3234
|
-
"
|
|
3235
|
-
"
|
|
3236
|
-
"
|
|
3237
|
-
"
|
|
3238
|
-
"
|
|
3239
|
-
"
|
|
3240
|
-
"
|
|
3241
|
-
"
|
|
3242
|
-
"
|
|
3243
|
-
"
|
|
3244
|
-
"freezeAuthority": value["freezeAuthority"],
|
|
3245
|
-
"updateAuthority": value["updateAuthority"],
|
|
3246
|
-
"isVerifiedCollection": value["isVerifiedCollection"],
|
|
3247
|
-
"isWrapped": value["isWrapped"]
|
|
3328
|
+
"chain": ChainToJSON(value["chain"]),
|
|
3329
|
+
"id": value["id"],
|
|
3330
|
+
"shareId": value["shareId"],
|
|
3331
|
+
"txHash": value["txHash"],
|
|
3332
|
+
"creator": value["creator"],
|
|
3333
|
+
"mint": value["mint"],
|
|
3334
|
+
"totalAmount": value["totalAmount"],
|
|
3335
|
+
"memo": value["memo"],
|
|
3336
|
+
"maxClaims": value["maxClaims"],
|
|
3337
|
+
"claimAuthority": value["claimAuthority"],
|
|
3338
|
+
"expired": value["expired"],
|
|
3339
|
+
"expiration": value["expiration"],
|
|
3340
|
+
"createdAt": value["createdAt"],
|
|
3341
|
+
"expiredAt": value["expiredAt"],
|
|
3342
|
+
"claimedCount": value["claimedCount"],
|
|
3343
|
+
"claimedAmount": value["claimedAmount"],
|
|
3344
|
+
"refundedAmount": value["refundedAmount"]
|
|
3248
3345
|
};
|
|
3249
3346
|
}
|
|
3250
3347
|
|
|
3251
|
-
// src/openapi/models/
|
|
3252
|
-
function
|
|
3348
|
+
// src/openapi/models/RedPacketReply.ts
|
|
3349
|
+
function instanceOfRedPacketReply(value) {
|
|
3350
|
+
if (!("txSerialize" in value) || value["txSerialize"] === void 0) return false;
|
|
3253
3351
|
return true;
|
|
3254
3352
|
}
|
|
3255
|
-
function
|
|
3256
|
-
return
|
|
3353
|
+
function RedPacketReplyFromJSON(json) {
|
|
3354
|
+
return RedPacketReplyFromJSONTyped(json, false);
|
|
3257
3355
|
}
|
|
3258
|
-
function
|
|
3356
|
+
function RedPacketReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
3259
3357
|
if (json == null) {
|
|
3260
3358
|
return json;
|
|
3261
3359
|
}
|
|
3262
3360
|
return {
|
|
3263
|
-
"
|
|
3264
|
-
"share": json["share"] == null ? void 0 : json["share"],
|
|
3265
|
-
"isVerified": json["isVerified"] == null ? void 0 : json["isVerified"]
|
|
3361
|
+
"txSerialize": json["txSerialize"]
|
|
3266
3362
|
};
|
|
3267
3363
|
}
|
|
3268
|
-
function
|
|
3269
|
-
return
|
|
3364
|
+
function RedPacketReplyToJSON(json) {
|
|
3365
|
+
return RedPacketReplyToJSONTyped(json, false);
|
|
3270
3366
|
}
|
|
3271
|
-
function
|
|
3367
|
+
function RedPacketReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3272
3368
|
if (value == null) {
|
|
3273
3369
|
return value;
|
|
3274
3370
|
}
|
|
3275
3371
|
return {
|
|
3276
|
-
"
|
|
3277
|
-
"share": value["share"],
|
|
3278
|
-
"isVerified": value["isVerified"]
|
|
3372
|
+
"txSerialize": value["txSerialize"]
|
|
3279
3373
|
};
|
|
3280
3374
|
}
|
|
3281
3375
|
|
|
3282
|
-
// src/openapi/models/
|
|
3283
|
-
function
|
|
3284
|
-
if (!("
|
|
3285
|
-
if (!("price1m" in value) || value["price1m"] === void 0) return false;
|
|
3286
|
-
if (!("buys1m" in value) || value["buys1m"] === void 0) return false;
|
|
3287
|
-
if (!("sells1m" in value) || value["sells1m"] === void 0) return false;
|
|
3288
|
-
if (!("buyVolumes1m" in value) || value["buyVolumes1m"] === void 0) return false;
|
|
3289
|
-
if (!("sellsVolumes1m" in value) || value["sellsVolumes1m"] === void 0) return false;
|
|
3290
|
-
if (!("volumes1m" in value) || value["volumes1m"] === void 0) return false;
|
|
3291
|
-
if (!("buyVolumesInUsd1m" in value) || value["buyVolumesInUsd1m"] === void 0) return false;
|
|
3292
|
-
if (!("sellVolumesInUsd1m" in value) || value["sellVolumesInUsd1m"] === void 0) return false;
|
|
3293
|
-
if (!("volumesInUsd1m" in value) || value["volumesInUsd1m"] === void 0) return false;
|
|
3294
|
-
if (!("openPriceInUsd1m" in value) || value["openPriceInUsd1m"] === void 0) return false;
|
|
3295
|
-
if (!("closePriceInUsd1m" in value) || value["closePriceInUsd1m"] === void 0) return false;
|
|
3296
|
-
if (!("priceChangeRatioInUsd1m" in value) || value["priceChangeRatioInUsd1m"] === void 0) return false;
|
|
3297
|
-
if (!("trades1m" in value) || value["trades1m"] === void 0) return false;
|
|
3298
|
-
if (!("price5m" in value) || value["price5m"] === void 0) return false;
|
|
3299
|
-
if (!("buys5m" in value) || value["buys5m"] === void 0) return false;
|
|
3300
|
-
if (!("sells5m" in value) || value["sells5m"] === void 0) return false;
|
|
3301
|
-
if (!("buyVolumes5m" in value) || value["buyVolumes5m"] === void 0) return false;
|
|
3302
|
-
if (!("sellsVolumes5m" in value) || value["sellsVolumes5m"] === void 0) return false;
|
|
3303
|
-
if (!("volumes5m" in value) || value["volumes5m"] === void 0) return false;
|
|
3304
|
-
if (!("buyVolumesInUsd5m" in value) || value["buyVolumesInUsd5m"] === void 0) return false;
|
|
3305
|
-
if (!("sellVolumesInUsd5m" in value) || value["sellVolumesInUsd5m"] === void 0) return false;
|
|
3306
|
-
if (!("volumesInUsd5m" in value) || value["volumesInUsd5m"] === void 0) return false;
|
|
3307
|
-
if (!("openPriceInUsd5m" in value) || value["openPriceInUsd5m"] === void 0) return false;
|
|
3308
|
-
if (!("closePriceInUsd5m" in value) || value["closePriceInUsd5m"] === void 0) return false;
|
|
3309
|
-
if (!("priceChangeRatioInUsd5m" in value) || value["priceChangeRatioInUsd5m"] === void 0) return false;
|
|
3310
|
-
if (!("trades5m" in value) || value["trades5m"] === void 0) return false;
|
|
3311
|
-
if (!("price30m" in value) || value["price30m"] === void 0) return false;
|
|
3312
|
-
if (!("buys30m" in value) || value["buys30m"] === void 0) return false;
|
|
3313
|
-
if (!("sells30m" in value) || value["sells30m"] === void 0) return false;
|
|
3314
|
-
if (!("buyVolumes30m" in value) || value["buyVolumes30m"] === void 0) return false;
|
|
3315
|
-
if (!("sellsVolumes30m" in value) || value["sellsVolumes30m"] === void 0) return false;
|
|
3316
|
-
if (!("volumes30m" in value) || value["volumes30m"] === void 0) return false;
|
|
3317
|
-
if (!("buyVolumesInUsd30m" in value) || value["buyVolumesInUsd30m"] === void 0) return false;
|
|
3318
|
-
if (!("sellVolumesInUsd30m" in value) || value["sellVolumesInUsd30m"] === void 0) return false;
|
|
3319
|
-
if (!("volumesInUsd30m" in value) || value["volumesInUsd30m"] === void 0) return false;
|
|
3320
|
-
if (!("openPriceInUsd30m" in value) || value["openPriceInUsd30m"] === void 0) return false;
|
|
3321
|
-
if (!("closePriceInUsd30m" in value) || value["closePriceInUsd30m"] === void 0) return false;
|
|
3322
|
-
if (!("priceChangeRatioInUsd30m" in value) || value["priceChangeRatioInUsd30m"] === void 0) return false;
|
|
3323
|
-
if (!("trades30m" in value) || value["trades30m"] === void 0) return false;
|
|
3324
|
-
if (!("price1h" in value) || value["price1h"] === void 0) return false;
|
|
3325
|
-
if (!("buys1h" in value) || value["buys1h"] === void 0) return false;
|
|
3326
|
-
if (!("sells1h" in value) || value["sells1h"] === void 0) return false;
|
|
3327
|
-
if (!("buyVolumes1h" in value) || value["buyVolumes1h"] === void 0) return false;
|
|
3328
|
-
if (!("sellsVolumes1h" in value) || value["sellsVolumes1h"] === void 0) return false;
|
|
3329
|
-
if (!("volumes1h" in value) || value["volumes1h"] === void 0) return false;
|
|
3330
|
-
if (!("buyVolumesInUsd1h" in value) || value["buyVolumesInUsd1h"] === void 0) return false;
|
|
3331
|
-
if (!("sellVolumesInUsd1h" in value) || value["sellVolumesInUsd1h"] === void 0) return false;
|
|
3332
|
-
if (!("volumesInUsd1h" in value) || value["volumesInUsd1h"] === void 0) return false;
|
|
3333
|
-
if (!("openPriceInUsd1h" in value) || value["openPriceInUsd1h"] === void 0) return false;
|
|
3334
|
-
if (!("closePriceInUsd1h" in value) || value["closePriceInUsd1h"] === void 0) return false;
|
|
3335
|
-
if (!("priceChangeRatioInUsd1h" in value) || value["priceChangeRatioInUsd1h"] === void 0) return false;
|
|
3336
|
-
if (!("trades1h" in value) || value["trades1h"] === void 0) return false;
|
|
3337
|
-
if (!("price4h" in value) || value["price4h"] === void 0) return false;
|
|
3338
|
-
if (!("buys4h" in value) || value["buys4h"] === void 0) return false;
|
|
3339
|
-
if (!("sells4h" in value) || value["sells4h"] === void 0) return false;
|
|
3340
|
-
if (!("buyVolumes4h" in value) || value["buyVolumes4h"] === void 0) return false;
|
|
3341
|
-
if (!("sellsVolumes4h" in value) || value["sellsVolumes4h"] === void 0) return false;
|
|
3342
|
-
if (!("volumes4h" in value) || value["volumes4h"] === void 0) return false;
|
|
3343
|
-
if (!("buyVolumesInUsd4h" in value) || value["buyVolumesInUsd4h"] === void 0) return false;
|
|
3344
|
-
if (!("sellVolumesInUsd4h" in value) || value["sellVolumesInUsd4h"] === void 0) return false;
|
|
3345
|
-
if (!("volumesInUsd4h" in value) || value["volumesInUsd4h"] === void 0) return false;
|
|
3346
|
-
if (!("openPriceInUsd4h" in value) || value["openPriceInUsd4h"] === void 0) return false;
|
|
3347
|
-
if (!("closePriceInUsd4h" in value) || value["closePriceInUsd4h"] === void 0) return false;
|
|
3348
|
-
if (!("priceChangeRatioInUsd4h" in value) || value["priceChangeRatioInUsd4h"] === void 0) return false;
|
|
3349
|
-
if (!("trades4h" in value) || value["trades4h"] === void 0) return false;
|
|
3350
|
-
if (!("price24h" in value) || value["price24h"] === void 0) return false;
|
|
3351
|
-
if (!("buys24h" in value) || value["buys24h"] === void 0) return false;
|
|
3352
|
-
if (!("sells24h" in value) || value["sells24h"] === void 0) return false;
|
|
3353
|
-
if (!("buyVolumes24h" in value) || value["buyVolumes24h"] === void 0) return false;
|
|
3354
|
-
if (!("sellsVolumes24h" in value) || value["sellsVolumes24h"] === void 0) return false;
|
|
3355
|
-
if (!("volumes24h" in value) || value["volumes24h"] === void 0) return false;
|
|
3356
|
-
if (!("buyVolumesInUsd24h" in value) || value["buyVolumesInUsd24h"] === void 0) return false;
|
|
3357
|
-
if (!("sellVolumesInUsd24h" in value) || value["sellVolumesInUsd24h"] === void 0) return false;
|
|
3358
|
-
if (!("volumesInUsd24h" in value) || value["volumesInUsd24h"] === void 0) return false;
|
|
3359
|
-
if (!("openPriceInUsd24h" in value) || value["openPriceInUsd24h"] === void 0) return false;
|
|
3360
|
-
if (!("closePriceInUsd24h" in value) || value["closePriceInUsd24h"] === void 0) return false;
|
|
3361
|
-
if (!("priceChangeRatioInUsd24h" in value) || value["priceChangeRatioInUsd24h"] === void 0) return false;
|
|
3362
|
-
if (!("trades24h" in value) || value["trades24h"] === void 0) return false;
|
|
3376
|
+
// src/openapi/models/RedPacketSendTxInput.ts
|
|
3377
|
+
function instanceOfRedPacketSendTxInput(value) {
|
|
3378
|
+
if (!("signedTx" in value) || value["signedTx"] === void 0) return false;
|
|
3363
3379
|
return true;
|
|
3364
3380
|
}
|
|
3365
|
-
function
|
|
3366
|
-
return
|
|
3381
|
+
function RedPacketSendTxInputFromJSON(json) {
|
|
3382
|
+
return RedPacketSendTxInputFromJSONTyped(json, false);
|
|
3367
3383
|
}
|
|
3368
|
-
function
|
|
3384
|
+
function RedPacketSendTxInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
3369
3385
|
if (json == null) {
|
|
3370
3386
|
return json;
|
|
3371
3387
|
}
|
|
3372
3388
|
return {
|
|
3373
|
-
"
|
|
3374
|
-
"price1m": json["price1m"],
|
|
3375
|
-
"buys1m": json["buys1m"],
|
|
3376
|
-
"sells1m": json["sells1m"],
|
|
3377
|
-
"buyVolumes1m": json["buyVolumes1m"],
|
|
3378
|
-
"sellsVolumes1m": json["sellsVolumes1m"],
|
|
3379
|
-
"volumes1m": json["volumes1m"],
|
|
3380
|
-
"buyVolumesInUsd1m": json["buyVolumesInUsd1m"],
|
|
3381
|
-
"sellVolumesInUsd1m": json["sellVolumesInUsd1m"],
|
|
3382
|
-
"volumesInUsd1m": json["volumesInUsd1m"],
|
|
3383
|
-
"buyers1m": json["buyers1m"] == null ? void 0 : json["buyers1m"],
|
|
3384
|
-
"sellers1m": json["sellers1m"] == null ? void 0 : json["sellers1m"],
|
|
3385
|
-
"openPriceInUsd1m": json["openPriceInUsd1m"],
|
|
3386
|
-
"closePriceInUsd1m": json["closePriceInUsd1m"],
|
|
3387
|
-
"priceChangeRatioInUsd1m": json["priceChangeRatioInUsd1m"],
|
|
3388
|
-
"trades1m": json["trades1m"],
|
|
3389
|
-
"traders1m": json["traders1m"] == null ? void 0 : json["traders1m"],
|
|
3390
|
-
"highInUsd1m": json["highInUsd1m"] == null ? void 0 : json["highInUsd1m"],
|
|
3391
|
-
"lowInUsd1m": json["lowInUsd1m"] == null ? void 0 : json["lowInUsd1m"],
|
|
3392
|
-
"price5m": json["price5m"],
|
|
3393
|
-
"buys5m": json["buys5m"],
|
|
3394
|
-
"sells5m": json["sells5m"],
|
|
3395
|
-
"buyVolumes5m": json["buyVolumes5m"],
|
|
3396
|
-
"sellsVolumes5m": json["sellsVolumes5m"],
|
|
3397
|
-
"volumes5m": json["volumes5m"],
|
|
3398
|
-
"buyVolumesInUsd5m": json["buyVolumesInUsd5m"],
|
|
3399
|
-
"sellVolumesInUsd5m": json["sellVolumesInUsd5m"],
|
|
3400
|
-
"volumesInUsd5m": json["volumesInUsd5m"],
|
|
3401
|
-
"buyers5m": json["buyers5m"] == null ? void 0 : json["buyers5m"],
|
|
3402
|
-
"sellers5m": json["sellers5m"] == null ? void 0 : json["sellers5m"],
|
|
3403
|
-
"openPriceInUsd5m": json["openPriceInUsd5m"],
|
|
3404
|
-
"closePriceInUsd5m": json["closePriceInUsd5m"],
|
|
3405
|
-
"priceChangeRatioInUsd5m": json["priceChangeRatioInUsd5m"],
|
|
3406
|
-
"trades5m": json["trades5m"],
|
|
3407
|
-
"traders5m": json["traders5m"] == null ? void 0 : json["traders5m"],
|
|
3408
|
-
"highInUsd5m": json["highInUsd5m"] == null ? void 0 : json["highInUsd5m"],
|
|
3409
|
-
"lowInUsd5m": json["lowInUsd5m"] == null ? void 0 : json["lowInUsd5m"],
|
|
3410
|
-
"price15m": json["price15m"] == null ? void 0 : json["price15m"],
|
|
3411
|
-
"buys15m": json["buys15m"] == null ? void 0 : json["buys15m"],
|
|
3412
|
-
"sells15m": json["sells15m"] == null ? void 0 : json["sells15m"],
|
|
3413
|
-
"buyVolumes15m": json["buyVolumes15m"] == null ? void 0 : json["buyVolumes15m"],
|
|
3414
|
-
"sellsVolumes15m": json["sellsVolumes15m"] == null ? void 0 : json["sellsVolumes15m"],
|
|
3415
|
-
"volumes15m": json["volumes15m"] == null ? void 0 : json["volumes15m"],
|
|
3416
|
-
"buyVolumesInUsd15m": json["buyVolumesInUsd15m"] == null ? void 0 : json["buyVolumesInUsd15m"],
|
|
3417
|
-
"sellVolumesInUsd15m": json["sellVolumesInUsd15m"] == null ? void 0 : json["sellVolumesInUsd15m"],
|
|
3418
|
-
"volumesInUsd15m": json["volumesInUsd15m"] == null ? void 0 : json["volumesInUsd15m"],
|
|
3419
|
-
"buyers15m": json["buyers15m"] == null ? void 0 : json["buyers15m"],
|
|
3420
|
-
"sellers15m": json["sellers15m"] == null ? void 0 : json["sellers15m"],
|
|
3421
|
-
"openPriceInUsd15m": json["openPriceInUsd15m"] == null ? void 0 : json["openPriceInUsd15m"],
|
|
3422
|
-
"closePriceInUsd15m": json["closePriceInUsd15m"] == null ? void 0 : json["closePriceInUsd15m"],
|
|
3423
|
-
"priceChangeRatioInUsd15m": json["priceChangeRatioInUsd15m"] == null ? void 0 : json["priceChangeRatioInUsd15m"],
|
|
3424
|
-
"trades15m": json["trades15m"] == null ? void 0 : json["trades15m"],
|
|
3425
|
-
"traders15m": json["traders15m"] == null ? void 0 : json["traders15m"],
|
|
3426
|
-
"highInUsd15m": json["highInUsd15m"] == null ? void 0 : json["highInUsd15m"],
|
|
3427
|
-
"lowInUsd15m": json["lowInUsd15m"] == null ? void 0 : json["lowInUsd15m"],
|
|
3428
|
-
"price30m": json["price30m"],
|
|
3429
|
-
"buys30m": json["buys30m"],
|
|
3430
|
-
"sells30m": json["sells30m"],
|
|
3431
|
-
"buyVolumes30m": json["buyVolumes30m"],
|
|
3432
|
-
"sellsVolumes30m": json["sellsVolumes30m"],
|
|
3433
|
-
"volumes30m": json["volumes30m"],
|
|
3434
|
-
"buyVolumesInUsd30m": json["buyVolumesInUsd30m"],
|
|
3435
|
-
"sellVolumesInUsd30m": json["sellVolumesInUsd30m"],
|
|
3436
|
-
"volumesInUsd30m": json["volumesInUsd30m"],
|
|
3437
|
-
"buyers30m": json["buyers30m"] == null ? void 0 : json["buyers30m"],
|
|
3438
|
-
"sellers30m": json["sellers30m"] == null ? void 0 : json["sellers30m"],
|
|
3439
|
-
"openPriceInUsd30m": json["openPriceInUsd30m"],
|
|
3440
|
-
"closePriceInUsd30m": json["closePriceInUsd30m"],
|
|
3441
|
-
"priceChangeRatioInUsd30m": json["priceChangeRatioInUsd30m"],
|
|
3442
|
-
"trades30m": json["trades30m"],
|
|
3443
|
-
"traders30m": json["traders30m"] == null ? void 0 : json["traders30m"],
|
|
3444
|
-
"highInUsd30m": json["highInUsd30m"] == null ? void 0 : json["highInUsd30m"],
|
|
3445
|
-
"lowInUsd30m": json["lowInUsd30m"] == null ? void 0 : json["lowInUsd30m"],
|
|
3446
|
-
"price1h": json["price1h"],
|
|
3447
|
-
"buys1h": json["buys1h"],
|
|
3448
|
-
"sells1h": json["sells1h"],
|
|
3449
|
-
"buyVolumes1h": json["buyVolumes1h"],
|
|
3450
|
-
"sellsVolumes1h": json["sellsVolumes1h"],
|
|
3451
|
-
"volumes1h": json["volumes1h"],
|
|
3452
|
-
"buyVolumesInUsd1h": json["buyVolumesInUsd1h"],
|
|
3453
|
-
"sellVolumesInUsd1h": json["sellVolumesInUsd1h"],
|
|
3454
|
-
"volumesInUsd1h": json["volumesInUsd1h"],
|
|
3455
|
-
"buyers1h": json["buyers1h"] == null ? void 0 : json["buyers1h"],
|
|
3456
|
-
"sellers1h": json["sellers1h"] == null ? void 0 : json["sellers1h"],
|
|
3457
|
-
"openPriceInUsd1h": json["openPriceInUsd1h"],
|
|
3458
|
-
"closePriceInUsd1h": json["closePriceInUsd1h"],
|
|
3459
|
-
"priceChangeRatioInUsd1h": json["priceChangeRatioInUsd1h"],
|
|
3460
|
-
"trades1h": json["trades1h"],
|
|
3461
|
-
"traders1h": json["traders1h"] == null ? void 0 : json["traders1h"],
|
|
3462
|
-
"highInUsd1h": json["highInUsd1h"] == null ? void 0 : json["highInUsd1h"],
|
|
3463
|
-
"lowInUsd1h": json["lowInUsd1h"] == null ? void 0 : json["lowInUsd1h"],
|
|
3464
|
-
"price4h": json["price4h"],
|
|
3465
|
-
"buys4h": json["buys4h"],
|
|
3466
|
-
"sells4h": json["sells4h"],
|
|
3467
|
-
"buyVolumes4h": json["buyVolumes4h"],
|
|
3468
|
-
"sellsVolumes4h": json["sellsVolumes4h"],
|
|
3469
|
-
"volumes4h": json["volumes4h"],
|
|
3470
|
-
"buyVolumesInUsd4h": json["buyVolumesInUsd4h"],
|
|
3471
|
-
"sellVolumesInUsd4h": json["sellVolumesInUsd4h"],
|
|
3472
|
-
"volumesInUsd4h": json["volumesInUsd4h"],
|
|
3473
|
-
"buyers4h": json["buyers4h"] == null ? void 0 : json["buyers4h"],
|
|
3474
|
-
"sellers4h": json["sellers4h"] == null ? void 0 : json["sellers4h"],
|
|
3475
|
-
"openPriceInUsd4h": json["openPriceInUsd4h"],
|
|
3476
|
-
"closePriceInUsd4h": json["closePriceInUsd4h"],
|
|
3477
|
-
"priceChangeRatioInUsd4h": json["priceChangeRatioInUsd4h"],
|
|
3478
|
-
"trades4h": json["trades4h"],
|
|
3479
|
-
"traders4h": json["traders4h"] == null ? void 0 : json["traders4h"],
|
|
3480
|
-
"highInUsd4h": json["highInUsd4h"] == null ? void 0 : json["highInUsd4h"],
|
|
3481
|
-
"lowInUsd4h": json["lowInUsd4h"] == null ? void 0 : json["lowInUsd4h"],
|
|
3482
|
-
"price24h": json["price24h"],
|
|
3483
|
-
"buys24h": json["buys24h"],
|
|
3484
|
-
"sells24h": json["sells24h"],
|
|
3485
|
-
"buyVolumes24h": json["buyVolumes24h"],
|
|
3486
|
-
"sellsVolumes24h": json["sellsVolumes24h"],
|
|
3487
|
-
"volumes24h": json["volumes24h"],
|
|
3488
|
-
"buyVolumesInUsd24h": json["buyVolumesInUsd24h"],
|
|
3489
|
-
"sellVolumesInUsd24h": json["sellVolumesInUsd24h"],
|
|
3490
|
-
"volumesInUsd24h": json["volumesInUsd24h"],
|
|
3491
|
-
"buyers24h": json["buyers24h"] == null ? void 0 : json["buyers24h"],
|
|
3492
|
-
"sellers24h": json["sellers24h"] == null ? void 0 : json["sellers24h"],
|
|
3493
|
-
"openPriceInUsd24h": json["openPriceInUsd24h"],
|
|
3494
|
-
"closePriceInUsd24h": json["closePriceInUsd24h"],
|
|
3495
|
-
"priceChangeRatioInUsd24h": json["priceChangeRatioInUsd24h"],
|
|
3496
|
-
"trades24h": json["trades24h"],
|
|
3497
|
-
"traders24h": json["traders24h"] == null ? void 0 : json["traders24h"],
|
|
3498
|
-
"highInUsd24h": json["highInUsd24h"] == null ? void 0 : json["highInUsd24h"],
|
|
3499
|
-
"lowInUsd24h": json["lowInUsd24h"] == null ? void 0 : json["lowInUsd24h"]
|
|
3389
|
+
"signedTx": json["signedTx"]
|
|
3500
3390
|
};
|
|
3501
3391
|
}
|
|
3502
|
-
function
|
|
3503
|
-
return
|
|
3392
|
+
function RedPacketSendTxInputToJSON(json) {
|
|
3393
|
+
return RedPacketSendTxInputToJSONTyped(json, false);
|
|
3504
3394
|
}
|
|
3505
|
-
function
|
|
3395
|
+
function RedPacketSendTxInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3506
3396
|
if (value == null) {
|
|
3507
3397
|
return value;
|
|
3508
3398
|
}
|
|
3509
3399
|
return {
|
|
3510
|
-
"
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
"
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
"
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
"
|
|
3560
|
-
"
|
|
3561
|
-
"
|
|
3562
|
-
"
|
|
3563
|
-
"
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
"
|
|
3575
|
-
"
|
|
3576
|
-
"
|
|
3577
|
-
"
|
|
3578
|
-
"
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
"
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
"
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
"
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
"
|
|
3635
|
-
|
|
3636
|
-
|
|
3400
|
+
"signedTx": value["signedTx"]
|
|
3401
|
+
};
|
|
3402
|
+
}
|
|
3403
|
+
|
|
3404
|
+
// src/openapi/models/RedPacketSendTxResponse.ts
|
|
3405
|
+
function instanceOfRedPacketSendTxResponse(value) {
|
|
3406
|
+
if (!("signature" in value) || value["signature"] === void 0) return false;
|
|
3407
|
+
return true;
|
|
3408
|
+
}
|
|
3409
|
+
function RedPacketSendTxResponseFromJSON(json) {
|
|
3410
|
+
return RedPacketSendTxResponseFromJSONTyped(json, false);
|
|
3411
|
+
}
|
|
3412
|
+
function RedPacketSendTxResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3413
|
+
if (json == null) {
|
|
3414
|
+
return json;
|
|
3415
|
+
}
|
|
3416
|
+
return {
|
|
3417
|
+
"signature": json["signature"]
|
|
3418
|
+
};
|
|
3419
|
+
}
|
|
3420
|
+
function RedPacketSendTxResponseToJSON(json) {
|
|
3421
|
+
return RedPacketSendTxResponseToJSONTyped(json, false);
|
|
3422
|
+
}
|
|
3423
|
+
function RedPacketSendTxResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3424
|
+
if (value == null) {
|
|
3425
|
+
return value;
|
|
3426
|
+
}
|
|
3427
|
+
return {
|
|
3428
|
+
"signature": value["signature"]
|
|
3429
|
+
};
|
|
3430
|
+
}
|
|
3431
|
+
|
|
3432
|
+
// src/openapi/models/RedPacketsPage.ts
|
|
3433
|
+
function instanceOfRedPacketsPage(value) {
|
|
3434
|
+
if (!("total" in value) || value["total"] === void 0) return false;
|
|
3435
|
+
if (!("hasNextPage" in value) || value["hasNextPage"] === void 0) return false;
|
|
3436
|
+
if (!("startCursor" in value) || value["startCursor"] === void 0) return false;
|
|
3437
|
+
if (!("endCursor" in value) || value["endCursor"] === void 0) return false;
|
|
3438
|
+
if (!("records" in value) || value["records"] === void 0) return false;
|
|
3439
|
+
return true;
|
|
3440
|
+
}
|
|
3441
|
+
function RedPacketsPageFromJSON(json) {
|
|
3442
|
+
return RedPacketsPageFromJSONTyped(json, false);
|
|
3443
|
+
}
|
|
3444
|
+
function RedPacketsPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
3445
|
+
if (json == null) {
|
|
3446
|
+
return json;
|
|
3447
|
+
}
|
|
3448
|
+
return {
|
|
3449
|
+
"total": json["total"],
|
|
3450
|
+
"hasNextPage": json["hasNextPage"],
|
|
3451
|
+
"startCursor": json["startCursor"],
|
|
3452
|
+
"endCursor": json["endCursor"],
|
|
3453
|
+
"records": json["records"].map(RedPacketDTOFromJSON)
|
|
3454
|
+
};
|
|
3455
|
+
}
|
|
3456
|
+
function RedPacketsPageToJSON(json) {
|
|
3457
|
+
return RedPacketsPageToJSONTyped(json, false);
|
|
3458
|
+
}
|
|
3459
|
+
function RedPacketsPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3460
|
+
if (value == null) {
|
|
3461
|
+
return value;
|
|
3462
|
+
}
|
|
3463
|
+
return {
|
|
3464
|
+
"total": value["total"],
|
|
3465
|
+
"hasNextPage": value["hasNextPage"],
|
|
3466
|
+
"startCursor": value["startCursor"],
|
|
3467
|
+
"endCursor": value["endCursor"],
|
|
3468
|
+
"records": value["records"].map(RedPacketDTOToJSON)
|
|
3469
|
+
};
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
// src/openapi/models/RegisterAddressRequest.ts
|
|
3473
|
+
function instanceOfRegisterAddressRequest(value) {
|
|
3474
|
+
if (!("address" in value) || value["address"] === void 0) return false;
|
|
3475
|
+
return true;
|
|
3476
|
+
}
|
|
3477
|
+
function RegisterAddressRequestFromJSON(json) {
|
|
3478
|
+
return RegisterAddressRequestFromJSONTyped(json, false);
|
|
3479
|
+
}
|
|
3480
|
+
function RegisterAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
3481
|
+
if (json == null) {
|
|
3482
|
+
return json;
|
|
3483
|
+
}
|
|
3484
|
+
return {
|
|
3485
|
+
"address": json["address"]
|
|
3486
|
+
};
|
|
3487
|
+
}
|
|
3488
|
+
function RegisterAddressRequestToJSON(json) {
|
|
3489
|
+
return RegisterAddressRequestToJSONTyped(json, false);
|
|
3490
|
+
}
|
|
3491
|
+
function RegisterAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3492
|
+
if (value == null) {
|
|
3493
|
+
return value;
|
|
3494
|
+
}
|
|
3495
|
+
return {
|
|
3496
|
+
"address": value["address"]
|
|
3497
|
+
};
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
// src/openapi/models/RegisterAddressResponseDTO.ts
|
|
3501
|
+
function instanceOfRegisterAddressResponseDTO(value) {
|
|
3502
|
+
if (!("address" in value) || value["address"] === void 0) return false;
|
|
3503
|
+
return true;
|
|
3504
|
+
}
|
|
3505
|
+
function RegisterAddressResponseDTOFromJSON(json) {
|
|
3506
|
+
return RegisterAddressResponseDTOFromJSONTyped(json, false);
|
|
3507
|
+
}
|
|
3508
|
+
function RegisterAddressResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
3509
|
+
if (json == null) {
|
|
3510
|
+
return json;
|
|
3511
|
+
}
|
|
3512
|
+
return {
|
|
3513
|
+
"address": json["address"]
|
|
3514
|
+
};
|
|
3515
|
+
}
|
|
3516
|
+
function RegisterAddressResponseDTOToJSON(json) {
|
|
3517
|
+
return RegisterAddressResponseDTOToJSONTyped(json, false);
|
|
3518
|
+
}
|
|
3519
|
+
function RegisterAddressResponseDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3520
|
+
if (value == null) {
|
|
3521
|
+
return value;
|
|
3522
|
+
}
|
|
3523
|
+
return {
|
|
3524
|
+
"address": value["address"]
|
|
3525
|
+
};
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
// src/openapi/models/SendTxInput.ts
|
|
3529
|
+
var SendTxInputSubmitTypeEnum = {
|
|
3530
|
+
Default: "default",
|
|
3531
|
+
Priority: "priority"
|
|
3532
|
+
};
|
|
3533
|
+
function instanceOfSendTxInput(value) {
|
|
3534
|
+
if (!("signedTx" in value) || value["signedTx"] === void 0) return false;
|
|
3535
|
+
return true;
|
|
3536
|
+
}
|
|
3537
|
+
function SendTxInputFromJSON(json) {
|
|
3538
|
+
return SendTxInputFromJSONTyped(json, false);
|
|
3539
|
+
}
|
|
3540
|
+
function SendTxInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
3541
|
+
if (json == null) {
|
|
3542
|
+
return json;
|
|
3543
|
+
}
|
|
3544
|
+
return {
|
|
3545
|
+
"signedTx": json["signedTx"],
|
|
3546
|
+
"submitType": json["submitType"] == null ? void 0 : json["submitType"],
|
|
3547
|
+
"options": json["options"] == null ? void 0 : json["options"]
|
|
3548
|
+
};
|
|
3549
|
+
}
|
|
3550
|
+
function SendTxInputToJSON(json) {
|
|
3551
|
+
return SendTxInputToJSONTyped(json, false);
|
|
3552
|
+
}
|
|
3553
|
+
function SendTxInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3554
|
+
if (value == null) {
|
|
3555
|
+
return value;
|
|
3556
|
+
}
|
|
3557
|
+
return {
|
|
3558
|
+
"signedTx": value["signedTx"],
|
|
3559
|
+
"submitType": value["submitType"],
|
|
3560
|
+
"options": value["options"]
|
|
3561
|
+
};
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
// src/openapi/models/SendTxResponse.ts
|
|
3565
|
+
function instanceOfSendTxResponse(value) {
|
|
3566
|
+
if (!("signature" in value) || value["signature"] === void 0) return false;
|
|
3567
|
+
if (!("elapsedTime" in value) || value["elapsedTime"] === void 0) return false;
|
|
3568
|
+
if (!("jobId" in value) || value["jobId"] === void 0) return false;
|
|
3569
|
+
return true;
|
|
3570
|
+
}
|
|
3571
|
+
function SendTxResponseFromJSON(json) {
|
|
3572
|
+
return SendTxResponseFromJSONTyped(json, false);
|
|
3573
|
+
}
|
|
3574
|
+
function SendTxResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3575
|
+
if (json == null) {
|
|
3576
|
+
return json;
|
|
3577
|
+
}
|
|
3578
|
+
return {
|
|
3579
|
+
"signature": json["signature"],
|
|
3580
|
+
"elapsedTime": json["elapsedTime"],
|
|
3581
|
+
"jobId": json["jobId"]
|
|
3582
|
+
};
|
|
3583
|
+
}
|
|
3584
|
+
function SendTxResponseToJSON(json) {
|
|
3585
|
+
return SendTxResponseToJSONTyped(json, false);
|
|
3586
|
+
}
|
|
3587
|
+
function SendTxResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3588
|
+
if (value == null) {
|
|
3589
|
+
return value;
|
|
3590
|
+
}
|
|
3591
|
+
return {
|
|
3592
|
+
"signature": value["signature"],
|
|
3593
|
+
"elapsedTime": value["elapsedTime"],
|
|
3594
|
+
"jobId": value["jobId"]
|
|
3595
|
+
};
|
|
3596
|
+
}
|
|
3597
|
+
|
|
3598
|
+
// src/openapi/models/SwapInput.ts
|
|
3599
|
+
var SwapInputDexEnum = {
|
|
3600
|
+
Raydium: "raydium",
|
|
3601
|
+
Pumpfun: "pumpfun",
|
|
3602
|
+
Moonshot: "moonshot",
|
|
3603
|
+
Candy: "candy",
|
|
3604
|
+
Launchpad: "launchpad"
|
|
3605
|
+
};
|
|
3606
|
+
var SwapInputSwapModeEnum = {
|
|
3607
|
+
ExactIn: "ExactIn",
|
|
3608
|
+
ExactOut: "ExactOut"
|
|
3609
|
+
};
|
|
3610
|
+
function instanceOfSwapInput(value) {
|
|
3611
|
+
if (!("dex" in value) || value["dex"] === void 0) return false;
|
|
3612
|
+
if (!("userAddress" in value) || value["userAddress"] === void 0) return false;
|
|
3613
|
+
if (!("amount" in value) || value["amount"] === void 0) return false;
|
|
3614
|
+
if (!("swapMode" in value) || value["swapMode"] === void 0) return false;
|
|
3615
|
+
if (!("slippage" in value) || value["slippage"] === void 0) return false;
|
|
3616
|
+
return true;
|
|
3617
|
+
}
|
|
3618
|
+
function SwapInputFromJSON(json) {
|
|
3619
|
+
return SwapInputFromJSONTyped(json, false);
|
|
3620
|
+
}
|
|
3621
|
+
function SwapInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
3622
|
+
if (json == null) {
|
|
3623
|
+
return json;
|
|
3624
|
+
}
|
|
3625
|
+
return {
|
|
3626
|
+
"dex": json["dex"],
|
|
3627
|
+
"userAddress": json["userAddress"],
|
|
3628
|
+
"priorityFee": json["priorityFee"] == null ? void 0 : json["priorityFee"],
|
|
3629
|
+
"poolAddress": json["poolAddress"] == null ? void 0 : json["poolAddress"],
|
|
3630
|
+
"amount": json["amount"],
|
|
3631
|
+
"swapMode": json["swapMode"],
|
|
3632
|
+
"slippage": json["slippage"],
|
|
3633
|
+
"inputMint": json["inputMint"] == null ? void 0 : json["inputMint"],
|
|
3634
|
+
"outputMint": json["outputMint"] == null ? void 0 : json["outputMint"]
|
|
3635
|
+
};
|
|
3636
|
+
}
|
|
3637
|
+
function SwapInputToJSON(json) {
|
|
3638
|
+
return SwapInputToJSONTyped(json, false);
|
|
3639
|
+
}
|
|
3640
|
+
function SwapInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3641
|
+
if (value == null) {
|
|
3642
|
+
return value;
|
|
3643
|
+
}
|
|
3644
|
+
return {
|
|
3645
|
+
"dex": value["dex"],
|
|
3646
|
+
"userAddress": value["userAddress"],
|
|
3647
|
+
"priorityFee": value["priorityFee"],
|
|
3648
|
+
"poolAddress": value["poolAddress"],
|
|
3649
|
+
"amount": value["amount"],
|
|
3650
|
+
"swapMode": value["swapMode"],
|
|
3651
|
+
"slippage": value["slippage"],
|
|
3652
|
+
"inputMint": value["inputMint"],
|
|
3653
|
+
"outputMint": value["outputMint"]
|
|
3637
3654
|
};
|
|
3638
3655
|
}
|
|
3639
3656
|
|
|
3640
|
-
// src/openapi/models/
|
|
3641
|
-
function
|
|
3657
|
+
// src/openapi/models/SwapReply.ts
|
|
3658
|
+
function instanceOfSwapReply(value) {
|
|
3659
|
+
if (!("serializedTx" in value) || value["serializedTx"] === void 0) return false;
|
|
3660
|
+
if (!("elapsedTime" in value) || value["elapsedTime"] === void 0) return false;
|
|
3642
3661
|
return true;
|
|
3643
3662
|
}
|
|
3644
|
-
function
|
|
3645
|
-
return
|
|
3663
|
+
function SwapReplyFromJSON(json) {
|
|
3664
|
+
return SwapReplyFromJSONTyped(json, false);
|
|
3646
3665
|
}
|
|
3647
|
-
function
|
|
3666
|
+
function SwapReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
3648
3667
|
if (json == null) {
|
|
3649
3668
|
return json;
|
|
3650
3669
|
}
|
|
3651
3670
|
return {
|
|
3652
|
-
"
|
|
3653
|
-
"
|
|
3654
|
-
"website": json["website"] == null ? void 0 : json["website"],
|
|
3655
|
-
"tiktok": json["tiktok"] == null ? void 0 : json["tiktok"],
|
|
3656
|
-
"discord": json["discord"] == null ? void 0 : json["discord"],
|
|
3657
|
-
"facebook": json["facebook"] == null ? void 0 : json["facebook"],
|
|
3658
|
-
"github": json["github"] == null ? void 0 : json["github"],
|
|
3659
|
-
"instagram": json["instagram"] == null ? void 0 : json["instagram"],
|
|
3660
|
-
"linkedin": json["linkedin"] == null ? void 0 : json["linkedin"],
|
|
3661
|
-
"medium": json["medium"] == null ? void 0 : json["medium"],
|
|
3662
|
-
"reddit": json["reddit"] == null ? void 0 : json["reddit"],
|
|
3663
|
-
"youtube": json["youtube"] == null ? void 0 : json["youtube"],
|
|
3664
|
-
"bitbucket": json["bitbucket"] == null ? void 0 : json["bitbucket"]
|
|
3671
|
+
"serializedTx": json["serializedTx"],
|
|
3672
|
+
"elapsedTime": json["elapsedTime"]
|
|
3665
3673
|
};
|
|
3666
3674
|
}
|
|
3667
|
-
function
|
|
3668
|
-
return
|
|
3675
|
+
function SwapReplyToJSON(json) {
|
|
3676
|
+
return SwapReplyToJSONTyped(json, false);
|
|
3669
3677
|
}
|
|
3670
|
-
function
|
|
3678
|
+
function SwapReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3671
3679
|
if (value == null) {
|
|
3672
3680
|
return value;
|
|
3673
3681
|
}
|
|
3674
3682
|
return {
|
|
3675
|
-
"
|
|
3676
|
-
"
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3683
|
+
"serializedTx": value["serializedTx"],
|
|
3684
|
+
"elapsedTime": value["elapsedTime"]
|
|
3685
|
+
};
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
// src/openapi/models/SwapRouteInput.ts
|
|
3689
|
+
var SwapRouteInputDexEnum = {
|
|
3690
|
+
Jupiter: "jupiter",
|
|
3691
|
+
Kyberswap: "kyberswap"
|
|
3692
|
+
};
|
|
3693
|
+
var SwapRouteInputSwapModeEnum = {
|
|
3694
|
+
ExactIn: "ExactIn",
|
|
3695
|
+
ExactOut: "ExactOut"
|
|
3696
|
+
};
|
|
3697
|
+
function instanceOfSwapRouteInput(value) {
|
|
3698
|
+
if (!("dex" in value) || value["dex"] === void 0) return false;
|
|
3699
|
+
if (!("userAddress" in value) || value["userAddress"] === void 0) return false;
|
|
3700
|
+
if (!("amount" in value) || value["amount"] === void 0) return false;
|
|
3701
|
+
if (!("swapMode" in value) || value["swapMode"] === void 0) return false;
|
|
3702
|
+
if (!("slippage" in value) || value["slippage"] === void 0) return false;
|
|
3703
|
+
return true;
|
|
3704
|
+
}
|
|
3705
|
+
function SwapRouteInputFromJSON(json) {
|
|
3706
|
+
return SwapRouteInputFromJSONTyped(json, false);
|
|
3707
|
+
}
|
|
3708
|
+
function SwapRouteInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
3709
|
+
if (json == null) {
|
|
3710
|
+
return json;
|
|
3711
|
+
}
|
|
3712
|
+
return {
|
|
3713
|
+
"dex": json["dex"],
|
|
3714
|
+
"userAddress": json["userAddress"],
|
|
3715
|
+
"priorityFee": json["priorityFee"] == null ? void 0 : json["priorityFee"],
|
|
3716
|
+
"amount": json["amount"],
|
|
3717
|
+
"swapMode": json["swapMode"],
|
|
3718
|
+
"slippage": json["slippage"],
|
|
3719
|
+
"inputMint": json["inputMint"] == null ? void 0 : json["inputMint"],
|
|
3720
|
+
"outputMint": json["outputMint"] == null ? void 0 : json["outputMint"],
|
|
3721
|
+
"recipientAddress": json["recipientAddress"] == null ? void 0 : json["recipientAddress"],
|
|
3722
|
+
"permit": json["permit"] == null ? void 0 : json["permit"],
|
|
3723
|
+
"deadline": json["deadline"] == null ? void 0 : json["deadline"],
|
|
3724
|
+
"tipFee": json["tipFee"] == null ? void 0 : json["tipFee"],
|
|
3725
|
+
"isAntiMev": json["isAntiMev"] == null ? void 0 : json["isAntiMev"]
|
|
3726
|
+
};
|
|
3727
|
+
}
|
|
3728
|
+
function SwapRouteInputToJSON(json) {
|
|
3729
|
+
return SwapRouteInputToJSONTyped(json, false);
|
|
3730
|
+
}
|
|
3731
|
+
function SwapRouteInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3732
|
+
if (value == null) {
|
|
3733
|
+
return value;
|
|
3734
|
+
}
|
|
3735
|
+
return {
|
|
3736
|
+
"dex": value["dex"],
|
|
3737
|
+
"userAddress": value["userAddress"],
|
|
3738
|
+
"priorityFee": value["priorityFee"],
|
|
3739
|
+
"amount": value["amount"],
|
|
3740
|
+
"swapMode": value["swapMode"],
|
|
3741
|
+
"slippage": value["slippage"],
|
|
3742
|
+
"inputMint": value["inputMint"],
|
|
3743
|
+
"outputMint": value["outputMint"],
|
|
3744
|
+
"recipientAddress": value["recipientAddress"],
|
|
3745
|
+
"permit": value["permit"],
|
|
3746
|
+
"deadline": value["deadline"],
|
|
3747
|
+
"tipFee": value["tipFee"],
|
|
3748
|
+
"isAntiMev": value["isAntiMev"]
|
|
3749
|
+
};
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
// src/openapi/models/SwapRouteResponse.ts
|
|
3753
|
+
function instanceOfSwapRouteResponse(value) {
|
|
3754
|
+
if (!("args" in value) || value["args"] === void 0) return false;
|
|
3755
|
+
if (!("serializedTx" in value) || value["serializedTx"] === void 0) return false;
|
|
3756
|
+
if (!("routeInfo" in value) || value["routeInfo"] === void 0) return false;
|
|
3757
|
+
if (!("elapsedTime" in value) || value["elapsedTime"] === void 0) return false;
|
|
3758
|
+
return true;
|
|
3759
|
+
}
|
|
3760
|
+
function SwapRouteResponseFromJSON(json) {
|
|
3761
|
+
return SwapRouteResponseFromJSONTyped(json, false);
|
|
3762
|
+
}
|
|
3763
|
+
function SwapRouteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3764
|
+
if (json == null) {
|
|
3765
|
+
return json;
|
|
3766
|
+
}
|
|
3767
|
+
return {
|
|
3768
|
+
"args": SwapRouteInputFromJSON(json["args"]),
|
|
3769
|
+
"serializedTx": json["serializedTx"],
|
|
3770
|
+
"routeInfo": json["routeInfo"],
|
|
3771
|
+
"elapsedTime": json["elapsedTime"]
|
|
3772
|
+
};
|
|
3773
|
+
}
|
|
3774
|
+
function SwapRouteResponseToJSON(json) {
|
|
3775
|
+
return SwapRouteResponseToJSONTyped(json, false);
|
|
3776
|
+
}
|
|
3777
|
+
function SwapRouteResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3778
|
+
if (value == null) {
|
|
3779
|
+
return value;
|
|
3780
|
+
}
|
|
3781
|
+
return {
|
|
3782
|
+
"args": SwapRouteInputToJSON(value["args"]),
|
|
3783
|
+
"serializedTx": value["serializedTx"],
|
|
3784
|
+
"routeInfo": value["routeInfo"],
|
|
3785
|
+
"elapsedTime": value["elapsedTime"]
|
|
3688
3786
|
};
|
|
3689
3787
|
}
|
|
3690
3788
|
|
|
@@ -3956,62 +4054,6 @@ function TokenListPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3956
4054
|
};
|
|
3957
4055
|
}
|
|
3958
4056
|
|
|
3959
|
-
// src/openapi/models/TokenMetadata.ts
|
|
3960
|
-
function instanceOfTokenMetadata(value) {
|
|
3961
|
-
if (!("chain" in value) || value["chain"] === void 0) return false;
|
|
3962
|
-
if (!("decimals" in value) || value["decimals"] === void 0) return false;
|
|
3963
|
-
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3964
|
-
if (!("symbol" in value) || value["symbol"] === void 0) return false;
|
|
3965
|
-
if (!("address" in value) || value["address"] === void 0) return false;
|
|
3966
|
-
return true;
|
|
3967
|
-
}
|
|
3968
|
-
function TokenMetadataFromJSON(json) {
|
|
3969
|
-
return TokenMetadataFromJSONTyped(json, false);
|
|
3970
|
-
}
|
|
3971
|
-
function TokenMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
3972
|
-
if (json == null) {
|
|
3973
|
-
return json;
|
|
3974
|
-
}
|
|
3975
|
-
return {
|
|
3976
|
-
"chain": json["chain"],
|
|
3977
|
-
"decimals": json["decimals"],
|
|
3978
|
-
"name": json["name"],
|
|
3979
|
-
"symbol": json["symbol"],
|
|
3980
|
-
"metadataAddress": json["metadataAddress"] == null ? void 0 : json["metadataAddress"],
|
|
3981
|
-
"address": json["address"],
|
|
3982
|
-
"tokenCreators": json["tokenCreators"] == null ? void 0 : json["tokenCreators"].map(TokenCreatorsDTOFromJSON),
|
|
3983
|
-
"imageUrl": json["imageUrl"] == null ? void 0 : json["imageUrl"],
|
|
3984
|
-
"uri": json["uri"] == null ? void 0 : json["uri"],
|
|
3985
|
-
"extra": json["extra"] == null ? void 0 : TokenExtraDTOFromJSON(json["extra"]),
|
|
3986
|
-
"socialMedias": json["socialMedias"] == null ? void 0 : TokenSocialMediasDTOFromJSON(json["socialMedias"]),
|
|
3987
|
-
"tokenCreatedAt": json["tokenCreatedAt"] == null ? void 0 : json["tokenCreatedAt"],
|
|
3988
|
-
"description": json["description"] == null ? void 0 : json["description"]
|
|
3989
|
-
};
|
|
3990
|
-
}
|
|
3991
|
-
function TokenMetadataToJSON(json) {
|
|
3992
|
-
return TokenMetadataToJSONTyped(json, false);
|
|
3993
|
-
}
|
|
3994
|
-
function TokenMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3995
|
-
if (value == null) {
|
|
3996
|
-
return value;
|
|
3997
|
-
}
|
|
3998
|
-
return {
|
|
3999
|
-
"chain": value["chain"],
|
|
4000
|
-
"decimals": value["decimals"],
|
|
4001
|
-
"name": value["name"],
|
|
4002
|
-
"symbol": value["symbol"],
|
|
4003
|
-
"metadataAddress": value["metadataAddress"],
|
|
4004
|
-
"address": value["address"],
|
|
4005
|
-
"tokenCreators": value["tokenCreators"] == null ? void 0 : value["tokenCreators"].map(TokenCreatorsDTOToJSON),
|
|
4006
|
-
"imageUrl": value["imageUrl"],
|
|
4007
|
-
"uri": value["uri"],
|
|
4008
|
-
"extra": TokenExtraDTOToJSON(value["extra"]),
|
|
4009
|
-
"socialMedias": TokenSocialMediasDTOToJSON(value["socialMedias"]),
|
|
4010
|
-
"tokenCreatedAt": value["tokenCreatedAt"],
|
|
4011
|
-
"description": value["description"]
|
|
4012
|
-
};
|
|
4013
|
-
}
|
|
4014
|
-
|
|
4015
4057
|
// src/openapi/models/TokenPage.ts
|
|
4016
4058
|
function instanceOfTokenPage(value) {
|
|
4017
4059
|
if (!("data" in value) || value["data"] === void 0) return false;
|
|
@@ -7063,7 +7105,7 @@ var GetRedpacketsChainEnum = {
|
|
|
7063
7105
|
Arbitrum: "arbitrum",
|
|
7064
7106
|
Optimism: "optimism",
|
|
7065
7107
|
Avalanche: "avalanche",
|
|
7066
|
-
|
|
7108
|
+
Eth: "eth",
|
|
7067
7109
|
Zksync: "zksync",
|
|
7068
7110
|
Sui: "sui"
|
|
7069
7111
|
};
|
|
@@ -7178,6 +7220,51 @@ var TokenApi = class extends BaseAPI {
|
|
|
7178
7220
|
const response = await this.getCreationRaw(requestParameters, initOverrides);
|
|
7179
7221
|
return await response.value();
|
|
7180
7222
|
}
|
|
7223
|
+
/**
|
|
7224
|
+
* CONTROLLER.TOKEN.GET_DEV_TOKENS.DESCRIPTION
|
|
7225
|
+
* CONTROLLER.TOKEN.GET_DEV_TOKENS.SUMMARY
|
|
7226
|
+
*/
|
|
7227
|
+
async getDevTokensRaw(requestParameters, initOverrides) {
|
|
7228
|
+
if (requestParameters["chain"] == null) {
|
|
7229
|
+
throw new RequiredError(
|
|
7230
|
+
"chain",
|
|
7231
|
+
'Required parameter "chain" was null or undefined when calling getDevTokens().'
|
|
7232
|
+
);
|
|
7233
|
+
}
|
|
7234
|
+
if (requestParameters["devAddress"] == null) {
|
|
7235
|
+
throw new RequiredError(
|
|
7236
|
+
"devAddress",
|
|
7237
|
+
'Required parameter "devAddress" was null or undefined when calling getDevTokens().'
|
|
7238
|
+
);
|
|
7239
|
+
}
|
|
7240
|
+
const queryParameters = {};
|
|
7241
|
+
const headerParameters = {};
|
|
7242
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
7243
|
+
const token = this.configuration.accessToken;
|
|
7244
|
+
const tokenString = await token("bearer", []);
|
|
7245
|
+
if (tokenString) {
|
|
7246
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
7247
|
+
}
|
|
7248
|
+
}
|
|
7249
|
+
let urlPath = `/v1/token/{chain}/dev/{devAddress}/tokens`;
|
|
7250
|
+
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters["chain"])));
|
|
7251
|
+
urlPath = urlPath.replace(`{${"devAddress"}}`, encodeURIComponent(String(requestParameters["devAddress"])));
|
|
7252
|
+
const response = await this.request({
|
|
7253
|
+
path: urlPath,
|
|
7254
|
+
method: "GET",
|
|
7255
|
+
headers: headerParameters,
|
|
7256
|
+
query: queryParameters
|
|
7257
|
+
}, initOverrides);
|
|
7258
|
+
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(DevTokenDTOFromJSON));
|
|
7259
|
+
}
|
|
7260
|
+
/**
|
|
7261
|
+
* CONTROLLER.TOKEN.GET_DEV_TOKENS.DESCRIPTION
|
|
7262
|
+
* CONTROLLER.TOKEN.GET_DEV_TOKENS.SUMMARY
|
|
7263
|
+
*/
|
|
7264
|
+
async getDevTokens(requestParameters, initOverrides) {
|
|
7265
|
+
const response = await this.getDevTokensRaw(requestParameters, initOverrides);
|
|
7266
|
+
return await response.value();
|
|
7267
|
+
}
|
|
7181
7268
|
/**
|
|
7182
7269
|
* CONTROLLER.TOKEN.GET_HOLDERS.DESCRIPTION
|
|
7183
7270
|
* CONTROLLER.TOKEN.GET_HOLDERS.SUMMARY
|
|
@@ -9076,7 +9163,7 @@ var EstimateGasLimitChainEnum = {
|
|
|
9076
9163
|
Arbitrum: "arbitrum",
|
|
9077
9164
|
Optimism: "optimism",
|
|
9078
9165
|
Avalanche: "avalanche",
|
|
9079
|
-
|
|
9166
|
+
Eth: "eth",
|
|
9080
9167
|
Zksync: "zksync"
|
|
9081
9168
|
};
|
|
9082
9169
|
var GetGasPriceChainEnum = {
|
|
@@ -9086,7 +9173,7 @@ var GetGasPriceChainEnum = {
|
|
|
9086
9173
|
Arbitrum: "arbitrum",
|
|
9087
9174
|
Optimism: "optimism",
|
|
9088
9175
|
Avalanche: "avalanche",
|
|
9089
|
-
|
|
9176
|
+
Eth: "eth",
|
|
9090
9177
|
Zksync: "zksync"
|
|
9091
9178
|
};
|
|
9092
9179
|
|
|
@@ -9416,6 +9503,10 @@ var WatchlistApi = class extends BaseAPI {
|
|
|
9416
9503
|
DefaultConfig,
|
|
9417
9504
|
DefiSolanaMoonshotApi,
|
|
9418
9505
|
DefiSolanaPumpfunApi,
|
|
9506
|
+
DevTokenDTOFromJSON,
|
|
9507
|
+
DevTokenDTOFromJSONTyped,
|
|
9508
|
+
DevTokenDTOToJSON,
|
|
9509
|
+
DevTokenDTOToJSONTyped,
|
|
9419
9510
|
DexApi,
|
|
9420
9511
|
DexDTOFromJSON,
|
|
9421
9512
|
DexDTOFromJSONTyped,
|
|
@@ -9797,6 +9888,7 @@ var WatchlistApi = class extends BaseAPI {
|
|
|
9797
9888
|
instanceOfCreateRedPacketReply,
|
|
9798
9889
|
instanceOfCreateTokenInput,
|
|
9799
9890
|
instanceOfCreateTokenReply,
|
|
9891
|
+
instanceOfDevTokenDTO,
|
|
9800
9892
|
instanceOfDexDTO,
|
|
9801
9893
|
instanceOfDexPage,
|
|
9802
9894
|
instanceOfDexPoolDTO,
|