@defisaver/positions-sdk 2.1.2 → 2.1.4-dev-plasma-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mocharc.json +4 -4
- package/.nvmrc +1 -1
- package/README.md +64 -64
- package/cjs/aaveV3/index.js +1 -1
- package/cjs/aaveV3/merit.js +3 -0
- package/cjs/config/contracts.d.ts +17 -0
- package/cjs/config/contracts.js +17 -0
- package/cjs/helpers/aaveHelpers/index.js +8 -7
- package/cjs/helpers/morphoBlueHelpers/index.js +66 -66
- package/cjs/markets/aave/index.js +1 -1
- package/cjs/markets/aave/marketAssets.d.ts +4 -0
- package/cjs/markets/aave/marketAssets.js +5 -1
- package/cjs/markets/compound/index.js +11 -0
- package/cjs/markets/compound/marketsAssets.d.ts +7 -0
- package/cjs/markets/compound/marketsAssets.js +7 -0
- package/cjs/markets/spark/marketAssets.d.ts +1 -0
- package/cjs/markets/spark/marketAssets.js +1 -0
- package/cjs/services/utils.js +1 -1
- package/cjs/services/viem.d.ts +54 -15
- package/cjs/services/viem.js +2 -0
- package/cjs/staking/eligibility.d.ts +4 -2
- package/cjs/staking/eligibility.js +3 -4
- package/cjs/staking/staking.d.ts +2 -1
- package/cjs/staking/staking.js +5 -4
- package/cjs/types/common.d.ts +3 -2
- package/cjs/types/common.js +2 -1
- package/esm/aaveV3/index.js +1 -1
- package/esm/aaveV3/merit.js +3 -0
- package/esm/config/contracts.d.ts +17 -0
- package/esm/config/contracts.js +17 -0
- package/esm/helpers/aaveHelpers/index.js +8 -7
- package/esm/helpers/morphoBlueHelpers/index.js +66 -66
- package/esm/markets/aave/index.js +1 -1
- package/esm/markets/aave/marketAssets.d.ts +4 -0
- package/esm/markets/aave/marketAssets.js +4 -0
- package/esm/markets/compound/index.js +11 -0
- package/esm/markets/compound/marketsAssets.d.ts +7 -0
- package/esm/markets/compound/marketsAssets.js +7 -0
- package/esm/markets/spark/marketAssets.d.ts +1 -0
- package/esm/markets/spark/marketAssets.js +1 -0
- package/esm/services/utils.js +1 -1
- package/esm/services/viem.d.ts +54 -15
- package/esm/services/viem.js +3 -1
- package/esm/staking/eligibility.d.ts +4 -2
- package/esm/staking/eligibility.js +3 -4
- package/esm/staking/staking.d.ts +2 -1
- package/esm/staking/staking.js +5 -4
- package/esm/types/common.d.ts +3 -2
- package/esm/types/common.js +2 -1
- package/package.json +47 -47
- package/src/aaveV2/index.ts +240 -240
- package/src/aaveV3/index.ts +614 -614
- package/src/aaveV3/merit.ts +97 -94
- package/src/aaveV3/merkl.ts +74 -74
- package/src/claiming/aaveV3.ts +154 -154
- package/src/claiming/compV3.ts +22 -22
- package/src/claiming/index.ts +12 -12
- package/src/claiming/king.ts +66 -66
- package/src/claiming/morphoBlue.ts +118 -118
- package/src/claiming/spark.ts +225 -225
- package/src/compoundV2/index.ts +244 -244
- package/src/compoundV3/index.ts +274 -274
- package/src/config/contracts.ts +1245 -1228
- package/src/constants/index.ts +10 -10
- package/src/contracts.ts +120 -120
- package/src/curveUsd/index.ts +250 -250
- package/src/eulerV2/index.ts +324 -324
- package/src/exchange/index.ts +25 -25
- package/src/fluid/index.ts +1638 -1638
- package/src/helpers/aaveHelpers/index.ts +185 -183
- package/src/helpers/compoundHelpers/index.ts +283 -283
- package/src/helpers/curveUsdHelpers/index.ts +40 -40
- package/src/helpers/eulerHelpers/index.ts +222 -222
- package/src/helpers/fluidHelpers/index.ts +326 -326
- package/src/helpers/index.ts +10 -10
- package/src/helpers/liquityV2Helpers/index.ts +82 -82
- package/src/helpers/llamaLendHelpers/index.ts +53 -53
- package/src/helpers/makerHelpers/index.ts +52 -52
- package/src/helpers/morphoBlueHelpers/index.ts +396 -396
- package/src/helpers/sparkHelpers/index.ts +155 -155
- package/src/index.ts +47 -47
- package/src/liquity/index.ts +159 -159
- package/src/liquityV2/index.ts +657 -657
- package/src/llamaLend/index.ts +305 -305
- package/src/maker/index.ts +223 -223
- package/src/markets/aave/index.ts +116 -116
- package/src/markets/aave/marketAssets.ts +54 -49
- package/src/markets/compound/index.ts +238 -227
- package/src/markets/compound/marketsAssets.ts +97 -90
- package/src/markets/curveUsd/index.ts +69 -69
- package/src/markets/euler/index.ts +26 -26
- package/src/markets/fluid/index.ts +2456 -2456
- package/src/markets/index.ts +25 -25
- package/src/markets/liquityV2/index.ts +102 -102
- package/src/markets/llamaLend/contractAddresses.ts +141 -141
- package/src/markets/llamaLend/index.ts +235 -235
- package/src/markets/morphoBlue/index.ts +895 -895
- package/src/markets/spark/index.ts +29 -29
- package/src/markets/spark/marketAssets.ts +12 -11
- package/src/moneymarket/moneymarketCommonService.ts +80 -80
- package/src/morphoBlue/index.ts +274 -274
- package/src/portfolio/index.ts +570 -570
- package/src/services/priceService.ts +159 -159
- package/src/services/utils.ts +99 -99
- package/src/services/viem.ts +34 -32
- package/src/setup.ts +8 -8
- package/src/spark/index.ts +445 -445
- package/src/staking/eligibility.ts +59 -60
- package/src/staking/index.ts +1 -1
- package/src/staking/staking.ts +170 -170
- package/src/types/aave.ts +189 -189
- package/src/types/claiming.ts +109 -109
- package/src/types/common.ts +106 -105
- package/src/types/compound.ts +136 -136
- package/src/types/curveUsd.ts +121 -121
- package/src/types/euler.ts +175 -175
- package/src/types/fluid.ts +448 -448
- package/src/types/index.ts +13 -13
- package/src/types/liquity.ts +30 -30
- package/src/types/liquityV2.ts +126 -126
- package/src/types/llamaLend.ts +159 -159
- package/src/types/maker.ts +63 -63
- package/src/types/merit.ts +1 -1
- package/src/types/merkl.ts +70 -70
- package/src/types/morphoBlue.ts +194 -194
- package/src/types/portfolio.ts +60 -60
- package/src/types/spark.ts +135 -135
- package/src/umbrella/index.ts +69 -69
- package/src/umbrella/umbrellaUtils.ts +29 -29
- package/CLAUDE.md +0 -32
package/cjs/services/viem.d.ts
CHANGED
|
@@ -7,14 +7,11 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
7
7
|
readonly apiUrl: "https://api.etherscan.io/api";
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
blockTime
|
|
10
|
+
blockTime: 12000;
|
|
11
11
|
contracts: {
|
|
12
|
-
readonly ensRegistry: {
|
|
13
|
-
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
14
|
-
};
|
|
15
12
|
readonly ensUniversalResolver: {
|
|
16
|
-
readonly address: "
|
|
17
|
-
readonly blockCreated:
|
|
13
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
14
|
+
readonly blockCreated: 23085558;
|
|
18
15
|
};
|
|
19
16
|
readonly multicall3: {
|
|
20
17
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
@@ -29,6 +26,7 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
29
26
|
readonly symbol: "ETH";
|
|
30
27
|
readonly decimals: 18;
|
|
31
28
|
};
|
|
29
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
32
30
|
rpcUrls: {
|
|
33
31
|
readonly default: {
|
|
34
32
|
readonly http: readonly ["https://eth.merkle.io"];
|
|
@@ -101,6 +99,7 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
101
99
|
readonly symbol: "ETH";
|
|
102
100
|
readonly decimals: 18;
|
|
103
101
|
};
|
|
102
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
104
103
|
rpcUrls: {
|
|
105
104
|
readonly default: {
|
|
106
105
|
readonly http: readonly ["https://mainnet.optimism.io"];
|
|
@@ -174,16 +173,16 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
174
173
|
r: import("viem").Hex;
|
|
175
174
|
s: import("viem").Hex;
|
|
176
175
|
v: bigint;
|
|
176
|
+
value: bigint;
|
|
177
|
+
gas: bigint;
|
|
177
178
|
to: import("viem").Address | null;
|
|
178
179
|
from: import("viem").Address;
|
|
179
|
-
gas: bigint;
|
|
180
180
|
nonce: number;
|
|
181
|
-
value: bigint;
|
|
182
181
|
blockHash: `0x${string}` | null;
|
|
183
182
|
blockNumber: bigint | null;
|
|
183
|
+
transactionIndex: number | null;
|
|
184
184
|
hash: import("viem").Hash;
|
|
185
185
|
input: import("viem").Hex;
|
|
186
|
-
transactionIndex: number | null;
|
|
187
186
|
typeHex: import("viem").Hex | null;
|
|
188
187
|
accessList?: undefined | undefined;
|
|
189
188
|
authorizationList?: undefined | undefined;
|
|
@@ -352,7 +351,7 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
352
351
|
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
353
352
|
};
|
|
354
353
|
};
|
|
355
|
-
blockTime
|
|
354
|
+
blockTime: 250;
|
|
356
355
|
contracts: {
|
|
357
356
|
readonly multicall3: {
|
|
358
357
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
@@ -367,6 +366,7 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
367
366
|
readonly symbol: "ETH";
|
|
368
367
|
readonly decimals: 18;
|
|
369
368
|
};
|
|
369
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
370
370
|
rpcUrls: {
|
|
371
371
|
readonly default: {
|
|
372
372
|
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
@@ -441,6 +441,7 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
441
441
|
readonly symbol: "ETH";
|
|
442
442
|
readonly decimals: 18;
|
|
443
443
|
};
|
|
444
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
444
445
|
rpcUrls: {
|
|
445
446
|
readonly default: {
|
|
446
447
|
readonly http: readonly ["https://mainnet.base.org"];
|
|
@@ -514,16 +515,16 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
514
515
|
r: import("viem").Hex;
|
|
515
516
|
s: import("viem").Hex;
|
|
516
517
|
v: bigint;
|
|
518
|
+
value: bigint;
|
|
519
|
+
gas: bigint;
|
|
517
520
|
to: import("viem").Address | null;
|
|
518
521
|
from: import("viem").Address;
|
|
519
|
-
gas: bigint;
|
|
520
522
|
nonce: number;
|
|
521
|
-
value: bigint;
|
|
522
523
|
blockHash: `0x${string}` | null;
|
|
523
524
|
blockNumber: bigint | null;
|
|
525
|
+
transactionIndex: number | null;
|
|
524
526
|
hash: import("viem").Hash;
|
|
525
527
|
input: import("viem").Hex;
|
|
526
|
-
transactionIndex: number | null;
|
|
527
528
|
typeHex: import("viem").Hex | null;
|
|
528
529
|
accessList?: undefined | undefined;
|
|
529
530
|
authorizationList?: undefined | undefined;
|
|
@@ -703,8 +704,8 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
703
704
|
readonly blockCreated: 6682888;
|
|
704
705
|
};
|
|
705
706
|
readonly ensUniversalResolver: {
|
|
706
|
-
readonly address: "
|
|
707
|
-
readonly blockCreated:
|
|
707
|
+
readonly address: "0x4D41762915F83c76EcaF6776d9b08076aA32b492";
|
|
708
|
+
readonly blockCreated: 22222151;
|
|
708
709
|
};
|
|
709
710
|
};
|
|
710
711
|
ensTlds: readonly [".linea.eth"];
|
|
@@ -715,6 +716,7 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
715
716
|
readonly symbol: "ETH";
|
|
716
717
|
readonly decimals: 18;
|
|
717
718
|
};
|
|
719
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
718
720
|
rpcUrls: {
|
|
719
721
|
readonly default: {
|
|
720
722
|
readonly http: readonly ["https://rpc.linea.build"];
|
|
@@ -730,6 +732,40 @@ export declare const getViemChain: (network: NetworkNumber) => {
|
|
|
730
732
|
};
|
|
731
733
|
formatters?: undefined;
|
|
732
734
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
735
|
+
} | {
|
|
736
|
+
blockExplorers: {
|
|
737
|
+
readonly default: {
|
|
738
|
+
readonly name: "PlasmaScan";
|
|
739
|
+
readonly url: "https://plasmascan.to";
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
blockTime?: number | undefined | undefined;
|
|
743
|
+
contracts: {
|
|
744
|
+
readonly multicall3: {
|
|
745
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
746
|
+
readonly blockCreated: 0;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
ensTlds?: readonly string[] | undefined;
|
|
750
|
+
id: 9745;
|
|
751
|
+
name: "Plasma";
|
|
752
|
+
nativeCurrency: {
|
|
753
|
+
readonly name: "Plasma";
|
|
754
|
+
readonly symbol: "XPL";
|
|
755
|
+
readonly decimals: 18;
|
|
756
|
+
};
|
|
757
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
758
|
+
rpcUrls: {
|
|
759
|
+
readonly default: {
|
|
760
|
+
readonly http: readonly ["https://rpc.plasma.to"];
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
sourceId?: number | undefined | undefined;
|
|
764
|
+
testnet?: boolean | undefined | undefined;
|
|
765
|
+
custom?: Record<string, unknown> | undefined;
|
|
766
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
767
|
+
formatters?: undefined;
|
|
768
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
733
769
|
};
|
|
734
770
|
export declare const getViemProvider: (provider: EthereumProvider, network: NetworkNumber, options?: any) => {
|
|
735
771
|
account: undefined;
|
|
@@ -741,6 +777,7 @@ export declare const getViemProvider: (provider: EthereumProvider, network: Netw
|
|
|
741
777
|
request?: (parameters: import("viem").CcipRequestParameters) => Promise<`0x${string}`>;
|
|
742
778
|
} | undefined;
|
|
743
779
|
chain: undefined;
|
|
780
|
+
experimental_blockTag?: import("viem").BlockTag | undefined;
|
|
744
781
|
key: string;
|
|
745
782
|
name: string;
|
|
746
783
|
pollingInterval: number;
|
|
@@ -7579,6 +7616,7 @@ export declare const getViemProvider: (provider: EthereumProvider, network: Netw
|
|
|
7579
7616
|
simulateBlocks: <const calls extends readonly unknown[]>(args: import("viem").SimulateBlocksParameters<calls>) => Promise<import("viem").SimulateBlocksReturnType<calls>>;
|
|
7580
7617
|
simulateCalls: <const calls extends readonly unknown[]>(args: import("viem").SimulateCallsParameters<calls>) => Promise<import("viem").SimulateCallsReturnType<calls>>;
|
|
7581
7618
|
simulateContract: <const abi extends import("viem").Abi | readonly unknown[], functionName extends import("viem").ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends import("viem").ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends import("viem").Chain | undefined, accountOverride extends import("viem").Account | import("viem").Address | undefined = undefined>(args: import("viem").SimulateContractParameters<abi, functionName, args_1, undefined, chainOverride, accountOverride>) => Promise<import("viem").SimulateContractReturnType<abi, functionName, args_1, undefined, import("viem").Account | undefined, chainOverride, accountOverride>>;
|
|
7619
|
+
verifyHash: (args: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>;
|
|
7582
7620
|
verifyMessage: (args: import("viem").VerifyMessageActionParameters) => Promise<import("viem").VerifyMessageActionReturnType>;
|
|
7583
7621
|
verifySiweMessage: (args: {
|
|
7584
7622
|
blockNumber?: bigint | undefined | undefined;
|
|
@@ -7606,6 +7644,7 @@ export declare const getViemProvider: (provider: EthereumProvider, network: Netw
|
|
|
7606
7644
|
cacheTime?: undefined;
|
|
7607
7645
|
ccipRead?: undefined;
|
|
7608
7646
|
chain?: undefined;
|
|
7647
|
+
experimental_blockTag?: undefined;
|
|
7609
7648
|
key?: undefined;
|
|
7610
7649
|
name?: undefined;
|
|
7611
7650
|
pollingInterval?: undefined;
|
package/cjs/services/viem.js
CHANGED
|
@@ -16,6 +16,8 @@ const getViemChain = (network) => {
|
|
|
16
16
|
return chains_1.base;
|
|
17
17
|
case common_1.NetworkNumber.Linea:
|
|
18
18
|
return chains_1.linea;
|
|
19
|
+
case common_1.NetworkNumber.Plasma:
|
|
20
|
+
return chains_1.plasma;
|
|
19
21
|
default:
|
|
20
22
|
throw new Error(`Unsupported network: ${network}`);
|
|
21
23
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IncentiveEligibilityId, MMUsedAssets } from '../types/common';
|
|
2
|
-
export declare const isEligibleForEthenaUSDeRewards: (usedAssets: MMUsedAssets
|
|
2
|
+
export declare const isEligibleForEthenaUSDeRewards: (usedAssets: MMUsedAssets, { healthRatio }: {
|
|
3
|
+
healthRatio: string;
|
|
4
|
+
}) => {
|
|
3
5
|
isEligible: boolean;
|
|
4
6
|
eligibleUSDAmount: string;
|
|
5
7
|
};
|
|
@@ -12,7 +14,7 @@ export declare const isEligibleForAaveV3ArbitrumETHLSBorrow: (usedAssets: MMUsed
|
|
|
12
14
|
eligibleUSDAmount: string;
|
|
13
15
|
};
|
|
14
16
|
export declare const EligibilityMapping: {
|
|
15
|
-
[key in IncentiveEligibilityId]: (usedAssets: MMUsedAssets) => {
|
|
17
|
+
[key in IncentiveEligibilityId]: (usedAssets: MMUsedAssets, optionalData: any) => {
|
|
16
18
|
isEligible: boolean;
|
|
17
19
|
eligibleUSDAmount: string;
|
|
18
20
|
};
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.EligibilityMapping = exports.isEligibleForAaveV3ArbitrumETHLSBorrow = exports.isEligibleForAaveV3ArbitrumEthSupply = exports.isEligibleForEthenaUSDeRewards = void 0;
|
|
7
7
|
const decimal_js_1 = __importDefault(require("decimal.js"));
|
|
8
8
|
const common_1 = require("../types/common");
|
|
9
|
-
const isEligibleForEthenaUSDeRewards = (usedAssets) => {
|
|
9
|
+
const isEligibleForEthenaUSDeRewards = (usedAssets, { healthRatio }) => {
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const USDeUSDAmountSupplied = ((_a = usedAssets.USDe) === null || _a === void 0 ? void 0 : _a.suppliedUsd) || '0';
|
|
12
12
|
const sUSDeUSDAmountSupplied = ((_b = usedAssets.sUSDe) === null || _b === void 0 ? void 0 : _b.suppliedUsd) || '0';
|
|
@@ -30,9 +30,8 @@ const isEligibleForEthenaUSDeRewards = (usedAssets) => {
|
|
|
30
30
|
}
|
|
31
31
|
return acc;
|
|
32
32
|
}, new decimal_js_1.default(0)).toString();
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return { isEligible: false, eligibleUSDAmount: '0' }; // must be looped at least once
|
|
33
|
+
if (new decimal_js_1.default(healthRatio).gte(2.5))
|
|
34
|
+
return { isEligible: false, eligibleUSDAmount: '0' }; // health ratio must be below 2.5
|
|
36
35
|
const halfAmountSupplied = new decimal_js_1.default(totalAmountSupplied).div(2).toString();
|
|
37
36
|
const USDeAmountEligibleForRewards = decimal_js_1.default.min(USDeUSDAmountSupplied, halfAmountSupplied).toString(); // rewards are given to amount of USDe supplied up to half of total amount supplied
|
|
38
37
|
return { isEligible: true, eligibleUSDAmount: USDeAmountEligibleForRewards };
|
package/cjs/staking/staking.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import { MMAssetsData, MMUsedAssets } from '../types/common';
|
|
|
3
3
|
export declare const STAKING_ASSETS: string[];
|
|
4
4
|
export declare const getStakingApy: ((asset: string) => Promise<string>) & memoize.Memoized<(asset: string) => Promise<string>>;
|
|
5
5
|
export declare const calculateInterestEarned: (principal: string, interest: string, type: string, apy?: boolean) => number;
|
|
6
|
-
export declare const calculateNetApy: ({ usedAssets, assetsData, }: {
|
|
6
|
+
export declare const calculateNetApy: ({ usedAssets, assetsData, optionalData, }: {
|
|
7
7
|
usedAssets: MMUsedAssets;
|
|
8
8
|
assetsData: MMAssetsData;
|
|
9
|
+
optionalData?: any;
|
|
9
10
|
}) => {
|
|
10
11
|
netApy: string;
|
|
11
12
|
totalInterestUsd: string;
|
package/cjs/staking/staking.js
CHANGED
|
@@ -54,12 +54,13 @@ const getSuperOETHApy = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
const getApyFromDfsApi = (asset) => __awaiter(void 0, void 0, void 0, function* () {
|
|
57
|
+
var _a;
|
|
57
58
|
try {
|
|
58
59
|
const res = yield fetch(`https://fe.defisaver.com/api/staking/apy?asset=${asset}`, { signal: AbortSignal.timeout(utils_1.DEFAULT_TIMEOUT) });
|
|
59
60
|
if (!res.ok)
|
|
60
61
|
throw new Error(`Failed to fetch APY for ${asset}`);
|
|
61
62
|
const data = yield res.json();
|
|
62
|
-
return String(data.apy);
|
|
63
|
+
return String((_a = data.apy) !== null && _a !== void 0 ? _a : '0');
|
|
63
64
|
}
|
|
64
65
|
catch (e) {
|
|
65
66
|
console.error(`External API Failure: Failed to fetch APY for ${asset} from DFS API`, e);
|
|
@@ -136,7 +137,7 @@ const calculateInterestEarned = (principal, interest, type, apy = false) => {
|
|
|
136
137
|
return (+principal * (Math.pow(((1 + (+interest / 100) / constants_1.BLOCKS_IN_A_YEAR)), (constants_1.BLOCKS_IN_A_YEAR * interval)))) - +principal; // eslint-disable-line
|
|
137
138
|
};
|
|
138
139
|
exports.calculateInterestEarned = calculateInterestEarned;
|
|
139
|
-
const calculateNetApy = ({ usedAssets, assetsData, }) => {
|
|
140
|
+
const calculateNetApy = ({ usedAssets, assetsData, optionalData, }) => {
|
|
140
141
|
const sumValues = Object.values(usedAssets).reduce((_acc, usedAsset) => {
|
|
141
142
|
var _a;
|
|
142
143
|
const acc = Object.assign({}, _acc);
|
|
@@ -151,7 +152,7 @@ const calculateNetApy = ({ usedAssets, assetsData, }) => {
|
|
|
151
152
|
const { apy, eligibilityId } = supplyIncentive;
|
|
152
153
|
const eligibilityCheck = eligibilityId ? eligibility_1.EligibilityMapping[eligibilityId] : null;
|
|
153
154
|
if (eligibilityCheck) {
|
|
154
|
-
const { isEligible, eligibleUSDAmount } = eligibilityCheck(usedAssets);
|
|
155
|
+
const { isEligible, eligibleUSDAmount } = eligibilityCheck(usedAssets, optionalData);
|
|
155
156
|
const incentiveInterest = isEligible ? (0, exports.calculateInterestEarned)(eligibleUSDAmount, apy, 'year', true) : '0';
|
|
156
157
|
acc.incentiveUsd = new decimal_js_1.default(acc.incentiveUsd).add(incentiveInterest).toString();
|
|
157
158
|
}
|
|
@@ -171,7 +172,7 @@ const calculateNetApy = ({ usedAssets, assetsData, }) => {
|
|
|
171
172
|
const { apy, eligibilityId } = borrowIncentive;
|
|
172
173
|
const eligibilityCheck = eligibilityId ? eligibility_1.EligibilityMapping[eligibilityId] : null;
|
|
173
174
|
if (eligibilityCheck) {
|
|
174
|
-
const { isEligible, eligibleUSDAmount } = eligibilityCheck(usedAssets);
|
|
175
|
+
const { isEligible, eligibleUSDAmount } = eligibilityCheck(usedAssets, optionalData);
|
|
175
176
|
const incentiveInterest = isEligible ? (0, exports.calculateInterestEarned)(eligibleUSDAmount, apy, 'year', true) : '0';
|
|
176
177
|
acc.incentiveUsd = new decimal_js_1.default(acc.incentiveUsd).add(incentiveInterest).toString();
|
|
177
178
|
}
|
package/cjs/types/common.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare enum IncentiveKind {
|
|
|
3
3
|
Reward = "reward"
|
|
4
4
|
}
|
|
5
5
|
export declare enum IncentiveEligibilityId {
|
|
6
|
-
AaveV3EthenaLiquidLeverage = "
|
|
6
|
+
AaveV3EthenaLiquidLeverage = "0x7361e6f04060154e0268a8402b073cbf97e11ae3BORROW_BL",
|
|
7
7
|
AaveV3ArbitrumEthSupply = "0x5d16261c6715a653248269861bbacf68a9774cde",
|
|
8
8
|
AaveV3ArbitrumETHLSBorrow = "0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351"
|
|
9
9
|
}
|
|
@@ -23,7 +23,8 @@ export declare enum NetworkNumber {
|
|
|
23
23
|
Opt = 10,
|
|
24
24
|
Arb = 42161,
|
|
25
25
|
Base = 8453,
|
|
26
|
-
Linea = 59144
|
|
26
|
+
Linea = 59144,
|
|
27
|
+
Plasma = 9745
|
|
27
28
|
}
|
|
28
29
|
export type Networkish = string | NetworkNumber;
|
|
29
30
|
export interface MMAssetData {
|
package/cjs/types/common.js
CHANGED
|
@@ -8,7 +8,7 @@ var IncentiveKind;
|
|
|
8
8
|
})(IncentiveKind || (exports.IncentiveKind = IncentiveKind = {}));
|
|
9
9
|
var IncentiveEligibilityId;
|
|
10
10
|
(function (IncentiveEligibilityId) {
|
|
11
|
-
IncentiveEligibilityId["AaveV3EthenaLiquidLeverage"] = "
|
|
11
|
+
IncentiveEligibilityId["AaveV3EthenaLiquidLeverage"] = "0x7361e6f04060154e0268a8402b073cbf97e11ae3BORROW_BL";
|
|
12
12
|
IncentiveEligibilityId["AaveV3ArbitrumEthSupply"] = "0x5d16261c6715a653248269861bbacf68a9774cde";
|
|
13
13
|
IncentiveEligibilityId["AaveV3ArbitrumETHLSBorrow"] = "0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351";
|
|
14
14
|
})(IncentiveEligibilityId || (exports.IncentiveEligibilityId = IncentiveEligibilityId = {}));
|
|
@@ -19,4 +19,5 @@ var NetworkNumber;
|
|
|
19
19
|
NetworkNumber[NetworkNumber["Arb"] = 42161] = "Arb";
|
|
20
20
|
NetworkNumber[NetworkNumber["Base"] = 8453] = "Base";
|
|
21
21
|
NetworkNumber[NetworkNumber["Linea"] = 59144] = "Linea";
|
|
22
|
+
NetworkNumber[NetworkNumber["Plasma"] = 9745] = "Plasma";
|
|
22
23
|
})(NetworkNumber || (exports.NetworkNumber = NetworkNumber = {}));
|
package/esm/aaveV3/index.js
CHANGED
|
@@ -52,7 +52,7 @@ export function _getAaveV3MarketData(provider_1, network_1, market_1) {
|
|
|
52
52
|
const loanInfoContract = AaveV3ViewContractViem(provider, network);
|
|
53
53
|
const aaveIncentivesContract = AaveIncentiveDataProviderV3ContractViem(provider, network);
|
|
54
54
|
const marketAddress = market.providerAddress;
|
|
55
|
-
const networksWithIncentives = [NetworkNumber.Eth, NetworkNumber.Arb, NetworkNumber.Opt, NetworkNumber.Linea];
|
|
55
|
+
const networksWithIncentives = [NetworkNumber.Eth, NetworkNumber.Arb, NetworkNumber.Opt, NetworkNumber.Linea, NetworkNumber.Plasma];
|
|
56
56
|
// eslint-disable-next-line prefer-const
|
|
57
57
|
let [loanInfo, eModesInfo, isBorrowAllowed, rewardInfo, merkleRewardsMap, meritRewardsMap] = yield Promise.all([
|
|
58
58
|
loanInfoContract.read.getFullTokensInfo([marketAddress, _addresses], setViemBlockNumber(blockNumber)),
|
package/esm/aaveV3/merit.js
CHANGED
|
@@ -28303,6 +28303,11 @@ export declare const AaveV3View: {
|
|
|
28303
28303
|
};
|
|
28304
28304
|
};
|
|
28305
28305
|
};
|
|
28306
|
+
readonly "9745": {
|
|
28307
|
+
readonly address: "0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C";
|
|
28308
|
+
readonly createdBlock: 1880799;
|
|
28309
|
+
readonly oldVersions: {};
|
|
28310
|
+
};
|
|
28306
28311
|
};
|
|
28307
28312
|
};
|
|
28308
28313
|
export declare const AaveV3PoolAddressesProvider: {
|
|
@@ -28763,6 +28768,9 @@ export declare const AaveV3PoolAddressesProvider: {
|
|
|
28763
28768
|
readonly "59144": {
|
|
28764
28769
|
readonly address: "0x89502c3731F69DDC95B65753708A07F8Cd0373F4";
|
|
28765
28770
|
};
|
|
28771
|
+
readonly "9745": {
|
|
28772
|
+
readonly address: "0x061D8e131F26512348ee5FA42e2DF1bA9d6505E9";
|
|
28773
|
+
};
|
|
28766
28774
|
};
|
|
28767
28775
|
};
|
|
28768
28776
|
export declare const AaveV3LidoPoolAddressesProvider: {
|
|
@@ -31133,6 +31141,9 @@ export declare const AaveV3LendingPool: {
|
|
|
31133
31141
|
readonly "59144": {
|
|
31134
31142
|
readonly address: "0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac";
|
|
31135
31143
|
};
|
|
31144
|
+
readonly "9745": {
|
|
31145
|
+
readonly address: "0x925a2A7214Ed92428B5b1B090F80b25700095e12";
|
|
31146
|
+
};
|
|
31136
31147
|
};
|
|
31137
31148
|
};
|
|
31138
31149
|
export declare const AaveV3LidoLendingPool: {
|
|
@@ -34467,6 +34478,9 @@ export declare const AaveV3ProtocolDataProvider: {
|
|
|
34467
34478
|
readonly "59144": {
|
|
34468
34479
|
readonly address: "0x47cd4b507B81cB831669c71c7077f4daF6762FF4";
|
|
34469
34480
|
};
|
|
34481
|
+
readonly "9745": {
|
|
34482
|
+
readonly address: "0xf2D6E38B407e31E7E7e4a16E6769728b76c7419F";
|
|
34483
|
+
};
|
|
34470
34484
|
};
|
|
34471
34485
|
};
|
|
34472
34486
|
export declare const AaveV3LidoProtocolDataProvider: {
|
|
@@ -35805,6 +35819,9 @@ export declare const AaveUiIncentiveDataProviderV3: {
|
|
|
35805
35819
|
readonly "59144": {
|
|
35806
35820
|
readonly address: "0x117684358D990E42Eb1649E7e8C4691951dc1E71";
|
|
35807
35821
|
};
|
|
35822
|
+
readonly "9745": {
|
|
35823
|
+
readonly address: "0xcb85C501B3A5e9851850d66648d69B26A4c90942";
|
|
35824
|
+
};
|
|
35808
35825
|
};
|
|
35809
35826
|
};
|
|
35810
35827
|
export declare const cUSDCv3: {
|
package/esm/config/contracts.js
CHANGED
|
@@ -227,6 +227,11 @@ export const AaveV3View = {
|
|
|
227
227
|
"address": "0xc9D6EfA6e08B66a5Cdc516Bcd5807c2fa69E0f2A"
|
|
228
228
|
}
|
|
229
229
|
},
|
|
230
|
+
},
|
|
231
|
+
"9745": {
|
|
232
|
+
"address": "0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C",
|
|
233
|
+
"createdBlock": 1880799,
|
|
234
|
+
"oldVersions": {},
|
|
230
235
|
}
|
|
231
236
|
}
|
|
232
237
|
};
|
|
@@ -247,6 +252,9 @@ export const AaveV3PoolAddressesProvider = {
|
|
|
247
252
|
},
|
|
248
253
|
"59144": {
|
|
249
254
|
"address": "0x89502c3731F69DDC95B65753708A07F8Cd0373F4"
|
|
255
|
+
},
|
|
256
|
+
"9745": {
|
|
257
|
+
"address": "0x061D8e131F26512348ee5FA42e2DF1bA9d6505E9"
|
|
250
258
|
}
|
|
251
259
|
}
|
|
252
260
|
};
|
|
@@ -283,6 +291,9 @@ export const AaveV3LendingPool = {
|
|
|
283
291
|
},
|
|
284
292
|
"59144": {
|
|
285
293
|
"address": "0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac"
|
|
294
|
+
},
|
|
295
|
+
"9745": {
|
|
296
|
+
"address": "0x925a2A7214Ed92428B5b1B090F80b25700095e12"
|
|
286
297
|
}
|
|
287
298
|
}
|
|
288
299
|
};
|
|
@@ -319,6 +330,9 @@ export const AaveV3ProtocolDataProvider = {
|
|
|
319
330
|
},
|
|
320
331
|
"59144": {
|
|
321
332
|
"address": "0x47cd4b507B81cB831669c71c7077f4daF6762FF4"
|
|
333
|
+
},
|
|
334
|
+
"9745": {
|
|
335
|
+
"address": "0xf2D6E38B407e31E7E7e4a16E6769728b76c7419F"
|
|
322
336
|
}
|
|
323
337
|
}
|
|
324
338
|
};
|
|
@@ -355,6 +369,9 @@ export const AaveUiIncentiveDataProviderV3 = {
|
|
|
355
369
|
},
|
|
356
370
|
"59144": {
|
|
357
371
|
"address": "0x117684358D990E42Eb1649E7e8C4691951dc1E71"
|
|
372
|
+
},
|
|
373
|
+
"9745": {
|
|
374
|
+
"address": "0xcb85C501B3A5e9851850d66648d69B26A4c90942"
|
|
358
375
|
}
|
|
359
376
|
}
|
|
360
377
|
};
|
|
@@ -77,13 +77,6 @@ export const aaveAnyGetAggregatedPositionData = (_a) => {
|
|
|
77
77
|
payload.leftToBorrowUsd = leftToBorrowUsd.lte('0') ? '0' : leftToBorrowUsd.toString();
|
|
78
78
|
payload.ratio = +payload.suppliedUsd ? new Dec(payload.borrowLimitUsd).div(payload.borrowedUsd).mul(100).toString() : '0';
|
|
79
79
|
payload.collRatio = +payload.suppliedUsd ? new Dec(payload.suppliedCollateralUsd).div(payload.borrowedUsd).mul(100).toString() : '0';
|
|
80
|
-
const { netApy, incentiveUsd, totalInterestUsd } = calculateNetApy({
|
|
81
|
-
usedAssets,
|
|
82
|
-
assetsData,
|
|
83
|
-
});
|
|
84
|
-
payload.netApy = netApy;
|
|
85
|
-
payload.incentiveUsd = incentiveUsd;
|
|
86
|
-
payload.totalInterestUsd = totalInterestUsd;
|
|
87
80
|
payload.liqRatio = new Dec(payload.borrowLimitUsd).div(payload.liquidationLimitUsd).toString();
|
|
88
81
|
payload.liqPercent = new Dec(payload.borrowLimitUsd).div(payload.liquidationLimitUsd).mul(100).toString();
|
|
89
82
|
const { leveragedType, leveragedAsset } = isLeveragedPos(usedAssets);
|
|
@@ -103,6 +96,14 @@ export const aaveAnyGetAggregatedPositionData = (_a) => {
|
|
|
103
96
|
payload.collLiquidationRatio = new Dec(payload.suppliedCollateralUsd).div(payload.liquidationLimitUsd).mul(100).toString();
|
|
104
97
|
payload.healthRatio = new Dec(payload.liquidationLimitUsd).div(payload.borrowedUsd).toDP(4).toString();
|
|
105
98
|
payload.minHealthRatio = new Dec(payload.liquidationLimitUsd).div(payload.borrowLimitUsd).toDP(4).toString();
|
|
99
|
+
const { netApy, incentiveUsd, totalInterestUsd } = calculateNetApy({
|
|
100
|
+
usedAssets,
|
|
101
|
+
assetsData,
|
|
102
|
+
optionalData: { healthRatio: payload.healthRatio },
|
|
103
|
+
});
|
|
104
|
+
payload.netApy = netApy;
|
|
105
|
+
payload.incentiveUsd = incentiveUsd;
|
|
106
|
+
payload.totalInterestUsd = totalInterestUsd;
|
|
106
107
|
return payload;
|
|
107
108
|
};
|
|
108
109
|
const getApyAfterValuesEstimationInner = (selectedMarket, actions, client, network) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -118,73 +118,73 @@ export const getApyAfterValuesEstimation = (selectedMarket, actions, provider, n
|
|
|
118
118
|
return { borrowRate, supplyRate };
|
|
119
119
|
});
|
|
120
120
|
const API_URL = 'https://blue-api.morpho.org/graphql';
|
|
121
|
-
const MARKET_QUERY = `
|
|
122
|
-
query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
|
|
123
|
-
marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
|
|
124
|
-
reallocatableLiquidityAssets
|
|
125
|
-
targetBorrowUtilization
|
|
126
|
-
loanAsset {
|
|
127
|
-
address
|
|
128
|
-
decimals
|
|
129
|
-
priceUsd
|
|
130
|
-
}
|
|
131
|
-
state {
|
|
132
|
-
liquidityAssets
|
|
133
|
-
borrowAssets
|
|
134
|
-
supplyAssets
|
|
135
|
-
}
|
|
136
|
-
publicAllocatorSharedLiquidity {
|
|
137
|
-
assets
|
|
138
|
-
vault {
|
|
139
|
-
address
|
|
140
|
-
name
|
|
141
|
-
}
|
|
142
|
-
allocationMarket {
|
|
143
|
-
uniqueKey
|
|
144
|
-
loanAsset {
|
|
145
|
-
address
|
|
146
|
-
}
|
|
147
|
-
collateralAsset {
|
|
148
|
-
address
|
|
149
|
-
}
|
|
150
|
-
irmAddress
|
|
151
|
-
oracle {
|
|
152
|
-
address
|
|
153
|
-
}
|
|
154
|
-
lltv
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
loanAsset {
|
|
158
|
-
address
|
|
159
|
-
}
|
|
160
|
-
collateralAsset {
|
|
161
|
-
address
|
|
162
|
-
}
|
|
163
|
-
oracle {
|
|
164
|
-
address
|
|
165
|
-
}
|
|
166
|
-
irmAddress
|
|
167
|
-
lltv
|
|
168
|
-
}
|
|
169
|
-
}
|
|
121
|
+
const MARKET_QUERY = `
|
|
122
|
+
query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
|
|
123
|
+
marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
|
|
124
|
+
reallocatableLiquidityAssets
|
|
125
|
+
targetBorrowUtilization
|
|
126
|
+
loanAsset {
|
|
127
|
+
address
|
|
128
|
+
decimals
|
|
129
|
+
priceUsd
|
|
130
|
+
}
|
|
131
|
+
state {
|
|
132
|
+
liquidityAssets
|
|
133
|
+
borrowAssets
|
|
134
|
+
supplyAssets
|
|
135
|
+
}
|
|
136
|
+
publicAllocatorSharedLiquidity {
|
|
137
|
+
assets
|
|
138
|
+
vault {
|
|
139
|
+
address
|
|
140
|
+
name
|
|
141
|
+
}
|
|
142
|
+
allocationMarket {
|
|
143
|
+
uniqueKey
|
|
144
|
+
loanAsset {
|
|
145
|
+
address
|
|
146
|
+
}
|
|
147
|
+
collateralAsset {
|
|
148
|
+
address
|
|
149
|
+
}
|
|
150
|
+
irmAddress
|
|
151
|
+
oracle {
|
|
152
|
+
address
|
|
153
|
+
}
|
|
154
|
+
lltv
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
loanAsset {
|
|
158
|
+
address
|
|
159
|
+
}
|
|
160
|
+
collateralAsset {
|
|
161
|
+
address
|
|
162
|
+
}
|
|
163
|
+
oracle {
|
|
164
|
+
address
|
|
165
|
+
}
|
|
166
|
+
irmAddress
|
|
167
|
+
lltv
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
170
|
`;
|
|
171
|
-
const REWARDS_QUERY = `
|
|
172
|
-
query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
|
|
173
|
-
marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
|
|
174
|
-
uniqueKey
|
|
175
|
-
state {
|
|
176
|
-
rewards {
|
|
177
|
-
amountPerSuppliedToken
|
|
178
|
-
supplyApr
|
|
179
|
-
amountPerBorrowedToken
|
|
180
|
-
borrowApr
|
|
181
|
-
asset {
|
|
182
|
-
address
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
171
|
+
const REWARDS_QUERY = `
|
|
172
|
+
query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) {
|
|
173
|
+
marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) {
|
|
174
|
+
uniqueKey
|
|
175
|
+
state {
|
|
176
|
+
rewards {
|
|
177
|
+
amountPerSuppliedToken
|
|
178
|
+
supplyApr
|
|
179
|
+
amountPerBorrowedToken
|
|
180
|
+
borrowApr
|
|
181
|
+
asset {
|
|
182
|
+
address
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
188
|
`;
|
|
189
189
|
/**
|
|
190
190
|
* Get reallocatable liquidity to a given market and target borrow utilization
|
|
@@ -39,7 +39,7 @@ export const AAVE_V2 = {
|
|
|
39
39
|
protocolName: 'aave',
|
|
40
40
|
};
|
|
41
41
|
export const AAVE_V3 = (networkId) => ({
|
|
42
|
-
chainIds: [NetworkNumber.Eth, NetworkNumber.Opt, NetworkNumber.Arb, NetworkNumber.Base, NetworkNumber.Linea],
|
|
42
|
+
chainIds: [NetworkNumber.Eth, NetworkNumber.Opt, NetworkNumber.Arb, NetworkNumber.Base, NetworkNumber.Linea, NetworkNumber.Plasma],
|
|
43
43
|
label: networkId === NetworkNumber.Eth ? 'Aave v3 Core' : 'Aave v3',
|
|
44
44
|
shortLabel: 'v3',
|
|
45
45
|
value: AaveVersions.AaveV3,
|
|
@@ -6,12 +6,14 @@ export declare const aaveV3AssetsDefaultMarketOpt: string[];
|
|
|
6
6
|
export declare const aaveV3AssetsDefaultMarketArb: string[];
|
|
7
7
|
export declare const aaveV3AssetsDefaultMarketBase: string[];
|
|
8
8
|
export declare const aaveV3AssetsDefaultMarketLinea: string[];
|
|
9
|
+
export declare const aaveV3AssetsDefaultMarketPlasma: string[];
|
|
9
10
|
export declare const aaveV3AssetsDefaultMarket: {
|
|
10
11
|
readonly 1: string[];
|
|
11
12
|
readonly 10: string[];
|
|
12
13
|
readonly 42161: string[];
|
|
13
14
|
readonly 8453: string[];
|
|
14
15
|
readonly 59144: string[];
|
|
16
|
+
readonly 9745: string[];
|
|
15
17
|
};
|
|
16
18
|
export declare const aaveV3AssetsLidoMarketEth: string[];
|
|
17
19
|
export declare const aaveV3AssetsLidoMarket: {
|
|
@@ -20,6 +22,7 @@ export declare const aaveV3AssetsLidoMarket: {
|
|
|
20
22
|
readonly 42161: readonly [];
|
|
21
23
|
readonly 8453: readonly [];
|
|
22
24
|
readonly 59144: readonly [];
|
|
25
|
+
readonly 9745: readonly [];
|
|
23
26
|
};
|
|
24
27
|
export declare const aaveV3AssetsEtherfiMarketEth: string[];
|
|
25
28
|
export declare const aaveV3AssetsEtherfiMarket: {
|
|
@@ -28,4 +31,5 @@ export declare const aaveV3AssetsEtherfiMarket: {
|
|
|
28
31
|
readonly 42161: readonly [];
|
|
29
32
|
readonly 8453: readonly [];
|
|
30
33
|
readonly 59144: readonly [];
|
|
34
|
+
readonly 9745: readonly [];
|
|
31
35
|
};
|