Skip to main content

Staking and slashing

Kalypso introduces a unique staking mechanism known as "actively locked staking," designed to optimize the allocation of staked assets in a dynamic and efficient manner. This approach allows stakeholders to participate in the network's security and consensus mechanisms while ensuring that their assets are utilized effectively in response to actual demand.

The Mechanism of Actively Locked Staking

In Kalypso's framework, the total stake (S) represents the sum of all assets staked by a generator within the network. However, not all of this stake is statically locked. Instead, Kalypso dynamically locks a portion of the stake based on the real-time demand for services (e.g., processing transactions or validating information). This dynamically locked portion is referred to as the "actively locked stake" (AS).

The calculation of AS is formalized as follows:

AS=i(ni×ki)AS = \sum_{i}(n_i \times k_i)

Where:

  • nin_i denotes the number of requests assigned to the generator in the ith market.
  • kik_i represents the cost stake locked per request for the ith market.

This formula ensures that only the necessary amount of stake is locked to service current demands, allowing the rest of the stakeholders' assets to remain free or "unlocked."

How Slashing Works in Kalypso

In the event that a generator fails to produce the required proof within a predetermined timeframe, Kalypso enforces a penalty by slashing a portion of the stake associated with the failed task. The amount slashed corresponds to kik_i which is the cost stake locked per request for the ith market as defined in the actively locked staking model.

Stake Slashed on Failure=ki\text{Stake Slashed on Failure}=k_i

Where:

  • kik_i represents the cost stake locked per request for the ith market.

Implications of Actively Locked Staking

The actively locked staking mechanism ensures that the total stake SS minus the actively locked stake ASAS remains unlocked and available for other purposes unless there's a surge in demand. Specifically,

Unlocked Stake=SAS\text{Unlocked Stake} = S - AS

This portion of the stake, while not actively locked, is still under the control of the matching engine, which reserves the right to lock additional stakes in response to increased demand from the market.

Advantages of This Approach

  • Efficiency and Flexibility: By only locking the portion of the stake that is needed based on current market demands, Kalypso ensures that the staking mechanism is both efficient and flexible.
  • Market Responsiveness: This model allows Kalypso to quickly adapt to changes in demand, locking additional stakes as required to meet the needs of the market.

This actively locked staking approach presents a significant evolution in how staked assets are managed, promising enhanced efficiency and adaptability for blockchain networks.