Nest Leverage Iteration logo

Catalog action EVM Onchain wallet Gas send

Execute one iteration of the pUSD leverage loop on Plume Network (chain 98866). Deposits pUSD to Nest Vault, supplies nTBILL as Morpho collateral, and borrows pUSD. Ideal for: leverage loop steps, DeFi automation, yield farming on Plume.

This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.

At a Glance

FieldValue
Action IDnest-leverage-iteration
CategoryEVM Onchain
Connectorwallet
Requires gasYes
Funds movementsend
Tagsdefi, plume, leverage, lending, borrowing, vault, morpho, onchain, write, yield

Payload Schema

FieldTypeRequiredDescription
depositAmountWeistringYesExact amount of pUSD to deposit in wei. Passed via workflow storage between iterations.
minAmountWeistringYesMinimum amount threshold in wei. If deposit/borrow is below this, the iteration is a noop.
targetLtvWadstringYesTarget LTV in WAD scale. From precheck output.

Result Schema

FieldTypeRequiredDescription
actionstringYesWhether the iteration executed all transactions (executed), deposited and supplied but borrow was too small (partial), or did nothing (noop).
depositedAmountstringNoAmount of pUSD deposited to Nest vault (wei).
nrwaReceivedstringNoAmount of nTBILL received from Nest vault (wei).
borrowedAmountstringYesAmount of pUSD borrowed from Morpho (wei).
reasonstringNoReason for noop if action is noop.
transactionsobjectNoTransaction hashes for each step.

Examples

json
{ "type": "nest-leverage-iteration", "payload": { "depositAmountWei": "1000000", "minAmountWei": "1000000", "targetLtvWad": "example-targetLtvWad" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I