Extending multiple upgradeable ERC721 contracts

I'm having a hard time figuring out what functions I need to implement myself when making an NFT that inherits from ERC721PausableUpgradeable and ERC721BurnableUpgradeable. I'm assuming I don't need to change any of the functions that already exist in the two contracts except for `_BeforeTokenTransfer`. Also what variables do I need to initialize?

:computer: Environment

Latest Truffle Versions. Latest OpenZeppelin Version


:1234: Code to reproduce

1 Like

Hi @presidento23,

You can use the preset: ERC721PresetMinterPauserAutoIdUpgradeable as a guide:

For initialization, also see: https://docs.openzeppelin.com/contracts/3.x/upgradeable#multiple-inheritance

1 Like

A post was split to a new topic: Initialize ERC721 extending preset