SNIP 18: Staking’s First Stage on Starknet

SNIP 18 Update: Partial undelegate and Staker commission policy

This update includes two added functionalities to the Staking proposal: partial undelegate and functionality and Staker’s ability to change it’s commission policy.

A new commit with the updated SNIP was submitted to the SNIP repo.

Partial undelegate

We are incorporating a partial undelegation functionality into our proposal. This will allow any delegator to invoke the exit_delegation_pool_intent function with an amount that is either equal to or less than their total delegation. When this function is called, an event will be emitted containing the delegator’s address, the specified amount, and the time when the withdrawal will be allowed, considering the security lockup period of 21 days.

Once the security lockup period has passed, the delegator can withdraw their stake by invoking the exit_delegation_pool_action function.

If an undelegation intent is initiated but the corresponding undelegation action is not completed, any new undelegation intent will override the previous request, and the 21-day lockup period will reset from the time of the last call.

Staker commission

When a Staker joins the protocol, they can choose whether to be open to Delegation and set their rewards sharing parameter (R), i.e. their commission policy. A Staker can lower their commission rate but cannot increase it. This restriction is in place to prevent Stakers from attracting a large number of delegators with low commissions and then suddenly raising the rates.

In future versions, we may explore more sophisticated commission policies, such as time locks for changes, maximum allowable changes per time interval, and additional features.