@iotexproject/kit 0.1.64 → 0.1.66

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +486 -840
  2. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -2670,10 +2670,10 @@ declare class LPTokenEntity {
2670
2670
  }>;
2671
2671
  approve(spender: `0x${string}`, amount: string, owner: `0x${string}`): Promise<`0x${string}` | null>;
2672
2672
  kLast: () => Promise<any>;
2673
+ token0(): Promise<`0x${string}` | undefined>;
2674
+ token1(): Promise<`0x${string}` | undefined>;
2673
2675
  name(): Promise<string | undefined>;
2674
2676
  symbol(): Promise<string | undefined>;
2675
- token0(): Promise<"" | `0x${string}` | undefined>;
2676
- token1(): Promise<"" | `0x${string}` | undefined>;
2677
2677
  priceUSD(): Promise<string | undefined>;
2678
2678
  Token0: ERC20Entity;
2679
2679
  Token1: ERC20Entity;
@@ -6703,6 +6703,7 @@ declare class MSP {
6703
6703
  address: `0x${string}`;
6704
6704
  chainId: string;
6705
6705
  Token: import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
6706
+ address: true;
6706
6707
  name: true;
6707
6708
  symbol: true;
6708
6709
  balanceOf: false | [
@@ -7973,7 +7974,7 @@ declare class MimoV2MiningPool {
7973
7974
  format: string;
7974
7975
  originFormat: string;
7975
7976
  decimals: string;
7976
- } | undefined;
7977
+ };
7977
7978
  totalStakedBalanceUSD: string;
7978
7979
  } | undefined>;
7979
7980
  myStakedTokenBalance(account: `0x${string}`): Promise<{
@@ -7982,26 +7983,18 @@ declare class MimoV2MiningPool {
7982
7983
  originFormat: string;
7983
7984
  decimals: string;
7984
7985
  } | undefined>;
7985
- RewardToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
7986
+ getStakeTokenInner(): Promise<import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
7986
7987
  address: true;
7987
7988
  symbol: true;
7988
7989
  priceUSD: true;
7989
7990
  decimals: true;
7990
7991
  tokenUrl: true;
7991
- }>>;
7992
- getStakeTokenInner(): Promise<import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
7993
- address: true;
7994
- decimals: true;
7995
- symbol: true;
7996
7992
  balanceOf: [
7997
7993
  `0x${string}`
7998
7994
  ];
7999
- priceUSD: true;
8000
- tokenUrl: true;
8001
- type: true;
8002
7995
  token0: true;
8003
7996
  token1: true;
8004
- }> | undefined>;
7997
+ }>>;
8005
7998
  getRewardTokenInnter(): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8006
7999
  address: true;
8007
8000
  symbol: true;
@@ -8009,28 +8002,42 @@ declare class MimoV2MiningPool {
8009
8002
  decimals: true;
8010
8003
  tokenUrl: true;
8011
8004
  }>>;
8012
- StakedToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
8013
- address: true;
8014
- decimals: true;
8015
- symbol: true;
8016
- balanceOf: [
8017
- `0x${string}`
8018
- ];
8019
- priceUSD: true;
8020
- tokenUrl: true;
8021
- type: true;
8022
- token0: true;
8023
- token1: true;
8024
- }> | undefined>;
8005
+ stakedToken: () => Promise<any>;
8006
+ rewardToken: () => Promise<any>;
8007
+ StakedToken: LPTokenEntity;
8008
+ RewardToken: ERC20Entity;
8025
8009
  deposit: (_amount: string) => Promise<any>;
8026
8010
  withdraw: (_amount: string) => Promise<any>;
8027
8011
  }
