movementlabsxyz / movement

The Movement Network is a Move-based L2 on Ethereum.
Apache License 2.0
65 stars 61 forks source link

Add Experimental Delegation to MCR Contract for Conceptual Review #373

Open l-monninger opened 1 month ago

l-monninger commented 1 month ago

Is your feature request related to a problem? Please describe. Per discussion #371, the time has come to implement MCR. This request is for an initial experimental implementation to faciliate further discussion.

Describe the solution you'd like

  1. SHOULD implement the multi-indirection reference in #371.
  2. MUST update the stake method in MovementStaking to accept a parameter delegate which will specify the delegate behind which we stake.
  3. MUST update the unstake method in MovementStaking to accepter a parameter delegate which will specify the delegate from which we unstake.
  4. MUST update the stake weights computed to respect the delegate values.
l-monninger commented 1 month ago

Delegation is only relevant to decentralized launch.