Defines xLUX, the master yield vault token for Lux Network. xLUX aggregates multiple yield sources: sLUX staking rewards (LP-093), protocol fee revenue (LP-081), and DEX trading fees. Users deposit LUX and receive xLUX shares. The vault auto-compounds all yield sources, maximizing returns without manual intervention. xLUX is the canonical yield-bearing LUX representation.
contract LiquidLUX is ERC4626 {
function deposit(uint256 assets, address receiver) external payable returns (uint256 shares);
function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);
}
The vault allocates deposited LUX across strategies:
Allocations are rebalanced weekly by the strategy manager (governance-appointed, no withdrawal access).
xLUX_rate = totalAssets() / totalSupply()
xLUX exchange rate only increases (barring slashing events). All yield is auto-compounded into the vault, increasing totalAssets.
1. The strategy manager can reallocate but cannot withdraw. Withdrawal requires the ERC-4626 redeem flow.
2. The 2% management fee is capped. Governance cannot increase it above 5%.
3. Slashing in the underlying sLUX reduces xLUX exchange rate. Users bear this risk.
4. DEX liquidity provision carries impermanent loss risk, mitigated by the 10% allocation cap.
github.com/luxfi/standard/contracts/staking/LiquidLUX.sol |github.com/luxfi/standard/contracts/staking/StrategyManager.sol |Copyright (C) 2025-2026, Lux Partners Limited. All rights reserved.
Licensed under the MIT License.