8012
+ export type MimoV3MiningPoolKey = {
8013
+ rewardToken: `0x${string}`;
8014
+ pool: `0x${string}`;
8015
+ tickLower: number;
8016
+ tickUpper: number;
8017
+ startTime: bigint;
8018
+ endTime: bigint;
8019
+ refundee: `0x${string}`;
8020
+ };
8028
8021
  declare class LiquidityMining {
8029
8022
  poolsList(args: {
8030
8023
  account?: `0x${string}`;
8031
8024
  }, ctx?: ConfigContext): Promise<import("@dappworks/kit/aiem").QueryReturnType<MimoV2MiningPool, {
8032
- RewardToken: true;
8033
- StakedToken: true;
8025
+ RewardToken: {
8026
+ address: true;
8027
+ symbol: true;
8028
+ priceUSD: true;
8029
+ decimals: true;
8030
+ tokenUrl: true;
8031
+ };
8032
+ StakedToken: {
8033
+ address: true;
8034
+ symbol: true;
8035
+ priceUSD: true;
8036
+ decimals: true;
8037
+ tokenUrl: true;
8038
+ token0: true;
8039
+ token1: true;
8040
+ };
8034
8041
  endTime: true;
8035
8042
  startTime: true;
8036
8043
  isNew: true;
@@ -8050,21 +8057,273 @@ declare class LiquidityMining {
8050
8057
  totalStakedBalance: true;
8051
8058
  dailyRewards: true;
8052
8059
  }>[]>;
8060
+ allPoolsList(args: {
8061
+ account?: `0x${string}`;
8062
+ }, ctx?: ConfigContext): Promise<({
8063
+ type: string;
8064
+ address: `0x${string}`;
8065
+ chainId: string;
8066
+ endTime: number | undefined;
8067
+ startTime: number | undefined;
8068
+ isNew: boolean;
8069
+ isExpired: boolean;
8070
+ myPoolBalance: {
8071
+ myPoolBalance: {
8072
+ value: string;
8073
+ format: string;
8074
+ originFormat: string;
8075
+ decimals: string;
8076
+ };
8077
+ myPoolBalanceUSD: string;
8078
+ } | null;
8079
+ rewardPerSecond: () => Promise<bigint | undefined>;
8080
+ apr: string;
8081
+ myPendingReward: {
8082
+ pendingReward: {
8083
+ value: string;
8084
+ format: string;
8085
+ originFormat: string;
8086
+ decimals: string;
8087
+ };
8088
+ pendingRewardUSD: string;
8089
+ };
8090
+ totalReward: {
8091
+ totalRewardUSD: string;
8092
+ totalReward: {
8093
+ value: string;
8094
+ format: string;
8095
+ originFormat: string;
8096
+ decimals: string;
8097
+ };
8098
+ } | null | undefined;
8099
+ dailyRewards: {
8100
+ dailyRewardUSD: string;
8101
+ dailyReward: {
8102
+ value: string;
8103
+ format: string;
8104
+ originFormat: string;
8105
+ decimals: string;
8106
+ };
8107
+ } | null | undefined;
8108
+ totalStakedBalance: {
8109
+ totalStakedBalance: {
8110
+ value: string;
8111
+ format: string;
8112
+ originFormat: string;
8113
+ decimals: string;
8114
+ };
8115
+ totalStakedBalanceUSD: string;
8116
+ } | undefined;
8117
+ myStakedTokenBalance: {
8118
+ value: string;
8119
+ format: string;
8120
+ originFormat: string;
8121
+ decimals: string;
8122
+ } | undefined;
8123
+ getStakeTokenInner: () => Promise<import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
8124
+ address: true;
8125
+ symbol: true;
8126
+ priceUSD: true;
8127
+ decimals: true;
8128
+ tokenUrl: true;
8129
+ balanceOf: [
8130
+ `0x${string}`
8131
+ ];
8132
+ token0: true;
8133
+ token1: true;
8134
+ }>>;
8135
+ getRewardTokenInnter: () => Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8136
+ address: true;
8137
+ symbol: true;
8138
+ priceUSD: true;
8139
+ decimals: true;
8140
+ tokenUrl: true;
8141
+ }>>;
8142
+ stakedToken: () => Promise<any>;
8143
+ rewardToken: () => Promise<any>;
8144
+ StakedToken: import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
8145
+ address: true;
8146
+ symbol: true;
8147
+ priceUSD: true;
8148
+ decimals: true;
8149
+ tokenUrl: true;
8150
+ token0: true;
8151
+ token1: true;
8152
+ }>;
8153
+ RewardToken: import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8154
+ address: true;
8155
+ symbol: true;
8156
+ priceUSD: true;
8157
+ decimals: true;
8158
+ tokenUrl: true;
8159
+ }>;
8160
+ deposit: (_amount: string) => Promise<any>;
8161
+ withdraw: (_amount: string) => Promise<any>;
8162
+ } | {
8163
+ type: string;
8164
+ startTime: number;
8165
+ endTime: number;
8166
+ key: MimoV3MiningPoolKey;
8167
+ address: `0x${string}`;
8168
+ chainId: string;
8169
+ getTokenAmounts: (liquidity: number, tickLower: number, tickUpper: number) => Promise<{
8170
+ amount0: {
8171
+ value: string;
8172
+ format: string;
8173
+ originFormat: string;
8174
+ decimals: string;
8175
+ };
8176
+ amount1: {
8177
+ value: string;
8178
+ format: string;
8179
+ originFormat: string;
8180
+ decimals: string;
8181
+ };
8182
+ price0: number;
8183
+ price1: number;
8184
+ }>;
8185
+ getPositionsInfo: (positions: any[], tokenIds: any[]) => Promise<{
8186
+ token0Address: any;
8187
+ token1Address: any;
8188
+ fee: any;
8189
+ tickLower: any;
8190
+ tickUpper: any;
8191
+ tokenId: number;
8192
+ isTransferred: boolean;
8193
+ amount0: {
8194
+ value: string;
8195
+ format: string;
8196
+ originFormat: string;
8197
+ decimals: string;
8198
+ };
8199
+ amount1: {
8200
+ value: string;
8201
+ format: string;
8202
+ originFormat: string;
8203
+ decimals: string;
8204
+ };
8205
+ price0: number;
8206
+ price1: number;
8207
+ }[]>;
8208
+ StakedToken: {
8209
+ symbol: string;
8210
+ tokenUrl: any[];
8211
+ token0: `0x${string}`;
8212
+ token1: `0x${string}`;
8213
+ };
8214
+ Token0: () => Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8215
+ address: true;
8216
+ symbol: true;
8217
+ name: true;
8218
+ decimals: true;
8219
+ tokenUrl: true;
8220
+ priceUSD: true;
8221
+ }>>;
8222
+ Token1: () => Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8223
+ address: true;
8224
+ symbol: true;
8225
+ name: true;
8226
+ decimals: true;
8227
+ tokenUrl: true;
8228
+ priceUSD: true;
8229
+ }>>;
8230
+ token0: () => Promise<any>;
8231
+ token1: () => Promise<any>;
8232
+ fee: () => Promise<any>;
8233
+ myPendingReward: {
8234
+ pendingReward: {
8235
+ value: string;
8236
+ format: string;
8237
+ originFormat: string;
8238
+ decimals: string;
8239
+ };
8240
+ pendingRewardUSD: string;
8241
+ };
8242
+ apr: string | 0 | undefined;
8243
+ totalStakedBalance: {
8244
+ totalStakedBalance: {
8245
+ value: string;
8246
+ format: string;
8247
+ originFormat: string;
8248
+ decimals: string;
8249
+ };
8250
+ totalStakedBalanceUSD: string;
8251
+ totalStakedBalanceUSDOrigin: string;
8252
+ };
8253
+ isNew: boolean;
8254
+ isExpired: boolean;
8255
+ myPoolBalance: ({
8256
+ token0Address: `0x${string}`;
8257
+ token1Address: `0x${string}`;
8258
+ fee: number;
8259
+ tickLower: number;
8260
+ tickUpper: number;
8261
+ tokenId: number;
8262
+ isTransferred: boolean;
8263
+ } | {
8264
+ token0Address: any;
8265
+ token1Address: any;
8266
+ fee: any;
8267
+ tickLower: any;
8268
+ tickUpper: any;
8269
+ tokenId: number;
8270
+ isTransferred: boolean;
8271
+ amount0: {
8272
+ value: string;
8273
+ format: string;
8274
+ originFormat: string;
8275
+ decimals: string;
8276
+ };
8277
+ amount1: {
8278
+ value: string;
8279
+ format: string;
8280
+ originFormat: string;
8281
+ decimals: string;
8282
+ };
8283
+ price0: number;
8284
+ price1: number;
8285
+ })[];
8286
+ myStakedTokenBalance: {
8287
+ token0Address: any;
8288
+ token1Address: any;
8289
+ fee: any;
8290
+ tickLower: any;
8291
+ tickUpper: any;
8292
+ tokenId: number;
8293
+ isTransferred: boolean;
8294
+ amount0: {
8295
+ value: string;
8296
+ format: string;
8297
+ originFormat: string;
8298
+ decimals: string;
8299
+ };
8300
+ amount1: {
8301
+ value: string;
8302
+ format: string;
8303
+ originFormat: string;
8304
+ decimals: string;
8305
+ };
8306
+ price0: number;
8307
+ price1: number;
8308
+ }[];
8309
+ RewardToken: import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8310
+ symbol: true;
8311
+ name: true;
8312
+ decimals: true;
8313
+ tokenUrl: true;
8314
+ priceUSD: true;
8315
+ }>;
8316
+ })[]>;
8053
8317
  deposit({ address, amount, account }: {
8054
8318
  address: `0x${string}`;
8055
8319
  amount: string;
8056
8320
  account: `0x${string}`;
8057
- }, ctx?: ConfigContext): Promise<({
8058
- data: `0x${string}`;
8059
- address: `0x${string}` | undefined;
8060
- chainId: string;
8061
- type: string;
8062
- } | {
8321
+ }, ctx?: ConfigContext): Promise<{
8063
8322
  data: any;
8064
8323
  address: `0x${string}`;
8065
8324
  chainId: string;
8066
8325
  type: string;
8067
- })[]>;
8326
+ }[]>;
8068
8327
  harvest({ address }: {
8069
8328
  address: `0x${string}`;
8070
8329
  }, ctx?: ConfigContext): Promise<{
@@ -8081,823 +8340,102 @@ declare class LiquidityMining {
8081
8340
  chainId: string;
8082
8341
  }>;
8083
8342
  }
