← 返回
未分类 Key

Evk Live Borrow Proof

Prove that a deployed Euler EVK market can really borrow against the intended collateral path with tiny live canaries or dry-run previews. Use when an agent...
Prove that a deployed Euler EVK market can really borrow against the intended collateral path with tiny live canaries or dry-run previews. Use when an agent...
daav3
未分类 clawhub v0.1.3 1 版本 100000 Key: 需要
★ 0
Stars
📥 276
下载
💾 1
安装
1
版本
#latest

概述

EVK Live Borrow Proof

Turn a successful one-off borrow probe into a repeatable agent workflow.

This skill is for proving actual borrowability onchain, not just showing that a vault deployed or that an oracle route exists on paper.

Safety expectations

  • default to preview mode first
  • only use live signer-backed execution when the user explicitly asks for it
  • require both --live and the config's guarded live-send acknowledgement field before any transaction is sent
  • require the configured proof account address to match the signer address before any live proof transaction is sent
  • keep signer material in environment variables or local runtime config, never in committed files
  • require explicit nonzero swap protection for every live swap
  • require explicit opt-in before using unlimited approvals

Read next

  1. references/live-borrow-checklist.md
  2. references/arbitrum-eusdc1-isolated-example.json when you want a concrete config shape
  3. Run node scripts/evk_live_borrow_proof.js --help for the bundled executor

Default workflow

  1. Normalize the proof target.

Capture:

  • chain and RPC URL
  • wallet address and signer env name
  • borrow vault
  • target collateral vault
  • borrow asset and collateral asset
  • EVC address
  • tiny borrow amount
  • any stale controllers or stale collaterals that must be disabled first
  • whether collateral is already in the wallet or needs a swap path
  1. Check the acceptance criteria before touching live state.

Confirm all of these are true:

  • the borrow vault oracle can quote the intended collateral vault share token into the borrow vault unit of account
  • the borrow vault has enough cash for the tiny canary borrow
  • the borrow vault has the required LTV link for the target collateral vault
  • the account can rotate EVC controller and collateral state cleanly
  1. Use preview mode first.

Run the bundled executor without --live so the agent can inspect:

  • current debt
  • wallet balances
  • enabled collaterals
  • vault cash
  • planned approvals, swaps, collateral rotation, and borrow
  1. Run live only after the preview is sane and the user has asked for a real canary.

Keep amounts tiny.

  1. Report what was actually proven.

Always distinguish between:

  • mixed-collateral borrow
  • isolated target-collateral borrow
  • quoteability only
  • full live borrow success

Bundled executor

Use scripts/evk_live_borrow_proof.js.

It supports:

  • preview mode with a read-only account address
  • live mode with a signer loaded from an environment variable
  • optional debt repayment before the new proof
  • optional single-hop Uniswap V3 style swaps to source repay or collateral assets
  • collateral deposit into the target EVK vault
  • disabling stale collateral vaults in EVC
  • disabling stale controllers in EVC
  • enabling the target collateral and optionally the target controller
  • final tiny borrow and before/after logging

Generalization rules

  • Do not hardcode Arbitrum, WETH, USDC, eWETH-11, or eUSDC-1. Treat them as an example only.
  • Treat router address, fee tier, wrapped native token, token decimals, EVC address, and vault addresses as per-chain inputs.
  • If the collateral asset is already in the wallet, skip the swap and deposit directly.
  • If the borrow asset used for repayment is not already in the wallet, either source it first or configure repaySwap.
  • If the chain does not use a Uniswap V3 compatible router, do not pretend the bundled swap path is portable. Replace or bypass that step explicitly.
  • If the proof must show isolation, disable the old collaterals first and report the final enabled collateral set.

Non-negotiable EVK lessons

  • A deployed market is not proven borrowable until a real borrow succeeds.
  • Cross-vault borrowing depends on the borrow vault oracle pricing the collateral vault share token, not just the underlying asset.
  • Controller state and collateral state in EVC are separate concerns. Check both.
  • Preview mode is useful, but it is not a substitute for a live canary.

Output expectations

Always report:

  • chain and account used
  • preview or live mode
  • borrow vault and collateral vault
  • whether old debt was repaid first
  • whether the target collateral path was isolated
  • before and after debt
  • before and after enabled collaterals
  • collateral vault balance after deposit
  • vault cash and liquidity snapshot before borrow
  • tx hashes for live operations
  • what remains unproven or chain-specific

If deployment is still missing

If the user is not yet at the live-proof stage and still needs a borrowable EVK market, switch to the agentic-lending-evk skill first, especially for share-aware router deployment work.

版本历史

共 1 个版本

  • v0.1.3 当前
    2026-05-08 03:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Agentic Lending Evk

daav3
规划并执行当前 EVK 优先的代理借贷工作流,适用于 Api3支持的市场。当用户希望代理为选定的...解决 Oracle 路由时使用。
★ 0 📥 893

Agentic Lending EVK Readonly

daav3
Read-only EVK-first agentic lending workflow planning and verification for Api3-backed markets. Use when a user wants an
★ 0 📥 296

Agentic Lending Morpho

daav3
制定并执行针对 Api3 支持市场的 Morpho 优先代理借贷工作流。当用户需要 Morpho 市场或针对所选抵押品的市场组合时使用。
★ 0 📥 724