ERC20PresetMinterPauser is no longer available?

I am following the OpenZeppelin documentation and I found that ERC20 contract had a preset called ERC20PresetMinterPauser but when I try to work with it importing it like: import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol"; it looks that it is no longer available.

I looked thorught the github repository but i could not find something similtar to that preset so i was wondering if it is no longer supported? If that is the case, what alternative could be useful to replace that preset? I am trying to implement a stablecoin for my local network.

Thanks

Hi, welcome to the community! :wave:

ERC20PresetMinterPauser.sol has been remove after OpenZeppelin/openzeppelin-contracts/@0.5.x, there is a PR about this: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3637
I think you can use OpenZeppelin Contracts Wizard to do this at now, select the Mintable option like this:

And you can also use the version 0.4.x to use ERC20PresetMinterPauser.sol contract