2022-08-04 13:05:36 +00:00
|
|
|
# AAVE Automation Subgraph
|
|
|
|
|
|
|
|
Tracks the data related to Submit, Execute and Cancel automation.
|
|
|
|
|
|
|
|
Subgraph deployment:
|
2022-08-04 13:06:49 +00:00
|
|
|
|
2022-08-04 13:05:36 +00:00
|
|
|
- Polygon: [https://thegraph.com/hosted-service/subgraph/richa-iitr/aave-automation-polygon?selected=playground](https://thegraph.com/hosted-service/subgraph/richa-iitr/aave-automation-polygon?selected=playground)
|
2022-08-04 15:58:01 +00:00
|
|
|
- Avalanche: [https://thegraph.com/hosted-service/subgraph/richa-iitr/aave-automation-avalanche?selected=playground](https://thegraph.com/hosted-service/subgraph/richa-iitr/aave-automation-avalanche?selected=playground)
|
2022-08-04 13:05:36 +00:00
|
|
|
|
|
|
|
Query Structure
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
{
|
|
|
|
accounts{
|
|
|
|
id
|
|
|
|
submitAutomation{
|
|
|
|
id
|
|
|
|
user
|
|
|
|
userId
|
|
|
|
safeHF
|
|
|
|
thresholdHF
|
|
|
|
currentHf
|
|
|
|
}
|
|
|
|
executeMetaData{
|
|
|
|
id
|
|
|
|
isSafe
|
|
|
|
metadata
|
|
|
|
}
|
|
|
|
executeAutomation{
|
|
|
|
id
|
|
|
|
finalHf
|
|
|
|
initialHf
|
|
|
|
automationFee
|
|
|
|
params{
|
|
|
|
id
|
|
|
|
collateralToken
|
2022-08-04 13:08:26 +00:00
|
|
|
debtToken
|
|
|
|
collateralAmount
|
|
|
|
debtAmount
|
|
|
|
collateralAmountWithTotalFee
|
|
|
|
swap{
|
2022-08-04 13:05:36 +00:00
|
|
|
id
|
|
|
|
buyToken
|
|
|
|
sellToken
|
|
|
|
sellAmt
|
|
|
|
unitAmt
|
|
|
|
callData
|
|
|
|
}
|
2022-08-04 13:08:26 +00:00
|
|
|
route
|
|
|
|
rateMode
|
2022-08-04 13:05:36 +00:00
|
|
|
}
|
|
|
|
spells{
|
|
|
|
id
|
|
|
|
_targets
|
|
|
|
_datas
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cancelData{
|
|
|
|
id
|
|
|
|
user
|
|
|
|
userId
|
|
|
|
nonce
|
|
|
|
}
|
|
|
|
systemCancelData{
|
|
|
|
id
|
|
|
|
userId
|
|
|
|
user
|
|
|
|
nonce
|
|
|
|
errorCode
|
|
|
|
}
|
|
|
|
}
|
2022-08-04 14:49:50 +00:00
|
|
|
executors{
|
|
|
|
id
|
|
|
|
executors
|
|
|
|
}
|
2022-08-04 13:05:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
</pre>
|