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
Supply
RedeemUnderlying
Repay
Borrow
SwapBorrowRate
UsageAsCollateral
RebalanceStableBorrowRate
LiquidationCall

ATokenBalanceHistoryItem_orderBy

Values

ValueDescription
id
userReserve
timestamp
scaledATokenBalance
currentATokenBalance
index

BackUnbacked_orderBy

Values

ValueDescription
id
pool
reserve
userReserve
backer
amount
fee
lpFee
protocolFee
timestamp

Borrow_orderBy

Values

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

ChainlinkAggregator_orderBy

Values

ValueDescription
id
oracleAsset

ClaimRewardsCall_orderBy

Values

ValueDescription
id
rewardsController
user
amount
to
caller

ContractToPoolMapping_orderBy

Values

ValueDescription
id
pool

EModeCategory_orderBy

Values

ValueDescription
id
ltv
liquidationThreshold
liquidationBonus
oracle
label

FlashLoan_orderBy

Values

ValueDescription
id
pool
reserve
target
amount
totalFee
lpFee
protocolFee
initiator
timestamp

IsolationModeTotalDebtUpdated_orderBy

Values

ValueDescription
id
pool
reserve
isolatedDebt
timestamp

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

MintedToTreasury_orderBy

Values

ValueDescription
id
pool
reserve
amount
timestamp

MintUnbacked_orderBy

Values

ValueDescription
id
pool
user
caller
reserve
userReserve
amount
referral
timestamp

OrderDirection

Defines the order direction, either ascending or descending

Values

ValueDescription
asc
desc

Pool_orderBy

Values

ValueDescription
id
addressProviderId
protocol
pool
poolCollateralManager
poolConfiguratorImpl
poolImpl
poolConfigurator
proxyPriceProvider
lastUpdateTimestamp
bridgeProtocolFee
flashloanPremiumTotal
flashloanPremiumToProtocol
reserves
supplyHistory
mintUnbackedHistory
backUnbackedHistory
mintedToTreasuryHistory
isolationModeTotalDebtUpdatedHistory
redeemUnderlyingHistory
borrowHistory
swapHistory
usageAsCollateralHistory
rebalanceStableBorrowRateHistory
repayHistory
flashLoanHistory
liquidationCallHistory
active
paused

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
supplies
borrows

Repay_orderBy

Values

ValueDescription
id
txHash
action
pool
user
repayer
reserve
userReserve
amount
timestamp
useATokens
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
totalSupplies
liquidityRate
accruedToTreasury
averageStableRate
variableBorrowRate
stableBorrowRate
liquidityIndex
variableBorrowIndex
aToken
vToken
sToken
reserveFactor
lastUpdateTimestamp
stableDebtLastUpdateTimestamp
isPaused
isDropped
borrowCap
supplyCap
debtCeiling
unbackedMintCap
liquidationProtocolFee
borrowableInIsolation
eMode
siloedBorrowing
lifetimeLiquidity
lifetimePrincipalStableDebt
lifetimeScaledVariableDebt
lifetimeCurrentVariableDebt
lifetimeRepayments
lifetimeWithdrawals
lifetimeBorrows
lifetimeLiquidated
lifetimeFlashLoans
lifetimeFlashLoanPremium
lifetimeFlashLoanLPPremium
lifetimeFlashLoanProtocolPremium
lifetimePortalLPFee
lifetimePortalProtocolFee
lifetimeSuppliersInterestEarned
lifetimeReserveFactorAccrued
userReserves
supplyHistory
mintUnbackedHistory
backUnbackedHistory
mintedToTreasuryHistory
isolationModeTotalDebtUpdatedHistory
redeemUnderlyingHistory
borrowHistory
usageAsCollateralHistory
swapHistory
rebalanceStableBorrowRateHistory
repayHistory
flashLoanHistory
liquidationCallHistory
paramsHistory
configurationHistory
supplies

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
accruedToTreasury
totalScaledVariableDebt
totalCurrentVariableDebt
totalPrincipalStableDebt
lifetimePrincipalStableDebt
lifetimeScaledVariableDebt
lifetimeCurrentVariableDebt
lifetimeLiquidity
lifetimeRepayments
lifetimeWithdrawals
lifetimeBorrows
lifetimeLiquidated
lifetimeFlashLoans
lifetimeFlashLoanPremium
lifetimeFlashLoanLPPremium
lifetimeFlashLoanProtocolPremium
lifetimeReserveFactorAccrued
lifetimePortalLPFee
lifetimePortalProtocolFee
lifetimeSuppliersInterestEarned

Reward_orderBy

Values

ValueDescription
id
rewardToken
asset
rewardTokenDecimals
rewardFeedOracle
rewardTokenSymbol
index
precision
distributionEnd
emissionsPerSecond
rewardsController
createdAt
updatedAt

RewardedAction_orderBy

Values

ValueDescription
id
rewardsController
user
amount

RewardFeedOracle_orderBy

Values

ValueDescription
id
rewardFeedAddress
createdAt
updatedAt

RewardsController_orderBy

Values

ValueDescription
id
rewards
rewardedActions
claimIncentives

StableTokenDelegatedAllowance_orderBy

Values

ValueDescription
id
fromUser
toUser
amountAllowed
userReserve

STokenBalanceHistoryItem_orderBy

Values

ValueDescription
id
userReserve
principalStableDebt
currentStableDebt
timestamp
avgStableBorrowRate

SubToken_orderBy

Values

ValueDescription
id
pool
tokenContractImpl
underlyingAssetAddress
underlyingAssetDecimals
rewards

Supply_orderBy

Values

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

SwapBorrowRate_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
rewardsLastUpdated
rewards
eModeCategoryId
reserves
supplyHistory
mintUnbackedHistory
backUnbackedHistory
userEmodeSetHistory
redeemUnderlyingHistory
usageAsCollateralHistory
borrowHistory
swapHistory
rebalanceStableBorrowRateHistory
repayHistory
liquidationCallHistory
rewardedActions
claimRewards

UserEModeSet_orderBy

Values

ValueDescription
id
user
timestamp
categoryId

UserReserve_orderBy

Values

ValueDescription
id
pool
reserve
user
usageAsCollateralEnabledOnUser
scaledATokenBalance
currentATokenBalance
scaledVariableDebt
currentVariableDebt
principalStableDebt
currentStableDebt
currentTotalDebt
stableBorrowRate
oldStableBorrowRate
liquidityRate
stableBorrowLastUpdateTimestamp
variableBorrowIndex
lastUpdateTimestamp
stableTokenDelegatedAllowances
variableTokenDelegatedAllowances
aTokenBalanceHistory
vTokenBalanceHistory
sTokenBalanceHistory
usageAsCollateralHistory
supplyHistory
mintUnbackedHistory
backUnbackedHistory
redeemUnderlyingHistory
borrowHistory
swapHistory
rebalanceStableBorrowRateHistory
repayHistory
liquidationCallHistory

UserReward_orderBy

Values

ValueDescription
id
user
index
reward
createdAt
updatedAt

UserTransaction_orderBy

Values

ValueDescription
id
txHash
action
pool
user
timestamp

VariableTokenDelegatedAllowance_orderBy

Values

ValueDescription
id
fromUser
toUser
amountAllowed
userReserve

VTokenBalanceHistoryItem_orderBy

Values

ValueDescription
id
userReserve
scaledVariableDebt
currentVariableDebt
timestamp
index