DSAuth-protected stop and start
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib dapp upgrade ds-test Dec 2, 2018
src accept solc 0.4.23 Dec 2, 2018
.gitignore dapp-init ds-stop May 4, 2017
.gitmodules
Dappfile
LICENSE
Makefile
README.md update README for dapp.tools Nov 16, 2017
default.nix Add default.nix May 8, 2018

README.md

DSStop

DSAuth-protected stop and start

A simple package that adds a stoppable modifier, with DSAuth protected stop and start functions. Decorating a function with the stoppable modifier will ensure that it can only execute if the state is not stopped.

Useful in situations where one needs to halt a system for maintenance, in case of emergency, or to simply wind it down after a temporary lifespan.

Actions

stop

Set stopped to true (requires auth)

start

Set stopped to false (requires auth)