@abcoathup I will surely post my experience on that thread (Smart Contract bootcamps/courses). But anyway, just an unrelated question, are there any contract examples about Pausable.sol
? I know it is like a Circuit breaker design pattern, I just want to see some implementations that might shed some light.
1 Like
Hi @josephnicholas,
The Pausable documentation describes how it can be used: (https://docs.openzeppelin.com/contracts/2.x/api/lifecycle#pausable)
The extension ERC20Pausable is an example of Pausable being used.
In ERC20Pausable the main functions of ERC20 are overriden to add the modifier:
As an aside, I moved this question into a new topic. I suggest creating a new topic per question, as it is easier for the community to answer, and for future people looking for an answer for a similar problem to find.
2 Likes