treasury.yield_route
Treasury Float Yield Routing Analysis — OPTIONAL, CLIENT-DIRECTED ONLY.
Analyzes whether idle settlement float can be productively deployed into a yield-bearing instrument between the current time and a scheduled settlement deadline. Returns a structured recommendation with expected yield, exit timing, liquidity assessment, slippage estimate, and a mandatory risk disclosure.
THIS TOOL DOES NOT MOVE FUNDS. It provides analysis only. All execution decisions are made by the client or agent acting on explicit instruction. DPX charges a flat fee for this analysis and does not receive any portion of yield earned.
Current supported instrument: sUSDS (Sky Protocol Savings Rate). Selected because: • Instant on-chain entry and exit (no T+1 delays) • No US person restrictions • Real asset backing (tokenized RWAs + Spark borrow rates) • Available on Base chain via bridge • No de-peg events recorded (unlike synthetic alternatives)
Safety parameters enforced: • Maximum 90% of settlement amount — 10% always stays in USDC • Early exit triggered 30 minutes before settlement deadline (not 15) • Slippage guard: if DEX USDC/USDS quote shows >0.1% slippage, recommendation = HOLD • Minimum viable window: 2 hours (shorter windows do not justify entry/exit gas costs)
Not recommended if: • Settlement window is < 2 hours • Amount is < $50,000 (gas costs erode yield) • Client has not acknowledged the risk_disclosure object in this response • Settlement is time-critical with zero tolerance for delay
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, returns analysis without any on-chain queries. Useful for planning. Default: false. | |
| amountUsdc | Yes | Settlement amount in USDC. Minimum $50,000 for yield routing to be viable after gas costs. | |
| riskTolerance | No | conservative = sUSDS only (T-bill / RWA backed, instant exit). moderate = sUSDS with higher slippage tolerance (up to 0.15%). Default: conservative. | |
| settlementDeadlineUtc | Yes | ISO 8601 UTC timestamp of when USDC must be ready for settlement (e.g. "2026-06-15T20:00:00Z"). The tool will recommend exiting 30 minutes before this. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exitBy | No | Recommended exit timestamp (30 min before deadline). | |
| notViable | No | True if net yield is negative (gas exceeds expected yield). | |
| instrument | No | Recommended instrument (currently always sUSDS). | |
| windowHours | No | Available window in hours (deadline minus now minus 30-min buffer). | |
| netYieldUsdc | No | Expected yield minus gas costs. | |
| currentApyPct | No | Current Sky Savings Rate APY (live, from Sky Protocol). | |
| amountReserved | No | Amount kept in USDC regardless (10% floor). | |
| amountRoutable | No | Amount to deploy (90% of input, USDC). 10% stays in USDC. | |
| recommendation | No | ROUTE (deploy float), HOLD (stay in USDC), or INSUFFICIENT_WINDOW. | |
| gasEstimateUsdc | No | Estimated Base L2 gas cost for entry + exit in USDC. | |
| risk_disclosure | No | MUST be surfaced to the client before any action is taken. | |
| estimatedSlippage | No | Estimated DEX slippage for USDC→USDS→USDC round trip (%). | |
| expectedYieldUsdc | No | Expected yield for this window at current APY. | |
| instrument_detail | No | Background on the recommended instrument. | |
| slippageGuardTripped | No | True if slippage > 0.1% — recommendation will be HOLD. |