49 lines
937 B
JSON
49 lines
937 B
JSON
{
|
|
"name": "stETH Loop",
|
|
"description": "Leverage loop using stETH",
|
|
"chain": "mainnet",
|
|
"blinds": [
|
|
{
|
|
"name": "ethAmount",
|
|
"type": "uint256",
|
|
"description": "Initial ETH amount"
|
|
}
|
|
],
|
|
"guards": [
|
|
{
|
|
"type": "minHealthFactor",
|
|
"params": {
|
|
"minHF": 1.15,
|
|
"user": "{{executor}}"
|
|
}
|
|
}
|
|
],
|
|
"steps": [
|
|
{
|
|
"id": "wrap_steth",
|
|
"action": {
|
|
"type": "lido.wrap",
|
|
"amount": "{{ethAmount}}"
|
|
}
|
|
},
|
|
{
|
|
"id": "supply_aave",
|
|
"action": {
|
|
"type": "aaveV3.supply",
|
|
"asset": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
|
|
"amount": "{{ethAmount}}"
|
|
}
|
|
},
|
|
{
|
|
"id": "borrow",
|
|
"action": {
|
|
"type": "aaveV3.borrow",
|
|
"asset": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
"amount": "{{ethAmount}}",
|
|
"interestRateMode": "variable"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|