@defisaver/positions-sdk 2.1.22-dev-savings-4 → 2.1.23-dev-sena

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 (152) hide show
  1. package/.mocharc.json +4 -4
  2. package/.nvmrc +1 -1
  3. package/README.md +64 -64
  4. package/cjs/claiming/ethena.d.ts +3 -0
  5. package/cjs/claiming/ethena.js +73 -0
  6. package/cjs/config/contracts.d.ts +0 -149
  7. package/cjs/config/contracts.js +1 -15
  8. package/cjs/contracts.d.ts +0 -1344
  9. package/cjs/contracts.js +1 -20
  10. package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
  11. package/cjs/index.d.ts +1 -2
  12. package/cjs/index.js +1 -3
  13. package/cjs/portfolio/index.js +26 -0
  14. package/cjs/types/claiming.d.ts +6 -2
  15. package/cjs/types/claiming.js +1 -0
  16. package/cjs/types/index.d.ts +0 -1
  17. package/cjs/types/index.js +0 -1
  18. package/esm/claiming/ethena.d.ts +3 -0
  19. package/esm/claiming/ethena.js +65 -0
  20. package/esm/config/contracts.d.ts +0 -149
  21. package/esm/config/contracts.js +0 -14
  22. package/esm/contracts.d.ts +0 -1344
  23. package/esm/contracts.js +0 -17
  24. package/esm/helpers/morphoBlueHelpers/index.js +66 -66
  25. package/esm/index.d.ts +1 -2
  26. package/esm/index.js +1 -2
  27. package/esm/portfolio/index.js +26 -0
  28. package/esm/types/claiming.d.ts +6 -2
  29. package/esm/types/claiming.js +1 -0
  30. package/esm/types/index.d.ts +0 -1
  31. package/esm/types/index.js +0 -1
  32. package/package.json +47 -48
  33. package/src/aaveV2/index.ts +240 -240
  34. package/src/aaveV3/index.ts +614 -614
  35. package/src/aaveV3/merit.ts +97 -97
  36. package/src/aaveV3/merkl.ts +74 -74
  37. package/src/claiming/aaveV3.ts +154 -154
  38. package/src/claiming/compV3.ts +22 -22
  39. package/src/claiming/ethena.ts +67 -0
  40. package/src/claiming/index.ts +12 -12
  41. package/src/claiming/king.ts +66 -66
  42. package/src/claiming/morphoBlue.ts +118 -118
  43. package/src/claiming/spark.ts +225 -225
  44. package/src/compoundV2/index.ts +244 -244
  45. package/src/compoundV3/index.ts +274 -274
  46. package/src/config/contracts.ts +1259 -1273
  47. package/src/constants/index.ts +10 -10
  48. package/src/contracts.ts +121 -141
  49. package/src/curveUsd/index.ts +254 -254
  50. package/src/eulerV2/index.ts +324 -324
  51. package/src/exchange/index.ts +25 -25
  52. package/src/fluid/index.ts +1774 -1774
  53. package/src/helpers/aaveHelpers/index.ts +187 -187
  54. package/src/helpers/compoundHelpers/index.ts +283 -283
  55. package/src/helpers/curveUsdHelpers/index.ts +40 -40
  56. package/src/helpers/eulerHelpers/index.ts +222 -222
  57. package/src/helpers/fluidHelpers/index.ts +326 -326
  58. package/src/helpers/index.ts +10 -10
  59. package/src/helpers/liquityV2Helpers/index.ts +82 -82
  60. package/src/helpers/llamaLendHelpers/index.ts +53 -53
  61. package/src/helpers/makerHelpers/index.ts +52 -52
  62. package/src/helpers/morphoBlueHelpers/index.ts +396 -396
  63. package/src/helpers/sparkHelpers/index.ts +158 -158
  64. package/src/index.ts +47 -49
  65. package/src/liquity/index.ts +159 -159
  66. package/src/liquityV2/index.ts +703 -703
  67. package/src/llamaLend/index.ts +305 -305
  68. package/src/maker/index.ts +223 -223
  69. package/src/markets/aave/index.ts +116 -116
  70. package/src/markets/aave/marketAssets.ts +54 -54
  71. package/src/markets/compound/index.ts +238 -238
  72. package/src/markets/compound/marketsAssets.ts +97 -97
  73. package/src/markets/curveUsd/index.ts +69 -69
  74. package/src/markets/euler/index.ts +26 -26
  75. package/src/markets/fluid/index.ts +2900 -2900
  76. package/src/markets/index.ts +25 -25
  77. package/src/markets/liquityV2/index.ts +102 -102
  78. package/src/markets/llamaLend/contractAddresses.ts +141 -141
  79. package/src/markets/llamaLend/index.ts +235 -235
  80. package/src/markets/morphoBlue/index.ts +971 -971
  81. package/src/markets/spark/index.ts +29 -29
  82. package/src/markets/spark/marketAssets.ts +12 -12
  83. package/src/moneymarket/moneymarketCommonService.ts +84 -84
  84. package/src/morphoBlue/index.ts +274 -274
  85. package/src/portfolio/index.ts +598 -572
  86. package/src/services/priceService.ts +278 -278
  87. package/src/services/utils.ts +115 -115
  88. package/src/services/viem.ts +34 -34
  89. package/src/setup.ts +8 -8
  90. package/src/spark/index.ts +456 -456
  91. package/src/staking/eligibility.ts +53 -53
  92. package/src/staking/index.ts +1 -1
  93. package/src/staking/staking.ts +183 -183
  94. package/src/types/aave.ts +189 -189
  95. package/src/types/claiming.ts +114 -109
  96. package/src/types/common.ts +107 -107
  97. package/src/types/compound.ts +136 -136
  98. package/src/types/curveUsd.ts +123 -123
  99. package/src/types/euler.ts +175 -175
  100. package/src/types/fluid.ts +483 -483
  101. package/src/types/index.ts +14 -15
  102. package/src/types/liquity.ts +30 -30
  103. package/src/types/liquityV2.ts +126 -126
  104. package/src/types/llamaLend.ts +159 -159
  105. package/src/types/maker.ts +63 -63
  106. package/src/types/merit.ts +1 -1
  107. package/src/types/merkl.ts +70 -70
  108. package/src/types/morphoBlue.ts +200 -200
  109. package/src/types/portfolio.ts +60 -60
  110. package/src/types/spark.ts +133 -133
  111. package/src/umbrella/index.ts +69 -69
  112. package/src/umbrella/umbrellaUtils.ts +29 -29
  113. package/cjs/savings/index.d.ts +0 -6
  114. package/cjs/savings/index.js +0 -68
  115. package/cjs/savings/morphoVaults/index.d.ts +0 -7
  116. package/cjs/savings/morphoVaults/index.js +0 -118
  117. package/cjs/savings/morphoVaults/options.d.ts +0 -16
  118. package/cjs/savings/morphoVaults/options.js +0 -99
  119. package/cjs/savings/yearnVaults/index.d.ts +0 -7
  120. package/cjs/savings/yearnVaults/index.js +0 -97
  121. package/cjs/savings/yearnVaults/options.d.ts +0 -6
  122. package/cjs/savings/yearnVaults/options.js +0 -26
  123. package/cjs/types/savings/index.d.ts +0 -13
  124. package/cjs/types/savings/index.js +0 -18
  125. package/cjs/types/savings/morphoVaults.d.ts +0 -22
  126. package/cjs/types/savings/morphoVaults.js +0 -19
  127. package/cjs/types/savings/yearnVaults.d.ts +0 -11
  128. package/cjs/types/savings/yearnVaults.js +0 -9
  129. package/esm/savings/index.d.ts +0 -6
  130. package/esm/savings/index.js +0 -30
  131. package/esm/savings/morphoVaults/index.d.ts +0 -7
  132. package/esm/savings/morphoVaults/index.js +0 -77
  133. package/esm/savings/morphoVaults/options.d.ts +0 -16
  134. package/esm/savings/morphoVaults/options.js +0 -95
  135. package/esm/savings/yearnVaults/index.d.ts +0 -7
  136. package/esm/savings/yearnVaults/index.js +0 -56
  137. package/esm/savings/yearnVaults/options.d.ts +0 -6
  138. package/esm/savings/yearnVaults/options.js +0 -22
  139. package/esm/types/savings/index.d.ts +0 -13
  140. package/esm/types/savings/index.js +0 -2
  141. package/esm/types/savings/morphoVaults.d.ts +0 -22
  142. package/esm/types/savings/morphoVaults.js +0 -16
  143. package/esm/types/savings/yearnVaults.d.ts +0 -11
  144. package/esm/types/savings/yearnVaults.js +0 -6
  145. package/src/savings/index.ts +0 -35
  146. package/src/savings/morphoVaults/index.ts +0 -81
  147. package/src/savings/morphoVaults/options.ts +0 -110
  148. package/src/savings/yearnVaults/index.ts +0 -58
  149. package/src/savings/yearnVaults/options.ts +0 -27
  150. package/src/types/savings/index.ts +0 -16
  151. package/src/types/savings/morphoVaults.ts +0 -24
  152. package/src/types/savings/yearnVaults.ts +0 -13