8084
- export type MimoV3MiningPoolKey = {
8085
- rewardToken: `0x${string}`;
8086
- pool: `0x${string}`;
8087
- tickLower: number;
8088
- tickUpper: number;
8089
- startTime: bigint;
8090
- endTime: bigint;
8091
- refundee: `0x${string}`;
8092
- };
8093
- declare class MimoV3MiningManager {
8094
- address: `0x${string}`;
8095
- chainId: string;
8096
- static abi: readonly [
8097
- {
8098
- readonly type: "function";
8099
- readonly name: "claimReward";
8100
- readonly inputs: readonly [
8101
- {
8102
- readonly name: "rewardToken";
8103
- readonly type: "address";
8104
- readonly internalType: "contract IERC20Minimal";
8105
- },
8106
- {
8107
- readonly name: "to";
8108
- readonly type: "address";
8109
- readonly internalType: "address";
8110
- },
8111
- {
8112
- readonly name: "amountRequested";
8113
- readonly type: "uint256";
8114
- readonly internalType: "uint256";
8115
- }
8116
- ];
8117
- readonly outputs: readonly [
8118
- {
8119
- readonly name: "reward";
8120
- readonly type: "uint256";
8121
- readonly internalType: "uint256";
8122
- }
8123
- ];
8124
- readonly stateMutability: "nonpayable";
8125
- },
8126
- {
8127
- readonly type: "function";
8128
- readonly name: "createIncentive";
8129
- readonly inputs: readonly [
8130
- {
8131
- readonly name: "key";
8132
- readonly type: "tuple";
8133
- readonly internalType: "struct IUniswapV3Staker.IncentiveKey";
8134
- readonly components: readonly [
8135
- {
8136
- readonly name: "rewardToken";
8137
- readonly type: "address";
8138
- readonly internalType: "contract IERC20Minimal";
8139
- },
8140
- {
8141
- readonly name: "pool";
8142
- readonly type: "address";
8143
- readonly internalType: "contract IUniswapV3Pool";
8144
- },
8145
- {
8146
- readonly name: "tickLower";
8147
- readonly type: "int24";
8148
- readonly internalType: "int24";
8149
- },
8150
- {
8151
- readonly name: "tickUpper";
8152
- readonly type: "int24";
8153
- readonly internalType: "int24";
8154
- },
8155
- {
8156
- readonly name: "startTime";
8157
- readonly type: "uint256";
8158
- readonly internalType: "uint256";
8159
- },
8160
- {
8161
- readonly name: "endTime";
8162
- readonly type: "uint256";
8163
- readonly internalType: "uint256";
8164
- },
8165
- {
8166
- readonly name: "refundee";
8167
- readonly type: "address";
8168
- readonly internalType: "address";
8169
- }
8170
- ];
8171
- },
8172
- {
8173
- readonly name: "reward";
8174
- readonly type: "uint256";
8175
- readonly internalType: "uint256";
8176
- }
8177
- ];
8178
- readonly outputs: readonly [
8179
- ];
8180
- readonly stateMutability: "nonpayable";
8181
- },
8182
- {
8183
- readonly type: "function";
8184
- readonly name: "deposits";
8185
- readonly inputs: readonly [
8186
- {
8187
- readonly name: "tokenId";
8188
- readonly type: "uint256";
8189
- readonly internalType: "uint256";
8190
- }
8191
- ];
8192
- readonly outputs: readonly [
8193
- {
8194
- readonly name: "owner";
8195
- readonly type: "address";
8196
- readonly internalType: "address";
8197
- },
8198
- {
8199
- readonly name: "numberOfStakes";
8200
- readonly type: "uint48";
8201
- readonly internalType: "uint48";
8202
- },
8203
- {
8204
- readonly name: "tickLower";
8205
- readonly type: "int24";
8206
- readonly internalType: "int24";
8207
- },
8208
- {
8209
- readonly name: "tickUpper";
8210
- readonly type: "int24";
8211
- readonly internalType: "int24";
8212
- }
8213
- ];
8214
- readonly stateMutability: "view";
8215
- },
8216
- {
8217
- readonly type: "function";
8218
- readonly name: "endIncentive";
8219
- readonly inputs: readonly [
8220
- {
8221
- readonly name: "key";
8222
- readonly type: "tuple";
8223
- readonly internalType: "struct IUniswapV3Staker.IncentiveKey";
8224
- readonly components: readonly [
8225
- {
8226
- readonly name: "rewardToken";
8227
- readonly type: "address";
8228
- readonly internalType: "contract IERC20Minimal";
8229
- },
8230
- {
8231
- readonly name: "pool";
8232
- readonly type: "address";
8233
- readonly internalType: "contract IUniswapV3Pool";
8234
- },
8235
- {
8236
- readonly name: "tickLower";
8237
- readonly type: "int24";
8238
- readonly internalType: "int24";
8239
- },
8240
- {
8241
- readonly name: "tickUpper";
8242
- readonly type: "int24";
8243
- readonly internalType: "int24";
8244
- },
8245
- {
8246
- readonly name: "startTime";
8247
- readonly type: "uint256";
8248
- readonly internalType: "uint256";
8249
- },
8250
- {
8251
- readonly name: "endTime";
8252
- readonly type: "uint256";
8253
- readonly internalType: "uint256";
8254
- },
8255
- {
8256
- readonly name: "refundee";
8257
- readonly type: "address";
8258
- readonly internalType: "address";
8259
- }
8260
- ];
8261
- }
8262
- ];
8263
- readonly outputs: readonly [
8264
- {
8265
- readonly name: "refund";
8266
- readonly type: "uint256";
8267
- readonly internalType: "uint256";
8268
- }
8269
- ];
8270
- readonly stateMutability: "nonpayable";
8271
- },
8272
- {
8273
- readonly type: "function";
8274
- readonly name: "factory";
8275
- readonly inputs: readonly [
8276
- ];
8277
- readonly outputs: readonly [
8278
- {
8279
- readonly name: "";
8280
- readonly type: "address";
8281
- readonly internalType: "contract IUniswapV3Factory";
8282
- }
8283
- ];
8284
- readonly stateMutability: "view";
8285
- },
8286
- {
8287
- readonly type: "function";
8288
- readonly name: "getRewardInfo";
8289
- readonly inputs: readonly [
8290
- {
8291
- readonly name: "key";
8292
- readonly type: "tuple";
8293
- readonly internalType: "struct IUniswapV3Staker.IncentiveKey";
8294
- readonly components: readonly [
8295
- {
8296
- readonly name: "rewardToken";
8297
- readonly type: "address";
8298
- readonly internalType: "contract IERC20Minimal";
8299
- },
8300
- {
8301
- readonly name: "pool";
8302
- readonly type: "address";
8303
- readonly internalType: "contract IUniswapV3Pool";
8304
- },
8305
- {
8306
- readonly name: "tickLower";
8307
- readonly type: "int24";
8308
- readonly internalType: "int24";
8309
- },
8310
- {
8311
- readonly name: "tickUpper";
8312
- readonly type: "int24";
8313
- readonly internalType: "int24";
8314
- },
8315
- {
8316
- readonly name: "startTime";
8317
- readonly type: "uint256";
8318
- readonly internalType: "uint256";
8319
- },
8320
- {
8321
- readonly name: "endTime";
8322
- readonly type: "uint256";
8323
- readonly internalType: "uint256";
8324
- },
8325
- {
8326
- readonly name: "refundee";
8327
- readonly type: "address";
8328
- readonly internalType: "address";
8329
- }
8330
- ];
8331
- },
8332
- {
8333
- readonly name: "tokenId";
8334
- readonly type: "uint256";
8335
- readonly internalType: "uint256";
8336
- }
8337
- ];
8338
- readonly outputs: readonly [
8339
- {
8340
- readonly name: "reward";
8341
- readonly type: "uint256";
8342
- readonly internalType: "uint256";
8343
- },
8344
- {
8345
- readonly name: "secondsInsideX128";
8346
- readonly type: "uint160";
8347
- readonly internalType: "uint160";
8348
- }
8349
- ];
8350
- readonly stateMutability: "nonpayable";
8351
- },
8352
- {
8353
- readonly type: "function";
8354
- readonly name: "incentives";
8355
- readonly inputs: readonly [
8356
- {
8357
- readonly name: "incentiveId";
8358
- readonly type: "bytes32";
8359
- readonly internalType: "bytes32";
8360
- }
8361
- ];
8362
- readonly outputs: readonly [
8363
- {
8364
- readonly name: "totalRewardUnclaimed";
8365
- readonly type: "uint256";
8366
- readonly internalType: "uint256";
8367
- },
8368
- {
8369
- readonly name: "totalSecondsClaimedX128";
8370
- readonly type: "uint160";
8371
- readonly internalType: "uint160";
8372
- },
8373
- {
8374
- readonly name: "numberOfStakes";
8375
- readonly type: "uint96";
8376
- readonly internalType: "uint96";
8377
- }
8378
- ];
8379
- readonly stateMutability: "view";
8380
- },
8381
- {
8382
- readonly type: "function";
8383
- readonly name: "maxIncentiveDuration";
8384
- readonly inputs: readonly [
8385
- ];
8386
- readonly outputs: readonly [
8387
- {
8388
- readonly name: "";
8389
- readonly type: "uint256";
8390
- readonly internalType: "uint256";
8391
- }
8392
- ];
8393
- readonly stateMutability: "view";
8394
- },
8395
- {
8396
- readonly type: "function";
8397
- readonly name: "maxIncentiveStartLeadTime";
8398
- readonly inputs: readonly [
8399
- ];
8400
- readonly outputs: readonly [
8401
- {
8402
- readonly name: "";
8403
- readonly type: "uint256";
8404
- readonly internalType: "uint256";
8405
- }
8406
- ];
8407
- readonly stateMutability: "view";
8408
- },
8409
- {
8410
- readonly type: "function";
8411
- readonly name: "multicall";
8412
- readonly inputs: readonly [
8413
- {
8414
- readonly name: "data";
8415
- readonly type: "bytes[]";
8416
- readonly internalType: "bytes[]";
8417
- }
8418
- ];
8419
- readonly outputs: readonly [
8420
- {
8421
- readonly name: "results";
8422
- readonly type: "bytes[]";
8423
- readonly internalType: "bytes[]";
8424
- }
8425
- ];
8426
- readonly stateMutability: "payable";
8427
- },
8428
- {
8429
- readonly type: "function";
8430
- readonly name: "nonfungiblePositionManager";
8431
- readonly inputs: readonly [
8432
- ];
8433
- readonly outputs: readonly [
8434
- {
8435
- readonly name: "";
8436
- readonly type: "address";
8437
- readonly internalType: "contract INonfungiblePositionManager";
8438
- }
8439
- ];
8440
- readonly stateMutability: "view";
8441
- },
8442
- {
8443
- readonly type: "function";
8444
- readonly name: "onERC721Received";
8445
- readonly inputs: readonly [
8446
- {
8447
- readonly name: "operator";
8448
- readonly type: "address";
8449
- readonly internalType: "address";
8450
- },
8451
- {
8452
- readonly name: "from";
8453
- readonly type: "address";
8454
- readonly internalType: "address";
8455
- },
8456
- {
8457
- readonly name: "tokenId";
8458
- readonly type: "uint256";
8459
- readonly internalType: "uint256";
8460
- },
8461
- {
8462
- readonly name: "data";
8463
- readonly type: "bytes";
8464
- readonly internalType: "bytes";
8465
- }
8466
- ];
8467
- readonly outputs: readonly [
8468
- {
8469
- readonly name: "";
8470
- readonly type: "bytes4";
8471
- readonly internalType: "bytes4";
8472
- }
8473
- ];
8474
- readonly stateMutability: "nonpayable";
8475
- },
8476
- {
8477
- readonly type: "function";
8478
- readonly name: "rewards";
8479
- readonly inputs: readonly [
8480
- {
8481
- readonly name: "rewardToken";
8482
- readonly type: "address";
8483
- readonly internalType: "contract IERC20Minimal";
8484
- },
8485
- {
8486
- readonly name: "owner";
8487
- readonly type: "address";
8488
- readonly internalType: "address";
8489
- }
8490
- ];
8491
- readonly outputs: readonly [
8492
- {
8493
- readonly name: "rewardsOwed";
8494
- readonly type: "uint256";
8495
- readonly internalType: "uint256";
8496
- }
8497
- ];
8498
- readonly stateMutability: "view";
8499
- },
8500
- {
8501
- readonly type: "function";
8502
- readonly name: "stakeToken";
8503
- readonly inputs: readonly [
8504
- {
8505
- readonly name: "key";
8506
- readonly type: "tuple";
8507
- readonly internalType: "struct IUniswapV3Staker.IncentiveKey";
8508
- readonly components: readonly [
8509
- {
8510
- readonly name: "rewardToken";
8511
- readonly type: "address";
8512
- readonly internalType: "contract IERC20Minimal";
8513
- },
8514
- {
8515
- readonly name: "pool";
8516
- readonly type: "address";
8517
- readonly internalType: "contract IUniswapV3Pool";
8518
- },
8519
- {
8520
- readonly name: "tickLower";
8521
- readonly type: "int24";
8522
- readonly internalType: "int24";
8523
- },
8524
- {
8525
- readonly name: "tickUpper";
8526
- readonly type: "int24";
8527
- readonly internalType: "int24";
8528
- },
8529
- {
8530
- readonly name: "startTime";
8531
- readonly type: "uint256";
8532
- readonly internalType: "uint256";
8533
- },
8534
- {
8535
- readonly name: "endTime";
8536
- readonly type: "uint256";
8537
- readonly internalType: "uint256";
8538
- },
8539
- {
8540
- readonly name: "refundee";
8541
- readonly type: "address";
8542
- readonly internalType: "address";
8543
- }
8544
- ];
8545
- },
8546
- {
8547
- readonly name: "tokenId";
8548
- readonly type: "uint256";
8549
- readonly internalType: "uint256";
8550
- }
8551
- ];
8552
- readonly outputs: readonly [
8553
- ];
8554
- readonly stateMutability: "nonpayable";
8555
- },
8556
- {
8557
- readonly type: "function";
8558
- readonly name: "stakes";
8559
- readonly inputs: readonly [
8560
- {
8561
- readonly name: "tokenId";
8562
- readonly type: "uint256";
8563
- readonly internalType: "uint256";
8564
- },
8565
- {
8566
- readonly name: "incentiveId";
8567
- readonly type: "bytes32";
8568
- readonly internalType: "bytes32";
8569
- }
8570
- ];
8571
- readonly outputs: readonly [
8572
- {
8573
- readonly name: "secondsPerLiquidityInsideInitialX128";
8574
- readonly type: "uint160";
8575
- readonly internalType: "uint160";
8576
- },
8577
- {
8578
- readonly name: "liquidity";
8579
- readonly type: "uint128";
8580
- readonly internalType: "uint128";
8581
- }
8582
- ];
8583
- readonly stateMutability: "view";
8584
- },
8585
- {
8586
- readonly type: "function";
8587
- readonly name: "transferDeposit";
8588
- readonly inputs: readonly [
8589
- {
8590
- readonly name: "tokenId";
8591
- readonly type: "uint256";
8592
- readonly internalType: "uint256";
8593
- },
8594
- {
8595
- readonly name: "to";
8596
- readonly type: "address";
8597
- readonly internalType: "address";
8598
- }
8599
- ];
8600
- readonly outputs: readonly [
8601
- ];
8602
- readonly stateMutability: "nonpayable";
8603
- },
8604
- {
8605
- readonly type: "function";
8606
- readonly name: "unstakeToken";
8607
- readonly inputs: readonly [
8608
- {
8609
- readonly name: "key";
8610
- readonly type: "tuple";
8611
- readonly internalType: "struct IUniswapV3Staker.IncentiveKey";
8612
- readonly components: readonly [
8613
- {
8614
- readonly name: "rewardToken";
8615
- readonly type: "address";
8616
- readonly internalType: "contract IERC20Minimal";
8617
- },
8618
- {
8619
- readonly name: "pool";
8620
- readonly type: "address";
8621
- readonly internalType: "contract IUniswapV3Pool";
8622
- },
8623
- {
8624
- readonly name: "tickLower";
8625
- readonly type: "int24";
8626
- readonly internalType: "int24";
8627
- },
8628
- {
8629
- readonly name: "tickUpper";
8630
- readonly type: "int24";
8631
- readonly internalType: "int24";
8632
- },
8633
- {
8634
- readonly name: "startTime";
8635
- readonly type: "uint256";
8636
- readonly internalType: "uint256";
8637
- },
8638
- {
8639
- readonly name: "endTime";
8640
- readonly type: "uint256";
8641
- readonly internalType: "uint256";
8642
- },
8643
- {
8644
- readonly name: "refundee";
8645
- readonly type: "address";
8646
- readonly internalType: "address";
8647
- }
8648
- ];
8649
- },
8650
- {
8651
- readonly name: "tokenId";
8652
- readonly type: "uint256";
8653
- readonly internalType: "uint256";
8654
- }
8655
- ];
8656
- readonly outputs: readonly [
8657
- ];
8658
- readonly stateMutability: "nonpayable";
8659
- },
8660
- {
8661
- readonly type: "function";
8662
- readonly name: "withdrawToken";
8663
- readonly inputs: readonly [
8664
- {
8665
- readonly name: "tokenId";
8666
- readonly type: "uint256";
8667
- readonly internalType: "uint256";
8668
- },
8669
- {
8670
- readonly name: "to";
8671
- readonly type: "address";
8672
- readonly internalType: "address";
8673
- },
8674
- {
8675
- readonly name: "data";
8676
- readonly type: "bytes";
8677
- readonly internalType: "bytes";
8678
- }
8679
- ];
8680
- readonly outputs: readonly [
8681
- ];
8682
- readonly stateMutability: "nonpayable";
8683
- },
8684
- {
8685
- readonly type: "event";
8686
- readonly name: "DepositTransferred";
8687
- readonly inputs: readonly [
8688
- {
8689
- readonly name: "tokenId";
8690
- readonly type: "uint256";
8691
- readonly indexed: true;
8692
- readonly internalType: "uint256";
8693
- },
8694
- {
8695
- readonly name: "oldOwner";
8696
- readonly type: "address";
8697
- readonly indexed: true;
8698
- readonly internalType: "address";
8699
- },
8700
- {
8701
- readonly name: "newOwner";
8702
- readonly type: "address";
8703
- readonly indexed: true;
8704
- readonly internalType: "address";
8705
- }
8706
- ];
8707
- readonly anonymous: false;
8708
- },
8709
- {
8710
- readonly type: "event";
8711
- readonly name: "IncentiveCreated";
8712
- readonly inputs: readonly [
8713
- {
8714
- readonly name: "rewardToken";
8715
- readonly type: "address";
8716
- readonly indexed: true;
8717
- readonly internalType: "contract IERC20Minimal";
8718
- },
8719
- {
8720
- readonly name: "pool";
8721
- readonly type: "address";
8722
- readonly indexed: true;
8723
- readonly internalType: "contract IUniswapV3Pool";
8724
- },
8725
- {
8726
- readonly name: "tickLower";
8727
- readonly type: "int24";
8728
- readonly indexed: false;
8729
- readonly internalType: "int24";
8730
- },
8731
- {
8732
- readonly name: "tickUpper";
8733
- readonly type: "int24";
8734
- readonly indexed: false;
8735
- readonly internalType: "int24";
8736
- },
8737
- {
8738
- readonly name: "startTime";
8739
- readonly type: "uint256";
8740
- readonly indexed: false;
8741
- readonly internalType: "uint256";
8742
- },
8743
- {
8744
- readonly name: "endTime";
8745
- readonly type: "uint256";
8746
- readonly indexed: false;
8747
- readonly internalType: "uint256";
8748
- },
8749
- {
8750
- readonly name: "refundee";
8751
- readonly type: "address";
8752
- readonly indexed: false;
8753
- readonly internalType: "address";
8754
- },
8755
- {
8756
- readonly name: "reward";
8757
- readonly type: "uint256";
8758
- readonly indexed: false;
8759
- readonly internalType: "uint256";
8760
- }
8761
- ];
8762
- readonly anonymous: false;
8763
- },
8764
- {
8765
- readonly type: "event";
8766
- readonly name: "IncentiveEnded";
8767
- readonly inputs: readonly [
8768
- {
8769
- readonly name: "incentiveId";
8770
- readonly type: "bytes32";
8771
- readonly indexed: true;
8772
- readonly internalType: "bytes32";
8773
- },
8774
- {
8775
- readonly name: "refund";
8776
- readonly type: "uint256";
8777
- readonly indexed: false;
8778
- readonly internalType: "uint256";
8779
- }
8780
- ];
8781
- readonly anonymous: false;
8782
- },
8783
- {
8784
- readonly type: "event";
8785
- readonly name: "RewardClaimed";
8786
- readonly inputs: readonly [
8787
- {
8788
- readonly name: "to";
8789
- readonly type: "address";
8790
- readonly indexed: true;
8791
- readonly internalType: "address";
8792
- },
8793
- {
8794
- readonly name: "reward";
8795
- readonly type: "uint256";
8796
- readonly indexed: false;
8797
- readonly internalType: "uint256";
8798
- }
8799
- ];
8800
- readonly anonymous: false;
8801
- },
8802
- {
8803
- readonly type: "event";
8804
- readonly name: "TokenStaked";
8805
- readonly inputs: readonly [
8806
- {
8807
- readonly name: "tokenId";
8808
- readonly type: "uint256";
8809
- readonly indexed: true;
8810
- readonly internalType: "uint256";
8811
- },
8812
- {
8813
- readonly name: "incentiveId";
8814
- readonly type: "bytes32";
8815
- readonly indexed: true;
8816
- readonly internalType: "bytes32";
8817
- },
8818
- {
8819
- readonly name: "liquidity";
8820
- readonly type: "uint128";
8821
- readonly indexed: false;
8822
- readonly internalType: "uint128";
8823
- }
8824
- ];
8825
- readonly anonymous: false;
8826
- },
8827
- {
8828
- readonly type: "event";
8829
- readonly name: "TokenUnstaked";
8830
- readonly inputs: readonly [
8831
- {
8832
- readonly name: "tokenId";
8833
- readonly type: "uint256";
8834
- readonly indexed: true;
8835
- readonly internalType: "uint256";
8836
- },
8837
- {
8838
- readonly name: "incentiveId";
8839
- readonly type: "bytes32";
8840
- readonly indexed: true;
8841
- readonly internalType: "bytes32";
8842
- }
8843
- ];
8844
- readonly anonymous: false;
8845
- }
8846
- ];
8847
- safeTransferFrom(account: `0x${string}`, to: `0x${string}`, tokenId: number): Promise<`0x${string}`>;
8848
- rewards: (rewardToken: `0x${string}`, account: `0x${string}`) => Promise<any>;
8849
- multicall: (data: `0x${string}`[]) => Promise<any>;
8850
- stakeToken: (key: MimoV3MiningPoolKey, v3PositionId: number) => Promise<any>;
8851
- claimReward: (rewardToken: `0x${string}`, to: `0x${string}`, amountRequested: bigint) => Promise<any>;
8852
- unstakeToken: (key: MimoV3MiningPoolKey, v3PositionId: number) => Promise<any>;
8853
- withdrawToken: (tokenId: number, to: `0x${string}`, data: `0x${string}`) => Promise<any>;
8854
- usersPositions(account: `0x${string}`): Promise<{
8855
- token0Address: `0x${string}`;
8856
- token1Address: `0x${string}`;
8857
- fee: number;
8858
- tickLower: number;
8859
- tickUpper: number;
8860
- tokenId: number;
8861
- isTransferred: boolean;
8862
- }[] | undefined>;
8863
- }
8864
8343
  declare class LiquidityMiningV3 {
8865
8344
  poolsList(args: {
8866
8345
  account?: `0x${string}`;
8867
8346
  }, ctx?: ConfigContext): Promise<{
8868
- tickLower: number;
8869
- tickUpper: number;
8870
- startTime: bigint;
8871
- endTime: bigint;
8347
+ startTime: number;
8348
+ endTime: number;
8872
8349
  key: MimoV3MiningPoolKey;
8873
8350
  address: `0x${string}`;
8874
8351
  chainId: string;
8875
- Token0: import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8352
+ getTokenAmounts: (liquidity: number, tickLower: number, tickUpper: number) => Promise<{
8353
+ amount0: {
8354
+ value: string;
8355
+ format: string;
8356
+ originFormat: string;
8357
+ decimals: string;
8358
+ };
8359
+ amount1: {
8360
+ value: string;
8361
+ format: string;
8362
+ originFormat: string;
8363
+ decimals: string;
8364
+ };
8365
+ price0: number;
8366
+ price1: number;
8367
+ }>;
8368
+ getPositionsInfo: (positions: any[], tokenIds: any[]) => Promise<{
8369
+ token0Address: any;
8370
+ token1Address: any;
8371
+ fee: any;
8372
+ tickLower: any;
8373
+ tickUpper: any;
8374
+ tokenId: number;
8375
+ isTransferred: boolean;
8376
+ amount0: {
8377
+ value: string;
8378
+ format: string;
8379
+ originFormat: string;
8380
+ decimals: string;
8381
+ };
8382
+ amount1: {
8383
+ value: string;
8384
+ format: string;
8385
+ originFormat: string;
8386
+ decimals: string;
8387
+ };
8388
+ price0: number;
8389
+ price1: number;
8390
+ }[]>;
8391
+ StakedToken: {
8392
+ symbol: string;
8393
+ tokenUrl: any[];
8394
+ token0: `0x${string}`;
8395
+ token1: `0x${string}`;
8396
+ };
8397
+ Token0: () => Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8876
8398
  address: true;
8877
8399
  symbol: true;
8878
8400
  name: true;
8879
8401
  decimals: true;
8880
8402
  tokenUrl: true;
8881
- }>;
8882
- Token1: import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8403
+ priceUSD: true;
8404
+ }>>;
8405
+ Token1: () => Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8883
8406
  address: true;
