@defisaver/positions-sdk 2.1.22-dev-xpl-2 → 2.1.22-dev-savings-3

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 (143) hide show
  1. package/.mocharc.json +4 -4
  2. package/.nvmrc +1 -1
  3. package/README.md +64 -64
  4. package/cjs/config/contracts.d.ts +149 -0
  5. package/cjs/config/contracts.js +15 -1
  6. package/cjs/contracts.d.ts +1344 -0
  7. package/cjs/contracts.js +20 -1
  8. package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
  9. package/cjs/index.d.ts +2 -1
  10. package/cjs/index.js +3 -1
  11. package/cjs/markets/aave/marketAssets.js +1 -1
  12. package/cjs/savings/index.d.ts +6 -0
  13. package/cjs/savings/index.js +71 -0
  14. package/cjs/savings/morphoVaults/index.d.ts +7 -0
  15. package/cjs/savings/morphoVaults/index.js +117 -0
  16. package/cjs/savings/morphoVaults/options.d.ts +16 -0
  17. package/cjs/savings/morphoVaults/options.js +99 -0
  18. package/cjs/savings/yearnVaults/index.d.ts +7 -0
  19. package/cjs/savings/yearnVaults/index.js +96 -0
  20. package/cjs/savings/yearnVaults/options.d.ts +6 -0
  21. package/cjs/savings/yearnVaults/options.js +26 -0
  22. package/cjs/types/index.d.ts +1 -0
  23. package/cjs/types/index.js +1 -0
  24. package/cjs/types/savings/index.d.ts +19 -0
  25. package/cjs/types/savings/index.js +18 -0
  26. package/cjs/types/savings/morphoVaults.d.ts +22 -0
  27. package/cjs/types/savings/morphoVaults.js +19 -0
  28. package/cjs/types/savings/yearnVaults.d.ts +11 -0
  29. package/cjs/types/savings/yearnVaults.js +9 -0
  30. package/esm/config/contracts.d.ts +149 -0
  31. package/esm/config/contracts.js +14 -0
  32. package/esm/contracts.d.ts +1344 -0
  33. package/esm/contracts.js +17 -0
  34. package/esm/helpers/morphoBlueHelpers/index.js +66 -66
  35. package/esm/index.d.ts +2 -1
  36. package/esm/index.js +2 -1
  37. package/esm/markets/aave/marketAssets.js +1 -1
  38. package/esm/savings/index.d.ts +6 -0
  39. package/esm/savings/index.js +33 -0
  40. package/esm/savings/morphoVaults/index.d.ts +7 -0
  41. package/esm/savings/morphoVaults/index.js +76 -0
  42. package/esm/savings/morphoVaults/options.d.ts +16 -0
  43. package/esm/savings/morphoVaults/options.js +95 -0
  44. package/esm/savings/yearnVaults/index.d.ts +7 -0
  45. package/esm/savings/yearnVaults/index.js +55 -0
  46. package/esm/savings/yearnVaults/options.d.ts +6 -0
  47. package/esm/savings/yearnVaults/options.js +22 -0
  48. package/esm/types/index.d.ts +1 -0
  49. package/esm/types/index.js +1 -0
  50. package/esm/types/savings/index.d.ts +19 -0
  51. package/esm/types/savings/index.js +2 -0
  52. package/esm/types/savings/morphoVaults.d.ts +22 -0
  53. package/esm/types/savings/morphoVaults.js +16 -0
  54. package/esm/types/savings/yearnVaults.d.ts +11 -0
  55. package/esm/types/savings/yearnVaults.js +6 -0
  56. package/package.json +48 -47
  57. package/src/aaveV2/index.ts +240 -240
  58. package/src/aaveV3/index.ts +614 -614
  59. package/src/aaveV3/merit.ts +97 -97
  60. package/src/aaveV3/merkl.ts +74 -74
  61. package/src/claiming/aaveV3.ts +154 -154
  62. package/src/claiming/compV3.ts +22 -22
  63. package/src/claiming/index.ts +12 -12
  64. package/src/claiming/king.ts +66 -66
  65. package/src/claiming/morphoBlue.ts +118 -118
  66. package/src/claiming/spark.ts +225 -225
  67. package/src/compoundV2/index.ts +244 -244
  68. package/src/compoundV3/index.ts +274 -274
  69. package/src/config/contracts.ts +1273 -1259
  70. package/src/constants/index.ts +10 -10
  71. package/src/contracts.ts +141 -121
  72. package/src/curveUsd/index.ts +254 -254
  73. package/src/eulerV2/index.ts +324 -324
  74. package/src/exchange/index.ts +25 -25
  75. package/src/fluid/index.ts +1774 -1774
  76. package/src/helpers/aaveHelpers/index.ts +187 -187
  77. package/src/helpers/compoundHelpers/index.ts +283 -283
  78. package/src/helpers/curveUsdHelpers/index.ts +40 -40
  79. package/src/helpers/eulerHelpers/index.ts +222 -222
  80. package/src/helpers/fluidHelpers/index.ts +326 -326
  81. package/src/helpers/index.ts +10 -10
  82. package/src/helpers/liquityV2Helpers/index.ts +82 -82
  83. package/src/helpers/llamaLendHelpers/index.ts +53 -53
  84. package/src/helpers/makerHelpers/index.ts +52 -52
  85. package/src/helpers/morphoBlueHelpers/index.ts +396 -396
  86. package/src/helpers/sparkHelpers/index.ts +158 -158
  87. package/src/index.ts +49 -47
  88. package/src/liquity/index.ts +159 -159
  89. package/src/liquityV2/index.ts +703 -703
  90. package/src/llamaLend/index.ts +305 -305
  91. package/src/maker/index.ts +223 -223
  92. package/src/markets/aave/index.ts +116 -116
  93. package/src/markets/aave/marketAssets.ts +54 -54
  94. package/src/markets/compound/index.ts +238 -238
  95. package/src/markets/compound/marketsAssets.ts +97 -97
  96. package/src/markets/curveUsd/index.ts +69 -69
  97. package/src/markets/euler/index.ts +26 -26
  98. package/src/markets/fluid/index.ts +2900 -2900
  99. package/src/markets/index.ts +25 -25
  100. package/src/markets/liquityV2/index.ts +102 -102
  101. package/src/markets/llamaLend/contractAddresses.ts +141 -141
  102. package/src/markets/llamaLend/index.ts +235 -235
  103. package/src/markets/morphoBlue/index.ts +971 -971
  104. package/src/markets/spark/index.ts +29 -29
  105. package/src/markets/spark/marketAssets.ts +12 -12
  106. package/src/moneymarket/moneymarketCommonService.ts +84 -84
  107. package/src/morphoBlue/index.ts +274 -274
  108. package/src/portfolio/index.ts +572 -572
  109. package/src/savings/index.ts +38 -0
  110. package/src/savings/morphoVaults/index.ts +80 -0
  111. package/src/savings/morphoVaults/options.ts +110 -0
  112. package/src/savings/yearnVaults/index.ts +57 -0
  113. package/src/savings/yearnVaults/options.ts +27 -0
  114. package/src/services/priceService.ts +278 -278
  115. package/src/services/utils.ts +115 -115
  116. package/src/services/viem.ts +34 -34
  117. package/src/setup.ts +8 -8
  118. package/src/spark/index.ts +456 -456
  119. package/src/staking/eligibility.ts +53 -53
  120. package/src/staking/index.ts +1 -1
  121. package/src/staking/staking.ts +183 -183
  122. package/src/types/aave.ts +189 -189
  123. package/src/types/claiming.ts +109 -109
  124. package/src/types/common.ts +107 -107
  125. package/src/types/compound.ts +136 -136
  126. package/src/types/curveUsd.ts +123 -123
  127. package/src/types/euler.ts +175 -175
  128. package/src/types/fluid.ts +483 -483
  129. package/src/types/index.ts +15 -14
  130. package/src/types/liquity.ts +30 -30
  131. package/src/types/liquityV2.ts +126 -126
  132. package/src/types/llamaLend.ts +159 -159
  133. package/src/types/maker.ts +63 -63
  134. package/src/types/merit.ts +1 -1
  135. package/src/types/merkl.ts +70 -70
  136. package/src/types/morphoBlue.ts +200 -200
  137. package/src/types/portfolio.ts +60 -60
  138. package/src/types/savings/index.ts +22 -0
  139. package/src/types/savings/morphoVaults.ts +24 -0
  140. package/src/types/savings/yearnVaults.ts +13 -0
  141. package/src/types/spark.ts +133 -133
  142. package/src/umbrella/index.ts +69 -69
  143. package/src/umbrella/umbrellaUtils.ts +29 -29
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getYearnVault = exports.YEARN_VAULTS = exports.YEARN_VAULT_USDT = exports.YEARN_VAULT_USDC = exports.YEARN_VAULT_DAI = void 0;
4
+ const yearnVaults_1 = require("../../types/savings/yearnVaults");
5
+ exports.YEARN_VAULT_DAI = {
6
+ type: yearnVaults_1.YearnVaultType.YearnVaultDAI,
7
+ address: '0xdA816459F1AB5631232FE5e97a05BBBb94970c95',
8
+ asset: 'DAI',
9
+ };
10
+ exports.YEARN_VAULT_USDC = {
11
+ type: yearnVaults_1.YearnVaultType.YearnVaultUSDC,
12
+ address: '0xa354F35829Ae975e850e23e9615b11Da1B3dC4DE',
13
+ asset: 'USDC',
14
+ };
15
+ exports.YEARN_VAULT_USDT = {
16
+ type: yearnVaults_1.YearnVaultType.YearnVaultUSDT,
17
+ address: '0x3B27F92C0e212C671EA351827EDF93DB27cc0c65',
18
+ asset: 'USDT',
19
+ };
20
+ exports.YEARN_VAULTS = {
21
+ [yearnVaults_1.YearnVaultType.YearnVaultDAI]: exports.YEARN_VAULT_DAI,
22
+ [yearnVaults_1.YearnVaultType.YearnVaultUSDC]: exports.YEARN_VAULT_USDC,
23
+ [yearnVaults_1.YearnVaultType.YearnVaultUSDT]: exports.YEARN_VAULT_USDT,
24
+ };
25
+ const getYearnVault = (type) => exports.YEARN_VAULTS[type];
26
+ exports.getYearnVault = getYearnVault;
@@ -12,3 +12,4 @@ export * from './fluid';
12
12
  export * from './portfolio';
