wstDIEM Inference Vault
Composable inference
LiquidPad connects to the Liquid Protocol wstDIEM Inference Vault — the on-chain layer that turns DIEM staking into Venice AI inference capacity. Here's where we stand and where we're headed.
On-chain status (live)
AgentTGERegistry
Not registered
Registration pending — requires Liquid team to call register().
X402Adapter
Inactive (v6)
Adapter contract exists but is unregistered on the v6 vault. Opportunity to reactivate.
queried live from Base mainnet · raw API
Integration paths
AgentTGERegistry
readyRegister LiquidPad as an agent in the vault's on-chain registry. Enables tier-based inference allocation + dormancy tracking. We already query it live.
Pending: owner (Liquid team) registers our operator wallet.
X402Adapter → InferenceVault
proposedRoute a portion of LiquidPad's x402 USDC settlements through the X402Adapter. Makes LiquidPad a direct inference-revenue source for the vault. Adapter contract exists but is unregistered on v6.
Proposed to Liquid team. Needs adapter redeployment + vault registration.
InferenceProduct consumer
futureBuy on-chain inference capacity from the vault's InferenceProduct instead of using Venice keys directly. Fully composable — LiquidPad becomes an on-chain inference buyer, not just an API consumer.
Future: after AgentTGERegistry + X402Adapter are live.
How x402 → Vault works
agent calls /api/x402/inference → pays $0.01 USDC (settled via Coinbase CDP facilitator) → LiquidPad receives USDC → portion routes to X402Adapter.recordX402Settlement(amount) → adapter accumulates USDC → keeper calls routeYield() → swap USDC → DIEM → vault.creditDIEM() → wstDIEM holders earn yield from LiquidPad's inference revenue
This is the path we're proposing. It makes LiquidPad a direct inference-revenue source for the wstDIEM vault.
Vault contracts (Base mainnet, v6)
| Contract | Role | Address |
|---|---|---|
| InferenceVault (wstDIEM v6) | ERC-4626 vault. Deposit DIEM → mint wstDIEM. Yield from inference revenue. | 0xe49F…67ba |
| AgentTGERegistry | Tracks agent lifecycle: Bronze/Silver/Gold tiers, 30-day dormancy. | 0xb138…98Ef |
| InferenceProduct | On-chain USDC settlement for Venice inference capacity. Buyers purchase time-bounded allocations. | 0xE43c…a5F3 |
| FeeRouter | Aggregates protocol fee income (WETH/USDC/VVV/wstDIEM). Routes per a configurable FeeMode. | 0xa13a…4ED3 |
| X402Adapter | Venue adapter for x402 settlement USDC. Receives inference payments and routes yield to vault. | (not active on v6 — opportunity) |
This integration is in progress. Data is read live from Base mainnet. Source: liquid-protocol-v0