August 2019
Intermediate to advanced
486 pages
13h 52m
English
As we discussed previously, there are some examples of the Pausable contract where it can be used to control the life cycle of a contract. We can use Pausable where administrative functionality is needed.
However, if you use the Pausable contract, then the PauserRole role has to be assigned to the account(s) that you can trust to pause or unpause the contract. If you are using the Pausable contract in your decentralized application, then it might not be called a pure decentralized application since it has a centralized feature that can pause/unpause functionality of contract. However, according to your system architecture, you can use or avoid using the Pausable contract.
The OpenZeppelin contract ...