OpenZeppelin / cairo-contracts

OpenZeppelin Contracts written in Cairo for Starknet, a decentralized ZK Rollup

Home Page:https://docs.openzeppelin.com/contracts-cairo

Repository from Github https://github.comOpenZeppelin/cairo-contractsRepository from Github https://github.comOpenZeppelin/cairo-contracts

Wizard: ERC721 implementation does not automatically expose SRC5

credence0x opened this issue · comments

This is missing from the wizard when you try to create a template ERC721
#[abi(embed_v0)] impl SRC5Impl = SRC5Component::SRC5Impl<ContractState>;

Not including it will cause indexers to misbehave

Hey @credence0x. supports_interface, the only function in SRC5Impl, is part of the ERC721Mixin implementation, which is exposed, so that shouldn't be an issue for indexers.

ah i see. thanks