Go to file
2022-08-04 20:19:50 +05:30
abis subgraph added 2022-08-04 18:29:39 +05:30
generated minor changes 2022-08-04 20:19:16 +05:30
src minor changes 2022-08-04 20:19:16 +05:30
.gitignore subgraph added 2022-08-04 18:29:39 +05:30
networks.json Initial commit 2022-08-04 10:25:00 +05:30
package.json Initial commit 2022-08-04 10:25:00 +05:30
README.md Update README.md 2022-08-04 20:19:50 +05:30
schema.graphql minor changes 2022-08-04 20:19:16 +05:30
subgraph.yaml subgraph added 2022-08-04 18:29:39 +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
    submitAutomation{
      id
      user
      userId
      safeHF
      thresholdHF
      currentHf
    }
    executeMetaData{
      id
      isSafe
      metadata
    }
    executeAutomation{
      id
      finalHf
      initialHf
      automationFee
      params{
        id
        collateralToken
        debtToken
        collateralAmount
        debtAmount
        collateralAmountWithTotalFee
        swap{
          id
          buyToken
          sellToken
          sellAmt
          unitAmt
          callData
        }
        route
        rateMode
      }
      spells{
        id
        _targets
        _datas
      }
    }
    cancelData{
      id
      user
      userId
      nonce
    }
    systemCancelData{
      id
      userId
      user
      nonce
      errorCode
    }
  }
  executors{
    id
    executors
  }
}