mirror of
https://github.com/Instadapp/aave-automation-subgraph.git
synced 2024-07-29 22:28:08 +00:00
Create README.md
This commit is contained in:
parent
9ab3491e47
commit
ea466e1bba
79
README.md
Normal file
79
README.md
Normal file
|
@ -0,0 +1,79 @@
|
|||
# AAVE Automation Subgraph
|
||||
|
||||
Tracks the data related to Submit, Execute and Cancel automation.
|
||||
|
||||
Subgraph deployment:
|
||||
- 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)
|
||||
|
||||
Query Structure
|
||||
|
||||
<pre>
|
||||
{
|
||||
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
|
||||
# status
|
||||
# }
|
||||
}
|
||||
|
||||
</pre>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user