Take Profit (WETH/USDC Loop)Take Profit (WETH/USDC Loop)
0x484428507A212cA56D71baa27Ca6089a6dB63a88
Actions · 17
Readglobalflag
Reads a boolean flag from the socket's global storage by key.Reads a boolean flag from the socket's global storage by key.
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.
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.
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.
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.
Setglobalflagto
Writes a boolean flag to the socket's global storage under a key.Writes a boolean flag to the socket's global storage under a 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.
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.