Skip to main content

upgrade_stake_table_v3_timelock_proposal

Function upgrade_stake_table_v3_timelock_proposal 

Source
pub async fn upgrade_stake_table_v3_timelock_proposal(
    provider: impl Provider,
    contracts: &mut Contracts,
    params: StakeTableV3TimelockProposalParams,
) -> Result<StakeTableV3TimelockProposal>
Expand description

Upgrade the stake table proxy to StakeTableV3 through a timelock owner.

Deploys the V3 implementation, then encodes schedule(...) and execute(...) timelock calldata. The inner payload is upgradeToAndCall(v3_impl, initializeV3()) targeting the stake table proxy. Mirrors upgrade_stake_table_v3_multisig_owner but routes through the timelock instead of a multisig.