lock_lp
Lock LP tokens in the LPLocker contract on Base with time-based unlock. Automates ERC-20 approval; input token, amount, and duration.
Instructions
Lock LP tokens in the LPLocker contract on Base. Handles ERC-20 approval automatically. Requires DEPLOYER_PRIVATE_KEY env var. Fee: 0.001 ETH per lock.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | LP token contract address to lock | |
| amount | Yes | Amount of LP tokens to lock (human-readable, e.g. '1000') | |
| duration_days | Yes | Lock duration in days |