27 lines
378 B
Markdown
27 lines
378 B
Markdown
# 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*
|
|
|
|
|
|
|