@dodoex/api 3.0.3-neox.3 → 3.0.3-neox.5

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.
@@ -1,6 +1,7 @@
1
1
  import { ChainId } from './chain';
2
2
  declare const contractMap: {
3
3
  [key in ChainId]: {
4
+ /** MulticallWithValid */
4
5
  MULTI_CALL: string;
5
6
  DODO_APPROVE: string;
6
7
  /** ERC20Helper */
@@ -11,6 +12,7 @@ declare const contractMap: {
11
12
  ROUTE_V1_DATA_FETCH: string;
12
13
  /** DODOCalleeHelper */
13
14
  CALLEE_HELPER: string;
15
+ /** DODOV2Proxy02 */
14
16
  DODO_PROXY: string;
15
17
  /** DODODspProxy */
16
18
  DODO_DSP_PROXY: string;
@@ -5985,6 +5985,7 @@ export type Liquidator_Filter = {
5985
5985
  };
5986
5986
  export type Liquidator_OrderBy = 'addTimestamp' | 'id' | 'isRemove' | 'updatedAt';
5987
5987
  export type LiquidityApyData = {
5988
+ metromMiningApy?: Maybe<Scalars['BigDecimal']['output']>;
5988
5989
  miningBaseApy?: Maybe<Scalars['BigDecimal']['output']>;
5989
5990
  miningQuoteApy?: Maybe<Scalars['BigDecimal']['output']>;
5990
5991
  transactionBaseApy?: Maybe<Scalars['BigDecimal']['output']>;
@@ -7337,6 +7338,15 @@ export type Market_Maker_Pool_ApplypoolApplyData = {
7337
7338
  liaison?: InputMaybe<Scalars['String']['input']>;
7338
7339
  name?: InputMaybe<Scalars['String']['input']>;
7339
7340
  };
7341
+ export type MetromChainInput = {
7342
+ chainId: Scalars['BigDecimal']['input'];
7343
+ };
7344
+ export type MetromPool = {
7345
+ apr: Scalars['BigDecimal']['output'];
7346
+ apy: Scalars['BigDecimal']['output'];
7347
+ chainId: Scalars['BigDecimal']['output'];
7348
+ pool: Scalars['String']['output'];
7349
+ };
7340
7350
  export type MinePool = {
7341
7351
  chain: Scalars['String']['output'];
7342
7352
  /** creator */
@@ -11173,6 +11183,8 @@ export type Query = {
11173
11183
  /** data url:post(https://host:port/manage/slippage_tolerance_list).data */
11174
11184
  manage_slippage_tolerance_list?: Maybe<Array<Maybe<ManageSlippageTolerance>>>;
11175
11185
  market_maker_pool_apply_create?: Maybe<Market_Maker_Pool_ApplyData>;
11186
+ /** 获取Metrom的池子列表 */
11187
+ metrom_getPools: Array<Maybe<MetromPool>>;
11176
11188
  minePool?: Maybe<MinePool>;
11177
11189
  minePools: Array<MinePool>;
11178
11190
  miningPool?: Maybe<MiningPool>;
@@ -12326,6 +12338,9 @@ export type QueryManage_Slippage_Tolerance_ListArgs = {
12326
12338
  export type QueryMarket_Maker_Pool_Apply_CreateArgs = {
12327
12339
  data?: InputMaybe<Market_Maker_Pool_ApplypoolApplyData>;
12328
12340
  };
12341
+ export type QueryMetrom_GetPoolsArgs = {
12342
+ where?: InputMaybe<MetromChainInput>;
12343
+ };
12329
12344
  export type QueryMinePoolArgs = {
12330
12345
  block?: InputMaybe<Block_Height>;
12331
12346
  id: Scalars['ID']['input'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodoex/api",
3
- "version": "3.0.3-neox.3",
3
+ "version": "3.0.3-neox.5",
4
4
  "description": "DODO API Kit",
5
5
  "source": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",