package/.mocharc.json CHANGED
@@ -1,4 +1,4 @@
1
- {
2
- "require": "ts-node/register",
3
- "extension": ["ts"]
4
- }
1
+ {
2
+ "require": "ts-node/register",
3
+ "extension": ["ts"]
4
+ }
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v20.17.0
1
+ v20.17.0
package/README.md CHANGED
@@ -1,64 +1,64 @@
1
- # DeFi Saver Positions SDK
2
-
3
- Supported protocols:
4
- - [Maker](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/maker)
5
- - [Spark](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/spark)
6
- - [CrvUSD](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/curveUsd)
7
- - [Aave V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/aaveV2)
8
- - [Aave V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/aaveV3)
9
- - [Compound V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/compoundV2)
10
- - [Compound V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/compoundV3)
11
- - [Liquity](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/liquity)
12
-
13
- ## Setup
14
- Supported Node version is v10.
15
-
16
- - run `npm install` (first time)
17
- - run `npm run build`
18
-
19
- `build` command will generate contracts and build ejs and esm folders
20
-
21
- ## How to use
22
- [All available imports](https://github.com/defisaver/defisaver-positions-sdk/blob/main/src/index.ts)
23
-
24
- This is a Compound V3 example, and every other protocol is similar
25
- ```js
26
- import { compoundV3 } from '@defisaver/positions-sdk';
27
-
28
-
29
- // every protocol has market data and user data getters
30
- const {
31
- getCompoundV3MarketsData,
32
- getCompoundV3AccountData,
33
- } = compoundV3;
34
-
35
- const provider = 'Your RPC provider';
36
-
37
- const user = '0x123...';
38
-
39
- const { assetsData } = await getCompoundV3MarketsData(
40
- provider, // rpc for the network you are using (note: can be tenderly or any other testnet rpc)
41
- 1, // network
42
- selectedMarket, // market object like in /src/markets/compound/index.ts
43
- provider, // this must be mainnet rpc - used for getting prices onchain and calculating apys
44
- );
45
-
46
- const userData = await getCompoundV3AccountData(
47
- provider,
48
- 1, // network
49
- userAddress, // EOA or DSProxy
50
- '', // proxy address of the user, or just empty string if checking for EOA
51
- {
52
- selectedMarket, // market object as in /src/markets/compound/index.ts
53
- assetsData,
54
- }
55
- );
56
- ```
57
-
58
- More examples found [here](https://github.com/defisaver/defisaver-positions-sdk/tree/main/tests)
59
-
60
- ## Testing
61
-
62
- `npm run test` - Run all tests
63
-
64
- `npm run test-single --name=your_test_name` - Run single test for specified name e.g. for MyTest.js test name is MyTest
1
+ # DeFi Saver Positions SDK
2
+
3
+ Supported protocols:
4
+ - [Maker](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/maker)
5
+ - [Spark](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/spark)
6
+ - [CrvUSD](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/curveUsd)
7
+ - [Aave V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/aaveV2)
8
+ - [Aave V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/aaveV3)
9
+ - [Compound V2](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/compoundV2)
10
+ - [Compound V3](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/compoundV3)
11
+ - [Liquity](https://github.com/defisaver/defisaver-positions-sdk/tree/main/src/liquity)
12
+
13
+ ## Setup
14
+ Supported Node version is v10.
15
+
16
+ - run `npm install` (first time)
17
+ - run `npm run build`
18
+
19
+ `build` command will generate contracts and build ejs and esm folders
20
+
21
+ ## How to use
22
+ [All available imports](https://github.com/defisaver/defisaver-positions-sdk/blob/main/src/index.ts)
23
+
24
+ This is a Compound V3 example, and every other protocol is similar
25
+ ```js
26
+ import { compoundV3 } from '@defisaver/positions-sdk';
27
+
28
+
29
+ // every protocol has market data and user data getters
30
+ const {
31
+ getCompoundV3MarketsData,
32
+ getCompoundV3AccountData,
33
+ } = compoundV3;
34
+
35
+ const provider = 'Your RPC provider';
36
+
37
+ const user = '0x123...';
38
+
39
+ const { assetsData } = await getCompoundV3MarketsData(
40
+ provider, // rpc for the network you are using (note: can be tenderly or any other testnet rpc)
41
+ 1, // network
42
+ selectedMarket, // market object like in /src/markets/compound/index.ts
43
+ provider, // this must be mainnet rpc - used for getting prices onchain and calculating apys
44
+ );
45
+
46
+ const userData = await getCompoundV3AccountData(
47
+ provider,
48
+ 1, // network
49
+ userAddress, // EOA or DSProxy
50
+ '', // proxy address of the user, or just empty string if checking for EOA
51
+ {
52
+ selectedMarket, // market object as in /src/markets/compound/index.ts
53
+ assetsData,
54
+ }
55
+ );
56
+ ```
57
+
58
+ More examples found [here](https://github.com/defisaver/defisaver-positions-sdk/tree/main/tests)
59
+
60
+ ## Testing
61
+
62
+ `npm run test` - Run all tests
63
+
64
+ `npm run test-single --name=your_test_name` - Run single test for specified name e.g. for MyTest.js test name is MyTest
@@ -0,0 +1,3 @@
1
+ import { EthAddress } from '../types/common';
2
+ export declare const fetchEthenaAirdropReward: (address: EthAddress) => Promise<any>;
3
+ export declare const fetchEthenaAirdropRewards: (walletAddresses: EthAddress[]) => Promise<Record<string, any[]>>;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.fetchEthenaAirdropRewards = exports.fetchEthenaAirdropReward = void 0;
16
+ const tokens_1 = require("@defisaver/tokens");
17
+ const decimal_js_1 = __importDefault(require("decimal.js"));
18
+ const viem_1 = require("viem");
19
+ const claiming_1 = require("../types/claiming");
20
+ const utils_1 = require("../services/utils");
21
+ const fetchEthenaAirdropReward = (address) => __awaiter(void 0, void 0, void 0, function* () {
22
+ try {
23
+ const checksumAddress = (0, viem_1.getAddress)(address);
24
+ const response = yield fetch(`https://airdrop-data-ethena-s4.s3.us-west-2.amazonaws.com/${checksumAddress}/0x3d99219fbd49ace3f48d6ca1340e505ec1bdf27d1f8d0e15ec9f286cc9215fcd-${checksumAddress}.json`);
25
+ if (!response.ok) {
26
+ if (response.status === 403) {
27
+ // This is also okay, means that there are no rewards for the address
28
+ return;
29
+ }
30
+ throw new Error(`HTTP error! status: ${response.status}`);
31
+ }
32
+ return yield response.json();
33
+ }
34
+ catch (error) {
35
+ console.error('Error fetching Ethena airdrop rewards:', error);
36
+ }
37
+ });
38
+ exports.fetchEthenaAirdropReward = fetchEthenaAirdropReward;
39
+ const fetchEthenaAirdropRewards = (walletAddresses) => __awaiter(void 0, void 0, void 0, function* () {
40
+ const apiDataPromises = walletAddresses.map(address => (0, exports.fetchEthenaAirdropReward)(address));
41
+ const apiDataArray = yield Promise.all(apiDataPromises);
42
+ console.log(apiDataArray);
43
+ const results = {};
44
+ for (let i = 0; i < walletAddresses.length; i++) {
45
+ const walletAddress = walletAddresses[i];
46
+ const data = apiDataArray[i];
47
+ if (!data || data.claimed) {
48
+ continue;
49
+ }
50
+ if (data.length === 0) {
51
+ results[walletAddress.toLowerCase()] = [];
52
+ continue;
53
+ }
54
+ const processedRewards = [];
55
+ const assetInfo = (0, tokens_1.getAssetInfo)('sENA');
56
+ console.log(assetInfo);
57
+ const amount = (0, utils_1.getEthAmountForDecimals)(data.events[0].awardAmount, assetInfo.decimals);
58
+ if (new decimal_js_1.default(amount).gt('0')) {
59
+ processedRewards.push({
60
+ symbol: assetInfo.symbol,
61
+ underlyingSymbol: assetInfo.symbol,
62
+ amount,
63
+ claimType: claiming_1.ClaimType.ETHENA_AIRDROP,
64
+ tokenAddress: assetInfo.address,
65
+ walletAddress,
66
+ label: 'Ethena Airdrop',
67
+ });
68
+ }
69
+ results[walletAddress.toLowerCase()] = processedRewards;
70
+ }
71
+ return results;
72
+ });
73
+ exports.fetchEthenaAirdropRewards = fetchEthenaAirdropRewards;
@@ -85162,152 +85162,3 @@ 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
- };
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.LiquityView = exports.crvUSDFactory = exports.crvUSDView = exports.crvUSDsfrxETHAmm = exports.crvUSDtBTCAmm = exports.crvUSDWBTCAmm = exports.crvUSDETHAmm = exports.crvUSDwstETHAmm = exports.crvUSDsfrxETHController = exports.crvUSDtBTCController = exports.crvUSDWBTCController = exports.crvUSDETHController = exports.crvUSDwstETHController = exports.SparkProtocolDataProvider = exports.SparkPoolAddressesProvider = exports.SparkLendingPool = exports.SparkIncentiveDataProvider = exports.SparkView = exports.Pot = exports.IAToken = exports.IVariableDebtToken = exports.Comptroller = exports.CompoundLoanInfo = exports.AaveLendingPoolV2 = exports.AaveProtocolDataProvider = exports.LendingPoolAddressesProvider = exports.AaveLoanInfoV2 = exports.wstETH = exports.CompV3BulkerL2 = exports.CompV3BulkerMainnetETH = exports.CompV3BulkerMainnetUSDC = exports.CompV3View = exports.cWstETHv3 = exports.cUSDSv3 = exports.cUSDTv3 = exports.cETHv3 = exports.cUSDbCv3 = exports.cUSDCev3 = exports.cUSDCv3 = exports.AaveUiIncentiveDataProviderV3 = exports.AaveV3EtherfiProtocolDataProvider = exports.AaveV3LidoProtocolDataProvider = exports.AaveV3ProtocolDataProvider = exports.AaveV3EtherfiLendingPool = exports.AaveV3LidoLendingPool = exports.AaveV3LendingPool = exports.AaveV3EtherfiPoolAddressesProvider = exports.AaveV3LidoPoolAddressesProvider = exports.AaveV3PoolAddressesProvider = exports.AaveV3View = void 0;
5
- exports.YearnView = exports.YearnVault = exports.MorphoVault = exports.StkAAVE = exports.LiquityV2sBoldVault = exports.LiquityV2ActivePool = exports.AaveRewardsController = exports.MorphoDistributor = exports.SparkRewardsController = exports.SparkAirdrop = exports.UUPS = exports.LiquityStabilityPool = exports.LiquityLQTYStaking = exports.AaveUmbrellaView = exports.Erc4626 = exports.Erc20 = exports.AaveIncentivesController = exports.McdCdpManager = exports.McdGetCdps = exports.FluidView = exports.LiquityV2StabilityPool = exports.EulerV2View = exports.LiquityV2TroveNFT = exports.LiquityV2CollSurplusPool = exports.LiquityV2View = exports.LiquityV2LegacyView = exports.LlamaLendControllerAbi = exports.LlamaLendView = exports.DFSFeedRegistry = exports.FeedRegistry = exports.MorphoBlueView = exports.WeETHPriceFeed = exports.WstETHPriceFeed = exports.USDCPriceFeed = exports.BTCPriceFeed = exports.ETHPriceFeed = exports.COMPPriceFeed = exports.McdDog = exports.McdJug = exports.McdVat = exports.McdSpotter = exports.McdView = exports.LiquityActivePool = exports.PriceFeed = exports.TroveManager = exports.CollSurplusPool = void 0;
5
+ exports.StkAAVE = exports.LiquityV2sBoldVault = exports.LiquityV2ActivePool = exports.AaveRewardsController = exports.MorphoDistributor = exports.SparkRewardsController = exports.SparkAirdrop = exports.UUPS = exports.LiquityStabilityPool = exports.LiquityLQTYStaking = exports.AaveUmbrellaView = exports.Erc4626 = exports.Erc20 = exports.AaveIncentivesController = exports.McdCdpManager = exports.McdGetCdps = exports.FluidView = exports.LiquityV2StabilityPool = exports.EulerV2View = exports.LiquityV2TroveNFT = exports.LiquityV2CollSurplusPool = exports.LiquityV2View = exports.LiquityV2LegacyView = exports.LlamaLendControllerAbi = exports.LlamaLendView = exports.DFSFeedRegistry = exports.FeedRegistry = exports.MorphoBlueView = exports.WeETHPriceFeed = exports.WstETHPriceFeed = exports.USDCPriceFeed = exports.BTCPriceFeed = exports.ETHPriceFeed = exports.COMPPriceFeed = exports.McdDog = exports.McdJug = exports.McdVat = exports.McdSpotter = exports.McdView = exports.LiquityActivePool = exports.PriceFeed = exports.TroveManager = exports.CollSurplusPool = void 0;
6
6
  exports.AaveV3View = {
7
7
  "abi": [{ "inputs": [], "name": "AAVE_REFERRAL_CODE", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_umbrella", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getAdditionalUmbrellaStakingData", "outputs": [{ "components": [{ "internalType": "address", "name": "stkToken", "type": "address" }, { "internalType": "uint256", "name": "totalShares", "type": "uint256" }, { "internalType": "address", "name": "stkUnderlyingToken", "type": "address" }, { "internalType": "address", "name": "aToken", "type": "address" }, { "internalType": "uint256", "name": "cooldownPeriod", "type": "uint256" }, { "internalType": "uint256", "name": "unstakeWindow", "type": "uint256" }, { "internalType": "uint256", "name": "stkTokenToWaTokenRate", "type": "uint256" }, { "internalType": "uint256", "name": "waTokenToATokenRate", "type": "uint256" }, { "internalType": "uint256[]", "name": "rewardsEmissionRates", "type": "uint256[]" }, { "internalType": "uint256", "name": "userCooldownAmount", "type": "uint256" }, { "internalType": "uint256", "name": "userEndOfCooldown", "type": "uint256" }, { "internalType": "uint256", "name": "userWithdrawalWindow", "type": "uint256" }], "internalType": "struct AaveV3View.UmbrellaStkData[]", "name": "retVal", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }], "name": "getAllEmodes", "outputs": [{ "components": [{ "internalType": "uint16", "name": "ltv", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationBonus", "type": "uint16" }, { "internalType": "uint128", "name": "collateralBitmap", "type": "uint128" }, { "internalType": "string", "name": "label", "type": "string" }, { "internalType": "uint128", "name": "borrowableBitmap", "type": "uint128" }], "internalType": "struct DataTypes.EModeCategoryNew[]", "name": "emodesData", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "components": [{ "internalType": "address", "name": "reserveAddress", "type": "address" }, { "internalType": "uint256", "name": "liquidityAdded", "type": "uint256" }, { "internalType": "uint256", "name": "liquidityTaken", "type": "uint256" }, { "internalType": "bool", "name": "isDebtAsset", "type": "bool" }], "internalType": "struct AaveV3View.LiquidityChangeParams[]", "name": "_reserveParams", "type": "tuple[]" }], "name": "getApyAfterValuesEstimation", "outputs": [{ "components": [{ "internalType": "address", "name": "reserveAddress", "type": "address" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "variableBorrowRate", "type": "uint256" }], "internalType": "struct AaveV3View.EstimatedRates[]", "name": "", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_tokenAddr", "type": "address" }], "name": "getAssetPrice", "outputs": [{ "internalType": "uint256", "name": "price", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getCollFactors", "outputs": [{ "internalType": "uint256[]", "name": "collFactors", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "emodeCategory", "type": "uint256" }, { "internalType": "contract IPoolV3", "name": "lendingPool", "type": "address" }], "name": "getEModeCollateralFactor", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract IPoolV3", "name": "_lendingPool", "type": "address" }, { "internalType": "uint8", "name": "_id", "type": "uint8" }], "name": "getEmodeData", "outputs": [{ "components": [{ "internalType": "uint16", "name": "ltv", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationBonus", "type": "uint16" }, { "internalType": "uint128", "name": "collateralBitmap", "type": "uint128" }, { "internalType": "string", "name": "label", "type": "string" }, { "internalType": "uint128", "name": "borrowableBitmap", "type": "uint128" }], "internalType": "struct DataTypes.EModeCategoryNew", "name": "emodeData", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokenAddresses", "type": "address[]" }], "name": "getFullTokensInfo", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint16", "name": "assetId", "type": "uint16" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateVariable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateStable", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "availableLiquidity", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrow", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVar", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowStab", "type": "uint256" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "liquidationRatio", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }, { "internalType": "uint256", "name": "supplyCap", "type": "uint256" }, { "internalType": "uint256", "name": "borrowCap", "type": "uint256" }, { "internalType": "uint256", "name": "emodeCategory", "type": "uint256" }, { "internalType": "uint256", "name": "debtCeilingForIsolationMode", "type": "uint256" }, { "internalType": "uint256", "name": "isolationModeTotalDebt", "type": "uint256" }, { "internalType": "bool", "name": "usageAsCollateralEnabled", "type": "bool" }, { "internalType": "bool", "name": "borrowingEnabled", "type": "bool" }, { "internalType": "bool", "name": "stableBorrowRateEnabled", "type": "bool" }, { "internalType": "bool", "name": "isolationModeBorrowingEnabled", "type": "bool" }, { "internalType": "bool", "name": "isSiloedForBorrowing", "type": "bool" }, { "internalType": "uint256", "name": "eModeCollateralFactor", "type": "uint256" }, { "internalType": "bool", "name": "isFlashLoanEnabled", "type": "bool" }, { "internalType": "uint16", "name": "ltv", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationBonus", "type": "uint16" }, { "internalType": "address", "name": "priceSource", "type": "address" }, { "internalType": "string", "name": "label", "type": "string" }, { "internalType": "bool", "name": "isActive", "type": "bool" }, { "internalType": "bool", "name": "isPaused", "type": "bool" }, { "internalType": "bool", "name": "isFrozen", "type": "bool" }, { "internalType": "address", "name": "debtTokenAddress", "type": "address" }], "internalType": "struct AaveV3View.TokenInfoFull[]", "name": "tokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getHealthFactor", "outputs": [{ "internalType": "uint256", "name": "healthFactor", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getLoanData", "outputs": [{ "components": [{ "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint128", "name": "ratio", "type": "uint128" }, { "internalType": "uint256", "name": "eMode", "type": "uint256" }, { "internalType": "address[]", "name": "collAddr", "type": "address[]" }, { "internalType": "bool[]", "name": "enabledAsColl", "type": "bool[]" }, { "internalType": "address[]", "name": "borrowAddr", "type": "address[]" }, { "internalType": "uint256[]", "name": "collAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowStableAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowVariableAmounts", "type": "uint256[]" }, { "internalType": "uint16", "name": "ltv", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationBonus", "type": "uint16" }, { "internalType": "address", "name": "priceSource", "type": "address" }, { "internalType": "string", "name": "label", "type": "string" }], "internalType": "struct AaveV3View.LoanData", "name": "data", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_users", "type": "address[]" }], "name": "getLoanDataArr", "outputs": [{ "components": [{ "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint128", "name": "ratio", "type": "uint128" }, { "internalType": "uint256", "name": "eMode", "type": "uint256" }, { "internalType": "address[]", "name": "collAddr", "type": "address[]" }, { "internalType": "bool[]", "name": "enabledAsColl", "type": "bool[]" }, { "internalType": "address[]", "name": "borrowAddr", "type": "address[]" }, { "internalType": "uint256[]", "name": "collAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowStableAmounts", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "borrowVariableAmounts", "type": "uint256[]" }, { "internalType": "uint16", "name": "ltv", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationBonus", "type": "uint16" }, { "internalType": "address", "name": "priceSource", "type": "address" }, { "internalType": "string", "name": "label", "type": "string" }], "internalType": "struct AaveV3View.LoanData[]", "name": "loans", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint256", "name": "data", "type": "uint256" }], "internalType": "struct DataTypes.ReserveConfigurationMap", "name": "self", "type": "tuple" }], "name": "getLtv", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getPrices", "outputs": [{ "internalType": "uint256[]", "name": "prices", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getRatio", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_users", "type": "address[]" }], "name": "getRatios", "outputs": [{ "internalType": "uint256[]", "name": "ratios", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }], "name": "getSafetyRatio", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }], "name": "getTokenBalances", "outputs": [{ "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "borrowsStable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowsVariable", "type": "uint256" }, { "internalType": "uint256", "name": "stableBorrowRate", "type": "uint256" }, { "internalType": "bool", "name": "enabledAsCollateral", "type": "bool" }], "internalType": "struct AaveV3View.UserToken[]", "name": "userTokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address", "name": "_tokenAddr", "type": "address" }], "name": "getTokenInfoFull", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint16", "name": "assetId", "type": "uint16" }, { "internalType": "uint256", "name": "supplyRate", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateVariable", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRateStable", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "availableLiquidity", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrow", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowVar", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrowStab", "type": "uint256" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "liquidationRatio", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }, { "internalType": "uint256", "name": "supplyCap", "type": "uint256" }, { "internalType": "uint256", "name": "borrowCap", "type": "uint256" }, { "internalType": "uint256", "name": "emodeCategory", "type": "uint256" }, { "internalType": "uint256", "name": "debtCeilingForIsolationMode", "type": "uint256" }, { "internalType": "uint256", "name": "isolationModeTotalDebt", "type": "uint256" }, { "internalType": "bool", "name": "usageAsCollateralEnabled", "type": "bool" }, { "internalType": "bool", "name": "borrowingEnabled", "type": "bool" }, { "internalType": "bool", "name": "stableBorrowRateEnabled", "type": "bool" }, { "internalType": "bool", "name": "isolationModeBorrowingEnabled", "type": "bool" }, { "internalType": "bool", "name": "isSiloedForBorrowing", "type": "bool" }, { "internalType": "uint256", "name": "eModeCollateralFactor", "type": "uint256" }, { "internalType": "bool", "name": "isFlashLoanEnabled", "type": "bool" }, { "internalType": "uint16", "name": "ltv", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationThreshold", "type": "uint16" }, { "internalType": "uint16", "name": "liquidationBonus", "type": "uint16" }, { "internalType": "address", "name": "priceSource", "type": "address" }, { "internalType": "string", "name": "label", "type": "string" }, { "internalType": "bool", "name": "isActive", "type": "bool" }, { "internalType": "bool", "name": "isPaused", "type": "bool" }, { "internalType": "bool", "name": "isFrozen", "type": "bool" }, { "internalType": "address", "name": "debtTokenAddress", "type": "address" }], "internalType": "struct AaveV3View.TokenInfoFull", "name": "_tokenInfo", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }, { "internalType": "address[]", "name": "_tokenAddresses", "type": "address[]" }], "name": "getTokensInfo", "outputs": [{ "components": [{ "internalType": "address", "name": "aTokenAddress", "type": "address" }, { "internalType": "address", "name": "underlyingTokenAddress", "type": "address" }, { "internalType": "uint256", "name": "collateralFactor", "type": "uint256" }, { "internalType": "uint256", "name": "price", "type": "uint256" }], "internalType": "struct AaveV3View.TokenInfo[]", "name": "tokens", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_market", "type": "address" }], "name": "isBorrowAllowed", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }],
8
8
  "networks": {
@@ -1260,17 +1260,3 @@ exports.StkAAVE = {
1260
1260
  }
1261
1261
  }
1262
1262
  };
1263
- exports.MorphoVault = {
1264
- "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" }],
1265
- };
1266
- exports.YearnVault = {
1267
- "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 }]
1268
- };
1269
- exports.YearnView = {
1270
- "abi": [{ "inputs": [{ "internalType": "address", "name": "_vault", "type": "address" }], "name": "getPoolLiquidity", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }],
1271
- "networks": {
1272
- "1": {
1273
- "address": "0x36314D468E1da48Fb637fFB7c7DBDF222eC3FFe7",
1274
- }
1275
- }
1276
- };