mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/contracts/security
matmilbury 4ae655c368
Update link to Consensys best practices (#3597)
2 years ago
..
Pausable.sol Merge v4.7 back into master (#3516) 3 years ago
PullPayment.sol Update link to Consensys best practices (#3597) 2 years ago
README.adoc Reorganize the repo structure (#2503) 4 years ago
ReentrancyGuard.sol Modify ReentrancyGuard to reduce contract size (#3515) 3 years ago

README.adoc

= Security

[.readme-notice]
NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/security

These contracts aim to cover common security practices.

* {PullPayment}: A pattern that can be used to avoid reentrancy attacks.
* {ReentrancyGuard}: A modifier that can prevent reentrancy during certain functions.
* {Pausable}: A common emergency response mechanism that can pause functionality while a remediation is pending.

TIP: For an overview on reentrancy and the possible mechanisms to prevent it, read our article https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].

== Contracts

{{PullPayment}}

{{ReentrancyGuard}}

{{Pausable}}