WeedSwap v3 Vaults
A WeedSwap v3 vault holds one concentrated-liquidity position and issues fungible ERC-20 shares.
#Vault custody
The vault, not the depositor, owns the underlying Uniswap v3 NFT. A user receives shares based on liquidity actually added. Those shares represent a proportional claim on position liquidity, idle token balances, and collected fees under the contract’s accounting.
#Constrained range
Each deployed vault fixes its token pair, fee tier, lower tick, and upper tick. Depositors do not choose a personal range inside that vault. A different range requires a different vault deployment and review.
#Deposit both tokens
A deposit supplies desired amounts for token0 and token1, nonzero token minimums, a maximum slippage value, a deadline, and a receiver. The current function has no caller-set minimum-share output. It rejects expired requests, weak token minimums, excess slippage, unsupported transfer behavior, and deposits that calculate zero shares. On the first deposit, the added liquidity must exceed the fixed minimum shares that are permanently locked.
A fully out-of-range position can require zero input on one side, but vault deposits require both desired amounts and both minima to be nonzero. Deposits can therefore fail while price remains outside the range.
#Vault shares
Shares are ERC-20 assets and can be transferred or staked in a compatible WeedChef pool. Their value is not fixed to one unit of either token. It changes with the vault’s underlying balances, liquidity, fees, and market price.
#Withdraw
A withdrawal burns shares, decreases a proportional amount of underlying liquidity, collects fees, and transfers the proportional token balances to the recipient. Protective minimum outputs and a deadline limit, but do not eliminate, execution risk.
A fully out-of-range position can return zero principal on one side, but redemption requires both token minimums to be nonzero. Vault shares can therefore be unable to redeem until the price re-enters the range.
#Independent review
#Risks
- Smart-contract or callback failure.
- Share-accounting or rounding error.
- Out-of-range concentrated liquidity.
- Impermanent loss and token-price volatility.
- External token or Uniswap v3 behavior.
- Low liquidity when entering or withdrawing.
#Current phase
No WeedSwap vault is deployed. Vault addresses and final ticks have not been published, so deposits, share issuance, staking, and withdrawals cannot be performed through the public interface.
