Smart Contract Deployment

The deployment of staking vaults follows a permissioned process managed by Northstake to ensure proper security configurations and role assignments.


Contract Deployment

Northstake deploys the staking vault contract on Ethereum, initializing the core parameters, including whether MEV (Maximal Extractable Value) is enabled. TheisMevEnabled flag is set at deployment:

If isMevEnabled = true, users may receive MEV rewards.

If isMevEnabled = false, MEV rewards won't be transferrable to the contract.


Role Assignment

Once deployed, Northstake assigns key roles:

OPERATOR_ROLE – Assigned to a wallet controlled by Northstake to manage validator operations.

ORACLE_ROLE – Assigned to an oracle wallet to update off-chain data.

DEPOSITOR_ROLE – assigned to user-controlled wallet addresses, allowing them to deposit and withdraw ETH.


Transfer of Default Admin Role

Northstake can either:

  • Retains the DEFAULT_ADMIN_ROLE to manage further role updates - the service is custodial.
  • Transfers the DEFAULT_ADMIN_ROLE to a custodian or another designated wallet - the service is non-custodial.