Skip to content

Commit

Permalink
Merge branch 'dev' into kk/add-migration-pojnts-eligibility
Browse files Browse the repository at this point in the history
  • Loading branch information
halaprix committed May 23, 2024
2 parents 86be0e0 + 937d4ac commit 9c081c0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
import { AllowedProtocolNames } from './AAVEv3LikeBuilderTypes'
import { BigNumber } from 'bignumber.js'
import { PRECISION_BI, UNCAPPED_SUPPLY } from '../../constants/AaveV3LikeConstants'
import { CommonTokenSymbols, IChainInfo, IToken } from '@summerfi/sdk-common/common'
import { IChainInfo, IToken } from '@summerfi/sdk-common/common'
import { ICollateralInfo } from '@summerfi/sdk-common/protocols'
import { ChainContractsProvider, GenericAbiMap } from '../../../utils/ChainContractProvider'
import { IProtocolPluginContext } from '@summerfi/protocol-plugins-common'
Expand Down Expand Up @@ -209,10 +209,6 @@ export abstract class AAVEv3LikeBaseProtocolPlugin<
caps: { borrowCap },
data: { totalVariableDebt, totalStableDebt, variableBorrowRate },
} = asset
if (quoteToken.symbol === CommonTokenSymbols.WETH) {
// WETH can be used as collateral on AaveV3 but not borrowed.
return
}

try {
const RESERVE_FACTOR_TO_PERCENTAGE_DIVISOR = 10000n
Expand Down

0 comments on commit 9c081c0

Please sign in to comment.