Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
Emergency Shutdownable Contract
copy icon
UMA
• version 1.0.0
Abstract
Shutdown
Emergency
Failsafe
Audited

Emergency Shutdownable Contract

Audited

Any contract that inherits this contract will have an emergency shutdown timestamp state variable. This contract provides modifiers that can be used by children contracts to determine if the contract is in the shutdown state. The child contract is expected to implement the logic that happens once a shutdown occurs.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

UMA

Last Publish

11/5/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
_notEmergencyShutdown() :
This function is an internal view function that checks if the emergencyShutdownTimestamp is equal to 0. If it is, then the function returns true, otherwise it returns false. This function is used to check if the emergency shutdown has been activated or not. (autogenerated documentation)
_isEmergencyShutdown() :
This function checks if an emergency shutdown has been initiated. It does this by checking if the emergencyShutdownTimestamp variable is not equal to 0. If it is not equal to 0, then the function returns true, indicating that an emergency shutdown has been initiated. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i uma-emergency-shutdown
copy icon

Last Publish

11/5/2022

Version

1.0.0

Creator

UMA

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.