@defisaver/positions-sdk 0.0.192 → 0.0.194
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.
|
@@ -186,6 +186,7 @@ const getMorphoAaveV3MarketsData = (web3, network, selectedMarket, mainnetWeb3)
|
|
|
186
186
|
usageAsCollateralEnabled: marketData.isCollateral,
|
|
187
187
|
collateralFactor: marketData.isCollateral ? new decimal_js_1.default(marketData.collateralFactor).div(10000).toString() : '0',
|
|
188
188
|
liquidationRatio: new decimal_js_1.default(marketData.liquidationRatio).div(10000).toString(),
|
|
189
|
+
liquidationBonus: new decimal_js_1.default(marketData.liquidationBonus).div(10000).toString(),
|
|
189
190
|
isInactive: !marketData.isActive,
|
|
190
191
|
isFrozen: marketData.isFrozen,
|
|
191
192
|
isPaused: marketData.isPaused,
|
package/cjs/types/aave.d.ts
CHANGED
|
@@ -180,6 +180,7 @@ export const getMorphoAaveV3MarketsData = (web3, network, selectedMarket, mainne
|
|
|
180
180
|
usageAsCollateralEnabled: marketData.isCollateral,
|
|
181
181
|
collateralFactor: marketData.isCollateral ? new Dec(marketData.collateralFactor).div(10000).toString() : '0',
|
|
182
182
|
liquidationRatio: new Dec(marketData.liquidationRatio).div(10000).toString(),
|
|
183
|
+
liquidationBonus: new Dec(marketData.liquidationBonus).div(10000).toString(),
|
|
183
184
|
isInactive: !marketData.isActive,
|
|
184
185
|
isFrozen: marketData.isFrozen,
|
|
185
186
|
isPaused: marketData.isPaused,
|
package/esm/types/aave.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -272,6 +272,7 @@ export const getMorphoAaveV3MarketsData = async (web3: Web3, network: NetworkNum
|
|
|
272
272
|
usageAsCollateralEnabled: marketData.isCollateral,
|
|
273
273
|
collateralFactor: marketData.isCollateral ? new Dec(marketData.collateralFactor).div(10000).toString() : '0',
|
|
274
274
|
liquidationRatio: new Dec(marketData.liquidationRatio).div(10000).toString(),
|
|
275
|
+
liquidationBonus: new Dec(marketData.liquidationBonus).div(10000).toString(),
|
|
275
276
|
isInactive: !marketData.isActive,
|
|
276
277
|
isFrozen: marketData.isFrozen,
|
|
277
278
|
isPaused: marketData.isPaused,
|
package/src/types/aave.ts
CHANGED
|
@@ -105,6 +105,7 @@ export interface AaveV3AssetData extends AaveAssetData {
|
|
|
105
105
|
isPaused: boolean,
|
|
106
106
|
isFlashLoanEnabled: boolean,
|
|
107
107
|
assetId: string | null,
|
|
108
|
+
liquidationBonus: string,
|
|
108
109
|
supplyIncentives?: IncentiveData[];
|
|
109
110
|
borrowIncentives?: IncentiveData[];
|
|
110
111
|
}
|