Upgradable init chainned/unchainned logic

Hey guys,

I am reading the Upgradeable versions of the ERC1155 contracts and I saw something that I need some clarifiication

AFAIK the <….>_init_unchained() function initializes this contract and <…>_init() initializes the contract itself and the inherited contracts, correct me if I’m wrong

The __ERC1155Supply_init() function doesnt call __ERC1155_init or __ERC1155_init_unchained, by the logic above (if that is correct) it should,

Thanks in advance

3 Likes