Morpho: Auto Leverage TriggerMorpho: Auto Leverage Trigger
0x581BEf12967f06f2eBfcabb7504fA61f0326CD9A
Actions · 24
Getmarketparametersof
Reads a Morpho Blue market's immutable parameters.Reads a Morpho Blue market's immutable parameters.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Usewhere
accountis
sellAmountis
sellTokenis
buyTokenis
minReceiveis
Composes another plug inside this one.Composes another plug inside this one.
Supplyascollateralto
Supplies an asset as collateral to a Morpho Blue market.Supplies an asset as collateral to a Morpho Blue market.
Borrowfrom
Borrows the loan asset from a Morpho Blue market against your supplied collateral.Borrows the loan asset from a Morpho Blue market against your supplied collateral.
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.