What problem does it solve?
Enables liquidity providers to reliably stake PancakeSwap V3 LP NFTs into MasterChefV3, monitor and claim CAKE incentives, and collect accumulated swap fees across multiple chains without manually crafting on-chain transactions or scanning logs.
Core Features & Use Cases
- Stake & Unstake (farm / unfarm): Preview and then transfer V3 LP NFTs into/out of MasterChefV3 to start or stop earning CAKE rewards.
- Harvest Rewards: Claim pending CAKE for staked positions without withdrawing the NFT.
- Collect Swap Fees: Collect accrued token fees from unstaked V3 LP positions.
- Position Discovery & Reporting: Auto-discover staked positions by scanning ERC-721 Transfer logs and verify on-chain via userPositionInfos; supports chunked scans and RPC overrides for archive nodes.
- Safety & Preview Modes: Dry-run previews, explicit --confirm execution, wallet resolution via onchainos, and explicit notes about treating external data as untrusted.
Quick Start
Use the pancakeswap-clmm-plugin to preview farming token ID 12345 and then run the same command with --confirm to stake and farm CAKE.