LPsLux Proposals
P-Chain
LP-9211

Restaking

Final

Opt-in reuse of staked LUX as slashable security for external services, with per-AVS bonds, capped slashing, and delegation to operators

Category
LRC
Created
2025-12-01

Abstract

Restaking allows staked LUX — or a liquid staking token backed by it — to secure additional services beyond base Lux consensus. Those services are AVSes (Actively Validated Services). Restakers opt into an AVS, granting it slashing rights over the restaked capital, and in return earn additional yield from AVS fees. The result is a marketplace for cryptoeconomic security in which a new protocol can bootstrap without recruiting its own validator set.

Motivation

A new service needs a validator set before anyone will trust it, and nobody will validate for a service nobody trusts. Restaking breaks that circle by letting capital that is already bonded to Lux be bonded a second time, voluntarily and with a hard cap on what any one service can take. Security stops being something each protocol must grow and becomes something it can rent.

Specification

Restaking Manager

The central contract manages restaking positions:

struct Restaker {
    address owner;
    uint256 stakedAmount;        // native LUX or a liquid staking token
    address[] optedAVSes;        // AVSes this restaker has opted into
    mapping(address => uint256) avsBond;  // per-AVS slashable bond
}

AVS Registration

An Actively Validated Service registers with the restaking protocol:

AVS {
    address     avsContract;     // AVS logic contract
    uint256     minBond;         // minimum restaked amount per operator
    uint256     maxSlashPct;     // maximum slashable percentage (e.g., 50%)
    address     slashOracle;     // contract that can trigger slashing
    uint256     rewardRate;      // LUX/second distributed to restakers
}

Opt-In Flow

  1. Restaker deposits LUX or a liquid staking token into RestakingManager
  2. Restaker calls optInToAVS(avsAddress, bondAmount)
  3. Bond is locked and slashable by the AVS
  4. Restaker begins earning AVS rewards

Slashing

When an AVS detects misbehavior:

  1. slashOracle submits a slashing proof to RestakingManager
  2. RestakingManager verifies the proof against AVS-specific validation logic
  3. Slashed amount (up to maxSlashPct of bond) is burned or sent to the AVS insurance fund
  4. Restaker's position is reduced

Withdrawal

Restakers can withdraw unstaked capital after an unbonding period:

  • Unstake request: initiates unbonding (7-day delay)
  • Unbonding: during this period, the AVS can still slash (for past misbehavior)
  • Withdraw: after unbonding, capital is returned

Delegation

Restakers can delegate to operators who run AVS infrastructure:

  • Delegators share rewards and slashing proportionally
  • Operators take a commission (configurable, default 10%)
  • Delegators can re-delegate at any time (after unbonding from previous operator)

Example AVSes

AVSServiceSlash Condition
Bridge relayer (LP-6000)Cross-chain message relayFailed to relay valid message
Oracle provider (LP-9005)Price feed submissionSubmitted price >2 sigma from median
DA committee (LP-8501)Data availability samplingFailed to respond to DA queries
Sequencer (LP-8504)L2 transaction orderingEquivocation (signed conflicting batches)

Rationale

The unbonding delay must outlast the AVS's own fraud-detection window, otherwise a validator could misbehave and exit before the evidence arrives. Seven days with slashing still live during unbonding is what makes the bond mean anything at the moment it matters.

Security Considerations

  1. Cascading slashing: a restaker opted into multiple AVSes can be slashed by all simultaneously. Maximum total slashing is the full bond.
  2. AVS risk assessment: restakers must evaluate AVS slashing conditions. Malicious AVSes could slash unjustly. The maxSlashPct cap limits damage.
  3. Economic security: an AVS's security is bounded by the total restaked capital opted in. New AVSes may have low initial security.

Reference

ResourceLocation
Restaking contractsgithub.com/luxfi/standard/contracts/restaking/
RestakingManagerRestakingManager.sol
AVS registryAVSRegistry.sol
  • LP-1000 — base staking and the validator set
  • LP-9007 — oracle provider bonds, one concrete AVS
  • LP-9403 — private staking positions

Copyright (C) 2024-2026, Lux Industries Inc. All rights reserved.

Licensed under the MIT License.