@codex-data/sdk 0.6.1 → 1.0.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/generated_mutations/CreateApiTokens.graphql +9 -0
- package/dist/resources/generated_mutations/CreateWebhooks.graphql +80 -0
- package/dist/resources/generated_mutations/DeleteApiToken.graphql +3 -0
- package/{src/sdk/graphql → dist/resources/generated_mutations}/DeleteWebhooks.graphql +1 -1
- package/dist/resources/generated_queries/ApiToken.graphql +9 -0
- package/dist/resources/generated_queries/ApiTokens.graphql +9 -0
- package/dist/resources/generated_queries/Balances.graphql +12 -0
- package/dist/resources/generated_queries/ChartUrls.graphql +7 -0
- package/dist/resources/generated_queries/FilterExchanges.graphql +43 -0
- package/dist/resources/generated_queries/FilterNftCollections.graphql +569 -0
- package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
- package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
- package/dist/resources/generated_queries/FilterNftPools.graphql +124 -0
- package/dist/resources/generated_queries/FilterPairs.graphql +339 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +279 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetBars.graphql +21 -9
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +20 -0
- package/dist/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetDetailedPairStats.graphql +370 -373
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +922 -0
- package/dist/resources/generated_queries/GetEventLabels.graphql +24 -0
- package/dist/resources/generated_queries/GetExchanges.graphql +12 -0
- package/dist/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/dist/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/dist/resources/generated_queries/GetNetworkStats.graphql +13 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworkStatus.graphql +2 -1
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworks.graphql +1 -0
- package/dist/resources/generated_queries/GetNftAssets.graphql +59 -0
- package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
- package/dist/resources/generated_queries/GetNftContracts.graphql +39 -0
- package/dist/resources/generated_queries/GetNftEvents.graphql +54 -0
- package/dist/resources/generated_queries/GetNftPool.graphql +74 -0
- package/dist/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
- package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
- package/dist/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
- package/dist/resources/generated_queries/GetNftPoolStats.graphql +40 -0
- package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
- package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
- package/dist/resources/generated_queries/GetParallelAssets.graphql +50 -0
- package/dist/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
- package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
- package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
- package/dist/resources/generated_queries/GetPrimePools.graphql +62 -0
- package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetSymbol.graphql +7 -7
- package/dist/resources/generated_queries/GetTokenCount.graphql +3 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
- package/dist/resources/generated_queries/GetTokenInfo.graphql +17 -0
- package/dist/resources/generated_queries/GetTokenPrices.graphql +9 -0
- package/dist/resources/generated_queries/GetTokensInfo.graphql +17 -0
- package/dist/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
- package/dist/resources/generated_queries/GetWebhooks.graphql +36 -0
- package/dist/resources/generated_queries/Holders.graphql +14 -0
- package/dist/resources/generated_queries/LiquidityLocks.graphql +26 -0
- package/dist/resources/generated_queries/LiquidityMetadata.graphql +17 -0
- package/dist/resources/generated_queries/ListFavoriteTokens.graphql +58 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/ListPairsForToken.graphql +77 -41
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +282 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/ListTopTokens.graphql +22 -16
- package/dist/resources/generated_queries/NftHolders.graphql +12 -0
- package/{src/sdk/graphql/OnPairMetadataUpdated.graphql → dist/resources/generated_queries/PairMetadata.graphql} +21 -3
- package/dist/resources/generated_queries/PrimeBalance.graphql +12 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +13 -0
- package/dist/resources/generated_queries/SearchNfts.graphql +35 -0
- package/dist/resources/generated_queries/Token.graphql +62 -0
- package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
- package/{src/sdk/graphql/GetSparklines.graphql → dist/resources/generated_queries/TokenSparklines.graphql} +2 -2
- package/dist/resources/generated_queries/Tokens.graphql +62 -0
- package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
- package/dist/resources/generated_queries/WalletNftCollections.graphql +10 -0
- package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnDetailedStatsUpdated.graphql +119 -111
- package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
- package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
- package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnNftAssetsCreated.graphql +30 -17
- package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
- package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnPriceUpdated.graphql +1 -1
- package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
- package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
- package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
- package/dist/resources/graphql.d.ts +131 -0
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +1570 -0
- package/dist/resources/graphql.ts +148 -0
- package/dist/resources/schema.graphql +184 -0
- package/dist/scripts/buildSdk.d.ts +2 -0
- package/dist/scripts/buildSdk.d.ts.map +1 -0
- package/dist/scripts/buildSdk.js +135 -0
- package/dist/scripts/buildSdk.js.map +1 -0
- package/dist/scripts/generateGraphql.d.ts +30 -0
- package/dist/scripts/generateGraphql.d.ts.map +1 -0
- package/dist/scripts/generateGraphql.js +179 -0
- package/dist/scripts/generateGraphql.js.map +1 -0
- package/dist/sdk/Mutation.d.ts +5 -8
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +3 -0
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +65 -14
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +64 -12
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +18 -11
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +112 -9
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +636 -66
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +84 -22
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +8407 -2195
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +87 -25
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +12 -4
- package/src/resources/generated_mutations/CreateApiTokens.graphql +9 -0
- package/src/resources/generated_mutations/CreateWebhooks.graphql +80 -0
- package/src/resources/generated_mutations/DeleteApiToken.graphql +3 -0
- package/src/resources/generated_mutations/DeleteWebhooks.graphql +5 -0
- package/src/resources/generated_queries/ApiToken.graphql +9 -0
- package/src/resources/generated_queries/ApiTokens.graphql +9 -0
- package/src/resources/generated_queries/Balances.graphql +12 -0
- package/src/resources/generated_queries/ChartUrls.graphql +7 -0
- package/src/resources/generated_queries/FilterExchanges.graphql +43 -0
- package/src/resources/generated_queries/FilterNftCollections.graphql +569 -0
- package/src/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
- package/src/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
- package/src/resources/generated_queries/FilterNftPools.graphql +124 -0
- package/src/resources/generated_queries/FilterPairs.graphql +339 -0
- package/src/resources/generated_queries/FilterTokens.graphql +279 -0
- package/src/resources/generated_queries/GetBars.graphql +44 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +20 -0
- package/src/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +938 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +922 -0
- package/src/resources/generated_queries/GetEventLabels.graphql +24 -0
- package/src/resources/generated_queries/GetExchanges.graphql +12 -0
- package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/src/resources/generated_queries/GetNetworkStats.graphql +13 -0
- package/src/resources/generated_queries/GetNetworkStatus.graphql +8 -0
- package/src/resources/generated_queries/GetNetworks.graphql +7 -0
- package/src/resources/generated_queries/GetNftAssets.graphql +59 -0
- package/src/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
- package/src/resources/generated_queries/GetNftContracts.graphql +39 -0
- package/src/resources/generated_queries/GetNftEvents.graphql +54 -0
- package/src/resources/generated_queries/GetNftPool.graphql +74 -0
- package/src/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
- package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
- package/src/resources/generated_queries/GetNftPoolStats.graphql +40 -0
- package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
- package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
- package/src/resources/generated_queries/GetParallelAssets.graphql +50 -0
- package/src/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
- package/src/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
- package/src/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
- package/src/resources/generated_queries/GetPrimePools.graphql +62 -0
- package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
- package/src/resources/generated_queries/GetSymbol.graphql +11 -0
- package/src/resources/generated_queries/GetTokenCount.graphql +3 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
- package/src/resources/generated_queries/GetTokenInfo.graphql +17 -0
- package/src/resources/generated_queries/GetTokenPrices.graphql +9 -0
- package/src/resources/generated_queries/GetTokensInfo.graphql +17 -0
- package/src/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
- package/src/resources/generated_queries/GetWebhooks.graphql +36 -0
- package/src/resources/generated_queries/Holders.graphql +14 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +26 -0
- package/src/resources/generated_queries/LiquidityMetadata.graphql +17 -0
- package/src/resources/generated_queries/ListFavoriteTokens.graphql +58 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +141 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +282 -0
- package/src/resources/generated_queries/ListTopTokens.graphql +54 -0
- package/src/resources/generated_queries/NftHolders.graphql +12 -0
- package/src/resources/generated_queries/PairMetadata.graphql +73 -0
- package/src/resources/generated_queries/PrimeBalance.graphql +12 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +13 -0
- package/src/resources/generated_queries/SearchNfts.graphql +35 -0
- package/src/resources/generated_queries/Token.graphql +62 -0
- package/src/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
- package/src/resources/generated_queries/TokenSparklines.graphql +10 -0
- package/src/resources/generated_queries/Tokens.graphql +62 -0
- package/src/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
- package/src/resources/generated_queries/WalletNftCollections.graphql +10 -0
- package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
- package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +332 -0
- package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
- package/src/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
- package/src/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
- package/src/resources/generated_subscriptions/OnNftAssetsCreated.graphql +42 -0
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
- package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
- package/src/resources/graphql.schema.json +1570 -0
- package/src/resources/graphql.ts +148 -0
- package/src/resources/schema.graphql +184 -0
- package/src/scripts/buildSdk.ts +173 -0
- package/src/scripts/generateGraphql.ts +236 -0
- package/src/sdk/Mutation.ts +13 -4
- package/src/sdk/Query.ts +252 -37
- package/src/sdk/Subscribe.ts +230 -41
- package/src/sdk/generated/gql.ts +354 -44
- package/src/sdk/generated/graphql.ts +889 -151
- package/src/sdk/graphql/GetPairEvents.graphql +6 -1
- package/dist/sdk/Query.test.d.ts +0 -2
- package/dist/sdk/Query.test.d.ts.map +0 -1
- package/dist/sdk/Query.test.js +0 -50
- package/dist/sdk/Query.test.js.map +0 -1
- package/src/sdk/Query.test.ts +0 -40
- package/src/sdk/graphql/CreateWebhooks.graphql +0 -464
- package/src/sdk/graphql/FilterExchanges.graphql +0 -23
- package/src/sdk/graphql/FilterPairs.graphql +0 -126
- package/src/sdk/graphql/FilterTokens.graphql +0 -131
- package/src/sdk/graphql/GetPrice.graphql +0 -9
- package/src/sdk/graphql/GetTokens.graphql +0 -14
- package/src/sdk/graphql/GetWebhooks.graphql +0 -120
- package/src/sdk/graphql/OnBarsUpdated.graphql +0 -68
- package/src/sdk/graphql/OnEventsCreated.graphql +0 -62
- package/src/sdk/graphql/OnNftEventsCreated.graphql +0 -83
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {
|
|
2
|
-
pairEvents: getTokenEvents(
|
|
2
|
+
pairEvents: getTokenEvents(
|
|
3
|
+
query: $query,
|
|
4
|
+
cursor: $cursor,
|
|
5
|
+
limit: $limit,
|
|
6
|
+
direction: $direction
|
|
7
|
+
) {
|
|
3
8
|
cursor
|
|
4
9
|
items {
|
|
5
10
|
address
|
package/dist/sdk/Query.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.test.d.ts","sourceRoot":"","sources":["../../src/sdk/Query.test.ts"],"names":[],"mappings":""}
|
package/dist/sdk/Query.test.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
describe("Query", () => {
|
|
14
|
-
const sdk = new index_1.Codex("dummy-key");
|
|
15
|
-
it("should set up queries", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
16
|
-
var _a, _b, _c;
|
|
17
|
-
jest.spyOn(sdk, "query").mockResolvedValue({
|
|
18
|
-
pairEvents: {
|
|
19
|
-
items: [
|
|
20
|
-
{
|
|
21
|
-
address: "0x1234",
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
const res = yield sdk.queries.pairEvents({
|
|
27
|
-
query: { address: "0x1234", networkId: 1 },
|
|
28
|
-
});
|
|
29
|
-
expect((_c = (_b = (_a = res.pairEvents) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.address).toEqual("0x1234");
|
|
30
|
-
expect(sdk.queries).toBeDefined();
|
|
31
|
-
}));
|
|
32
|
-
it("should have a pairEvents query", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
33
|
-
var _d, _e, _f;
|
|
34
|
-
jest.spyOn(sdk, "query").mockResolvedValue({
|
|
35
|
-
pairEvents: {
|
|
36
|
-
items: [
|
|
37
|
-
{
|
|
38
|
-
address: "0x1234",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
const res = yield sdk.queries.pairEvents({
|
|
44
|
-
query: { address: "0x1234", networkId: 1 },
|
|
45
|
-
});
|
|
46
|
-
expect((_f = (_e = (_d = res.pairEvents) === null || _d === void 0 ? void 0 : _d.items) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.address).toEqual("0x1234");
|
|
47
|
-
expect(sdk.queries).toBeDefined();
|
|
48
|
-
}));
|
|
49
|
-
});
|
|
50
|
-
//# sourceMappingURL=Query.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.test.js","sourceRoot":"","sources":["../../src/sdk/Query.test.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,mCAAgC;AAEhC,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;IACrB,MAAM,GAAG,GAAG,IAAI,aAAK,CAAC,WAAW,CAAC,CAAC;IAEnC,EAAE,CAAC,uBAAuB,EAAE,GAAS,EAAE;;QACrC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,iBAAiB,CAAC;YACzC,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,QAAQ;qBAClB;iBACS;aACb;SACF,CAAC,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC;YACvC,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;SAC3C,CAAC,CAAC;QACH,MAAM,CAAC,MAAA,MAAA,MAAA,GAAG,CAAC,UAAU,0CAAE,KAAK,0CAAG,CAAC,CAAC,0CAAE,OAAO,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC9D,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;IACpC,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,gCAAgC,EAAE,GAAS,EAAE;;QAC9C,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,iBAAiB,CAAC;YACzC,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,QAAQ;qBAClB;iBACS;aACb;SACF,CAAC,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC;YACvC,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;SAC3C,CAAC,CAAC;QACH,MAAM,CAAC,MAAA,MAAA,MAAA,GAAG,CAAC,UAAU,0CAAE,KAAK,0CAAG,CAAC,CAAC,0CAAE,OAAO,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC9D,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;IACpC,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/src/sdk/Query.test.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Event } from "../resources/graphql";
|
|
2
|
-
import { Codex } from "./index";
|
|
3
|
-
|
|
4
|
-
describe("Query", () => {
|
|
5
|
-
const sdk = new Codex("dummy-key");
|
|
6
|
-
|
|
7
|
-
it("should set up queries", async () => {
|
|
8
|
-
jest.spyOn(sdk, "query").mockResolvedValue({
|
|
9
|
-
pairEvents: {
|
|
10
|
-
items: [
|
|
11
|
-
{
|
|
12
|
-
address: "0x1234",
|
|
13
|
-
},
|
|
14
|
-
] as Event[],
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
const res = await sdk.queries.pairEvents({
|
|
18
|
-
query: { address: "0x1234", networkId: 1 },
|
|
19
|
-
});
|
|
20
|
-
expect(res.pairEvents?.items?.[0]?.address).toEqual("0x1234");
|
|
21
|
-
expect(sdk.queries).toBeDefined();
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
it("should have a pairEvents query", async () => {
|
|
25
|
-
jest.spyOn(sdk, "query").mockResolvedValue({
|
|
26
|
-
pairEvents: {
|
|
27
|
-
items: [
|
|
28
|
-
{
|
|
29
|
-
address: "0x1234",
|
|
30
|
-
},
|
|
31
|
-
] as Event[],
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
const res = await sdk.queries.pairEvents({
|
|
35
|
-
query: { address: "0x1234", networkId: 1 },
|
|
36
|
-
});
|
|
37
|
-
expect(res.pairEvents?.items?.[0]?.address).toEqual("0x1234");
|
|
38
|
-
expect(sdk.queries).toBeDefined();
|
|
39
|
-
});
|
|
40
|
-
});
|
|
@@ -1,464 +0,0 @@
|
|
|
1
|
-
mutation CreateWebhooks($input: CreateWebhooksInput!) {
|
|
2
|
-
createWebhooks(input: $input) {
|
|
3
|
-
priceWebhooks {
|
|
4
|
-
id
|
|
5
|
-
webhookType
|
|
6
|
-
name
|
|
7
|
-
created
|
|
8
|
-
alertRecurrence
|
|
9
|
-
callbackUrl
|
|
10
|
-
status
|
|
11
|
-
groupId
|
|
12
|
-
conditions {
|
|
13
|
-
... on PriceEventWebhookCondition {
|
|
14
|
-
tokenAddressPriceEventWebhookCondition: tokenAddress {
|
|
15
|
-
eq
|
|
16
|
-
}
|
|
17
|
-
networkIdPriceEventWebhookCondition: networkId {
|
|
18
|
-
eq
|
|
19
|
-
}
|
|
20
|
-
priceUsd {
|
|
21
|
-
gt
|
|
22
|
-
gte
|
|
23
|
-
lt
|
|
24
|
-
lte
|
|
25
|
-
eq
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
... on TokenPairEventWebhookCondition {
|
|
29
|
-
tokenAddress {
|
|
30
|
-
eq
|
|
31
|
-
}
|
|
32
|
-
networkId {
|
|
33
|
-
oneOf
|
|
34
|
-
}
|
|
35
|
-
swapValue {
|
|
36
|
-
gt
|
|
37
|
-
gte
|
|
38
|
-
lt
|
|
39
|
-
lte
|
|
40
|
-
eq
|
|
41
|
-
}
|
|
42
|
-
maker {
|
|
43
|
-
eq
|
|
44
|
-
}
|
|
45
|
-
pairAddress {
|
|
46
|
-
eq
|
|
47
|
-
}
|
|
48
|
-
exchangeAddress {
|
|
49
|
-
eq
|
|
50
|
-
}
|
|
51
|
-
eventType {
|
|
52
|
-
oneOf
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
... on NftEventWebhookCondition {
|
|
56
|
-
networkId {
|
|
57
|
-
oneOf
|
|
58
|
-
}
|
|
59
|
-
maker {
|
|
60
|
-
eq
|
|
61
|
-
}
|
|
62
|
-
contractAddress {
|
|
63
|
-
eq
|
|
64
|
-
}
|
|
65
|
-
exchangeAddress {
|
|
66
|
-
eq
|
|
67
|
-
}
|
|
68
|
-
tokenId {
|
|
69
|
-
eq
|
|
70
|
-
}
|
|
71
|
-
tokenAddress {
|
|
72
|
-
eq
|
|
73
|
-
}
|
|
74
|
-
individualBaseTokenPrice {
|
|
75
|
-
gt
|
|
76
|
-
gte
|
|
77
|
-
lt
|
|
78
|
-
lte
|
|
79
|
-
eq
|
|
80
|
-
}
|
|
81
|
-
eventType {
|
|
82
|
-
eq
|
|
83
|
-
}
|
|
84
|
-
fillSource {
|
|
85
|
-
oneOf
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
... on RawTransactionWebhookCondition {
|
|
89
|
-
networkId {
|
|
90
|
-
oneOf
|
|
91
|
-
}
|
|
92
|
-
to {
|
|
93
|
-
eq
|
|
94
|
-
}
|
|
95
|
-
from {
|
|
96
|
-
eq
|
|
97
|
-
}
|
|
98
|
-
toOrFrom {
|
|
99
|
-
eq
|
|
100
|
-
}
|
|
101
|
-
input {
|
|
102
|
-
contains
|
|
103
|
-
notContains
|
|
104
|
-
}
|
|
105
|
-
ignoreTokenPairEvents
|
|
106
|
-
ignoreNftEvents
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
retrySettings {
|
|
110
|
-
maxTimeElapsed
|
|
111
|
-
minRetryDelay
|
|
112
|
-
maxRetryDelay
|
|
113
|
-
maxRetries
|
|
114
|
-
}
|
|
115
|
-
bucketId
|
|
116
|
-
bucketSortkey
|
|
117
|
-
}
|
|
118
|
-
tokenPairEventWebhooks {
|
|
119
|
-
id
|
|
120
|
-
webhookType
|
|
121
|
-
name
|
|
122
|
-
created
|
|
123
|
-
alertRecurrence
|
|
124
|
-
callbackUrl
|
|
125
|
-
status
|
|
126
|
-
groupId
|
|
127
|
-
bucketId
|
|
128
|
-
bucketSortkey
|
|
129
|
-
conditions {
|
|
130
|
-
... on PriceEventWebhookCondition {
|
|
131
|
-
tokenAddressPriceEventWebhookCondition: tokenAddress {
|
|
132
|
-
eq
|
|
133
|
-
}
|
|
134
|
-
networkIdPriceEventWebhookCondition: networkId {
|
|
135
|
-
eq
|
|
136
|
-
}
|
|
137
|
-
priceUsd {
|
|
138
|
-
gt
|
|
139
|
-
gte
|
|
140
|
-
lt
|
|
141
|
-
lte
|
|
142
|
-
eq
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
... on TokenPairEventWebhookCondition {
|
|
146
|
-
tokenAddress {
|
|
147
|
-
eq
|
|
148
|
-
}
|
|
149
|
-
networkId {
|
|
150
|
-
oneOf
|
|
151
|
-
}
|
|
152
|
-
swapValue {
|
|
153
|
-
gt
|
|
154
|
-
gte
|
|
155
|
-
lt
|
|
156
|
-
lte
|
|
157
|
-
eq
|
|
158
|
-
}
|
|
159
|
-
maker {
|
|
160
|
-
eq
|
|
161
|
-
}
|
|
162
|
-
pairAddress {
|
|
163
|
-
eq
|
|
164
|
-
}
|
|
165
|
-
exchangeAddress {
|
|
166
|
-
eq
|
|
167
|
-
}
|
|
168
|
-
eventType {
|
|
169
|
-
oneOf
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
... on NftEventWebhookCondition {
|
|
173
|
-
networkId {
|
|
174
|
-
oneOf
|
|
175
|
-
}
|
|
176
|
-
maker {
|
|
177
|
-
eq
|
|
178
|
-
}
|
|
179
|
-
contractAddress {
|
|
180
|
-
eq
|
|
181
|
-
}
|
|
182
|
-
exchangeAddress {
|
|
183
|
-
eq
|
|
184
|
-
}
|
|
185
|
-
tokenId {
|
|
186
|
-
eq
|
|
187
|
-
}
|
|
188
|
-
tokenAddress {
|
|
189
|
-
eq
|
|
190
|
-
}
|
|
191
|
-
individualBaseTokenPrice {
|
|
192
|
-
gt
|
|
193
|
-
gte
|
|
194
|
-
lt
|
|
195
|
-
lte
|
|
196
|
-
eq
|
|
197
|
-
}
|
|
198
|
-
eventType {
|
|
199
|
-
eq
|
|
200
|
-
}
|
|
201
|
-
fillSource {
|
|
202
|
-
oneOf
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
... on RawTransactionWebhookCondition {
|
|
206
|
-
networkId {
|
|
207
|
-
oneOf
|
|
208
|
-
}
|
|
209
|
-
to {
|
|
210
|
-
eq
|
|
211
|
-
}
|
|
212
|
-
from {
|
|
213
|
-
eq
|
|
214
|
-
}
|
|
215
|
-
toOrFrom {
|
|
216
|
-
eq
|
|
217
|
-
}
|
|
218
|
-
input {
|
|
219
|
-
contains
|
|
220
|
-
notContains
|
|
221
|
-
}
|
|
222
|
-
ignoreTokenPairEvents
|
|
223
|
-
ignoreNftEvents
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
retrySettings {
|
|
227
|
-
maxTimeElapsed
|
|
228
|
-
minRetryDelay
|
|
229
|
-
maxRetryDelay
|
|
230
|
-
maxRetries
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
nftEventWebhooks {
|
|
234
|
-
id
|
|
235
|
-
webhookType
|
|
236
|
-
name
|
|
237
|
-
created
|
|
238
|
-
alertRecurrence
|
|
239
|
-
callbackUrl
|
|
240
|
-
status
|
|
241
|
-
groupId
|
|
242
|
-
bucketId
|
|
243
|
-
bucketSortkey
|
|
244
|
-
retrySettings {
|
|
245
|
-
maxTimeElapsed
|
|
246
|
-
minRetryDelay
|
|
247
|
-
maxRetryDelay
|
|
248
|
-
maxRetries
|
|
249
|
-
}
|
|
250
|
-
conditions {
|
|
251
|
-
... on PriceEventWebhookCondition {
|
|
252
|
-
tokenAddressPriceEventWebhookCondition: tokenAddress {
|
|
253
|
-
eq
|
|
254
|
-
}
|
|
255
|
-
networkIdPriceEventWebhookCondition: networkId {
|
|
256
|
-
eq
|
|
257
|
-
}
|
|
258
|
-
priceUsd {
|
|
259
|
-
gt
|
|
260
|
-
gte
|
|
261
|
-
lt
|
|
262
|
-
lte
|
|
263
|
-
eq
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
... on TokenPairEventWebhookCondition {
|
|
267
|
-
tokenAddress {
|
|
268
|
-
eq
|
|
269
|
-
}
|
|
270
|
-
networkId {
|
|
271
|
-
oneOf
|
|
272
|
-
}
|
|
273
|
-
swapValue {
|
|
274
|
-
gt
|
|
275
|
-
gte
|
|
276
|
-
lt
|
|
277
|
-
lte
|
|
278
|
-
eq
|
|
279
|
-
}
|
|
280
|
-
maker {
|
|
281
|
-
eq
|
|
282
|
-
}
|
|
283
|
-
pairAddress {
|
|
284
|
-
eq
|
|
285
|
-
}
|
|
286
|
-
exchangeAddress {
|
|
287
|
-
eq
|
|
288
|
-
}
|
|
289
|
-
eventType {
|
|
290
|
-
oneOf
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
... on NftEventWebhookCondition {
|
|
294
|
-
networkId {
|
|
295
|
-
oneOf
|
|
296
|
-
}
|
|
297
|
-
maker {
|
|
298
|
-
eq
|
|
299
|
-
}
|
|
300
|
-
contractAddress {
|
|
301
|
-
eq
|
|
302
|
-
}
|
|
303
|
-
exchangeAddress {
|
|
304
|
-
eq
|
|
305
|
-
}
|
|
306
|
-
tokenId {
|
|
307
|
-
eq
|
|
308
|
-
}
|
|
309
|
-
tokenAddress {
|
|
310
|
-
eq
|
|
311
|
-
}
|
|
312
|
-
individualBaseTokenPrice {
|
|
313
|
-
gt
|
|
314
|
-
gte
|
|
315
|
-
lt
|
|
316
|
-
lte
|
|
317
|
-
eq
|
|
318
|
-
}
|
|
319
|
-
eventType {
|
|
320
|
-
eq
|
|
321
|
-
}
|
|
322
|
-
fillSource {
|
|
323
|
-
oneOf
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
... on RawTransactionWebhookCondition {
|
|
327
|
-
networkId {
|
|
328
|
-
oneOf
|
|
329
|
-
}
|
|
330
|
-
to {
|
|
331
|
-
eq
|
|
332
|
-
}
|
|
333
|
-
from {
|
|
334
|
-
eq
|
|
335
|
-
}
|
|
336
|
-
toOrFrom {
|
|
337
|
-
eq
|
|
338
|
-
}
|
|
339
|
-
input {
|
|
340
|
-
contains
|
|
341
|
-
notContains
|
|
342
|
-
}
|
|
343
|
-
ignoreTokenPairEvents
|
|
344
|
-
ignoreNftEvents
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
rawTransactionWebhooks {
|
|
349
|
-
id
|
|
350
|
-
webhookType
|
|
351
|
-
name
|
|
352
|
-
created
|
|
353
|
-
alertRecurrence
|
|
354
|
-
callbackUrl
|
|
355
|
-
status
|
|
356
|
-
groupId
|
|
357
|
-
bucketId
|
|
358
|
-
bucketSortkey
|
|
359
|
-
conditions {
|
|
360
|
-
... on PriceEventWebhookCondition {
|
|
361
|
-
tokenAddressPriceEventWebhookCondition: tokenAddress {
|
|
362
|
-
eq
|
|
363
|
-
}
|
|
364
|
-
networkIdPriceEventWebhookCondition: networkId {
|
|
365
|
-
eq
|
|
366
|
-
}
|
|
367
|
-
priceUsd {
|
|
368
|
-
gt
|
|
369
|
-
gte
|
|
370
|
-
lt
|
|
371
|
-
lte
|
|
372
|
-
eq
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
... on TokenPairEventWebhookCondition {
|
|
376
|
-
tokenAddress {
|
|
377
|
-
eq
|
|
378
|
-
}
|
|
379
|
-
networkId {
|
|
380
|
-
oneOf
|
|
381
|
-
}
|
|
382
|
-
swapValue {
|
|
383
|
-
gt
|
|
384
|
-
gte
|
|
385
|
-
lt
|
|
386
|
-
lte
|
|
387
|
-
eq
|
|
388
|
-
}
|
|
389
|
-
maker {
|
|
390
|
-
eq
|
|
391
|
-
}
|
|
392
|
-
pairAddress {
|
|
393
|
-
eq
|
|
394
|
-
}
|
|
395
|
-
exchangeAddress {
|
|
396
|
-
eq
|
|
397
|
-
}
|
|
398
|
-
eventType {
|
|
399
|
-
oneOf
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
... on NftEventWebhookCondition {
|
|
403
|
-
networkId {
|
|
404
|
-
oneOf
|
|
405
|
-
}
|
|
406
|
-
maker {
|
|
407
|
-
eq
|
|
408
|
-
}
|
|
409
|
-
contractAddress {
|
|
410
|
-
eq
|
|
411
|
-
}
|
|
412
|
-
exchangeAddress {
|
|
413
|
-
eq
|
|
414
|
-
}
|
|
415
|
-
tokenId {
|
|
416
|
-
eq
|
|
417
|
-
}
|
|
418
|
-
tokenAddress {
|
|
419
|
-
eq
|
|
420
|
-
}
|
|
421
|
-
individualBaseTokenPrice {
|
|
422
|
-
gt
|
|
423
|
-
gte
|
|
424
|
-
lt
|
|
425
|
-
lte
|
|
426
|
-
eq
|
|
427
|
-
}
|
|
428
|
-
eventType {
|
|
429
|
-
eq
|
|
430
|
-
}
|
|
431
|
-
fillSource {
|
|
432
|
-
oneOf
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
... on RawTransactionWebhookCondition {
|
|
436
|
-
networkId {
|
|
437
|
-
oneOf
|
|
438
|
-
}
|
|
439
|
-
to {
|
|
440
|
-
eq
|
|
441
|
-
}
|
|
442
|
-
from {
|
|
443
|
-
eq
|
|
444
|
-
}
|
|
445
|
-
toOrFrom {
|
|
446
|
-
eq
|
|
447
|
-
}
|
|
448
|
-
input {
|
|
449
|
-
contains
|
|
450
|
-
notContains
|
|
451
|
-
}
|
|
452
|
-
ignoreTokenPairEvents
|
|
453
|
-
ignoreNftEvents
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
retrySettings {
|
|
457
|
-
maxTimeElapsed
|
|
458
|
-
minRetryDelay
|
|
459
|
-
maxRetryDelay
|
|
460
|
-
maxRetries
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
query FilterExchanges($filters: ExchangeFilters, $phrase: String, $rankings: [ExchangeRanking], $limit: Int, $offset: Int) {
|
|
2
|
-
filterExchanges(
|
|
3
|
-
filters: $filters
|
|
4
|
-
rankings: $rankings
|
|
5
|
-
limit: $limit
|
|
6
|
-
phrase: $phrase
|
|
7
|
-
offset: $offset
|
|
8
|
-
) {
|
|
9
|
-
results {
|
|
10
|
-
exchange {
|
|
11
|
-
address
|
|
12
|
-
iconUrl
|
|
13
|
-
name
|
|
14
|
-
tradeUrl
|
|
15
|
-
}
|
|
16
|
-
dailyActiveUsers
|
|
17
|
-
monthlyActiveUsers
|
|
18
|
-
txnCount1
|
|
19
|
-
volumeNBT12
|
|
20
|
-
volumeUSD24
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
query FilterPairs(
|
|
2
|
-
$filters: PairFilters
|
|
3
|
-
$phrase: String
|
|
4
|
-
$pairs: [String]
|
|
5
|
-
$rankings: [PairRanking]
|
|
6
|
-
$limit: Int
|
|
7
|
-
$offset: Int
|
|
8
|
-
$matchTokens: PairFilterMatchTokens
|
|
9
|
-
$statsType: TokenPairStatisticsType
|
|
10
|
-
) {
|
|
11
|
-
filterPairs(
|
|
12
|
-
filters: $filters
|
|
13
|
-
phrase: $phrase
|
|
14
|
-
pairs: $pairs
|
|
15
|
-
rankings: $rankings
|
|
16
|
-
limit: $limit
|
|
17
|
-
offset: $offset
|
|
18
|
-
matchTokens: $matchTokens
|
|
19
|
-
statsType: $statsType
|
|
20
|
-
) {
|
|
21
|
-
count
|
|
22
|
-
offset
|
|
23
|
-
results {
|
|
24
|
-
createdAt
|
|
25
|
-
lastTransaction
|
|
26
|
-
buyCount1
|
|
27
|
-
buyCount4
|
|
28
|
-
buyCount12
|
|
29
|
-
buyCount24
|
|
30
|
-
highPrice1
|
|
31
|
-
highPrice4
|
|
32
|
-
highPrice12
|
|
33
|
-
highPrice24
|
|
34
|
-
liquidity
|
|
35
|
-
liquidityToken
|
|
36
|
-
quoteToken
|
|
37
|
-
lowPrice1
|
|
38
|
-
lowPrice4
|
|
39
|
-
lowPrice12
|
|
40
|
-
lowPrice24
|
|
41
|
-
marketCap
|
|
42
|
-
price
|
|
43
|
-
priceScale
|
|
44
|
-
priceChange1
|
|
45
|
-
priceChange4
|
|
46
|
-
priceChange12
|
|
47
|
-
priceChange24
|
|
48
|
-
sellCount1
|
|
49
|
-
sellCount4
|
|
50
|
-
sellCount12
|
|
51
|
-
sellCount24
|
|
52
|
-
txnCount1
|
|
53
|
-
txnCount4
|
|
54
|
-
txnCount12
|
|
55
|
-
txnCount24
|
|
56
|
-
uniqueBuys1
|
|
57
|
-
uniqueBuys4
|
|
58
|
-
uniqueBuys12
|
|
59
|
-
uniqueBuys24
|
|
60
|
-
uniqueSells1
|
|
61
|
-
uniqueSells4
|
|
62
|
-
uniqueSells12
|
|
63
|
-
uniqueSells24
|
|
64
|
-
uniqueTransactions1
|
|
65
|
-
uniqueTransactions4
|
|
66
|
-
uniqueTransactions12
|
|
67
|
-
uniqueTransactions24
|
|
68
|
-
volumeUSD1
|
|
69
|
-
volumeUSD4
|
|
70
|
-
volumeUSD12
|
|
71
|
-
volumeUSD24
|
|
72
|
-
pair {
|
|
73
|
-
address
|
|
74
|
-
createdAt
|
|
75
|
-
exchangeHash
|
|
76
|
-
fee
|
|
77
|
-
id
|
|
78
|
-
networkId
|
|
79
|
-
pooled {
|
|
80
|
-
token0
|
|
81
|
-
token1
|
|
82
|
-
}
|
|
83
|
-
tickSpacing
|
|
84
|
-
token0
|
|
85
|
-
token1
|
|
86
|
-
}
|
|
87
|
-
token0 {
|
|
88
|
-
address
|
|
89
|
-
decimals
|
|
90
|
-
name
|
|
91
|
-
networkId
|
|
92
|
-
symbol
|
|
93
|
-
info {
|
|
94
|
-
imageThumbUrl
|
|
95
|
-
imageSmallUrl
|
|
96
|
-
imageLargeUrl
|
|
97
|
-
circulatingSupply
|
|
98
|
-
totalSupply
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
token1 {
|
|
102
|
-
address
|
|
103
|
-
decimals
|
|
104
|
-
name
|
|
105
|
-
networkId
|
|
106
|
-
symbol
|
|
107
|
-
info {
|
|
108
|
-
imageThumbUrl
|
|
109
|
-
imageSmallUrl
|
|
110
|
-
imageLargeUrl
|
|
111
|
-
circulatingSupply
|
|
112
|
-
totalSupply
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
exchange {
|
|
116
|
-
address
|
|
117
|
-
id
|
|
118
|
-
name
|
|
119
|
-
exchangeVersion
|
|
120
|
-
iconUrl
|
|
121
|
-
networkId
|
|
122
|
-
tradeUrl
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|