Reads the expiry timestamp of a Pendle market.Reads the expiry timestamp of a Pendle market.
Isinthe
Checks whether a timestamp is in the past or the future relative to block time.Checks whether a timestamp is in the past or the future relative to block time.
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.
Gettotalsuppliedandborrowedin
Reads a Morpho Blue market's totals: assets and shares supplied and borrowed.Reads a Morpho Blue market's totals: assets and shares supplied and borrowed.
Getaccountdatainof
Reads your position in a Morpho Blue market: shares, collateral, debt, and health factor.Reads your position in a Morpho Blue market: shares, collateral, debt, and health factor.
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.
Getmarketparametersof
Reads a Morpho Blue market's immutable parameters.Reads a Morpho Blue market's immutable parameters.
Usewhere
borrow_sharesis
total_borrow_assetsis
total_borrow_sharesis
Composes another plug inside this one.Composes another plug inside this one.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Setto
Assigns a value to a named variable that later steps reference.Assigns a value to a named variable that later steps reference.
Flashloan
Borrows any token the Morpho Blue singleton holds, fee-free, repaid inside this transaction.Borrows any token the Morpho Blue singleton holds, fee-free, repaid inside this transaction.
Repayto
Repays loan-asset debt to a Morpho Blue market from the socket's balance.Repays loan-asset debt to a Morpho Blue market from the socket's balance.
Withdrawcollateralfrom
Withdraws collateral from a Morpho Blue market back to the socket.Withdraws collateral from a Morpho Blue market back to the socket.
Getpriceofin
Reads a Morpho Blue market's oracle price of its collateral in its loan asset.Reads a Morpho Blue market's oracle price of its collateral in its loan asset.
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.
Get
Holds an address as a named value that later steps reference.Holds an address as a named value that later steps reference.
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.
Transferto
Sends a token from the socket to another address, native or ERC-20.Sends a token from the socket to another address, native or ERC-20.
Getsolution
Hands tokens already transferred to the solver over for routing, then verifies the outcome.Hands tokens already transferred to the solver over for routing, then verifies the outcome.
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.
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.
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.
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.