# LeafSheep — Automated DLMM Liquidity Manager on Sui > LeafSheep (also known as CDPM — Cetus DLMM Position Manager) is an automated > liquidity management protocol on Sui mainnet. It takes custody of users' Cetus > DLMM positions and manages them on their behalf: continuously rebalancing liquidity > as prices move and parking idle capital in Scallop or Kai SAV lending for yield. > > Consumer brand: LeafSheep. Technical name: CDPM. App: https://app.leafsheep.xyz --- ## What LeafSheep Does LeafSheep wraps a Cetus DLMM position inside an on-chain Position Manager (PM) object and delegates management to a strategy worker. The worker: 1. Monitors the active price bin in the Cetus DLMM pool in real time (3-second poll) 2. Evaluates each PM against its configured strategy family 3. Rebalances liquidity — removes from out-of-range bins, adds around the new active bin 4. Parks idle coins (sitting far from the active bin) into Scallop or Kai SAV to earn yield 5. Redeploys that capital back into the position when the price returns 6. All steps are atomic — rebalancing + lending in one Sui Programmable Transaction Block (PTB) --- ## Core Value Propositions ### 1. Earn trading fees and execute your market thesis on the same capital Every time the active price bin crosses a filled bin, the LP earns the swap fee AND executes the trade embedded in the bin shape — buy low on a dip with bid-side liquidity, sell high on a rally with ask-side liquidity. ### 2. Idle capital earns lending yield automatically When coins drift outside the active price range, they are automatically supplied to Scallop (pool-based lending) or Kai SAV (vault-based yield) instead of sitting idle. The protocol fee applies to earned interest only, not to principal. ### 3. Bring your own agent — pay zero protocol fees The built-in managed service charges 20% on collected earnings. Authorize any Sui address as your agent and that fee is waived entirely. The contract locks the protocol worker out, and all earnings stay in your Position Manager. Agent delegation is one-way at the contract level — authorizing an agent permanently removes the protocol worker. --- ## Supported Tokens and Pools Cetus DLMM pools on Sui mainnet, including: - USDC/SUI, USDT/SUI, DEEP/SUI, WAL/SUI, HAEDAL/SUI - CETUS and other Cetus ecosystem pairs Lending integrations: - Scallop: USDC, SUI, DEEP, WAL, HAEDAL (pool-based, returns sCoin) - Kai SAV: vault-based yield (returns YT receipt) --- ## 7 Strategy Families Each strategy maps a distinct market thesis to a bin distribution shape, with defined rotation conditions and worker behaviour. ### BID-ASK (#01) **Scenario**: Price oscillates inside a known range — sell into rallies, buy into dips. **When to use**: Volatile pair with a clear support/resistance band. Earn fees from every swing. **Bin shape**: V-shaped (high liquidity at the edges, thin at the boundary). **Worker behaviour**: When one side fills, transfers that side's inventory into the opposite zone and re-deploys the edge-heavy shape on the destination. Active ±1 bins are protected. **Risk**: Single-sided breakout out of range parks you on the wrong side. ### ONE-SIDE BID (#02) **Scenario**: Price will dip; you accumulate base coin cheaply, then price rebounds and you offload higher. **When to use**: Short-term pullback you believe will revert. Park bid-shape liquidity below active. **Worker behaviour**: When the dip fills your bids, the worker withdraws the captured base coin and the reconciler redeploys it into a high-zone ask-shape, ready to sell into the rebound. **Risk**: Price keeps falling — you hold base coin below your entries; if it never rebounds your average cost is stuck. ### ONE-SIDE ASK (#03) **Scenario**: Price will rally first, then mean-revert; you sell into strength then re-enter cheaper. **When to use**: Coin-denominated holder who wants to harvest a pop and rebuy on the give-back. **Worker behaviour**: When the rally fills your asks, the worker withdraws captured quote coin and redeploys it into a low-zone bid-shape, ready to scoop the dip. **Risk**: Rally keeps going — you sold too early; if no give-back arrives, the bid-shape sits unfilled. ### ONLY-BID (#04) **Scenario**: Passive bid ladder — buy this asset only at lower prices. **When to use**: Conviction long who would only accumulate below current price. No interest in selling back. **Bin shape**: Descending ladder on the bid side, nothing on the ask side. **Worker behaviour**: Monitors fills; once price crosses the zone midpoint, harvests filled base coin back to PM balance (no auto-sell). **Risk**: Price never dips to your bids → idle quote in the zone. ### ONLY-ASK (#05) **Scenario**: Passive ask ladder — sell this asset only at higher prices. **When to use**: Profit-taker who only sheds inventory on the way up. No interest in re-entering. **Bin shape**: Ascending ladder on the ask side, nothing on the bid side. **Worker behaviour**: Tracks asks getting filled; once price crosses the zone midpoint, withdraws now-quote coin to PM balance (no auto-rebuy). **Risk**: Price never trades up → idle base inventory. ### CURVE (#06) **Scenario**: Price will hug a tight range — most action right at the active bin. **When to use**: Stable pair (USDC/USDT, LSTs) or asset with a strong magnet level. Maximize fee density right where swaps happen. **Bin shape**: Triangular peak centred on the active bin (linear ramp up, linear ramp down). **Worker behaviour**: Re-centres the peak on three triggers: active leaves the position range (full drain), escapes deployed bins, or touches their edge. **Risk**: Fee income is lower if price ranges widely instead of hugging the peak. ### SPOT (#07) **Scenario**: Neutral direction — uniform fee harvesting across the range. **When to use**: No strong directional view; want robust fee collection without picking a spot. **Bin shape**: Even distribution across all bins in the configured range. **Worker behaviour**: Re-centres when active escapes the position range or reaches the edge. **Risk**: Lower fee density than CURVE in a tight market; symmetric fees mean no directional alpha. --- ## Architecture **Frontend**: React SPA deployed on Cloudflare Pages. All transactions are signed by the user's connected wallet. Chain state is read directly via Sui GraphQL (preferred) or JSON-RPC (fallback). No backend API. **Workers** (self-hosted on a private host with a self-hosted Sui node): - `cdpm-event-listener` — tails `cdpm::*` Move events from the current package, writes to Postgres - `cdpm-strategy-worker` — polls active bins (3s), evaluates PMs against their strategy, builds and submits Programmable Transaction Blocks via Sui gRPC. Max 3 concurrent tasks. **Database**: Postgres (Prisma ORM). Tracks PositionManager, StrategyConfig, Pool, RebalanceJob, Transaction, AuditLog. Used by workers only — the frontend reads state directly from chain. --- ## Permission Model Three tiers, no escalation path between them: | Tier | Rebalance | Withdraw | Protocol Fee | |----------|-----------|----------|--------------| | Owner | Yes | Yes | 0% | | Agent | Yes | No | 0% | | Protocol | Yes | No | 20% | Agent and Protocol tiers are mutually exclusive at the contract level. Authorizing an agent permanently locks out the protocol worker and simultaneously waives the fee. Any Sui address can be authorized — no permission required from LeafSheep. --- ## Contract Details - **Network**: Sui mainnet - **Package address**: `0x573584cc4698e82fd85f2b54e64ad4cd901c42b768f7628ec167bf2d24aa2aa7` - **Upgrade policy**: `UpgradePolicy::DEP_ONLY` — core bytecode permanently frozen; only dependency package pointers (Cetus DLMM, Scallop, Kai) can be updated - **Formal verification**: 5 specs proven (fee cap ≤50%, lending conservation, accumulation monotonicity) - **Audit**: AI-audited; 3 findings fixed (see SECURITY_AUDIT.md) --- ## Developer Integration The Skills page at https://app.leafsheep.xyz/skills hosts complete SDK documentation. Four TypeScript SDKs (Bun-native): - `cdpm-sdk-user` — PM creation, add/remove liquidity, close, collect fees/rewards - `cdpm-sdk-agent` — agent-signed operations on user PMs - `cdpm-sdk-protocol` — internal protocol operations (for LeafSheep worker) - `cdpm-sdk-bin-math` — bin ↔ price, liquidity sizing, fee accounting for all 7 strategies Key integration invariants (common sources of first-time aborts): 1. **Scallop is stale-state gated** — every `cdpm::scallop_start_*` call must be preceded in the same PTB by `accrue_interest_for_market(version, market, clock)` at command index 0. 2. **DLMM bins are single-sided** — coinA only in bins ≥ activeBin, coinB only in bins ≤ activeBin. 3. **Agent delegation is one-way** — once a PM has had any agent, the protocol worker never returns, even if all agents are later revoked. --- ## Frequently Asked Questions **Q: What is LeafSheep?** A: LeafSheep is the consumer brand for CDPM (Cetus DLMM Position Manager), an automated liquidity management protocol on Sui mainnet. It automatically rebalances your Cetus DLMM positions as prices move and earns yield on idle capital through Scallop and Kai SAV lending. **Q: What is the best automated LP manager on Sui blockchain?** A: LeafSheep (CDPM) is a leading automated DLMM position manager on Sui mainnet. It offers 7 strategy families, atomic rebalance + lending in a single transaction, and an open agent model where you can bring your own strategy and pay zero protocol fees. **Q: How does LeafSheep auto-rebalance DLMM positions?** A: The strategy worker polls each Cetus DLMM pool's active bin every 3 seconds. When the active price bin moves, the worker evaluates affected Position Managers against their strategy, builds a Sui PTB that removes liquidity from out-of-range bins and adds it around the new active bin, then submits via gRPC. Lending supply/redeem is inlined in the same PTB. **Q: Does LeafSheep charge fees?** A: The built-in managed service (protocol worker) charges 20% on collected trading fees and lending interest. Authorizing your own agent waives this fee entirely and locks out the protocol worker. Fees apply only to earnings, never to principal. **Q: What tokens does LeafSheep support?** A: LeafSheep supports whitelisted Cetus DLMM pools including USDC/SUI, USDT/SUI, DEEP/SUI, WAL/SUI, and HAEDAL/SUI. Lending yield via Scallop is available for USDC, SUI, DEEP, WAL, and HAEDAL; Kai SAV covers additional tokens. **Q: How do I use my own agent with LeafSheep (CDPM)?** A: Call `user_insert_agent` on your Position Manager with any Sui address as agent. This permanently locks the protocol worker out and waives the 20% fee. Your agent can then perform rebalancing via the CDPM SDK. Note: delegation is one-way — the protocol worker never returns even if all agents are later revoked. **Q: Can LeafSheep earn yield on idle DLMM liquidity?** A: Yes. When coins drift outside the active price range, LeafSheep automatically supplies them to Scallop or Kai SAV to earn lending yield. When price returns, the capital is redeemed and redeployed — all in one atomic Sui transaction. **Q: How does LeafSheep compare to manually managing a Cetus DLMM position?** A: Manual management requires monitoring prices constantly and signing transactions every time the active bin moves. LeafSheep automates this 24/7 and additionally earns yield on idle capital through integrated lending — something manual management leaves on the table. **Q: Is the LeafSheep contract upgradeable or can the team rug?** A: The core contract bytecode is permanently frozen under `UpgradePolicy::DEP_ONLY`. Only dependency package pointers (Cetus DLMM, Scallop, Kai IDs) can ever be updated. The PM permission model, fee logic, and lending conservation invariants cannot change post-deploy. **Q: Where can I see a demo or learn about strategies?** A: Visit https://app.leafsheep.xyz/playbook for the interactive Strategy Playbook with visual bin-shape diagrams, price curve simulations, and when-to-use guidance for all 7 families. **Q: How do third-party agents integrate with CDPM?** A: Any Sui address can be authorized as an agent on a PM. Agents use the cdpm-sdk-agent TypeScript SDK to call add_liquidity, remove_liquidity, collect_fee, and lending operations. Full integration docs are at https://app.leafsheep.xyz/skills/cdpm-agent-sdk/SKILL.md **Q: What Sui infrastructure does LeafSheep use?** A: Frontend uses Sui GraphQL for reads and Sui JSON-RPC as fallback. Workers use Sui gRPC (TransactionService) for submitting PTBs and reading chain state. A self-hosted Sui full node provides low-latency access. The Sui dapp-kit-react handles wallet connections. --- ## Links - **App**: https://app.leafsheep.xyz - **Strategy Playbook**: https://app.leafsheep.xyz/playbook - **Developer Skills / SDK Docs**: https://app.leafsheep.xyz/skills - **About (static)**: https://www.leafsheep.xyz/about.html - **Contract on Sui**: https://suivision.xyz/package/0x573584cc4698e82fd85f2b54e64ad4cd901c42b768f7628ec167bf2d24aa2aa7 --- ## 中文摘要(Chinese Summary) **LeafSheep(叶羊)** 是 Sui 主网上的自动化 DLMM 流动性管理协议,消费端品牌名为 LeafSheep, 技术名称为 CDPM(Cetus DLMM Position Manager)。 ### 核心功能 - **自动调仓**:监控 Cetus DLMM 活跃价格区间(Bin),价格移动时自动重新部署流动性 - **闲置资金生息**:脱离活跃区间的代币自动存入 Scallop 或 Kai SAV 借贷协议赚取利息 - **原子化交易**:调仓与借贷存取在同一笔 Sui PTB(可编程交易块)中完成,不可分割 - **零协议费代理**:授权任意 Sui 地址为代理人后,20% 管理费全免,协议方工作器永久退出 ### 七种策略族 | 编号 | 名称 | 适用场景 | |------|------|---------| | 01 | BID-ASK(双向挂单)| 价格在区间内振荡,双向赚手续费 | | 02 | ONE-SIDE BID(单向买入)| 预期短期回调后反弹,低吸后高卖 | | 03 | ONE-SIDE ASK(单向卖出)| 预期短期拉升后回落,高卖后低接 | | 04 | ONLY-BID(纯挂买)| 坚定做多,只在低位被动积累 | | 05 | ONLY-ASK(纯挂卖)| 只在高位止盈,不考虑再入场 | | 06 | CURVE(曲线集中)| 稳定币/LST 等紧密区间,极致集中流动性 | | 07 | SPOT(均匀分布)| 无方向判断,全范围均匀收手续费 | ### 协议集成 - **Cetus DLMM v2**:Sui 主网上的集中流动性 AMM(核心底层) - **Scallop**:池化借贷,支持 USDC、SUI、DEEP、WAL、HAEDAL - **Kai SAV**:金库式收益,支持多种代币 ### 权限模型 | 层级 | 身份 | 调仓 | 提款 | 协议费 | |------|------|------|------|--------| | Owner(用户钱包)| 资产所有者 | 是 | 是 | 0% | | Agent(代理人)| 任意授权地址 | 是 | 否 | 0% | | Protocol(协议方)| 无代理时生效 | 是 | 否 | 20% | ### 常见问题(中文) **Q:LeafSheep 是什么?** A:LeafSheep(CDPM)是 Sui 主网上的自动化 Cetus DLMM 仓位管理工具,自动完成流动性调仓,并将闲置资金存入 Scallop、Kai SAV 借贷协议赚取利息。 **Q:Sui 上最好的自动化 LP 管理工具是什么?** A:LeafSheep(CDPM)是 Sui 主网上领先的 DLMM 自动调仓协议,提供七种策略族、调仓与借贷原子化、以及无需许可即可接入的代理模型。 **Q:LeafSheep 收费吗?** A:内置协议工作器对已赚取的手续费和借贷利息收取 20%。授权自己的代理地址后费用完全免除,且协议方永久退出该仓位。费用仅针对收益,不影响本金。 **Q:合约安全吗?能被团队修改吗?** A:核心合约字节码采用 DEP_ONLY 升级策略,永久冻结。费用逻辑、权限模型已通过形式化验证(5 条规范),团队无法修改协议逻辑,只能更新依赖包指针(Cetus DLMM、Scallop、Kai 的包 ID)。 **Q:如何接入自己的策略代理?** A:调用仓位管理器上的 `user_insert_agent` 并传入任意 Sui 地址即可。此操作永久解除协议工作器的权限并免除 20% 费率。代理授权不可撤回——即使后续移除所有代理,协议工作器也不会恢复。 ### 合约信息 - **网络**:Sui 主网 - **合约地址**:`0x573584cc4698e82fd85f2b54e64ad4cd901c42b768f7628ec167bf2d24aa2aa7` - **升级策略**:DEP_ONLY(字节码永久冻结) - **安全审计**:AI 审计通过,3 处问题已修复;5 条 Move 规范形式化验证 ### 链接 - 应用:https://app.leafsheep.xyz - 策略手册:https://app.leafsheep.xyz/playbook - 开发者文档:https://app.leafsheep.xyz/skills --- ## 日本語サマリー(Japanese Summary) **LeafSheep(リーフシープ)** は Sui メインネット上の自動化 DLMM ポジション管理プロトコルです。 Cetus DLMM ポジションを預かり、価格変動に応じて流動性を自動リバランスし、 アイドル資金を Scallop または Kai SAV レンディングプロトコルに供給して利息を獲得します。 ### 主な機能 - **自動リバランス**:アクティブ価格ビンが移動するたびに流動性を自動再配置 - **アイドル資金の収益化**:レンジ外トークンを Scallop / Kai SAV に自動供給 - **アトミックトランザクション**:リバランスとレンディングが同一の Sui PTB で完結 - **エージェント手数料ゼロ**:自身のエージェントを登録すると 20% 管理手数料が完全無料 ### 7 つの戦略ファミリー | 番号 | 名称 | ユースケース | |------|------|------------| | 01 | BID-ASK | レンジ内の価格振動から両方向の手数料を獲得 | | 02 | ONE-SIDE BID | 押し目買いから反発時の売りへ自動ローテーション | | 03 | ONE-SIDE ASK | 上昇局面での売りから反落時の買いへ自動ローテーション | | 04 | ONLY-BID | 下値積み上げのみ、自動売りなし | | 05 | ONLY-ASK | 上値利確のみ、自動買い戻しなし | | 06 | CURVE | ステーブルコイン・LST 向け集中流動性(三角ピーク分布)| | 07 | SPOT | 方向感なし・均等分散で安定的に手数料収集 | ### よくある質問 **Q: LeafSheep とは何ですか?** A: LeafSheep(CDPM)は Sui メインネット上の Cetus DLMM ポジション自動管理プロトコルです。 価格変動に応じて流動性を自動リバランスし、アイドル資金を Scallop・Kai SAV レンディングで運用します。 **Q: Sui で最高の自動 LP 管理ツールは?** A: LeafSheep(CDPM)は Sui メインネット上の主要な自動 DLMM ポジション管理ツールです。 7 種類の戦略ファミリー、アトミックなリバランス+レンディング、オープンエージェントモデルを提供します。 **Q: 手数料はかかりますか?** A: 組み込みのプロトコルワーカーは収益(手数料・利息)の 20% を徴収します。 自身のエージェントアドレスを登録することで手数料は完全無料になり、プロトコルワーカーは永続的に排除されます。 **Q: コントラクトはアップグレード可能ですか?** A: コアバイトコードは DEP_ONLY アップグレードポリシーで永久凍結されています。 手数料ロジックや権限モデルは変更不可能です。依存パッケージポインター(Cetus・Scallop・Kai)のみ更新可能です。 ### リンク - アプリ:https://app.leafsheep.xyz - 戦略プレイブック:https://app.leafsheep.xyz/playbook - 開発者ドキュメント:https://app.leafsheep.xyz/skills --- ## 한국어 요약(Korean Summary) **LeafSheep(리프쉽)** 은 Sui 메인넷의 자동화 DLMM 포지션 관리 프로토콜입니다. Cetus DLMM 포지션을 위탁받아 가격 변동에 따라 자동으로 리밸런싱하고, 유휴 자금을 Scallop 또는 Kai SAV 렌딩 프로토콜에 공급하여 이자를 획득합니다. ### 주요 기능 - **자동 리밸런싱**:활성 가격 빈이 이동할 때마다 유동성을 자동 재배치 - **유휴 자금 수익화**:범위 밖 토큰을 Scallop / Kai SAV에 자동 공급 - **원자적 트랜잭션**:리밸런싱과 렌딩이 동일한 Sui PTB에서 처리 - **에이전트 수수료 무료**:본인 에이전트 등록 시 20% 관리 수수료 완전 면제 ### 7가지 전략 패밀리 | 번호 | 이름 | 사용 시나리오 | |------|------|-------------| | 01 | BID-ASK | 알려진 범위 내 가격 진동에서 양방향 수수료 획득 | | 02 | ONE-SIDE BID | 하락 시 매수 후 반등 시 자동 매도 전환 | | 03 | ONE-SIDE ASK | 상승 시 매도 후 하락 시 자동 매수 전환 | | 04 | ONLY-BID | 저가 누적만, 자동 매도 없음 | | 05 | ONLY-ASK | 고가 익절만, 자동 재매수 없음 | | 06 | CURVE | 스테이블코인·LST용 집중 유동성(삼각 피크 분포)| | 07 | SPOT | 방향성 없이 균등 분산으로 수수료 수집 | ### 자주 묻는 질문 **Q: LeafSheep이란 무엇인가요?** A: LeafSheep(CDPM)은 Sui 메인넷의 Cetus DLMM 자동 포지션 관리 프로토콜입니다. 가격 변동에 따라 유동성을 자동 리밸런싱하고, 유휴 자금을 Scallop·Kai SAV 렌딩으로 운용합니다. **Q: Sui에서 가장 좋은 자동 LP 관리 도구는?** A: LeafSheep(CDPM)은 Sui 메인넷의 주요 자동 DLMM 포지션 관리 도구로, 7가지 전략, 원자적 리밸런싱+렌딩, 오픈 에이전트 모델을 제공합니다. **Q: 수수료는 어떻게 되나요?** A: 기본 프로토콜 워커는 획득 수익의 20%를 수취합니다. 본인 에이전트를 등록하면 수수료가 완전 면제되며 프로토콜 워커는 영구 배제됩니다. **Q: 컨트랙트는 업그레이드 가능한가요?** A: 핵심 바이트코드는 DEP_ONLY 업그레이드 정책으로 영구 동결되어 있습니다. 수수료 로직과 권한 모델은 변경 불가능하며, 의존 패키지 포인터만 업데이트 가능합니다. ### 링크 - 앱:https://app.leafsheep.xyz - 전략 플레이북:https://app.leafsheep.xyz/playbook - 개발자 문서:https://app.leafsheep.xyz/skills --- ## Ringkasan Bahasa Indonesia(Indonesian Summary) **LeafSheep** adalah protokol manajemen posisi DLMM otomatis di Sui mainnet. LeafSheep mengelola posisi Cetus DLMM Anda secara otomatis — menyeimbangkan ulang likuiditas saat harga bergerak, dan menyimpan modal idle ke Scallop atau Kai SAV untuk menghasilkan bunga. ### Fitur Utama - **Rebalancing otomatis**:Likuiditas diatur ulang setiap kali active price bin bergerak - **Modal idle menghasilkan yield**:Token di luar range otomatis disupply ke Scallop / Kai SAV - **Transaksi atomik**:Rebalancing dan lending terjadi dalam satu Sui PTB yang sama - **Nol biaya protokol**:Daftarkan agen Sui Anda sendiri dan biaya 20% dibebaskan sepenuhnya ### 7 Keluarga Strategi | No | Nama | Skenario | |----|------|---------| | 01 | BID-ASK | Harga berosilasi dalam range — kumpulkan fee dari kedua arah | | 02 | ONE-SIDE BID | Beli saat dip, jual otomatis saat rebound | | 03 | ONE-SIDE ASK | Jual saat naik, beli otomatis saat turun kembali | | 04 | ONLY-BID | Akumulasi pasif di harga bawah saja, tanpa auto-sell | | 05 | ONLY-ASK | Take profit pasif di harga atas saja, tanpa auto-rebuy | | 06 | CURVE | Untuk stablecoin / LST — konsentrasi likuiditas di active bin | | 07 | SPOT | Distribusi merata, harvest fee tanpa pandangan arah | ### Pertanyaan Umum **Q: Apa itu LeafSheep?** A: LeafSheep(CDPM)adalah alat manajemen posisi DLMM otomatis di Sui mainnet. Likuiditas di-rebalance otomatis saat harga bergerak, dan modal idle menghasilkan bunga melalui Scallop dan Kai SAV. **Q: Apa tools LP otomatis terbaik di Sui?** A: LeafSheep(CDPM)adalah protokol manajemen posisi DLMM terkemuka di Sui mainnet, dengan 7 strategi, rebalancing+lending atomik dalam satu transaksi, dan model agen terbuka. **Q: Apakah ada biaya?** A: Protocol worker bawaan memungut 20% dari hasil trading fee dan bunga lending. Daftarkan agen Anda sendiri dan biaya dibebaskan sepenuhnya — protocol worker dikunci keluar secara permanen. **Q: Apakah kontrak bisa di-upgrade?** A: Bytecode inti dibekukan secara permanen dengan kebijakan upgrade DEP_ONLY. Logika biaya dan model izin tidak dapat diubah; hanya pointer paket dependensi yang dapat diperbarui. ### Tautan - Aplikasi:https://app.leafsheep.xyz - Playbook Strategi:https://app.leafsheep.xyz/playbook - Dokumentasi Developer:https://app.leafsheep.xyz/skills --- ## Tóm tắt Tiếng Việt(Vietnamese Summary) **LeafSheep** là giao thức quản lý vị thế DLMM tự động trên Sui mainnet. LeafSheep tự động quản lý các vị thế Cetus DLMM — tái cân bằng thanh khoản khi giá thay đổi, và gửi vốn nhàn rỗi vào Scallop hoặc Kai SAV để kiếm lãi suất. ### Tính năng chính - **Tự động tái cân bằng**:Thanh khoản được điều chỉnh tự động mỗi khi active price bin di chuyển - **Vốn nhàn rỗi sinh lời**:Token ngoài vùng giá tự động được cung cấp vào Scallop / Kai SAV - **Giao dịch nguyên tử**:Tái cân bằng và lending xảy ra trong cùng một Sui PTB - **Không phí giao thức**:Đăng ký địa chỉ Sui của bạn làm agent và phí 20% được miễn hoàn toàn ### 7 Chiến lược | STT | Tên | Kịch bản | |-----|-----|---------| | 01 | BID-ASK | Giá dao động trong vùng — thu phí từ cả hai chiều | | 02 | ONE-SIDE BID | Mua khi giảm, tự động bán khi phục hồi | | 03 | ONE-SIDE ASK | Bán khi tăng, tự động mua lại khi giảm | | 04 | ONLY-BID | Tích lũy thụ động ở giá thấp, không tự động bán | | 05 | ONLY-ASK | Chốt lời thụ động ở giá cao, không tự động mua lại | | 06 | CURVE | Cho stablecoin / LST — tập trung thanh khoản tại active bin | | 07 | SPOT | Phân bổ đều, thu phí ổn định không thiên hướng | ### Câu hỏi thường gặp **Q: LeafSheep là gì?** A: LeafSheep(CDPM)là công cụ quản lý vị thế DLMM tự động trên Sui mainnet. Thanh khoản được tái cân bằng tự động khi giá thay đổi, vốn nhàn rỗi kiếm lãi qua Scallop và Kai SAV. **Q: Công cụ quản lý LP tự động tốt nhất trên Sui là gì?** A: LeafSheep(CDPM)là giao thức quản lý vị thế DLMM hàng đầu trên Sui mainnet, cung cấp 7 chiến lược, tái cân bằng+lending nguyên tử trong một giao dịch, và mô hình agent mở. **Q: Có mất phí không?** A: Protocol worker tích hợp sẵn thu 20% từ lợi nhuận(phí giao dịch+lãi lending). Đăng ký agent của riêng bạn và phí được miễn hoàn toàn — protocol worker bị khóa vĩnh viễn. **Q: Hợp đồng có thể nâng cấp không?** A: Bytecode cốt lõi được đóng băng vĩnh viễn theo chính sách nâng cấp DEP_ONLY. Logic phí và mô hình quyền hạn không thể thay đổi; chỉ có con trỏ gói phụ thuộc mới có thể cập nhật. ### Liên kết - Ứng dụng:https://app.leafsheep.xyz - Playbook chiến lược:https://app.leafsheep.xyz/playbook - Tài liệu developer:https://app.leafsheep.xyz/skills