8884
8407
  symbol: true;
8885
8408
  name: true;
8886
8409
  decimals: true;
8887
8410
  tokenUrl: true;
8888
- }>;
8411
+ priceUSD: true;
8412
+ }>>;
8889
8413
  token0: () => Promise<any>;
8890
8414
  token1: () => Promise<any>;
8891
- fee: any;
8892
- rewards: import("@dappworks/kit/aiem").QueryReturnType<MimoV3MiningManager, {
8893
- rewards: [
8894
- `0x${string}`,
8895
- `0x${string}`
8896
- ];
8897
- }>;
8415
+ fee: () => Promise<any>;
8416
+ myPendingReward: {
8417
+ pendingReward: {
8418
+ value: string;
8419
+ format: string;
8420
+ originFormat: string;
8421
+ decimals: string;
8422
+ };
8423
+ pendingRewardUSD: string;
8424
+ };
8425
+ apr: string | 0 | undefined;
8426
+ totalStakedBalance: {
8427
+ totalStakedBalance: {
8428
+ value: string;
8429
+ format: string;
8430
+ originFormat: string;
8431
+ decimals: string;
8432
+ };
8433
+ totalStakedBalanceUSD: string;
8434
+ totalStakedBalanceUSDOrigin: string;
8435
+ };
8898
8436
  isNew: boolean;
