-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Every CommunityContract should also accept metadata in its init parameters, and store it as public variables:
string name; // of community and NFT roles, in init params
string symbol; // of NFT roles, in init params
string baseURI; // as in NFT, in init params
string suffix; // as in NFT contract, in init params
function setBaseURI(string) public onlyOwners; // note role: OWNERS
function setSuffix(string) public onlyOwners; // note role: OWNERS
function tokenURI(tokenId) public view returns (string); // use baseURI, suffix also
string communityURI; // usually a domain like mycommunity.com
function setCommunityURI(string) public onlyOwners;