docs: 📝 Documentation added
This commit is contained in:
26
docs/lib/utils/Counters.md
Normal file
26
docs/lib/utils/Counters.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Counters
|
||||
|
||||
*buf0t9Modified from OpenZeppelin Contracts (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Counters.sol)*
|
||||
|
||||
> Counters
|
||||
|
||||
Provides counters that can only be incremented, decrementedor reset.
|
||||
|
||||
*Include with `using Counters for Counters.Counter;`*
|
||||
|
||||
|
||||
|
||||
## Errors
|
||||
|
||||
### DecOverflow
|
||||
|
||||
```solidity
|
||||
error DecOverflow()
|
||||
```
|
||||
|
||||
|
||||
|
||||
*0xce3a3d37*
|
||||
|
||||
|
||||
|
||||
26
docs/lib/utils/ReentrancyGuard.md
Normal file
26
docs/lib/utils/ReentrancyGuard.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# ReentrancyGuard
|
||||
|
||||
*z0r0z.ethModified from Seaport (https://github.com/ProjectOpenSea/seaport/blob/main/contracts/lib/ReentrancyGuard.sol)Modified from Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/ReentrancyGuard.sol)*
|
||||
|
||||
|
||||
|
||||
Reentrancy protection for smart contracts.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Errors
|
||||
|
||||
### Reentrancy
|
||||
|
||||
```solidity
|
||||
error Reentrancy()
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
12
docs/lib/utils/SafeTransferLib.md
Normal file
12
docs/lib/utils/SafeTransferLib.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# SafeTransferLib
|
||||
|
||||
*Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/SafeTransferLib.sol)*
|
||||
|
||||
|
||||
|
||||
Safe ETH and ERC20 transfer library that gracefully handles missing return values.
|
||||
|
||||
*Caution! This library won't check that a token has code, responsibility is delegated to the caller.*
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user