Feature Functions
There are various features in the ERC721J contract. Here are the functions related to each feature.
Mint Price Functions
mintPrice - From IERC721J.
tokenMintPrice - From IERC721JFull.
setMintPrice - Sets the mint price in ETH
setTokenMintPrice - Sets the mint price in an ERC20 token
Song Supply Functions
setMaxEditions - Sets the max supply for a song
songSupply - From IERC721J.
maxSongSupply - From IERC721J.
Staking Functions
publicMint - From IERC721JFull.
togglePublicMint - Toggles public minting on a token id. Also known as staking.
togglePublicMints - Toggles more than one token id at once. For staking multiple songs at once.
Recycle Functions
recycleEnabled - Returns whether or not recycling is enabled for the collection
toggleRecycleMint - Toggles recycling mode on/off
Split Contract Functions
splits - Returns the split address for the song id
setSplit - Sets the split address for the song id
Rarity Multiplier Functions
rarityMultiplier - From IERC721JFull.
setRarityMultiplier - Sets the % rarity multiplier for a rarity. This lets you have different rarities be different amounts relative to the regular mint price.
Royalty Functions
royaltyInfo - From IERC2981.
royaltyBPS - Returns the basis points for royalties to be used in royaltyInfo.
setRoyalty - Sets the royalty basis points.
Last updated