Nest Deposit logo

Catalog action EVM Onchain wallet Gas send

Deposit pUSD into a Nest vault via PredicateProxy. Fetches compliance message from Nest API, approves pUSD, and calls PredicateProxy.deposit(). Returns the shares received. Ideal for: vault rebalancing deposits, yield farming, automated DeFi portfolio management.

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-deposit
CategoryEVM Onchain
Connectorwallet
Requires gasYes
Funds movementsend
Tagsdefi, plume, nest, deposit, vault, onchain, write, rebalancing

Payload Schema

FieldTypeRequiredDescription
vaultstringYesTarget vault symbol (e.g., 'nALPHA'). Used for logging.
tellerAddressstringYesTeller contract address for the target vault.
amountPusdRawstringYesAmount of pUSD to deposit in raw units (wei, 6 decimals).
slippageBpsnumberNoSlippage tolerance for minimumMint in basis points (default: 50 = 0.5%).

Result Schema

FieldTypeRequiredDescription
statusstringYesWhether the deposit was successful.
vaultstringYesVault symbol deposited into.
amountPusdRawstringNopUSD amount deposited.
sharesReceivedstringNoVault shares (nToken) received.
transactionsobjectNoTransaction hashes.
reasonstringNoReason if status is 'error'.

Examples

json
{ "type": "nest-deposit", "payload": { "vault": "example-vault", "tellerAddress": "0x0000000000000000000000000000000000000000", "amountPusdRaw": "1000000" }, "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