Skip to content

Aave Arc USDC priceInEth is incorrect  #86

Open
@OwenKane

Description

Describe the bug
Aave ARC subgraph seems to providing a incorrect priceInEth value of USDC when compared to the price returned from the on-chain Oracle (and Aave v2 sub-graph).

Screenshot 2022-11-03 at 10 44 18 AM

Screenshot 2022-11-03 at 10 24 35 AM

To Reproduce
Run any query that will return USDC price in eth
E.g

{
   users(
      first: 1,
      skip: 9,
      orderBy:id,
      orderDirection:desc,
      where:{
         borrowedReservesCount_gt:0
      }
   )
   {
      id
      collateralReserve:reserves(
         where:{
            currentATokenBalance_gt:0
            reserve_:{symbol: "USDC"}
         }
      ){
         currentATokenBalance
         reserve{
            symbol
            underlyingAsset
            price{
               priceInEth
            }
         }
      }
   }
}

Expected behavior
Price returned from subgraph to match on chain oracle price

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions