Renamed files and replaced occurencies of 'Stoppable' to 'Pausable'

This commit is contained in:
João Gabriel Carvalho
2017-01-30 23:30:43 -02:00
parent 26127ee36a
commit ae73f1a564
6 changed files with 60 additions and 60 deletions

26
docs/source/pausable.rst Normal file
View File

@ -0,0 +1,26 @@
Pausable
=============================================
Base contract that provides an emergency stop mechanism.
Inherits from contract Ownable.
emergencyStop( ) external onlyOwner
"""""""""""""""""""""""""""""""""""""
Triggers the stop mechanism on the contract. After this function is called (by the owner of the contract), any function with modifier stopInEmergency will not run.
modifier stopInEmergency
"""""""""""""""""""""""""""""""""""""
Prevents function from running if stop mechanism is activated.
modifier onlyInEmergency
"""""""""""""""""""""""""""""""""""""
Only runs if stop mechanism is activated.
release( ) external onlyOwner onlyInEmergency
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Deactivates the stop mechanism.