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. Triggers the TokenPriceSet event.
Song Supply Functions
setMaxEditions - Sets the max supply for a song. Triggers the NewMax event.
songSupply - From IERC721J.
maxSongSupply - From IERC721J.
Staking Functions
publicMint - From IERC721JFull.
togglePublicMint - Toggles public minting on a token id. Also known as staking. Triggers the TogglePublic event.
togglePublicMints - Toggles public on more than one token id. For staking multiple songs. Triggers the TogglePublic event.
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. Triggers the NewSplit event.
Rarity Multiplier Functions
rarityMultiplier - From IERC721JFull.
setRarityMultiplier - Sets the % rarity multiplier for a rarity. This lets you have different rarities be different mint prices relative to the normal price. Triggers the NewMultiplier event.
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