Nest Deposit
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.
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
| Field | Value |
|---|---|
| Action ID | nest-deposit |
| Category | EVM Onchain |
| Connector | wallet |
| Requires gas | Yes |
| Funds movement | send |
| Tags | defi, plume, nest, deposit, vault, onchain, write, rebalancing |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
vault | string | Yes | Target vault symbol (e.g., 'nALPHA'). Used for logging. |
tellerAddress | string | Yes | Teller contract address for the target vault. |
amountPusdRaw | string | Yes | Amount of pUSD to deposit in raw units (wei, 6 decimals). |
slippageBps | number | No | Slippage tolerance for minimumMint in basis points (default: 50 = 0.5%). |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Whether the deposit was successful. |
vault | string | Yes | Vault symbol deposited into. |
amountPusdRaw | string | No | pUSD amount deposited. |
sharesReceived | string | No | Vault shares (nToken) received. |
transactions | object | No | Transaction hashes. |
reason | string | No | Reason if status is 'error'. |
Examples
json{ "type": "nest-deposit", "payload": { "vault": "example-vault", "tellerAddress": "0x0000000000000000000000000000000000000000", "amountPusdRaw": "1000000" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/nest-deposit/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "vault": "example-vault", "tellerAddress": "0x0000000000000000000000000000000000000000", "amountPusdRaw": "1000000" }}'
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.
