PancakeBoostedDelegate
The PancakeBoostedDelegate is the market contract that accepts V3LPVault shares as collateral. Unlike Morpho markets, this contract does not move funds elsewhere; the underlying asset is the yield-bearing vault share itself.
🛠️ Key Functions & Parameters
✅ vaultTotalAssets()
Returns the total token0-equivalent value of all LP positions held by the underlying vault.
Returns:
uint256: Total assets.
✅ vaultSharesHeld()
Returns the amount of vault shares currently held by this pToken contract (i.e., the total collateral supplied by users).
Returns:
uint256: Share balance.
✅ vaultTickRange()
Returns the configured tick range for the underlying concentrated liquidity position.
Returns:
int24 tickLower: Lower bound of the LP range.int24 tickUpper: Upper bound of the LP range.
✅ convertVaultSharesToAssets(uint256 shares)
Helper to estimate the underlying value of a given amount of shares.
Parameters:
shares: Amount of vault shares.
Returns:
uint256: Estimated value in Token0 terms.
⚙️ Underlying Vault Mechanics
This market wraps a V3LPVault4626. The vault manages:
Auto-Compounding: Trading fees are automatically collected and reinvested into the position.
Pricing: The
V3LPVaultOracledetermines the secure TWAP value of the LP shares to ensure safe borrowing limits.
For more details on the vault implementation, refer to the codebase contracts/pancakev3/.
Last updated