Skip to main content

Endemic Collection Factory

This contract is used to create new collections for artists. New contracts are owned by the artists.

Endemic team can also create collections for artists and mint their art for them. Artist still owns everything, but trusts Endemic with helping them onboard in the NFT space. Artwork can't be minted by our team in collections that are created by the artist though our Create page.

Methods

createToken

function createToken(DeployParams calldata params) external onlyRole(MINTER_ROLE)

Deploys new ERC-721 contract, callable by accounts with minter roles.

DeployParams parameters

NameTypeDescription
namestringname of the collection
symbolstringsymbol of the collection
categorystringcategory Art or Collectible
royaltiesuint256royalties for collection

createTokenForOwner

function createTokenForOwner(OwnedDeployParams calldata params) external onlyRole(DEFAULT_ADMIN_ROLE)

Deploys new ERC-721 contract for an account, callable by admins of the factory contract

DeployParams parameters

NameTypeDescription
ownerstringowner of the collection
namestringname of the collection
symbolstringsymbol of the collection
categorystringcategory Art or Collectible
royaltiesuint256royalties for collection