Loop at Target HF + Trailing Stop LossLoop at Target HF + Trailing Stop Loss
0x484428507A212cA56D71baa27Ca6089a6dB63a88
Actions · 67
Readstoredvalueofin
Reads a stored value from the socket's persistent storage by key.Reads a stored value from the socket's persistent storage by key.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Steers control flow by comparing two values: branch, loop, or require the condition holds.Steers control flow by comparing two values: branch, loop, or require the condition holds.
Getassetdataofin
Reads an Aave reserve's live rates and token addresses, with supply and borrow APYs.Reads an Aave reserve's live rates and token addresses, with supply and borrow APYs.
Getbalanceofheldby
Reads a token balance held by an address, native or ERC-20.Reads a token balance held by an address, native or ERC-20.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Getpriceofin
Reads the price the market's own oracle assigns to an asset.Reads the price the market's own oracle assigns to an asset.
Getaccountdatain
Reads the socket's overall position in an Aave market: collateral, debt, borrow capacity, and health factor.Reads the socket's overall position in an Aave market: collateral, debt, borrow capacity, and health factor.
GetliquidationLTVofin
Reads the liquidation threshold of an asset in an Aave market.Reads the liquidation threshold of an asset in an Aave market.
Readstoredvalueofin
Reads a stored value from the socket's persistent storage by key.Reads a stored value from the socket's persistent storage by key.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Calculateof
Calculates a proportion of a value using percent, basis points, WAD, or RAY units.Calculates a proportion of a value using percent, basis points, WAD, or RAY units.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Steers control flow by comparing two values: branch, loop, or require the condition holds.Steers control flow by comparing two values: branch, loop, or require the condition holds.
Steers control flow by comparing two values: branch, loop, or require the condition holds.Steers control flow by comparing two values: branch, loop, or require the condition holds.
Supplyto
Supplies an asset to an Aave market, minting aTokens to the socket.Supplies an asset to an Aave market, minting aTokens to the socket.
Endblock
Closes the innermost open block, whether a conditional branch or a loop.Closes the innermost open block, whether a conditional branch or a loop.
Steers control flow by comparing two values: branch, loop, or require the condition holds.Steers control flow by comparing two values: branch, loop, or require the condition holds.
Setstoredvalueofinto
Writes a value to the socket's persistent storage under a scope and key.Writes a value to the socket's persistent storage under a scope and key.
Endblock
Closes the innermost open block, whether a conditional branch or a loop.Closes the innermost open block, whether a conditional branch or a loop.
Steers control flow by comparing two values: branch, loop, or require the condition holds.Steers control flow by comparing two values: branch, loop, or require the condition holds.
Setstoredvalueofinto
Writes a value to the socket's persistent storage under a scope and key.Writes a value to the socket's persistent storage under a scope and key.
Endblock
Closes the innermost open block, whether a conditional branch or a loop.Closes the innermost open block, whether a conditional branch or a loop.
Steers control flow by comparing two values: branch, loop, or require the condition holds.Steers control flow by comparing two values: branch, loop, or require the condition holds.
Setstoredvalueofinto
Writes a value to the socket's persistent storage under a scope and key.Writes a value to the socket's persistent storage under a scope and key.
Getassetdataofin
Reads an Aave reserve's live rates and token addresses, with supply and borrow APYs.Reads an Aave reserve's live rates and token addresses, with supply and borrow APYs.
Getbalanceofheldby
Reads a token balance held by an address, native or ERC-20.Reads a token balance held by an address, native or ERC-20.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Repayto
Repays borrowed assets to an Aave market from the socket's balance.Repays borrowed assets to an Aave market from the socket's balance.
Withdrawfrom
Withdraws a supplied asset from an Aave market back to the socket.Withdraws a supplied asset from an Aave market back to the socket.
Else
Opens the else branch of a conditional.Opens the else branch of a conditional.
Is
Compares two values with a chosen operator and returns a boolean.Compares two values with a chosen operator and returns a boolean.
Steers control flow by comparing two values: branch, loop, or require the condition holds.Steers control flow by comparing two values: branch, loop, or require the condition holds.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Repayto
Repays borrowed assets to an Aave market from the socket's balance.Repays borrowed assets to an Aave market from the socket's balance.
Withdrawfrom
Withdraws a supplied asset from an Aave market back to the socket.Withdraws a supplied asset from an Aave market back to the socket.
Else
Opens the else branch of a conditional.Opens the else branch of a conditional.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Calculate
Applies a binary arithmetic operation to two values and returns the result.Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Supplyto
Supplies an asset to an Aave market, minting aTokens to the socket.Supplies an asset to an Aave market, minting aTokens to the socket.
Borrowfrom
Borrows an asset from an Aave market against collateral you have supplied.Borrows an asset from an Aave market against collateral you have supplied.
Endblock
Closes the innermost open block, whether a conditional branch or a loop.Closes the innermost open block, whether a conditional branch or a loop.
Endblock
Closes the innermost open block, whether a conditional branch or a loop.Closes the innermost open block, whether a conditional branch or a loop.