@dodoex/api 3.0.1 → 3.0.3-bartio.0
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 +4 -1
- package/dist/types/gql/gql.d.ts +8 -4
- package/dist/types/gql/graphql.d.ts +154 -8
- package/dist/types/services/system/SystemApi.d.ts +3 -0
- package/dist/types/services/system/graphqlQuery.d.ts +3 -0
- package/package.json +2 -2
package/dist/types/gql/gql.d.ts
CHANGED
|
@@ -25,15 +25,15 @@ export declare function graphql(source: '\n query MyCreatedMiningList($where:
|
|
|
25
25
|
/**
|
|
26
26
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
27
27
|
*/
|
|
28
|
-
export declare function graphql(source: '\n query FetchPoolList(\n $first: Int\n $where: Pair_filter\n $orderBy: Pair_orderBy\n ) {\n pairs(\n first: $first\n where: $where\n orderBy: $orderBy\n orderDirection: desc\n ) {\n id\n type\n creator\n owner\n lpFeeRate\n i\n k\n baseReserve\n quoteReserve\n lastTradePrice\n feeBase\n feeQuote\n baseToken {\n id\n symbol\n name\n decimals\n }\n quoteToken {\n id\n symbol\n name\n decimals\n }\n baseLpToken {\n id\n }\n quoteLpToken {\n id\n }\n }\n }\n '): typeof import('./graphql').FetchPoolListDocument;
|
|
28
|
+
export declare function graphql(source: '\n query FetchPoolList(\n $first: Int\n $where: Pair_filter\n $orderBy: Pair_orderBy\n ) {\n pairs(\n first: $first\n where: $where\n orderBy: $orderBy\n orderDirection: desc\n ) {\n id\n type\n creator\n owner\n lpFeeRate\n i\n k\n baseReserve\n quoteReserve\n lastTradePrice\n feeBase\n feeQuote\n baseToken {\n id\n symbol\n name\n decimals\n }\n quoteToken {\n id\n symbol\n name\n decimals\n }\n baseLpToken {\n id\n decimals\n }\n quoteLpToken {\n id\n decimals\n }\n }\n }\n '): typeof import('./graphql').FetchPoolListDocument;
|
|
29
29
|
/**
|
|
30
30
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
31
31
|
*/
|
|
32
|
-
export declare function graphql(source: '\n query FetchLiquidityList($where: Liquiditylist_filter) {\n liquidity_list(where: $where) {\n currentPage\n pageSize\n totalCount\n lqList {\n id\n pair {\n id\n chainId\n type\n lpFeeRate\n mtFeeRate\n creator\n baseLpToken {\n id\n }\n quoteLpToken {\n id\n }\n baseToken {\n id\n symbol\n name\n decimals\n logoImg\n }\n quoteToken {\n id\n symbol\n name\n decimals\n logoImg\n }\n tvl\n apy {\n miningBaseApy\n miningQuoteApy\n transactionBaseApy\n transactionQuoteApy\n }\n miningAddress\n volume24H\n }\n }\n }\n }\n '): typeof import('./graphql').FetchLiquidityListDocument;
|
|
32
|
+
export declare function graphql(source: '\n query FetchLiquidityList($where: Liquiditylist_filter) {\n liquidity_list(where: $where) {\n currentPage\n pageSize\n totalCount\n lqList {\n id\n pair {\n id\n chainId\n type\n lpFeeRate\n mtFeeRate\n creator\n baseLpToken {\n id\n decimals\n }\n quoteLpToken {\n id\n decimals\n }\n baseToken {\n id\n symbol\n name\n decimals\n logoImg\n }\n quoteToken {\n id\n symbol\n name\n decimals\n logoImg\n }\n tvl\n apy {\n miningBaseApy\n miningQuoteApy\n transactionBaseApy\n transactionQuoteApy\n }\n miningAddress\n volume24H\n }\n }\n }\n }\n '): typeof import('./graphql').FetchLiquidityListDocument;
|
|
33
33
|
/**
|
|
34
34
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
35
35
|
*/
|
|
36
|
-
export declare function graphql(source: '\n query FetchMyLiquidityList($where: Liquiditylist_filter) {\n liquidity_list(where: $where) {\n lqList {\n id\n liquidityPositions {\n id\n liquidityTokenBalance\n liquidityTokenInMining\n poolShare\n liquidityUSD\n tokenId\n outOfRange\n priceRange {\n token0LowerPrice\n token0UpperPrice\n token1LowerPrice\n token1UpperPrice\n }\n tickLower {\n id\n tickIdx\n liquidityGross\n liquidityNet\n price0\n price1\n }\n tickUpper {\n id\n tickIdx\n liquidityGross\n liquidityNet\n price0\n price1\n }\n }\n pair {\n id\n chainId\n type\n lpFeeRate\n mtFeeRate\n creator\n baseLpToken {\n id\n }\n quoteLpToken {\n id\n }\n baseToken {\n id\n symbol\n name\n decimals\n logoImg\n }\n quoteToken {\n id\n symbol\n name\n decimals\n logoImg\n }\n tvl\n apy {\n miningBaseApy\n miningQuoteApy\n transactionBaseApy\n transactionQuoteApy\n }\n miningAddress\n volume24H\n }\n }\n }\n }\n '): typeof import('./graphql').FetchMyLiquidityListDocument;
|
|
36
|
+
export declare function graphql(source: '\n query FetchMyLiquidityList($where: Liquiditylist_filter) {\n liquidity_list(where: $where) {\n lqList {\n id\n liquidityPositions {\n id\n liquidityTokenBalance\n liquidityTokenInMining\n poolShare\n liquidityUSD\n tokenId\n outOfRange\n priceRange {\n token0LowerPrice\n token0UpperPrice\n token1LowerPrice\n token1UpperPrice\n }\n tickLower {\n id\n tickIdx\n liquidityGross\n liquidityNet\n price0\n price1\n }\n tickUpper {\n id\n tickIdx\n liquidityGross\n liquidityNet\n price0\n price1\n }\n }\n pair {\n id\n chainId\n type\n lpFeeRate\n mtFeeRate\n creator\n baseLpToken {\n id\n decimals\n }\n quoteLpToken {\n id\n decimals\n }\n baseToken {\n id\n symbol\n name\n decimals\n logoImg\n }\n quoteToken {\n id\n symbol\n name\n decimals\n logoImg\n }\n tvl\n apy {\n miningBaseApy\n miningQuoteApy\n transactionBaseApy\n transactionQuoteApy\n }\n miningAddress\n volume24H\n }\n }\n }\n }\n '): typeof import('./graphql').FetchMyLiquidityListDocument;
|
|
37
37
|
/**
|
|
38
38
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
39
39
|
*/
|
|
@@ -41,7 +41,7 @@ export declare function graphql(source: '\n query FetchDashboardPairList($whe
|
|
|
41
41
|
/**
|
|
42
42
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
43
43
|
*/
|
|
44
|
-
export declare function graphql(source: '\n query FetchPool(\n $id: ID!\n $where: Pair_filter\n $liquidityWhere: Liquiditylist_filter\n ) {\n pair(id: $id, where: $where) {\n id\n type\n creator\n owner\n traderCount\n volumeBaseToken\n volumeQuoteToken\n volumeUSD\n feeBase\n feeQuote\n mtFeeRate\n lpFeeRate\n i\n k\n baseReserve\n quoteReserve\n createdAtTimestamp\n lastTradePrice\n baseToken {\n id\n symbol\n name\n decimals\n }\n quoteToken {\n id\n symbol\n name\n decimals\n usdPrice\n }\n baseLpToken {\n id\n symbol\n name\n }\n quoteLpToken {\n id\n symbol\n name\n }\n }\n liquidity_list(where: $liquidityWhere) {\n lqList {\n pair {\n apy {\n miningBaseApy\n miningQuoteApy\n transactionBaseApy\n transactionQuoteApy\n }\n miningAddress\n }\n }\n }\n }\n '): typeof import('./graphql').FetchPoolDocument;
|
|
44
|
+
export declare function graphql(source: '\n query FetchPool(\n $id: ID!\n $where: Pair_filter\n $liquidityWhere: Liquiditylist_filter\n ) {\n pair(id: $id, where: $where) {\n id\n type\n creator\n owner\n traderCount\n volumeBaseToken\n volumeQuoteToken\n volumeUSD\n feeBase\n feeQuote\n mtFeeRate\n lpFeeRate\n i\n k\n baseReserve\n quoteReserve\n createdAtTimestamp\n lastTradePrice\n baseToken {\n id\n symbol\n name\n decimals\n }\n quoteToken {\n id\n symbol\n name\n decimals\n usdPrice\n }\n baseLpToken {\n id\n symbol\n name\n decimals\n }\n quoteLpToken {\n id\n symbol\n name\n decimals\n }\n }\n liquidity_list(where: $liquidityWhere) {\n lqList {\n pair {\n apy {\n miningBaseApy\n miningQuoteApy\n transactionBaseApy\n transactionQuoteApy\n }\n miningAddress\n }\n }\n }\n }\n '): typeof import('./graphql').FetchPoolDocument;
|
|
45
45
|
/**
|
|
46
46
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
47
47
|
*/
|
|
@@ -74,3 +74,7 @@ export declare function graphql(source: '\n query FetchNoticeCenterTransactio
|
|
|
74
74
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
75
75
|
*/
|
|
76
76
|
export declare function graphql(source: '\n query FetchLiquidityLpPartnerRewards(\n $where: LiquidityLpPartnerRewardsInput\n ) {\n liquidity_getLpPartnerRewards(where: $where) {\n partnerInfos {\n partner\n logo\n introduction\n link\n theme\n sort\n platform\n extra\n }\n partnerRewards {\n chainId\n pool\n partner\n reward\n type\n }\n }\n }\n '): typeof import('./graphql').FetchLiquidityLpPartnerRewardsDocument;
|
|
77
|
+
/**
|
|
78
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
79
|
+
*/
|
|
80
|
+
export declare function graphql(source: '\n query FetchUserprofileReward($where: UserprofileReward_filter) {\n userprofile_reward(where: $where) {\n name_key\n token_address\n contract_address\n token_symbol\n locking\n version\n merkle {\n index\n amout\n proof\n }\n }\n }\n '): typeof import('./graphql').FetchUserprofileRewardDocument;
|
|
@@ -4886,6 +4886,104 @@ export type DodochainuserTwigsMineInput = {
|
|
|
4886
4886
|
size?: InputMaybe<Scalars['Int']['input']>;
|
|
4887
4887
|
user: Scalars['String']['input'];
|
|
4888
4888
|
};
|
|
4889
|
+
export type DodopointsChainOptionalUserInput = {
|
|
4890
|
+
chainId: Scalars['BigDecimal']['input'];
|
|
4891
|
+
user?: InputMaybe<Scalars['String']['input']>;
|
|
4892
|
+
};
|
|
4893
|
+
export type DodopointsChainUserInput = {
|
|
4894
|
+
chainId: Scalars['BigDecimal']['input'];
|
|
4895
|
+
user: Scalars['String']['input'];
|
|
4896
|
+
};
|
|
4897
|
+
export type DodopointsChainUserPaginationInput = {
|
|
4898
|
+
chainId: Scalars['BigDecimal']['input'];
|
|
4899
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
4900
|
+
size?: InputMaybe<Scalars['Int']['input']>;
|
|
4901
|
+
user: Scalars['String']['input'];
|
|
4902
|
+
};
|
|
4903
|
+
export type DodopointsClaimedRecord = {
|
|
4904
|
+
amount: Scalars['BigDecimal']['output'];
|
|
4905
|
+
symbol: Scalars['String']['output'];
|
|
4906
|
+
timestamp: Scalars['BigDecimal']['output'];
|
|
4907
|
+
token: Scalars['String']['output'];
|
|
4908
|
+
};
|
|
4909
|
+
export type DodopointsClaimedRecordPaginationResult = {
|
|
4910
|
+
count: Scalars['Int']['output'];
|
|
4911
|
+
list: Array<Maybe<DodopointsClaimedRecord>>;
|
|
4912
|
+
page: Scalars['Int']['output'];
|
|
4913
|
+
size: Scalars['Int']['output'];
|
|
4914
|
+
};
|
|
4915
|
+
export type DodopointsDodoPointsActivityInfo = {
|
|
4916
|
+
describe: Scalars['String']['output'];
|
|
4917
|
+
fulfilledPeriodsCoefficient: Scalars['BigDecimal']['output'];
|
|
4918
|
+
fulfilledPeriodsNumber: Scalars['Int']['output'];
|
|
4919
|
+
name: Scalars['String']['output'];
|
|
4920
|
+
periods: Array<Maybe<DodopointsPeriodInfo>>;
|
|
4921
|
+
totalPoints: Scalars['BigDecimal']['output'];
|
|
4922
|
+
url: Scalars['String']['output'];
|
|
4923
|
+
};
|
|
4924
|
+
export type DodopointsDodoPointsActivityRewardInfo = {
|
|
4925
|
+
endAt: Scalars['Int']['output'];
|
|
4926
|
+
name: Scalars['String']['output'];
|
|
4927
|
+
periods: Array<Maybe<DodopointsDodoPointsPeriodRewardInfo>>;
|
|
4928
|
+
startAt: Scalars['Int']['output'];
|
|
4929
|
+
totalPoints: Scalars['BigDecimal']['output'];
|
|
4930
|
+
};
|
|
4931
|
+
export type DodopointsDodoPointsPeriodRewardInfo = {
|
|
4932
|
+
contractAddress: Scalars['String']['output'];
|
|
4933
|
+
decimals: Scalars['Int']['output'];
|
|
4934
|
+
num: Scalars['Int']['output'];
|
|
4935
|
+
points: Scalars['BigDecimal']['output'];
|
|
4936
|
+
shareAmount: Scalars['Int']['output'];
|
|
4937
|
+
symbol: Scalars['String']['output'];
|
|
4938
|
+
token: Scalars['String']['output'];
|
|
4939
|
+
};
|
|
4940
|
+
export type DodopointsPairPoints = {
|
|
4941
|
+
baseSymbol: Scalars['String']['output'];
|
|
4942
|
+
baseToken: Scalars['String']['output'];
|
|
4943
|
+
points: Scalars['BigDecimal']['output'];
|
|
4944
|
+
quoteSymbol: Scalars['String']['output'];
|
|
4945
|
+
quoteToken: Scalars['String']['output'];
|
|
4946
|
+
};
|
|
4947
|
+
export type DodopointsPeriodInfo = {
|
|
4948
|
+
decimals: Scalars['Int']['output'];
|
|
4949
|
+
endAt: Scalars['Int']['output'];
|
|
4950
|
+
fulfilled: Scalars['Boolean']['output'];
|
|
4951
|
+
num: Scalars['Int']['output'];
|
|
4952
|
+
points: Scalars['BigDecimal']['output'];
|
|
4953
|
+
rules: Array<Maybe<DodopointsRuleInfo>>;
|
|
4954
|
+
shareAmount: Scalars['BigDecimal']['output'];
|
|
4955
|
+
startAt: Scalars['Int']['output'];
|
|
4956
|
+
symbol: Scalars['String']['output'];
|
|
4957
|
+
token: Scalars['String']['output'];
|
|
4958
|
+
tradePairs: Array<Maybe<DodopointsTradePairInfo>>;
|
|
4959
|
+
};
|
|
4960
|
+
export type DodopointsPointRecord = {
|
|
4961
|
+
points: Scalars['BigDecimal']['output'];
|
|
4962
|
+
timestamp: Scalars['BigDecimal']['output'];
|
|
4963
|
+
};
|
|
4964
|
+
export type DodopointsPointRecordPaginationResult = {
|
|
4965
|
+
count: Scalars['Int']['output'];
|
|
4966
|
+
list: Array<Maybe<DodopointsPointRecord>>;
|
|
4967
|
+
page: Scalars['Int']['output'];
|
|
4968
|
+
size: Scalars['Int']['output'];
|
|
4969
|
+
totalPoints: Scalars['BigDecimal']['output'];
|
|
4970
|
+
};
|
|
4971
|
+
export type DodopointsRuleInfo = {
|
|
4972
|
+
num: Scalars['Int']['output'];
|
|
4973
|
+
points: Scalars['BigDecimal']['output'];
|
|
4974
|
+
swapUsd: Scalars['BigDecimal']['output'];
|
|
4975
|
+
};
|
|
4976
|
+
export type DodopointsToken = {
|
|
4977
|
+
address: Scalars['String']['output'];
|
|
4978
|
+
decimals: Scalars['Int']['output'];
|
|
4979
|
+
logoImg: Scalars['String']['output'];
|
|
4980
|
+
symbol: Scalars['String']['output'];
|
|
4981
|
+
};
|
|
4982
|
+
export type DodopointsTradePairInfo = {
|
|
4983
|
+
coefficient?: Maybe<Scalars['BigDecimal']['output']>;
|
|
4984
|
+
fromToken: DodopointsToken;
|
|
4985
|
+
toToken: DodopointsToken;
|
|
4986
|
+
};
|
|
4889
4987
|
export type DonateHistory = {
|
|
4890
4988
|
/** block */
|
|
4891
4989
|
blockNumber: Scalars['BigInt']['output'];
|
|
@@ -6154,6 +6252,9 @@ export type LiquidityHistory_Filter = {
|
|
|
6154
6252
|
};
|
|
6155
6253
|
export type LiquidityHistory_OrderBy = 'amount' | 'balance' | 'baseAmountChange' | 'baseReserve' | 'baseTokenPrice' | 'block' | 'chain' | 'from' | 'hash' | 'id' | 'lpToken' | 'lpTokenTotalSupply' | 'pair' | 'quoteAmountChange' | 'quoteReserve' | 'quoteTokenPrice' | 'timestamp' | 'type' | 'updatedAt' | 'user';
|
|
6156
6254
|
export type LiquidityLp = {
|
|
6255
|
+
baseTokenAmount?: Maybe<Scalars['String']['output']>;
|
|
6256
|
+
baseTokenAmountInMining?: Maybe<Scalars['String']['output']>;
|
|
6257
|
+
baseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
6157
6258
|
id?: Maybe<Scalars['String']['output']>;
|
|
6158
6259
|
liquidityTokenBalance?: Maybe<Scalars['String']['output']>;
|
|
6159
6260
|
liquidityTokenInMining?: Maybe<Scalars['String']['output']>;
|
|
@@ -6163,6 +6264,9 @@ export type LiquidityLp = {
|
|
|
6163
6264
|
/** Share in the pool */
|
|
6164
6265
|
poolShare?: Maybe<Scalars['String']['output']>;
|
|
6165
6266
|
priceRange?: Maybe<LiquidityLpPriceRange>;
|
|
6267
|
+
quoteTokenAmount?: Maybe<Scalars['String']['output']>;
|
|
6268
|
+
quoteTokenAmountInMining?: Maybe<Scalars['String']['output']>;
|
|
6269
|
+
quoteTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
6166
6270
|
tickLower?: Maybe<LiquidityTick>;
|
|
6167
6271
|
tickUpper?: Maybe<LiquidityTick>;
|
|
6168
6272
|
/** AMM V3 info */
|
|
@@ -6198,13 +6302,13 @@ export type LiquidityLpPartnerRewardsResult = {
|
|
|
6198
6302
|
};
|
|
6199
6303
|
export type LiquidityLpPriceRange = {
|
|
6200
6304
|
/** token0 lower price */
|
|
6201
|
-
token0LowerPrice: Scalars['
|
|
6305
|
+
token0LowerPrice: Scalars['String']['output'];
|
|
6202
6306
|
/** token0 upper price */
|
|
6203
|
-
token0UpperPrice: Scalars['
|
|
6307
|
+
token0UpperPrice: Scalars['String']['output'];
|
|
6204
6308
|
/** token1 lower price */
|
|
6205
|
-
token1LowerPrice: Scalars['
|
|
6309
|
+
token1LowerPrice: Scalars['String']['output'];
|
|
6206
6310
|
/** token1 upper price */
|
|
6207
|
-
token1UpperPrice: Scalars['
|
|
6311
|
+
token1UpperPrice: Scalars['String']['output'];
|
|
6208
6312
|
};
|
|
6209
6313
|
export type LiquidityLpToken = {
|
|
6210
6314
|
/** token decimals */
|
|
@@ -10945,6 +11049,12 @@ export type Query = {
|
|
|
10945
11049
|
dodochain_getUserStakedListJourneyOne: DodochainUserStakedPaginationResult;
|
|
10946
11050
|
/** 获取用户参与的twigs挖矿列表 */
|
|
10947
11051
|
dodochain_getUserTwigsMineList: DodochainUserTwigsMinePaginationResult;
|
|
11052
|
+
/** 活动相关信息 */
|
|
11053
|
+
dodopoints_getActivityInfo?: Maybe<DodopointsDodoPointsActivityInfo>;
|
|
11054
|
+
/** Lp交易对积分记录 */
|
|
11055
|
+
dodopoints_getUserLpPairsPoints: Array<Maybe<DodopointsPairPoints>>;
|
|
11056
|
+
/** 交易积分发放记录 */
|
|
11057
|
+
dodopoints_getUserSwapPointsList: DodopointsPointRecordPaginationResult;
|
|
10948
11058
|
donateHistories: Array<DonateHistory>;
|
|
10949
11059
|
donateHistory?: Maybe<DonateHistory>;
|
|
10950
11060
|
/** 活动相关信息 */
|
|
@@ -11863,6 +11973,15 @@ export type QueryDodochain_GetUserStakedListJourneyOneArgs = {
|
|
|
11863
11973
|
export type QueryDodochain_GetUserTwigsMineListArgs = {
|
|
11864
11974
|
where?: InputMaybe<DodochainuserTwigsMineInput>;
|
|
11865
11975
|
};
|
|
11976
|
+
export type QueryDodopoints_GetActivityInfoArgs = {
|
|
11977
|
+
where?: InputMaybe<DodopointsChainOptionalUserInput>;
|
|
11978
|
+
};
|
|
11979
|
+
export type QueryDodopoints_GetUserLpPairsPointsArgs = {
|
|
11980
|
+
where?: InputMaybe<DodopointsChainOptionalUserInput>;
|
|
11981
|
+
};
|
|
11982
|
+
export type QueryDodopoints_GetUserSwapPointsListArgs = {
|
|
11983
|
+
where?: InputMaybe<DodopointsChainUserPaginationInput>;
|
|
11984
|
+
};
|
|
11866
11985
|
export type QueryDonateHistoriesArgs = {
|
|
11867
11986
|
block?: InputMaybe<Block_Height>;
|
|
11868
11987
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -18563,9 +18682,11 @@ export type FetchPoolListQuery = {
|
|
|
18563
18682
|
};
|
|
18564
18683
|
baseLpToken?: {
|
|
18565
18684
|
id: string;
|
|
18685
|
+
decimals: any;
|
|
18566
18686
|
} | null;
|
|
18567
18687
|
quoteLpToken?: {
|
|
18568
18688
|
id: string;
|
|
18689
|
+
decimals: any;
|
|
18569
18690
|
} | null;
|
|
18570
18691
|
}>;
|
|
18571
18692
|
};
|
|
@@ -18591,9 +18712,11 @@ export type FetchLiquidityListQuery = {
|
|
|
18591
18712
|
volume24H?: any | null;
|
|
18592
18713
|
baseLpToken?: {
|
|
18593
18714
|
id: string;
|
|
18715
|
+
decimals: any;
|
|
18594
18716
|
} | null;
|
|
18595
18717
|
quoteLpToken?: {
|
|
18596
18718
|
id: string;
|
|
18719
|
+
decimals: any;
|
|
18597
18720
|
} | null;
|
|
18598
18721
|
baseToken: {
|
|
18599
18722
|
id: string;
|
|
@@ -18635,10 +18758,10 @@ export type FetchMyLiquidityListQuery = {
|
|
|
18635
18758
|
tokenId?: string | null;
|
|
18636
18759
|
outOfRange?: boolean | null;
|
|
18637
18760
|
priceRange?: {
|
|
18638
|
-
token0LowerPrice:
|
|
18639
|
-
token0UpperPrice:
|
|
18640
|
-
token1LowerPrice:
|
|
18641
|
-
token1UpperPrice:
|
|
18761
|
+
token0LowerPrice: string;
|
|
18762
|
+
token0UpperPrice: string;
|
|
18763
|
+
token1LowerPrice: string;
|
|
18764
|
+
token1UpperPrice: string;
|
|
18642
18765
|
} | null;
|
|
18643
18766
|
tickLower?: {
|
|
18644
18767
|
id: string;
|
|
@@ -18669,9 +18792,11 @@ export type FetchMyLiquidityListQuery = {
|
|
|
18669
18792
|
volume24H?: any | null;
|
|
18670
18793
|
baseLpToken?: {
|
|
18671
18794
|
id: string;
|
|
18795
|
+
decimals: any;
|
|
18672
18796
|
} | null;
|
|
18673
18797
|
quoteLpToken?: {
|
|
18674
18798
|
id: string;
|
|
18799
|
+
decimals: any;
|
|
18675
18800
|
} | null;
|
|
18676
18801
|
baseToken: {
|
|
18677
18802
|
id: string;
|
|
@@ -18763,11 +18888,13 @@ export type FetchPoolQuery = {
|
|
|
18763
18888
|
id: string;
|
|
18764
18889
|
symbol: string;
|
|
18765
18890
|
name: string;
|
|
18891
|
+
decimals: any;
|
|
18766
18892
|
} | null;
|
|
18767
18893
|
quoteLpToken?: {
|
|
18768
18894
|
id: string;
|
|
18769
18895
|
symbol: string;
|
|
18770
18896
|
name: string;
|
|
18897
|
+
decimals: any;
|
|
18771
18898
|
} | null;
|
|
18772
18899
|
} | null;
|
|
18773
18900
|
liquidity_list?: {
|
|
@@ -19051,6 +19178,24 @@ export type FetchLiquidityLpPartnerRewardsQuery = {
|
|
|
19051
19178
|
} | null> | null;
|
|
19052
19179
|
} | null;
|
|
19053
19180
|
};
|
|
19181
|
+
export type FetchUserprofileRewardQueryVariables = Exact<{
|
|
19182
|
+
where?: InputMaybe<UserprofileReward_Filter>;
|
|
19183
|
+
}>;
|
|
19184
|
+
export type FetchUserprofileRewardQuery = {
|
|
19185
|
+
userprofile_reward?: Array<{
|
|
19186
|
+
name_key?: string | null;
|
|
19187
|
+
token_address?: string | null;
|
|
19188
|
+
contract_address?: string | null;
|
|
19189
|
+
token_symbol?: string | null;
|
|
19190
|
+
locking?: string | null;
|
|
19191
|
+
version?: string | null;
|
|
19192
|
+
merkle?: {
|
|
19193
|
+
index?: string | null;
|
|
19194
|
+
amout?: string | null;
|
|
19195
|
+
proof?: Array<string | null> | null;
|
|
19196
|
+
} | null;
|
|
19197
|
+
}> | null;
|
|
19198
|
+
};
|
|
19054
19199
|
export declare class TypedDocumentString<TResult, TVariables> extends String implements DocumentTypeDecoration<TResult, TVariables> {
|
|
19055
19200
|
private value;
|
|
19056
19201
|
__meta__?: Record<string, any> | undefined;
|
|
@@ -19077,3 +19222,4 @@ export declare const FetchPoolPairListDocument: TypedDocumentString<FetchPoolPai
|
|
|
19077
19222
|
export declare const FetchUserSwapOrderHistoriesDocument: TypedDocumentString<FetchUserSwapOrderHistoriesQuery, FetchUserSwapOrderHistoriesQueryVariables>;
|
|
19078
19223
|
export declare const FetchNoticeCenterTransactionListDocument: TypedDocumentString<FetchNoticeCenterTransactionListQuery, FetchNoticeCenterTransactionListQueryVariables>;
|
|
19079
19224
|
export declare const FetchLiquidityLpPartnerRewardsDocument: TypedDocumentString<FetchLiquidityLpPartnerRewardsQuery, FetchLiquidityLpPartnerRewardsQueryVariables>;
|
|
19225
|
+
export declare const FetchUserprofileRewardDocument: TypedDocumentString<FetchUserprofileRewardQuery, FetchUserprofileRewardQueryVariables>;
|
|
@@ -7,5 +7,8 @@ export declare class SystemApi {
|
|
|
7
7
|
fetchLiquidityLpPartnerRewards: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchLiquidityLpPartnerRewardsQuery, import("../../gql/graphql").Exact<{
|
|
8
8
|
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").LiquidityLpPartnerRewardsInput>;
|
|
9
9
|
}>>;
|
|
10
|
+
fetchUserprofileReward: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchUserprofileRewardQuery, import("../../gql/graphql").Exact<{
|
|
11
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").UserprofileReward_Filter>;
|
|
12
|
+
}>>;
|
|
10
13
|
};
|
|
11
14
|
}
|
|
@@ -5,4 +5,7 @@ export declare const systemGraphqlQuery: {
|
|
|
5
5
|
fetchLiquidityLpPartnerRewards: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchLiquidityLpPartnerRewardsQuery, import("../../gql/graphql").Exact<{
|
|
6
6
|
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").LiquidityLpPartnerRewardsInput>;
|
|
7
7
|
}>>;
|
|
8
|
+
fetchUserprofileReward: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchUserprofileRewardQuery, import("../../gql/graphql").Exact<{
|
|
9
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").UserprofileReward_Filter>;
|
|
10
|
+
}>>;
|
|
8
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dodoex/api",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3-bartio.0",
|
|
4
4
|
"description": "DODO API Kit",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"schema:compile": "export $(cat .env | xargs) && env graphql-codegen",
|
|
19
19
|
"schema:watch": "export $(cat .env | xargs) && env graphql-codegen -w",
|
|
20
20
|
"prerelease": "yarn run build",
|
|
21
|
-
"publish-sample": "npm publish --access public",
|
|
22
21
|
"release": "semantic-release",
|
|
23
22
|
"release:local": "np --any-branch --no-cleanup --no-tests",
|
|
23
|
+
"release.npm-publish": "npm publish --access public",
|
|
24
24
|
"release.npm-publish-beta": "npm publish --tag beta"
|
|
25
25
|
},
|
|
26
26
|
"author": "",
|