Hi, I need to generate a contract to tokenise vehicles.
The issue is that I am not clear which contracts I should import from OpenZeppelin.
The customer wants the tokens to be burnable.
I understand that for that I must import this contract that serves for that purpose.
import “@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721BurnableUpgradeable.sol”;
If I import ERC721, I am importing ERC721BurnableUpgradeable and all the other contracts? what is better, import only the contracts I need? in case of importing only ERC721BurnableUpgradeable, which one should I import in addition?
Thank you very much!
May 25, 2021, 2:06 PM