Go to file
2022-08-06 10:43:23 +05:30
abis commit 2022-08-06 10:41:40 +05:30
generated commit 2022-08-06 10:41:40 +05:30
src commit 2022-08-06 10:41:40 +05:30
.gitignore subgraph added 2022-08-04 18:29:39 +05:30
networks.json networks update 2022-08-04 21:28:34 +05:30
package.json Initial commit 2022-08-04 10:25:00 +05:30
README.md Update README.md 2022-08-06 10:39:20 +05:30
schema.graphql commit 2022-08-06 10:41:40 +05:30
subgraph.yaml commit 2022-08-06 10:41:40 +05:30
tsconfig.json Initial commit 2022-08-04 10:25:00 +05:30
yarn.lock subgraph added 2022-08-04 18:29:39 +05:30

AAVE Automation Subgraph

Tracks the data related to Submit, Execute and Cancel automation.

Subgraph deployment:

Query Structure

{
  accounts{
    id
    user
    submitAutomation{
      id
      user
      userId
      safeHF
      thresholdHF
      currentHf
      transactionDetail{
        id
        blockNumber
        timeStamp
        transactionHash
        transactionLogIndex
        logIndex
      }
    }
    executeAutomation{
      id
      user
      userId
      nonce
      finalHf
      initialHf
      automationFee
      isSafe
      metaData
      params{
        id
        collateralToken
        collateralAmount
        debtToken
        debtAmount
        collateralAmountWithTotalFee
        swap{
          id
          sellToken
          buyToken
          sellAmt
          unitAmt
          callData
        }
        route
        rateMode
      }
      transactionDetail{
        id
        blockNumber
        timeStamp
        transactionHash
        transactionLogIndex
        logIndex
      }
    }
    cancelData{
      id
      user
      userId
      nonce
      transactionDetail{
        id
        blockNumber
        timeStamp
        transactionHash
        transactionLogIndex
        logIndex
      }
    }
    systemCancelData{
      id
      user
      userId
      nonce
      errorCode
      transactionDetail{
        id
        blockNumber
        timeStamp
        transactionHash
        transactionLogIndex
        logIndex
      }
    }
  }
  feeTransferDatas{
    id
    recipient
    from
    tokens
    amount
    transactionDetail{
      id
      blockNumber
      timeStamp
      transactionHash
      transactionLogIndex
      logIndex
    }
  }
  updateMinHfDatas{
    id
    oldMinHf
    newMinHf
    transactionDetail{
      id
      blockNumber
      timeStamp
      transactionHash
      transactionLogIndex
      logIndex
    }
  }
  updateBufferHfDatas{
    id
    oldBuffer
    newBuffer
    transactionDetail{
      id
      blockNumber
      timeStamp
      transactionHash
      transactionLogIndex
      logIndex
    }
  }
  updateAutomationFeeDatas{
    id
    oldAutomationFee
    newAutomationFee
    transactionDetail{
      id
      blockNumber
      timeStamp
      transactionHash
      transactionLogIndex
      logIndex
    }
  }
  changedOwners{
    id
    oldOwner
    newOwner
    transactionDetail{
      id
      blockNumber
      timeStamp
      transactionHash
      transactionLogIndex
      logIndex
    }
  }
  systemCallDatas{
    id
    sender
    actionId
    metaData
    transactionDetail{
      id
      blockNumber
      timeStamp
      transactionHash
      transactionLogIndex
      logIndex
    }
  }
  executors{
   id
   executors
  }
}