13
13
  export * from './merit';
14
14
  export * from './merkl';
15
+ export * from './savings';
@@ -28,3 +28,4 @@ __exportStar(require("./fluid"), exports);
28
28
  __exportStar(require("./portfolio"), exports);
29
29
  __exportStar(require("./merit"), exports);
30
30
  __exportStar(require("./merkl"), exports);
31
+ __exportStar(require("./savings"), exports);
@@ -0,0 +1,19 @@
1
+ import { EthAddress } from '../common';
2
+ import { MorphoVaultType } from './morphoVaults';
3
+ import { YearnVaultType } from './yearnVaults';
4
+ export * from './morphoVaults';
5
+ export * from './yearnVaults';
6
+ export interface SavingsVaultData {
7
+ poolSize: string;
8
+ liquidity: string;
9
+ supplied: Record<EthAddress, string>;
10
+ asset: string;
11
+ }
12
+ export interface SavingsData {
13
+ morphoVaults: {
14
+ [key in MorphoVaultType]?: SavingsVaultData;
15
+ };
16
+ yearnVaults: {
17
+ [key in YearnVaultType]?: SavingsVaultData;
18
+ };
19
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./morphoVaults"), exports);
18
+ __exportStar(require("./yearnVaults"), exports);
@@ -0,0 +1,22 @@
1
+ import { EthAddress } from '../common';
2
+ export declare enum MorphoVaultType {
3
+ MorphoVaultFlagshipEth = "morpho_vault_flagship_eth",
4
+ MorphoVaultGauntletUSDCCore = "morpho_vault_gauntlet_usdc_core",
5
+ MorphoVaultGauntletUSDCPrime = "morpho_vault_gauntlet_usdc_prime",
6
+ MorphoVaultRe7Weth = "morpho_vault_re7_weth",
7
+ MorphoVaultGauntletWETHCore = "morpho_vault_gauntlet_weth_core",
8
+ MorphoVaultGauntletWETHPrime = "morpho_vault_gauntlet_weth_prime",
9
+ MorphoVaultBoostedUSDC = "morpho_vault_usual_boosted_usdc",
10
+ MorphoVaultSteakhousePYUSD = "morpho_vault_steakhouse_pyusd",
11
+ MorphoVaultFlagshipUSDT = "morpho_vault_flagship_usdt",
12
+ MorphoVaultSteakhouseUSDT = "morpho_vault_steakhouse_usdt",
13
+ MorphoVaultGauntletUSDACore = "morpho_vault_gauntlet_usda_core",
14
+ MorphoVaultGauntletUSDTPrime = "morpho_vault_gauntlet_usdt_prime",
15
+ MorphoVaultGauntletResolvUSDC = "morpho_vault_gauntlet_resolv_usdc"
16
+ }
17
+ export interface MorphoVault {
18
+ type: MorphoVaultType;
19
+ name: string;
20
+ address: EthAddress;
21
+ asset: string;
22
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MorphoVaultType = void 0;
4
+ var MorphoVaultType;
5
+ (function (MorphoVaultType) {
6
+ MorphoVaultType["MorphoVaultFlagshipEth"] = "morpho_vault_flagship_eth";
7
+ MorphoVaultType["MorphoVaultGauntletUSDCCore"] = "morpho_vault_gauntlet_usdc_core";
8
+ MorphoVaultType["MorphoVaultGauntletUSDCPrime"] = "morpho_vault_gauntlet_usdc_prime";
9
+ MorphoVaultType["MorphoVaultRe7Weth"] = "morpho_vault_re7_weth";
10
+ MorphoVaultType["MorphoVaultGauntletWETHCore"] = "morpho_vault_gauntlet_weth_core";
11
+ MorphoVaultType["MorphoVaultGauntletWETHPrime"] = "morpho_vault_gauntlet_weth_prime";
12
+ MorphoVaultType["MorphoVaultBoostedUSDC"] = "morpho_vault_usual_boosted_usdc";
13
+ MorphoVaultType["MorphoVaultSteakhousePYUSD"] = "morpho_vault_steakhouse_pyusd";
14
+ MorphoVaultType["MorphoVaultFlagshipUSDT"] = "morpho_vault_flagship_usdt";
15
+ MorphoVaultType["MorphoVaultSteakhouseUSDT"] = "morpho_vault_steakhouse_usdt";
16
+ MorphoVaultType["MorphoVaultGauntletUSDACore"] = "morpho_vault_gauntlet_usda_core";
17
+ MorphoVaultType["MorphoVaultGauntletUSDTPrime"] = "morpho_vault_gauntlet_usdt_prime";
18
+ MorphoVaultType["MorphoVaultGauntletResolvUSDC"] = "morpho_vault_gauntlet_resolv_usdc";
19
+ })(MorphoVaultType || (exports.MorphoVaultType = MorphoVaultType = {}));
@@ -0,0 +1,11 @@
1
+ import { EthAddress } from '../common';
2
+ export declare enum YearnVaultType {
3
+ YearnVaultDAI = "yearn_vault_dai",
4
+ YearnVaultUSDC = "yearn_vault_usdc",
5
+ YearnVaultUSDT = "yearn_vault_usdt"
6
+ }
7
+ export interface YearnVault {
8
+ type: YearnVaultType;
9
+ address: EthAddress;
10
+ asset: string;
11
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.YearnVaultType = void 0;
4
+ var YearnVaultType;
5
+ (function (YearnVaultType) {
6
+ YearnVaultType["YearnVaultDAI"] = "yearn_vault_dai";
7
+ YearnVaultType["YearnVaultUSDC"] = "yearn_vault_usdc";
8
+ YearnVaultType["YearnVaultUSDT"] = "yearn_vault_usdt";
9
+ })(YearnVaultType || (exports.YearnVaultType = YearnVaultType = {}));
@@ -85162,3 +85162,152 @@ export declare const StkAAVE: {
85162
85162
  };
85163
85163
  };
85164
85164
  };
85165
+ export declare const MorphoVault: {
85166
+ readonly abi: readonly [{
85167
+ readonly inputs: readonly [];
85168
+ readonly name: "acceptTimelock";
85169
+ readonly outputs: readonly [];
85170
+ readonly stateMutability: "nonpayable";
85171
+ readonly type: "function";
85172
+ }, {
85173
+ readonly inputs: readonly [{
85174
+ readonly internalType: "address";
85175
+ readonly name: "account";
85176
+ readonly type: "address";
85177
+ }];
85178
+ readonly name: "balanceOf";
85179
+ readonly outputs: readonly [{
85180
+ readonly internalType: "uint256";
85181
+ readonly name: "";
85182
+ readonly type: "uint256";
85183
+ }];
85184
+ readonly stateMutability: "view";
85185
+ readonly type: "function";
85186
+ }, {
85187
+ readonly inputs: readonly [{
85188
+ readonly internalType: "uint256";
85189
+ readonly name: "shares";
85190
+ readonly type: "uint256";
85191
+ }];
85192
+ readonly name: "convertToAssets";
85193
+ readonly outputs: readonly [{
85194
+ readonly internalType: "uint256";
85195
+ readonly name: "";
85196
+ readonly type: "uint256";
85197
+ }];
85198
+ readonly stateMutability: "view";
85199
+ readonly type: "function";
85200
+ }, {
85201
+ readonly inputs: readonly [];
85202
+ readonly name: "decimals";
85203
+ readonly outputs: readonly [{
85204
+ readonly internalType: "uint8";
85205
+ readonly name: "";
85206
+ readonly type: "uint8";
85207
+ }];
85208
+ readonly stateMutability: "view";
85209
+ readonly type: "function";
85210
+ }, {
85211
+ readonly inputs: readonly [];
85212
+ readonly name: "DECIMALS_OFFSET";
85213
+ readonly outputs: readonly [{
85214
+ readonly internalType: "uint8";
85215
+ readonly name: "";
85216
+ readonly type: "uint8";
85217
+ }];
85218
+ readonly stateMutability: "view";
85219
+ readonly type: "function";
85220
+ }, {
85221
+ readonly inputs: readonly [{
85222
+ readonly internalType: "uint256";
85223
+ readonly name: "shares";
85224
+ readonly type: "uint256";
85225
+ }];
85226
+ readonly name: "previewRedeem";
85227
+ readonly outputs: readonly [{
85228
+ readonly internalType: "uint256";
85229
+ readonly name: "";
85230
+ readonly type: "uint256";
85231
+ }];
85232
+ readonly stateMutability: "view";
85233
+ readonly type: "function";
85234
+ }, {
85235
+ readonly inputs: readonly [];
85236
+ readonly name: "totalAssets";
85237
+ readonly outputs: readonly [{
85238
+ readonly internalType: "uint256";
85239
+ readonly name: "";
85240
+ readonly type: "uint256";
85241
+ }];
85242
+ readonly stateMutability: "view";
85243
+ readonly type: "function";
85244
+ }, {
85245
+ readonly inputs: readonly [];
85246
+ readonly name: "totalSupply";
85247
+ readonly outputs: readonly [{
85248
+ readonly internalType: "uint256";
85249
+ readonly name: "";
85250
+ readonly type: "uint256";
85251
+ }];
85252
+ readonly stateMutability: "view";
85253
+ readonly type: "function";
85254
+ }];
85255
+ };
85256
+ export declare const YearnVault: {
85257
+ readonly abi: readonly [{
85258
+ readonly stateMutability: "view";
85259
+ readonly type: "function";
85260
+ readonly name: "balanceOf";
85261
+ readonly inputs: readonly [{
85262
+ readonly name: "arg0";
85263
+ readonly type: "address";
85264
+ }];
85265
+ readonly outputs: readonly [{
85266
+ readonly name: "";
85267
+ readonly type: "uint256";
85268
+ }];
85269
+ readonly gas: 3923;
85270
+ }, {
85271
+ readonly stateMutability: "view";
85272
+ readonly type: "function";
85273
+ readonly name: "totalAssets";
85274
+ readonly inputs: readonly [];
85275
+ readonly outputs: readonly [{
85276
+ readonly name: "";
85277
+ readonly type: "uint256";
85278
+ }];
85279
+ readonly gas: 8698;
85280
+ }, {
85281
+ readonly stateMutability: "view";
85282
+ readonly type: "function";
85283
+ readonly name: "totalSupply";
85284
+ readonly inputs: readonly [];
85285
+ readonly outputs: readonly [{
85286
+ readonly name: "";
85287
+ readonly type: "uint256";
85288
+ }];
85289
+ readonly gas: 3768;
85290
+ }];
85291
+ };
85292
+ export declare const YearnView: {
85293
+ readonly abi: readonly [{
85294
+ readonly inputs: readonly [{
85295
+ readonly internalType: "address";
85296
+ readonly name: "_vault";
85297
+ readonly type: "address";
85298
+ }];
85299
+ readonly name: "getPoolLiquidity";
85300
+ readonly outputs: readonly [{
85301
+ readonly internalType: "uint256";
85302
+ readonly name: "";
85303
+ readonly type: "uint256";
85304
+ }];
85305
+ readonly stateMutability: "view";
85306
+ readonly type: "function";
85307
+ }];
85308
+ readonly networks: {
85309
+ readonly "1": {
85310
+ readonly address: "0x36314D468E1da48Fb637fFB7c7DBDF222eC3FFe7";
85311
+ };
85312
+ };
85313
+ };
@@ -1256,3 +1256,17 @@ export const StkAAVE = {
1256
1256
  }
1257
1257
  }
1258
1258
  };
1259
+ export const MorphoVault = {
1260
+ "abi": [{ "inputs": [], "name": "acceptTimelock", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "convertToAssets", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DECIMALS_OFFSET", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "previewRedeem", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalAssets", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }],
1261
+ };
1262
+ export const YearnVault = {
1263
+ "abi": [{ "stateMutability": "view", "type": "function", "name": "balanceOf", "inputs": [{ "name": "arg0", "type": "address" }], "outputs": [{ "name": "", "type": "uint256" }], "gas": 3923 }, { "stateMutability": "view", "type": "function", "name": "totalAssets", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "gas": 8698 }, { "stateMutability": "view", "type": "function", "name": "totalSupply", "inputs": [], "outputs": [{ "name": "", "type": "uint256" }], "gas": 3768 }]
1264
+ };
1265
+ export const YearnView = {
1266
+ "abi": [{ "inputs": [{ "internalType": "address", "name": "_vault", "type": "address" }], "name": "getPoolLiquidity", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }],
1267
+ "networks": {
1268
+ "1": {
1269
+ "address": "0x36314D468E1da48Fb637fFB7c7DBDF222eC3FFe7",
1270
+ }
1271
+ }
1272
+ };