Timelocks
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Pool Delegate wants to upgrade the poolManager to v2.
1. Call `globals.scheduleCall()`, passing the PoolManager address and the "upgrade" calldata properly encoded.
2. Wait for 2 weeks.
3. Call `upgrade` directly on the PoolManager.
The PoolManager contract will perform a check against Globals to ensure the call has been properly upgraded.1. Current timelock is 2 weeks
2. Actor A schedules a call to a contract.
3. After 1 week, the Governor changes the time to be 1 week.
3. A can immediately call execute the contract, since it's been 1 week since the call was scheduled.