LPsLux Proposals
P-Chain
LP-3062

Liquid Staking Protocol

Final

Stake LUX without giving up liquidity — pooled P-Chain delegation, share accounting, a withdrawal queue with an instant-exit buffer, and a slashing insurance fund.

Category
Core
Created
2026-08-26

LP-3062: Liquid Staking Protocol

Abstract

Lux liquid staking lets LUX holders stake while retaining liquidity. Deposited LUX is delegated to validators on the P-Chain. Depositors receive a derivative — sLUX (LP-3063) or xLUX (LP-3064) — fully backed by the staked position and usable as collateral, tradeable, and composable in DeFi.

This LP specifies the pool: how deposits reach validators, how validators are chosen, how withdrawals clear, and who pays for a slashing event. The derivative tokens are specified in their own LPs.

Specification

Pool Accounting

The pool tracks shares, not balances:

totalShares:     total internal shares outstanding
totalPooledLUX:  total staked LUX + accrued rewards

value(account) = shares[account] * totalPooledLUX / totalShares

When staking rewards arrive, totalPooledLUX increases while totalShares does not, so each share is worth more LUX. This is the single accounting rule; the derivative tokens differ only in how they present it to holders. sLUX (LP-3063) is the LRC-4626 share itself. xLUX (LP-3064) is the master yield vault that holds sLUX alongside other yield sources.

Staking Flow

  1. User deposits LUX to the StakingPool contract on the C-Chain
  2. StakingPool exports the LUX to the P-Chain (LP-1000)
  3. The LUX is delegated to validators selected by the node operator set
  4. The user receives the derivative on the C-Chain

Validator Selection

The protocol selects validators on:

  • Uptime: above 95%
  • Commission: lower is preferred
  • Stake distribution: spread across validators to avoid concentration
  • Maximum per validator: 10% of total protocol stake

Withdrawal

Withdrawals are subject to the P-Chain unbonding period of two weeks minimum:

  1. User requests withdrawal by burning the derivative
  2. The request enters a withdrawal queue
  3. When the delegated LUX unstakes, it is returned to the user
  4. A withdrawal buffer holding 5% of total deposits serves small withdrawals instantly

Fee Structure

FeeRateRecipient
Staking reward commission10% of rewards5% treasury, 5% node operators
Instant withdrawal fee0.1%Withdrawal buffer liquidity providers

Oracle

The share exchange rate is published through the native oracle (LP-9005) for use in lending liquidations and other price-sensitive DeFi operations.

Security Considerations

  1. Validator slashing. If a delegated validator is slashed, the loss is socialized across holders. The protocol maintains a slashing insurance fund sized at 2% of total stake.
  2. De-peg risk. The derivative may trade below par during heavy withdrawal demand. The withdrawal buffer and DEX liquidity pools absorb the pressure.
  3. Oracle manipulation. The exchange rate is derived from on-chain pool state, not market price, so it cannot be moved by a flash loan.

Reference

ResourceLocation
Liquid staking contractsgithub.com/luxfi/standard/contracts/staking/
StakingPoolStakingPool.sol
sLUX staking receiptLP-3063
xLUX master yield vaultLP-3064
P-Chain core platformLP-1000
Native oracle protocolLP-9005

Copyright (c) 2026 Lux Industries Inc. All rights reserved.

Licensed under the MIT License.