Dapp Use Cases
Timelock Verification
Make sure that a timelock has been correctly triggered for governance actions
Use Case
Many DeFi protocols use timelocks to delay the execution of governance actions. It is important to make sure that timelocks are working as expected. Similarly it’s important to make sure that the admin is the same as the pre-state admin. This is useful since admins usually have additional privileges and could be used to manipulate the protocol.
Explanation
This assertion makes sure that the timelock has been correctly triggered for governance actions. It also check that the admin is the same as the pre-state admin.