@dodoex/api 3.4.0 → 3.5.0-cp.1
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/chainConfig/chain.d.ts +2 -1
- package/dist/types/gql/gql.d.ts +16 -0
- package/dist/types/gql/graphql.d.ts +2056 -9
- package/dist/types/index.d.ts +1 -0
- package/dist/types/services/SwapWidgetApi.d.ts +208 -2
- package/dist/types/services/cp/graphqlQuery.d.ts +17 -0
- package/dist/types/services/cp/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/types/gql/gql.d.ts
CHANGED
|
@@ -10,6 +10,22 @@ export declare function graphql(source: '\n query FetchErc20ForecastSlippage(
|
|
|
10
10
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
11
11
|
*/
|
|
12
12
|
export declare function graphql(source: '\n query Ticks($where: Tick_filter, $skip: Int, $first: Int) {\n ticks(where: $where, skip: $skip, first: $first) {\n id\n poolAddress\n tickIdx\n liquidityNet\n price0\n price1\n }\n }\n'): typeof import('./graphql').TicksDocument;
|
|
13
|
+
/**
|
|
14
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
15
|
+
*/
|
|
16
|
+
export declare function graphql(source: '\n query FetchCPList($first: Int, $where: CrowdPooling_filter) {\n crowdPoolings(\n first: $first\n where: $where\n orderBy: bidStartTime\n orderDirection: desc\n ) {\n id\n creator\n bidStartTime\n bidEndTime\n freezeDuration\n i\n k\n poolQuoteCap\n poolQuote\n investorsCount\n totalBase\n createTime\n settled\n totalShares\n calmEndTime\n dvm {\n id\n }\n baseToken {\n id\n symbol\n name\n decimals\n }\n quoteToken {\n id\n symbol\n name\n decimals\n }\n version\n feeRate\n isOvercapStop\n tokenCliffRate\n tokenClaimDuration\n tokenVestingDuration\n }\n }\n '): typeof import('./graphql').FetchCpListDocument;
|
|
17
|
+
/**
|
|
18
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
19
|
+
*/
|
|
20
|
+
export declare function graphql(source: '\n query FetchCPDetail($id: ID!, $where: CrowdPooling_filter) {\n crowdPooling(id: $id, where: $where) {\n id\n creator\n bidStartTime\n bidEndTime\n freezeDuration\n i\n k\n poolQuoteCap\n poolQuote\n investorsCount\n totalBase\n createTime\n settled\n totalShares\n calmEndTime\n dvm {\n id\n }\n baseToken {\n id\n symbol\n name\n decimals\n }\n quoteToken {\n id\n symbol\n name\n decimals\n }\n version\n feeRate\n isOvercapStop\n tokenCliffRate\n tokenClaimDuration\n tokenVestingDuration\n }\n }\n '): typeof import('./graphql').FetchCpDetailDocument;
|
|
21
|
+
/**
|
|
22
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
23
|
+
*/
|
|
24
|
+
export declare function graphql(source: '\n query FetchIOPCPList(\n $where: Crowd_pooling_read_servercrowdpoolingListFilter\n $voteWhere: Crowd_pooling_read_servercrowdpoolingVoteListFilter\n ) {\n crowd_pooling_read_server_list(where: $where) {\n address\n votes {\n id\n }\n }\n crowd_pooling_read_server_voteList(where: $voteWhere) {\n id\n account {\n address\n }\n }\n }\n '): typeof import('./graphql').FetchIopcpListDocument;
|
|
25
|
+
/**
|
|
26
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
27
|
+
*/
|
|
28
|
+
export declare function graphql(source: '\n query FetchBidPosition($where: BidPosition_filter) {\n bidPositions(where: $where, orderBy: lastTxTime, orderDirection: desc) {\n user {\n id\n }\n cp {\n id\n }\n shares\n investedQuote\n }\n }\n '): typeof import('./graphql').FetchBidPositionDocument;
|
|
13
29
|
/**
|
|
14
30
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
15
31
|
*/
|