@1delta/margin-fetcher 0.0.192 → 0.0.193
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/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7606,17 +7606,17 @@ function range(n) {
|
|
|
7606
7606
|
}
|
|
7607
7607
|
var AAVE_V3_EMODES = (chain, lender) => {
|
|
7608
7608
|
if (chain === Chain.ETHEREUM_MAINNET) {
|
|
7609
|
-
if (lender === Lender.AAVE_V3) return range(
|
|
7610
|
-
if (lender === Lender.AAVE_V3_PRIME) return range(
|
|
7609
|
+
if (lender === Lender.AAVE_V3) return range(50);
|
|
7610
|
+
if (lender === Lender.AAVE_V3_PRIME) return range(12);
|
|
7611
7611
|
}
|
|
7612
7612
|
if (chain === Chain.ARBITRUM_ONE) {
|
|
7613
|
-
if (lender === Lender.AAVE_V3) return range(
|
|
7613
|
+
if (lender === Lender.AAVE_V3) return range(12);
|
|
7614
7614
|
}
|
|
7615
7615
|
if (chain === Chain.BASE) {
|
|
7616
|
-
if (lender === Lender.AAVE_V3) return range(
|
|
7616
|
+
if (lender === Lender.AAVE_V3) return range(15);
|
|
7617
7617
|
}
|
|
7618
7618
|
if (chain === Chain.PLASMA_MAINNET) {
|
|
7619
|
-
if (lender === Lender.AAVE_V3) return range(
|
|
7619
|
+
if (lender === Lender.AAVE_V3) return range(25);
|
|
7620
7620
|
}
|
|
7621
7621
|
return [0, 1, 2, 3, 4, 5, 6];
|
|
7622
7622
|
};
|