Documentation Index
Fetch the complete documentation index at: https://mintlify.com/collinsville22/Sable/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/curator
Deploys idle vault funds to their respective yield strategies. The curator checks the vault’s idle WBTC balance and executes the appropriate deployment strategy.Request Body
Vault identifier. Supported values:
sentinel- Deploy to Vesu lendingcitadel- Stake to Endurtrident- Execute staking loop (3 iterations)delta_neutral- Deploy collateral for delta-neutral positionturbo- Deploy to Vesuapex- Deploy with split strategy
Response
Deployment status:
deployed or no_idle_fundsTransaction hash (only if deployed)
Amount deployed in WBTC sats (only if deployed)
Error message if request failed
Example Request
Example Response
Strategy Mapping
Each vault has a specific deployment strategy:| Vault | Contract Method | Description |
|---|---|---|
| sentinel | deploy_to_vesu | Supply WBTC to Vesu Prime lending pool |
| citadel | stake_to_endur | Stake WBTC to Endur Finance |
| trident | execute_staking_loop | Execute 3-iteration leverage staking loop |
| delta_neutral | deploy_collateral | Deploy as collateral for neutral position |
| turbo | deploy_to_vesu | Supply to Vesu with optimization |
| apex | deploy_split | Split deployment across multiple protocols |
Implementation Details
Source:/home/daytona/workspace/source/src/app/api/curator/route.ts:18
The curator:
- Checks vault’s WBTC balance using
balanceOf - Skips deployment if idle balance is 0
- Executes vault-specific deployment method
- Waits for transaction confirmation
- Returns transaction hash and deployed amount
This endpoint requires server-side authentication with curator private key. It is called automatically by the Sable protocol when vaults have idle funds.