Skip to main content

Enums

SubgraphErrorPolicy

Values

ValueDescription
allow

Data will be returned even if the subgraph has indexing errors

deny

If the subgraph has indexing errors, data will be omitted. The default.

Action

Values

ValueDescription
Deposit
RedeemUnderlying
Repay
Borrow
Swap
UsageAsCollateral
RebalanceStableBorrowRate
LiquidationCall

AToken_orderBy

Values

ValueDescription
id
pool
underlyingAssetAddress
underlyingAssetDecimals
tokenContractImpl

ATokenBalanceHistoryItem_orderBy

Values

ValueDescription
id
userReserve
timestamp
scaledATokenBalance
currentATokenBalance
index

Borrow_orderBy

Values

ValueDescription
id
txHash
action
pool
user
caller
reserve
userReserve
amount
borrowRate
borrowRateMode
referrer
timestamp
stableTokenDebt
variableTokenDebt
assetPriceUSD

BorrowRateMode

Values

ValueDescription
None
Stable
Variable

ChainlinkAggregator_orderBy

Values

ValueDescription
id
oracleAsset

ChainlinkENS_orderBy

Values

ValueDescription
id
aggregatorAddress
underlyingAddress
symbol

ClaimIncentiveCall_orderBy

Values

ValueDescription
id
incentivesController
user
amount

ContractToPoolMapping_orderBy

Values

ValueDescription
id
pool

Deposit_orderBy

Values

ValueDescription
id
txHash
action
pool
user
caller
reserve
userReserve
amount
referrer
timestamp
assetPriceUSD

FlashLoan_orderBy

Values

ValueDescription
id
pool
reserve
target
amount
totalFee
initiator
timestamp
assetPriceUSD

IncentivesController_orderBy

Values

ValueDescription
id
rewardToken
rewardTokenDecimals
rewardTokenSymbol
precision
emissionEndTimestamp
incentivizedActions
claimIncentives

IncentivizedAction_orderBy

Values

ValueDescription
id
incentivesController
user
amount

LiquidationCall_orderBy

Values

ValueDescription
id
txHash
action
pool
user
collateralReserve
collateralUserReserve
collateralAmount
principalReserve
principalUserReserve
principalAmount
liquidator
timestamp
collateralAssetPriceUSD
borrowAssetPriceUSD

MapAssetPool_orderBy

Values

ValueDescription
id
pool
underlyingAsset

OrderDirection

Defines the order direction, either ascending or descending

Values

ValueDescription
asc
desc

Pool_orderBy

Values

ValueDescription
id
protocol
lendingPool
lendingPoolCollateralManager
lendingPoolConfiguratorImpl
lendingPoolImpl
lendingPoolConfigurator
proxyPriceProvider
lendingRateOracle
configurationAdmin
ethereumAddress
emergencyAdmin
history
lastUpdateTimestamp
reserves
depositHistory
redeemUnderlyingHistory
borrowHistory
swapHistory
usageAsCollateralHistory
rebalanceStableBorrowRateHistory
repayHistory
flashLoanHistory
liquidationCallHistory
active
paused

PoolConfigurationHistoryItem_orderBy

Values

ValueDescription
id
active
pool
lendingPool
lendingPoolCollateralManager
lendingPoolConfiguratorImpl
lendingPoolImpl
lendingPoolConfigurator
proxyPriceProvider
lendingRateOracle
configurationAdmin
timestamp

PriceHistoryItem_orderBy

Values

ValueDescription
id
asset
price
timestamp

PriceOracle_orderBy

Values

ValueDescription
id
proxyPriceProvider
usdPriceEth
usdPriceEthMainSource
usdPriceEthFallbackRequired
usdDependentAssets
fallbackPriceOracle
tokens
usdPriceEthHistory
tokensWithFallback
lastUpdateTimestamp
version
baseCurrency
baseCurrencyUnit

PriceOracleAsset_orderBy

Values

ValueDescription
id
oracle
priceInEth
priceSource
isFallbackRequired
type
platform
dependentAssets
lastUpdateTimestamp
priceHistory
fromChainlinkSourcesRegistry

PriceOracleAssetPlatform

Values

ValueDescription
Simple
Uniswap

PriceOracleAssetType

Values

ValueDescription
Simple
Composite

Protocol_orderBy

Values

ValueDescription
id
pools

RebalanceStableBorrowRate_orderBy

Values

ValueDescription
id
txHash
action
pool
user
reserve
userReserve
borrowRateFrom
borrowRateTo
timestamp

RedeemUnderlying_orderBy

Values

ValueDescription
id
txHash
action
pool
user
to
reserve
userReserve
amount
timestamp
assetPriceUSD

Referrer_orderBy

Values

ValueDescription
id
deposits
borrows

Repay_orderBy

Values

ValueDescription
id
txHash
action
pool
user
repayer
reserve
userReserve
amount
timestamp
assetPriceUSD

Reserve_orderBy

Values