8899
8437
  isExpired: boolean;
8900
- balanceOfPosition: {
8438
+ myPoolBalance: ({
8901
8439
  token0Address: `0x${string}`;
8902
8440
  token1Address: `0x${string}`;
8903
8441
  fee: number;
@@ -8905,28 +8443,65 @@ declare class LiquidityMiningV3 {
8905
8443
  tickUpper: number;
8906
8444
  tokenId: number;
8907
8445
  isTransferred: boolean;
8908
- }[];
8909
- stakedPositions: {
8910
- token0Address: `0x${string}`;
8911
- token1Address: `0x${string}`;
8912
- fee: number;
8913
- tickLower: number;
8914
- tickUpper: number;
8446
+ } | {
8447
+ token0Address: any;
8448
+ token1Address: any;
8449
+ fee: any;
8450
+ tickLower: any;
8451
+ tickUpper: any;
8915
8452
  tokenId: number;
8916
8453
  isTransferred: boolean;
8454
+ amount0: {
8455
+ value: string;
8456
+ format: string;
8457
+ originFormat: string;
8458
+ decimals: string;
8459
+ };
8460
+ amount1: {
8461
+ value: string;
8462
+ format: string;
8463
+ originFormat: string;
8464
+ decimals: string;
8465
+ };
8466
+ price0: number;
8467
+ price1: number;
8468
+ })[];
8469
+ myStakedTokenBalance: {
8470
+ token0Address: any;
8471
+ token1Address: any;
8472
+ fee: any;
8473
+ tickLower: any;
8474
+ tickUpper: any;
8475
+ tokenId: number;
8476
+ isTransferred: boolean;
8477
+ amount0: {
8478
+ value: string;
8479
+ format: string;
8480
+ originFormat: string;
8481
+ decimals: string;
8482
+ };
8483
+ amount1: {
8484
+ value: string;
8485
+ format: string;
8486
+ originFormat: string;
8487
+ decimals: string;
8488
+ };
8489
+ price0: number;
8490
+ price1: number;
8917
8491
  }[];
8918
8492
  RewardToken: import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8919
8493
  symbol: true;
8920
8494
  name: true;
8921
8495
  decimals: true;
8922
8496
  tokenUrl: true;
8497
+ priceUSD: true;
8923
8498
  }>;
8924
8499
  }[]>;
