Skip to content

Commit

Permalink
Move ERC20Votes and ERC20FlashMint out of draft (#2673)
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
  • Loading branch information
Amxx and frangio committed May 20, 2021
1 parent 7c754d0 commit f31bb10
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -9,6 +9,14 @@
* Tokens: Wrap definitely safe subtractions in `unchecked` blocks.
* `Math`: Add a `ceilDiv` method for performing ceiling division.

### Breaking Changes

* `ERC20FlashMint` is no longer a Draft ERC. ([#2673](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2673)))

**How to update:** Change your import paths by removing the `draft-` prefix from `@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20FlashMint.sol`.

> See [Releases and Stability: Drafts](https://docs.openzeppelin.com/contracts/4.x/releases-stability#drafts).
## 4.1.0 (2021-04-29)

* `IERC20Metadata`: add a new extended interface that includes the optional `name()`, `symbol()` and `decimals()` functions. ([#2561](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2561))
Expand Down
Expand Up @@ -3,7 +3,7 @@
pragma solidity ^0.8.0;


import "../token/ERC20/extensions/draft-ERC20FlashMint.sol";
import "../token/ERC20/extensions/ERC20FlashMint.sol";

contract ERC20FlashMintMock is ERC20FlashMint {
constructor (
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/ERC20VotesMock.sol
Expand Up @@ -3,7 +3,7 @@
pragma solidity ^0.8.0;


import "../token/ERC20/extensions/draft-ERC20Votes.sol";
import "../token/ERC20/extensions/ERC20Votes.sol";

contract ERC20VotesMock is ERC20Votes {
constructor (
Expand Down
Expand Up @@ -3,7 +3,7 @@
pragma solidity ^0.8.0;

import "./draft-ERC20Permit.sol";
import "./draft-IERC20Votes.sol";
import "./IERC20Votes.sol";
import "../../../utils/math/Math.sol";
import "../../../utils/math/SafeCast.sol";
import "../../../utils/cryptography/ECDSA.sol";
Expand Down

0 comments on commit f31bb10

Please sign in to comment.