ValueDescription
id
underlyingAsset
pool
symbol
name
decimals
usageAsCollateralEnabled
borrowingEnabled
stableBorrowRateEnabled
isActive
isFrozen
price
reserveInterestRateStrategy
optimalUtilisationRate
variableRateSlope1
variableRateSlope2
stableRateSlope1
stableRateSlope2
baseVariableBorrowRate
baseLTVasCollateral
reserveLiquidationThreshold
reserveLiquidationBonus
utilizationRate
totalLiquidity
totalATokenSupply
totalLiquidityAsCollateral
availableLiquidity
totalPrincipalStableDebt
totalScaledVariableDebt
totalCurrentVariableDebt
totalDeposits
liquidityRate
averageStableRate
variableBorrowRate
stableBorrowRate
liquidityIndex
variableBorrowIndex
aToken
vToken
sToken
reserveFactor
lastUpdateTimestamp
stableDebtLastUpdateTimestamp
aEmissionPerSecond
vEmissionPerSecond
sEmissionPerSecond
aTokenIncentivesIndex
vTokenIncentivesIndex
sTokenIncentivesIndex
aIncentivesLastUpdateTimestamp
vIncentivesLastUpdateTimestamp
sIncentivesLastUpdateTimestamp
lifetimeLiquidity
lifetimePrincipalStableDebt
lifetimeScaledVariableDebt
lifetimeCurrentVariableDebt
lifetimeRepayments
lifetimeWithdrawals
lifetimeBorrows
lifetimeLiquidated
lifetimeFlashLoans
lifetimeFlashLoanPremium
lifetimeDepositorsInterestEarned
lifetimeReserveFactorAccrued
userReserves
depositHistory
redeemUnderlyingHistory
borrowHistory
usageAsCollateralHistory
swapHistory
rebalanceStableBorrowRateHistory
repayHistory
flashLoanHistory
liquidationCallHistory
paramsHistory
configurationHistory
deposits

ReserveConfigurationHistoryItem_orderBy

Values

ValueDescription
id
reserve
usageAsCollateralEnabled
borrowingEnabled
stableBorrowRateEnabled
isActive
isFrozen
reserveInterestRateStrategy
baseLTVasCollateral
reserveLiquidationThreshold
reserveLiquidationBonus
timestamp

ReserveParamsHistoryItem_orderBy

Values

ValueDescription
id
reserve
variableBorrowRate
variableBorrowIndex
utilizationRate
stableBorrowRate
averageStableBorrowRate
liquidityIndex
liquidityRate
totalLiquidity
totalATokenSupply
totalLiquidityAsCollateral
availableLiquidity
priceInEth
priceInUsd
timestamp
totalScaledVariableDebt
totalCurrentVariableDebt
totalPrincipalStableDebt
lifetimePrincipalStableDebt
lifetimeScaledVariableDebt
lifetimeCurrentVariableDebt
lifetimeLiquidity
lifetimeRepayments
lifetimeWithdrawals
lifetimeBorrows
lifetimeLiquidated
lifetimeFlashLoans
lifetimeFlashLoanPremium
lifetimeReserveFactorAccrued
lifetimeDepositorsInterestEarned

StableDebtToken_orderBy

Values

ValueDescription
id
pool
underlyingAssetAddress
underlyingAssetDecimals

StableTokenDelegatedAllowance_orderBy

Values

ValueDescription
id
fromUser
toUser
amountAllowed
userReserve

SToken_orderBy

Values

ValueDescription
id
pool
underlyingAssetAddress
underlyingAssetDecimals
tokenContractImpl

STokenBalanceHistoryItem_orderBy

Values

ValueDescription
id
userReserve
principalStableDebt
currentStableDebt
timestamp
avgStableBorrowRate

Swap_orderBy

Values

ValueDescription
id
txHash
action
pool
user
reserve
userReserve
borrowRateModeFrom
borrowRateModeTo
stableBorrowRate
variableBorrowRate
timestamp

SwapHistory_orderBy

Values

ValueDescription
id
fromAsset
toAsset
fromAmount
receivedAmount
swapType

UsageAsCollateral_orderBy

Values

ValueDescription
id
txHash
action
pool
user
reserve
userReserve
fromState
toState
timestamp

UsdEthPriceHistoryItem_orderBy

Values

ValueDescription
id
oracle
price
timestamp

User_orderBy

Values

ValueDescription
id
borrowedReservesCount
unclaimedRewards
lifetimeRewards
incentivesLastUpdated
reserves
depositHistory
redeemUnderlyingHistory
usageAsCollateralHistory
borrowHistory
swapHistory
rebalanceStableBorrowRateHistory
repayHistory
liquidationCallHistory
incentivizedActions
claimIncentives

UserReserve_orderBy

Values

ValueDescription
id
pool
reserve
user
usageAsCollateralEnabledOnUser
scaledATokenBalance
currentATokenBalance
scaledVariableDebt
currentVariableDebt
principalStableDebt
currentStableDebt
currentTotalDebt
stableBorrowRate
oldStableBorrowRate
liquidityRate
stableBorrowLastUpdateTimestamp
variableBorrowIndex
aTokenincentivesUserIndex
vTokenincentivesUserIndex
sTokenincentivesUserIndex
aIncentivesLastUpdateTimestamp
vIncentivesLastUpdateTimestamp
sIncentivesLastUpdateTimestamp
lastUpdateTimestamp
stableTokenDelegatedAllowances
variableTokenDelegatedAllowances
aTokenBalanceHistory
vTokenBalanceHistory
sTokenBalanceHistory
usageAsCollateralHistory
depositHistory
redeemUnderlyingHistory
borrowHistory
swapHistory
rebalanceStableBorrowRateHistory
repayHistory
liquidationCallHistory

UserTransaction_orderBy

Values

ValueDescription
id
txHash
action
pool
user
timestamp

VariableDebtToken_orderBy

Values

ValueDescription
id
pool
underlyingAssetAddress
underlyingAssetDecimals

VariableTokenDelegatedAllowance_orderBy

Values

ValueDescription
id
fromUser
toUser
amountAllowed
userReserve

VToken_orderBy

Values

ValueDescription
id
pool
underlyingAssetAddress
underlyingAssetDecimals
tokenContractImpl

VTokenBalanceHistoryItem_orderBy

Values

ValueDescription
id
userReserve
scaledVariableDebt
currentVariableDebt
timestamp
index

WETHReserve_orderBy

Values

ValueDescription
id
address
symbol
name
decimals
updatedTimestamp
updatedBlockNumber