How can I set a time interval for upgrading an upgradable smart contract

:1234: Code to reproduce

:computer: Environment

strong text

Please be more specific with your question. See How do I ask a good question?

I have an upgradable smart contract. I just wanted to know if there is any specific way to set a time interval between any 2 upgrades of this upgreadable contract.If so, please
let me know.

It depends on your proxy pattern:

  • with a transparent proxy that is not possible (at least not without a custom proxyAdmin)
  • with a UUPS proxy, you include use any logic in the _authorizeUpgrade function.

Depending on what you are trying to achieve, you might also just want to have your upgradeable proxy managed by a timelock.