You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interfaceIERC721Minter {
function mint(addressto, uint256id) external;
function isMinter(addressmaybeMinter) publicviewreturns (bool);
}
so that dApps can check whether the Erdstall ERC721MinterHolder can mint on it. A dApp would just call isMinter with the holder address and it would return true if it's an ERC721Minter and the holder can mint. If the call errors, it means that the contract doesn't implement isMinter, so in particular, it's then not a ERC721Minter.
The text was updated successfully, but these errors were encountered:
We should extend the
IERC721Minter
interface toso that dApps can check whether the Erdstall
ERC721MinterHolder
can mint on it. A dApp would just callisMinter
with the holder address and it would returntrue
if it's anERC721Minter
and the holder can mint. If the call errors, it means that the contract doesn't implementisMinter
, so in particular, it's then not aERC721Minter
.The text was updated successfully, but these errors were encountered: