@dodoex/api 3.0.4-ve33.3 → 3.0.4
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 +9 -1
- package/dist/types/gql/gql.d.ts +0 -8
- package/dist/types/gql/graphql.d.ts +0 -297
- package/dist/types/services/TokenApi/graphqlQuery.d.ts +0 -3
- package/dist/types/services/TokenApi/index.d.ts +0 -3
- package/dist/types/services/pool/PoolApi.d.ts +0 -3
- package/dist/types/services/pool/graphqlQuery.d.ts +0 -3
- package/package.json +2 -2
|
@@ -22,5 +22,13 @@ export declare enum ChainId {
|
|
|
22
22
|
PLUME_TESTNET = 98864,
|
|
23
23
|
NEOX = 47763,
|
|
24
24
|
MORPH = 2818,
|
|
25
|
-
|
|
25
|
+
RISE_TESTNET = 11155931,
|
|
26
|
+
NEROCHAIN = 1689,
|
|
27
|
+
BITLAYER = 200901,
|
|
28
|
+
ZIRCUIT = 48900,
|
|
29
|
+
X_LAYER = 196,
|
|
30
|
+
ZERO = 543210,
|
|
31
|
+
HASHKEY = 177,
|
|
32
|
+
HEMI = 43111,
|
|
33
|
+
PHAROS_TESTNET = 688688
|
|
26
34
|
}
|
package/dist/types/gql/gql.d.ts
CHANGED
|
@@ -6,10 +6,6 @@ export declare function graphql(source: '\n query FetchErc20SwapCrossChainLis
|
|
|
6
6
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
7
7
|
*/
|
|
8
8
|
export declare function graphql(source: '\n query FetchErc20ForecastSlippage($where: Erc20_extenderc20ExtendV2Filter) {\n erc20_extend_erc20ExtendV2(where: $where) {\n forecastSlippageList {\n forecastSlippage\n forecastValue\n confidenceRatio\n confidenceIntervalUpper\n confidenceIntervalLower\n }\n }\n }\n '): typeof import('./graphql').FetchErc20ForecastSlippageDocument;
|
|
9
|
-
/**
|
|
10
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
11
|
-
*/
|
|
12
|
-
export declare function graphql(source: '\n query Ve33_token_list($where: Ve33_tokenlistFilter) {\n ve33_token_list(where: $where) {\n name\n address\n symbol\n decimals\n slippage\n position\n chainId\n logo\n }\n }\n '): typeof import('./graphql').Ve33_Token_ListDocument;
|
|
13
9
|
/**
|
|
14
10
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
15
11
|
*/
|
|
@@ -66,10 +62,6 @@ export declare function graphql(source: '\n query FetchLiquidityPositions(\n
|
|
|
66
62
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
67
63
|
*/
|
|
68
64
|
export declare function graphql(source: '\n query FetchPoolPairList(\n $first: Int\n $baseWhere: Pair_filter\n $quoteWhere: Pair_filter\n $orderBy: Pair_orderBy\n $orderDirection: OrderDirection\n ) {\n basePairs: pairs(\n first: $first\n where: $baseWhere\n orderBy: $orderBy\n orderDirection: $orderDirection\n ) {\n id\n type\n creator\n lpFeeRate\n i\n k\n baseReserve\n quoteReserve\n createdAtTimestamp\n lastTradePrice\n volumeUSD\n baseToken {\n id\n symbol\n name\n decimals\n usdPrice\n }\n quoteToken {\n id\n symbol\n name\n decimals\n usdPrice\n }\n }\n quotePairs: pairs(\n first: $first\n where: $quoteWhere\n orderBy: $orderBy\n orderDirection: $orderDirection\n ) {\n id\n type\n creator\n lpFeeRate\n i\n k\n baseReserve\n quoteReserve\n createdAtTimestamp\n lastTradePrice\n volumeUSD\n baseToken {\n id\n symbol\n name\n decimals\n usdPrice\n }\n quoteToken {\n id\n symbol\n name\n decimals\n usdPrice\n }\n }\n }\n '): typeof import('./graphql').FetchPoolPairListDocument;
|
|
69
|
-
/**
|
|
70
|
-
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
71
|
-
*/
|
|
72
|
-
export declare function graphql(source: '\n query Ve33_getPoolList($where: Ve33TokenFilterPaginationInput) {\n ve33_getPoolList(where: $where) {\n id\n title\n version\n gaugeAddress\n feeRate\n apr {\n fees\n incentives\n }\n tvl\n totalValueLockedUSD\n totalValueLockedToken0\n totalValueLockedToken1\n volumeUSD\n volumeToken0\n volumeToken1\n feesUSD\n feesToken0\n feesToken1\n token0Address\n token0Name\n token0Symbol\n token0Decimals\n token1Address\n token1Name\n token1Symbol\n token1Decimals\n }\n }\n '): typeof import('./graphql').Ve33_GetPoolListDocument;
|
|
73
65
|
/**
|
|
74
66
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
75
67
|
*/
|
|
@@ -273,29 +273,6 @@ export type All_Filter = {
|
|
|
273
273
|
schemaName?: InputMaybe<Scalars['String']['input']>;
|
|
274
274
|
};
|
|
275
275
|
export type All_OrderBy = 'chain' | 'id';
|
|
276
|
-
export type AmmTick = {
|
|
277
|
-
id: Scalars['String']['output'];
|
|
278
|
-
liquidityGross: Scalars['BigDecimal']['output'];
|
|
279
|
-
liquidityNet: Scalars['BigDecimal']['output'];
|
|
280
|
-
poolAddress: Scalars['String']['output'];
|
|
281
|
-
price0: Scalars['BigDecimal']['output'];
|
|
282
|
-
price1: Scalars['BigDecimal']['output'];
|
|
283
|
-
protocolPosition?: Maybe<Scalars['String']['output']>;
|
|
284
|
-
tickArrayLower?: Maybe<Scalars['String']['output']>;
|
|
285
|
-
tickArrayUpper?: Maybe<Scalars['String']['output']>;
|
|
286
|
-
tickIdx: Scalars['BigDecimal']['output'];
|
|
287
|
-
};
|
|
288
|
-
export type AmmTicksDataResult = {
|
|
289
|
-
chain: Scalars['String']['output'];
|
|
290
|
-
pairType: Scalars['String']['output'];
|
|
291
|
-
poolAddress: Scalars['String']['output'];
|
|
292
|
-
ticks: Array<Maybe<AmmTick>>;
|
|
293
|
-
};
|
|
294
|
-
export type AmmgetTicksDataInput = {
|
|
295
|
-
chain: Scalars['String']['input'];
|
|
296
|
-
pairType: Scalars['String']['input'];
|
|
297
|
-
poolAddress: Scalars['String']['input'];
|
|
298
|
-
};
|
|
299
276
|
export type AnnouncementAnnouncement = {
|
|
300
277
|
endAt?: Maybe<Scalars['String']['output']>;
|
|
301
278
|
id?: Maybe<Scalars['Int']['output']>;
|
|
@@ -1754,7 +1731,6 @@ export type Cross_Chain_SwapExtend = {
|
|
|
1754
1731
|
encodeId?: Maybe<Scalars['String']['output']>;
|
|
1755
1732
|
fromToken?: Maybe<Scalars['JSON']['output']>;
|
|
1756
1733
|
lifiBridge?: Maybe<Scalars['String']['output']>;
|
|
1757
|
-
productStateInfo?: Maybe<Scalars['JSON']['output']>;
|
|
1758
1734
|
refunded?: Maybe<Scalars['JSON']['output']>;
|
|
1759
1735
|
route?: Maybe<Scalars['JSON']['output']>;
|
|
1760
1736
|
toToken?: Maybe<Scalars['JSON']['output']>;
|
|
@@ -1819,7 +1795,6 @@ export type Cross_Chain_SwaporderCreateDataExtendRoute = {
|
|
|
1819
1795
|
feeUSD?: InputMaybe<Scalars['String']['input']>;
|
|
1820
1796
|
step?: InputMaybe<Scalars['JSON']['input']>;
|
|
1821
1797
|
toAmount?: InputMaybe<Scalars['String']['input']>;
|
|
1822
|
-
toAmountMin?: InputMaybe<Scalars['String']['input']>;
|
|
1823
1798
|
};
|
|
1824
1799
|
export type Cross_Chain_SwaporderDetailData = {
|
|
1825
1800
|
orderId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1830,10 +1805,8 @@ export type Cross_Chain_SwaporderListData = {
|
|
|
1830
1805
|
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
1831
1806
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1832
1807
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1833
|
-
product?: InputMaybe<Scalars['String']['input']>;
|
|
1834
1808
|
refreshNow?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1835
1809
|
source?: InputMaybe<Scalars['String']['input']>;
|
|
1836
|
-
status?: InputMaybe<Scalars['String']['input']>;
|
|
1837
1810
|
user?: InputMaybe<Scalars['String']['input']>;
|
|
1838
1811
|
};
|
|
1839
1812
|
export type Cross_Chain_SwaporderNewStatusData = {
|
|
@@ -1843,7 +1816,6 @@ export type Cross_Chain_SwaporderNewStatusData = {
|
|
|
1843
1816
|
export type Cross_Chain_SwaporderRefundCountData = {
|
|
1844
1817
|
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
1845
1818
|
from?: InputMaybe<Scalars['String']['input']>;
|
|
1846
|
-
product?: InputMaybe<Scalars['String']['input']>;
|
|
1847
1819
|
refreshNow?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1848
1820
|
source?: InputMaybe<Scalars['String']['input']>;
|
|
1849
1821
|
user?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5356,7 +5328,6 @@ export type Erc20listV2Filter = {
|
|
|
5356
5328
|
chainIds?: InputMaybe<Scalars['String']['input']>;
|
|
5357
5329
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
5358
5330
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
5359
|
-
productName?: InputMaybe<Scalars['String']['input']>;
|
|
5360
5331
|
refreshNow?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5361
5332
|
};
|
|
5362
5333
|
export type Erc20relationListFilter = {
|
|
@@ -6335,7 +6306,6 @@ export type LiquidityLp = {
|
|
|
6335
6306
|
liquidityTokenInMining?: Maybe<Scalars['String']['output']>;
|
|
6336
6307
|
/** my liquidity usd */
|
|
6337
6308
|
liquidityUSD?: Maybe<Scalars['String']['output']>;
|
|
6338
|
-
nftMint?: Maybe<Scalars['String']['output']>;
|
|
6339
6309
|
outOfRange?: Maybe<Scalars['Boolean']['output']>;
|
|
6340
6310
|
/** Share in the pool */
|
|
6341
6311
|
poolShare?: Maybe<Scalars['String']['output']>;
|
|
@@ -10951,8 +10921,6 @@ export type Query = {
|
|
|
10951
10921
|
aggregateFragments: Array<AggregateFragment>;
|
|
10952
10922
|
all?: Maybe<All>;
|
|
10953
10923
|
alls: Array<All>;
|
|
10954
|
-
/** 获取amm ticks */
|
|
10955
|
-
amm_getTicksData: AmmTicksDataResult;
|
|
10956
10924
|
announcement_getAnnouncement?: Maybe<AnnouncementAnnouncementList>;
|
|
10957
10925
|
approval?: Maybe<Approval>;
|
|
10958
10926
|
approvals: Array<Approval>;
|
|
@@ -11394,19 +11362,6 @@ export type Query = {
|
|
|
11394
11362
|
/** get service charges for vdodo */
|
|
11395
11363
|
vdodo_getServiceCharges: VdodoVdodoServiceChargesResult;
|
|
11396
11364
|
vdodo_getStats: VdodoStatsResult;
|
|
11397
|
-
/** 池子详情 */
|
|
11398
|
-
ve33_getPool?: Maybe<Ve33Pool>;
|
|
11399
|
-
/** 池子列表 */
|
|
11400
|
-
ve33_getPoolList: Array<Maybe<Ve33Pool>>;
|
|
11401
|
-
/** 锁仓信息 */
|
|
11402
|
-
ve33_getUserLock: Array<Maybe<Ve33Lock>>;
|
|
11403
|
-
/** 用户投资列表 */
|
|
11404
|
-
ve33_getUserPortfolioList: Array<Maybe<Ve33Portfolio>>;
|
|
11405
|
-
/** 用户veMOMO信息 */
|
|
11406
|
-
ve33_getUserVeMOMOInfo: Ve33UserVeMomoInfo;
|
|
11407
|
-
/** 投票池列表 */
|
|
11408
|
-
ve33_getVotePoolList: Array<Maybe<Ve33VotePool>>;
|
|
11409
|
-
ve33_token_list?: Maybe<Array<Maybe<Ve33_TokenVe33Token>>>;
|
|
11410
11365
|
withdrawFundHistories: Array<WithdrawFundHistory>;
|
|
11411
11366
|
withdrawFundHistory?: Maybe<WithdrawFundHistory>;
|
|
11412
11367
|
withdrawReserve?: Maybe<WithdrawReserve>;
|
|
@@ -11463,9 +11418,6 @@ export type QueryAllsArgs = {
|
|
|
11463
11418
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
11464
11419
|
where?: InputMaybe<All_Filter>;
|
|
11465
11420
|
};
|
|
11466
|
-
export type QueryAmm_GetTicksDataArgs = {
|
|
11467
|
-
where?: InputMaybe<AmmgetTicksDataInput>;
|
|
11468
|
-
};
|
|
11469
11421
|
export type QueryAnnouncement_GetAnnouncementArgs = {
|
|
11470
11422
|
lang?: InputMaybe<Scalars['String']['input']>;
|
|
11471
11423
|
};
|
|
@@ -13240,27 +13192,6 @@ export type QueryVdodo_GetServiceChargesArgs = {
|
|
|
13240
13192
|
export type QueryVdodo_GetStatsArgs = {
|
|
13241
13193
|
where?: InputMaybe<VdodoChainsInput>;
|
|
13242
13194
|
};
|
|
13243
|
-
export type QueryVe33_GetPoolArgs = {
|
|
13244
|
-
where?: InputMaybe<Ve33PoolInput>;
|
|
13245
|
-
};
|
|
13246
|
-
export type QueryVe33_GetPoolListArgs = {
|
|
13247
|
-
where?: InputMaybe<Ve33TokenFilterPaginationInput>;
|
|
13248
|
-
};
|
|
13249
|
-
export type QueryVe33_GetUserLockArgs = {
|
|
13250
|
-
where: Ve33UserInput;
|
|
13251
|
-
};
|
|
13252
|
-
export type QueryVe33_GetUserPortfolioListArgs = {
|
|
13253
|
-
where: Ve33PortfolioInput;
|
|
13254
|
-
};
|
|
13255
|
-
export type QueryVe33_GetUserVeMomoInfoArgs = {
|
|
13256
|
-
where: Ve33UserInput;
|
|
13257
|
-
};
|
|
13258
|
-
export type QueryVe33_GetVotePoolListArgs = {
|
|
13259
|
-
where?: InputMaybe<Ve33VotePoolInput>;
|
|
13260
|
-
};
|
|
13261
|
-
export type QueryVe33_Token_ListArgs = {
|
|
13262
|
-
where?: InputMaybe<Ve33_TokenlistFilter>;
|
|
13263
|
-
};
|
|
13264
13195
|
export type QueryWithdrawFundHistoriesArgs = {
|
|
13265
13196
|
block?: InputMaybe<Block_Height>;
|
|
13266
13197
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -18101,183 +18032,6 @@ export type VdodoVdodoServiceChargesResult = {
|
|
|
18101
18032
|
/** 80%分给LP的部分 */
|
|
18102
18033
|
pool_fees_total: Scalars['String']['output'];
|
|
18103
18034
|
};
|
|
18104
|
-
export type Ve33Incentive = {
|
|
18105
|
-
amount: Scalars['BigInt']['output'];
|
|
18106
|
-
token: Scalars['String']['output'];
|
|
18107
|
-
usd: Scalars['BigDecimal']['output'];
|
|
18108
|
-
};
|
|
18109
|
-
export type Ve33Lock = {
|
|
18110
|
-
id: Scalars['String']['output'];
|
|
18111
|
-
isPermanent: Scalars['Boolean']['output'];
|
|
18112
|
-
isVoted: Scalars['Boolean']['output'];
|
|
18113
|
-
lockedEnd: Scalars['BigInt']['output'];
|
|
18114
|
-
userAddress: Scalars['String']['output'];
|
|
18115
|
-
value: Scalars['BigDecimal']['output'];
|
|
18116
|
-
votingPower: Scalars['BigDecimal']['output'];
|
|
18117
|
-
};
|
|
18118
|
-
export type Ve33Pool = {
|
|
18119
|
-
apr: Ve33PoolApr;
|
|
18120
|
-
feeRate: Scalars['BigDecimal']['output'];
|
|
18121
|
-
feesToken0: Scalars['BigDecimal']['output'];
|
|
18122
|
-
feesToken1: Scalars['BigDecimal']['output'];
|
|
18123
|
-
feesUSD: Scalars['BigDecimal']['output'];
|
|
18124
|
-
gaugeAddress: Scalars['String']['output'];
|
|
18125
|
-
id: Scalars['String']['output'];
|
|
18126
|
-
title: Scalars['String']['output'];
|
|
18127
|
-
token0Address: Scalars['String']['output'];
|
|
18128
|
-
token0Decimals: Scalars['Int']['output'];
|
|
18129
|
-
token0Name: Scalars['String']['output'];
|
|
18130
|
-
token0Symbol: Scalars['String']['output'];
|
|
18131
|
-
token1Address: Scalars['String']['output'];
|
|
18132
|
-
token1Decimals: Scalars['Int']['output'];
|
|
18133
|
-
token1Name: Scalars['String']['output'];
|
|
18134
|
-
token1Symbol: Scalars['String']['output'];
|
|
18135
|
-
totalValueLockedToken0: Scalars['BigDecimal']['output'];
|
|
18136
|
-
totalValueLockedToken1: Scalars['BigDecimal']['output'];
|
|
18137
|
-
totalValueLockedUSD: Scalars['BigDecimal']['output'];
|
|
18138
|
-
tvl: Scalars['BigDecimal']['output'];
|
|
18139
|
-
/** v2 or v3 */
|
|
18140
|
-
version: Scalars['String']['output'];
|
|
18141
|
-
volumeToken0: Scalars['BigDecimal']['output'];
|
|
18142
|
-
volumeToken1: Scalars['BigDecimal']['output'];
|
|
18143
|
-
volumeUSD: Scalars['BigDecimal']['output'];
|
|
18144
|
-
};
|
|
18145
|
-
export type Ve33PoolApr = {
|
|
18146
|
-
fees: Scalars['BigDecimal']['output'];
|
|
18147
|
-
incentives: Scalars['BigDecimal']['output'];
|
|
18148
|
-
};
|
|
18149
|
-
export type Ve33PoolInput = {
|
|
18150
|
-
pool?: InputMaybe<Scalars['String']['input']>;
|
|
18151
|
-
};
|
|
18152
|
-
export type Ve33PoolTotalVoted = {
|
|
18153
|
-
token: Scalars['String']['output'];
|
|
18154
|
-
weight: Scalars['String']['output'];
|
|
18155
|
-
};
|
|
18156
|
-
export type Ve33Portfolio = {
|
|
18157
|
-
apr: Ve33PortfolioApr;
|
|
18158
|
-
emissions: Scalars['BigDecimal']['output'];
|
|
18159
|
-
emissionsUSD: Scalars['BigDecimal']['output'];
|
|
18160
|
-
feeRate: Scalars['BigDecimal']['output'];
|
|
18161
|
-
feesToken0: Scalars['BigDecimal']['output'];
|
|
18162
|
-
feesToken1: Scalars['BigDecimal']['output'];
|
|
18163
|
-
feesUSD: Scalars['BigDecimal']['output'];
|
|
18164
|
-
gaugeAddress: Scalars['String']['output'];
|
|
18165
|
-
/** liquidity position id, 'Position #1000' */
|
|
18166
|
-
id: Scalars['String']['output'];
|
|
18167
|
-
incentives: Array<Maybe<Ve33Incentive>>;
|
|
18168
|
-
liquidityTokenBalance: Scalars['String']['output'];
|
|
18169
|
-
liquidityTokenBalanceUSD: Scalars['String']['output'];
|
|
18170
|
-
liquidityTokenInMining: Scalars['String']['output'];
|
|
18171
|
-
liquidityTokenInMiningUSD: Scalars['String']['output'];
|
|
18172
|
-
liquidityUSD: Scalars['String']['output'];
|
|
18173
|
-
locks: Array<Maybe<Ve33PortfolioLock>>;
|
|
18174
|
-
poolAddress: Scalars['String']['output'];
|
|
18175
|
-
title: Scalars['String']['output'];
|
|
18176
|
-
token0Address: Scalars['String']['output'];
|
|
18177
|
-
token0Amount: Scalars['String']['output'];
|
|
18178
|
-
token0Decimals: Scalars['Int']['output'];
|
|
18179
|
-
token0LowerPrice: Scalars['String']['output'];
|
|
18180
|
-
token0Name: Scalars['String']['output'];
|
|
18181
|
-
token0Piece: Scalars['String']['output'];
|
|
18182
|
-
token0Symbol: Scalars['String']['output'];
|
|
18183
|
-
token0UpperPrice: Scalars['String']['output'];
|
|
18184
|
-
token1Address: Scalars['String']['output'];
|
|
18185
|
-
token1Amount: Scalars['String']['output'];
|
|
18186
|
-
token1Decimals: Scalars['Int']['output'];
|
|
18187
|
-
token1LowerPrice: Scalars['String']['output'];
|
|
18188
|
-
token1Name: Scalars['String']['output'];
|
|
18189
|
-
token1Piece: Scalars['String']['output'];
|
|
18190
|
-
token1Symbol: Scalars['String']['output'];
|
|
18191
|
-
token1UpperPrice: Scalars['String']['output'];
|
|
18192
|
-
tvl: Scalars['BigDecimal']['output'];
|
|
18193
|
-
/** voting=Voting Rewards, liquidity=LP Rewards */
|
|
18194
|
-
type: Scalars['String']['output'];
|
|
18195
|
-
/** v2 or v3 */
|
|
18196
|
-
version: Scalars['String']['output'];
|
|
18197
|
-
};
|
|
18198
|
-
export type Ve33PortfolioApr = {
|
|
18199
|
-
fees: Scalars['BigDecimal']['output'];
|
|
18200
|
-
incentives: Scalars['BigDecimal']['output'];
|
|
18201
|
-
rewards: Scalars['BigDecimal']['output'];
|
|
18202
|
-
};
|
|
18203
|
-
export type Ve33PortfolioInput = {
|
|
18204
|
-
page?: InputMaybe<Scalars['Int']['input']>;
|
|
18205
|
-
size?: InputMaybe<Scalars['Int']['input']>;
|
|
18206
|
-
token_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
18207
|
-
type?: InputMaybe<Ve33VotePoolType>;
|
|
18208
|
-
user: Scalars['String']['input'];
|
|
18209
|
-
};
|
|
18210
|
-
export type Ve33PortfolioLock = {
|
|
18211
|
-
id: Scalars['String']['output'];
|
|
18212
|
-
lockedEnd: Scalars['BigInt']['output'];
|
|
18213
|
-
totalWeight: Scalars['BigDecimal']['output'];
|
|
18214
|
-
usd: Scalars['BigDecimal']['output'];
|
|
18215
|
-
userAddress: Scalars['String']['output'];
|
|
18216
|
-
value: Scalars['BigInt']['output'];
|
|
18217
|
-
votingPower: Scalars['BigInt']['output'];
|
|
18218
|
-
weight: Scalars['BigDecimal']['output'];
|
|
18219
|
-
};
|
|
18220
|
-
export type Ve33TokenFilterPaginationInput = {
|
|
18221
|
-
page?: InputMaybe<Scalars['Int']['input']>;
|
|
18222
|
-
size?: InputMaybe<Scalars['Int']['input']>;
|
|
18223
|
-
token_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
18224
|
-
};
|
|
18225
|
-
export type Ve33UserInput = {
|
|
18226
|
-
user: Scalars['String']['input'];
|
|
18227
|
-
};
|
|
18228
|
-
export type Ve33UserVeMomoInfo = {
|
|
18229
|
-
totalVeMOMOCount: Scalars['Int']['output'];
|
|
18230
|
-
votedVeMOMOCount: Scalars['Int']['output'];
|
|
18231
|
-
};
|
|
18232
|
-
export type Ve33VotePool = {
|
|
18233
|
-
apr: Ve33PoolApr;
|
|
18234
|
-
feeRate: Scalars['BigDecimal']['output'];
|
|
18235
|
-
feesToken0: Scalars['BigDecimal']['output'];
|
|
18236
|
-
feesToken1: Scalars['BigDecimal']['output'];
|
|
18237
|
-
feesUSD: Scalars['BigDecimal']['output'];
|
|
18238
|
-
gaugeAddress: Scalars['String']['output'];
|
|
18239
|
-
id: Scalars['String']['output'];
|
|
18240
|
-
incentives: Array<Maybe<Ve33Incentive>>;
|
|
18241
|
-
title: Scalars['String']['output'];
|
|
18242
|
-
token0Address: Scalars['String']['output'];
|
|
18243
|
-
token0Decimals: Scalars['Int']['output'];
|
|
18244
|
-
token0Name: Scalars['String']['output'];
|
|
18245
|
-
token0Symbol: Scalars['String']['output'];
|
|
18246
|
-
token1Address: Scalars['String']['output'];
|
|
18247
|
-
token1Decimals: Scalars['Int']['output'];
|
|
18248
|
-
token1Name: Scalars['String']['output'];
|
|
18249
|
-
token1Symbol: Scalars['String']['output'];
|
|
18250
|
-
totalValueLockedToken0: Scalars['BigDecimal']['output'];
|
|
18251
|
-
totalValueLockedToken1: Scalars['BigDecimal']['output'];
|
|
18252
|
-
totalValueLockedUSD: Scalars['BigDecimal']['output'];
|
|
18253
|
-
tvl: Scalars['BigDecimal']['output'];
|
|
18254
|
-
/** v2 or v3 */
|
|
18255
|
-
version: Scalars['String']['output'];
|
|
18256
|
-
votes: Array<Maybe<Ve33PoolTotalVoted>>;
|
|
18257
|
-
};
|
|
18258
|
-
export type Ve33VotePoolInput = {
|
|
18259
|
-
page?: InputMaybe<Scalars['Int']['input']>;
|
|
18260
|
-
size?: InputMaybe<Scalars['Int']['input']>;
|
|
18261
|
-
token_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
18262
|
-
type?: InputMaybe<Ve33VotePoolType>;
|
|
18263
|
-
user?: InputMaybe<Scalars['String']['input']>;
|
|
18264
|
-
};
|
|
18265
|
-
export type Ve33VotePoolType = 'All' | 'V2' | 'V3';
|
|
18266
|
-
export type Ve33_TokenVe33Token = {
|
|
18267
|
-
address?: Maybe<Scalars['String']['output']>;
|
|
18268
|
-
chainId?: Maybe<Scalars['Int']['output']>;
|
|
18269
|
-
decimals?: Maybe<Scalars['Int']['output']>;
|
|
18270
|
-
logo?: Maybe<Scalars['String']['output']>;
|
|
18271
|
-
name?: Maybe<Scalars['String']['output']>;
|
|
18272
|
-
position?: Maybe<Scalars['Int']['output']>;
|
|
18273
|
-
slippage?: Maybe<Scalars['String']['output']>;
|
|
18274
|
-
symbol?: Maybe<Scalars['String']['output']>;
|
|
18275
|
-
};
|
|
18276
|
-
export type Ve33_TokenlistFilter = {
|
|
18277
|
-
chainId?: InputMaybe<Scalars['String']['input']>;
|
|
18278
|
-
page?: InputMaybe<Scalars['Int']['input']>;
|
|
18279
|
-
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
18280
|
-
};
|
|
18281
18035
|
export type WithdrawFundHistory = {
|
|
18282
18036
|
chain: Scalars['String']['output'];
|
|
18283
18037
|
/** id hash-logindex */
|
|
@@ -18705,21 +18459,6 @@ export type FetchErc20ForecastSlippageQuery = {
|
|
|
18705
18459
|
} | null> | null;
|
|
18706
18460
|
} | null;
|
|
18707
18461
|
};
|
|
18708
|
-
export type Ve33_Token_ListQueryVariables = Exact<{
|
|
18709
|
-
where?: InputMaybe<Ve33_TokenlistFilter>;
|
|
18710
|
-
}>;
|
|
18711
|
-
export type Ve33_Token_ListQuery = {
|
|
18712
|
-
ve33_token_list?: Array<{
|
|
18713
|
-
name?: string | null;
|
|
18714
|
-
address?: string | null;
|
|
18715
|
-
symbol?: string | null;
|
|
18716
|
-
decimals?: number | null;
|
|
18717
|
-
slippage?: string | null;
|
|
18718
|
-
position?: number | null;
|
|
18719
|
-
chainId?: number | null;
|
|
18720
|
-
logo?: string | null;
|
|
18721
|
-
} | null> | null;
|
|
18722
|
-
};
|
|
18723
18462
|
export type TicksQueryVariables = Exact<{
|
|
18724
18463
|
where?: InputMaybe<Tick_Filter>;
|
|
18725
18464
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -19436,40 +19175,6 @@ export type FetchPoolPairListQuery = {
|
|
|
19436
19175
|
};
|
|
19437
19176
|
}>;
|
|
19438
19177
|
};
|
|
19439
|
-
export type Ve33_GetPoolListQueryVariables = Exact<{
|
|
19440
|
-
where?: InputMaybe<Ve33TokenFilterPaginationInput>;
|
|
19441
|
-
}>;
|
|
19442
|
-
export type Ve33_GetPoolListQuery = {
|
|
19443
|
-
ve33_getPoolList: Array<{
|
|
19444
|
-
id: string;
|
|
19445
|
-
title: string;
|
|
19446
|
-
version: string;
|
|
19447
|
-
gaugeAddress: string;
|
|
19448
|
-
feeRate: any;
|
|
19449
|
-
tvl: any;
|
|
19450
|
-
totalValueLockedUSD: any;
|
|
19451
|
-
totalValueLockedToken0: any;
|
|
19452
|
-
totalValueLockedToken1: any;
|
|
19453
|
-
volumeUSD: any;
|
|
19454
|
-
volumeToken0: any;
|
|
19455
|
-
volumeToken1: any;
|
|
19456
|
-
feesUSD: any;
|
|
19457
|
-
feesToken0: any;
|
|
19458
|
-
feesToken1: any;
|
|
19459
|
-
token0Address: string;
|
|
19460
|
-
token0Name: string;
|
|
19461
|
-
token0Symbol: string;
|
|
19462
|
-
token0Decimals: number;
|
|
19463
|
-
token1Address: string;
|
|
19464
|
-
token1Name: string;
|
|
19465
|
-
token1Symbol: string;
|
|
19466
|
-
token1Decimals: number;
|
|
19467
|
-
apr: {
|
|
19468
|
-
fees: any;
|
|
19469
|
-
incentives: any;
|
|
19470
|
-
};
|
|
19471
|
-
} | null>;
|
|
19472
|
-
};
|
|
19473
19178
|
export type FetchUserSwapOrderHistoriesQueryVariables = Exact<{
|
|
19474
19179
|
where?: InputMaybe<User_SwapswapFilter>;
|
|
19475
19180
|
}>;
|
|
@@ -19571,7 +19276,6 @@ export declare class TypedDocumentString<TResult, TVariables> extends String imp
|
|
|
19571
19276
|
}
|
|
19572
19277
|
export declare const FetchErc20SwapCrossChainListDocument: TypedDocumentString<FetchErc20SwapCrossChainListQuery, FetchErc20SwapCrossChainListQueryVariables>;
|
|
19573
19278
|
export declare const FetchErc20ForecastSlippageDocument: TypedDocumentString<FetchErc20ForecastSlippageQuery, FetchErc20ForecastSlippageQueryVariables>;
|
|
19574
|
-
export declare const Ve33_Token_ListDocument: TypedDocumentString<Ve33_Token_ListQuery, Ve33_Token_ListQueryVariables>;
|
|
19575
19279
|
export declare const TicksDocument: TypedDocumentString<TicksQuery, TicksQueryVariables>;
|
|
19576
19280
|
export declare const FetchMiningListDocument: TypedDocumentString<FetchMiningListQuery, FetchMiningListQueryVariables>;
|
|
19577
19281
|
export declare const MiningListDocument: TypedDocumentString<MiningListQuery, MiningListQueryVariables>;
|
|
@@ -19586,7 +19290,6 @@ export declare const FetchPoolDashboardDocument: TypedDocumentString<FetchPoolDa
|
|
|
19586
19290
|
export declare const FetchPoolSwapListDocument: TypedDocumentString<FetchPoolSwapListQuery, FetchPoolSwapListQueryVariables>;
|
|
19587
19291
|
export declare const FetchLiquidityPositionsDocument: TypedDocumentString<FetchLiquidityPositionsQuery, FetchLiquidityPositionsQueryVariables>;
|
|
19588
19292
|
export declare const FetchPoolPairListDocument: TypedDocumentString<FetchPoolPairListQuery, FetchPoolPairListQueryVariables>;
|
|
19589
|
-
export declare const Ve33_GetPoolListDocument: TypedDocumentString<Ve33_GetPoolListQuery, Ve33_GetPoolListQueryVariables>;
|
|
19590
19293
|
export declare const FetchUserSwapOrderHistoriesDocument: TypedDocumentString<FetchUserSwapOrderHistoriesQuery, FetchUserSwapOrderHistoriesQueryVariables>;
|
|
19591
19294
|
export declare const FetchNoticeCenterTransactionListDocument: TypedDocumentString<FetchNoticeCenterTransactionListQuery, FetchNoticeCenterTransactionListQueryVariables>;
|
|
19592
19295
|
export declare const FetchLiquidityLpPartnerRewardsDocument: TypedDocumentString<FetchLiquidityLpPartnerRewardsQuery, FetchLiquidityLpPartnerRewardsQueryVariables>;
|
|
@@ -5,7 +5,4 @@ export declare const tokenGraphqlQuery: {
|
|
|
5
5
|
fetchErc20ForecastSlippage: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchErc20ForecastSlippageQuery, import("../../gql/graphql").Exact<{
|
|
6
6
|
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Erc20_Extenderc20ExtendV2Filter>;
|
|
7
7
|
}>>;
|
|
8
|
-
fetchVe33TokenList: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").Ve33_Token_ListQuery, import("../../gql/graphql").Exact<{
|
|
9
|
-
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Ve33_TokenlistFilter>;
|
|
10
|
-
}>>;
|
|
11
8
|
};
|
|
@@ -18,9 +18,6 @@ export declare class TokenApi {
|
|
|
18
18
|
fetchErc20ForecastSlippage: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchErc20ForecastSlippageQuery, import("../../gql/graphql").Exact<{
|
|
19
19
|
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Erc20_Extenderc20ExtendV2Filter>;
|
|
20
20
|
}>>;
|
|
21
|
-
fetchVe33TokenList: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").Ve33_Token_ListQuery, import("../../gql/graphql").Exact<{
|
|
22
|
-
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Ve33_TokenlistFilter>;
|
|
23
|
-
}>>;
|
|
24
21
|
};
|
|
25
22
|
static utils: {
|
|
26
23
|
isSameAddress: (tokenAddress1: string, tokenAddress2: string) => boolean;
|
|
@@ -57,9 +57,6 @@ export declare class PoolApi {
|
|
|
57
57
|
orderBy?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Pair_OrderBy>;
|
|
58
58
|
orderDirection?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").OrderDirection>;
|
|
59
59
|
}>>;
|
|
60
|
-
fetchVe33PoolList: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").Ve33_GetPoolListQuery, import("../../gql/graphql").Exact<{
|
|
61
|
-
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Ve33TokenFilterPaginationInput>;
|
|
62
|
-
}>>;
|
|
63
60
|
};
|
|
64
61
|
static utils: {
|
|
65
62
|
getIsV3Mining(type: PoolType): boolean;
|
|
@@ -47,7 +47,4 @@ export declare const poolGraphqlQuery: {
|
|
|
47
47
|
orderBy?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Pair_OrderBy>;
|
|
48
48
|
orderDirection?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").OrderDirection>;
|
|
49
49
|
}>>;
|
|
50
|
-
fetchVe33PoolList: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").Ve33_GetPoolListQuery, import("../../gql/graphql").Exact<{
|
|
51
|
-
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Ve33TokenFilterPaginationInput>;
|
|
52
|
-
}>>;
|
|
53
50
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dodoex/api",
|
|
3
|
-
"version": "3.0.4
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "DODO API Kit",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"release": "semantic-release",
|
|
22
22
|
"release:local": "np --any-branch --no-cleanup --no-tests",
|
|
23
23
|
"release.npm-publish": "npm publish --access public",
|
|
24
|
-
"release.npm-publish-beta": "
|
|
24
|
+
"release.npm-publish-beta": "npm publish --tag beta"
|
|
25
25
|
},
|
|
26
26
|
"author": "",
|
|
27
27
|
"publishConfig": {
|