8925
8500
  deposit(args: {
8926
8501
  key: MimoV3MiningPoolKey;
8927
8502
  v3PositionId: number;
8928
8503
  account: `0x${string}`;
8929
- isTransferred: boolean;
8504
+ isTransferred: string;
8930
8505
  }, ctx?: ConfigContext): Promise<{
8931
8506
  data: any;
8932
8507
  address: string;
@@ -8943,7 +8518,7 @@ declare class LiquidityMiningV3 {
8943
8518
  chainId: string;
8944
8519
  type: string;
8945
8520
  }>;
8946
- withdraw(args: {
8521
+ unstakeAndWithdraw(args: {
8947
8522
  key: MimoV3MiningPoolKey;
8948
8523
  v3PositionId: number;
8949
8524
  account: `0x${string}`;
@@ -8953,6 +8528,23 @@ declare class LiquidityMiningV3 {
8953
8528
  chainId: string;
8954
8529
  type: string;
8955
8530
  }[]>;
8531
+ withdraw(args: {
8532
+ v3PositionId: number;
8533
+ account: `0x${string}`;
8534
+ }, ctx?: ConfigContext): Promise<{
8535
+ data: any;
8536
+ address: string;
8537
+ chainId: string;
8538
+ type: string;
8539
+ }>;
8540
+ poke(args: {
8541
+ key: MimoV3MiningPoolKey;
8542
+ v3PositionId: number;
8543
+ }, ctx?: ConfigContext): Promise<{
8544
+ data: any;
8545
+ address: string;
8546
+ chainId: string;
8547
+ }>;
8956
8548
  }
8957
8549
  declare const modules: {
8958
8550
  mimo: Mimo;
@@ -8981,6 +8573,8 @@ declare class BaseDBModule {
8981
8573
  iotexscan: ReturnType<typeof postgres>;
8982
8574
  iopay: ReturnType<typeof postgres>;
8983
8575
  nftmarket: ReturnType<typeof postgres>;
8576
+ mimo: ReturnType<typeof postgres>;
8577
+ depinscan: ReturnType<typeof postgres>;
8984
8578
  ch: ClickHouseSDK;
8985
8579
  analysis: ClickHouseSDK;
8986
8580
  microServiceCenter: ReturnType<typeof postgres>;
@@ -9366,6 +8960,7 @@ declare class Mimo$1 extends BaseDBModule {
9366
8960
  last24hTxCount: string;
9367
8961
  last24hFee: string;
9368
8962
  }>;
8963
+ metrics_history(): Promise<import("postgres").RowList<import("postgres").Row[]>>;
9369
8964
  }
9370
8965
  declare class LearnToEarn extends BaseDBModule {
9371
8966
  checkAuth(key: string): Promise<{
@@ -9417,6 +9012,55 @@ declare class Galxe extends BaseDBModule {
9417
9012
  is_ok: boolean;
9418
9013
  }>;
9419
9014
  }
9015
+ declare class DepinScan extends BaseDBModule {
9016
+ explorer(): Promise<import("postgres").RowList<import("postgres").Row[]>>;
9017
+ }
9018
+ declare class MicroService extends BaseDBModule {
9019
+ checkAuth(key: string): Promise<{
9020
+ ok: boolean;
9021
+ message: string;
9022
+ authData: null;
9023
+ } | {
9024
+ ok: boolean;
9025
+ message: string;
9026
+ authData: {
9027
+ app_id: any;
9028
+ };
9029
+ }>;
9030
+ user_data({ user_id, key }: {
9031
+ user_id: string;
9032
+ key?: string;
9033
+ }, ctx?: {
9034
+ authData?: {
9035
+ app_id: string;
9036
+ };
9037
+ }): Promise<{
9038
+ status: number;
9039
+ error: string;
9040
+ user?: undefined;
9041
+ } | {
9042
+ user: import("postgres").Row;
9043
+ status?: undefined;
9044
+ error?: undefined;
9045
+ }>;
9046
+ save_user_data({ user_id, key, value }: {
9047
+ user_id: string;
9048
+ key: string;
9049
+ value: string;
9050
+ }, ctx?: {
9051
+ authData?: {
9052
+ app_id: string;
9053
+ };
9054
+ }): Promise<{
9055
+ status: number;
9056
+ error: string;
9057
+ ok?: undefined;
9058
+ } | {
9059
+ ok: boolean;
9060
+ status?: undefined;
9061
+ error?: undefined;
9062
+ }>;
9063
+ }
9420
9064
  declare const modules$1: {
9421
9065
  account: Account;
9422
9066
  analysis: Analysis;
@@ -9431,6 +9075,8 @@ declare const modules$1: {
9431
9075
  iopay: IoPay;
9432
9076
  mimo: Mimo$1;
9433
9077
  galxe: Galxe;
9078
+ depinscan: DepinScan;
9079
+ microservice: MicroService;
9434
9080
  };
9435
9081
  export type DBModuleType = typeof modules$1;
9436
9082
  export interface ConfigOptions {