Skip to main content
Git Source Inherits: Ownable, IApplicationEvents, IProtocolERC721Pricing Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett This contract is a simple pricing mechanism only. Its main purpose is to store prices. This contract allows for setting prices on entire collections or by tokenId

State Variables

VERSION

nftPrice

collectionPrice

Functions

setSingleNFTPrice

set the price for a single NFT from a collection
Parameters

setNFTCollectionPrice

set the price for whole collection. If an NFT has a price specific for it, the collection price would have the second priority.
Parameters

getNFTPrice

gets the price of an NFT. It will return the NFT’s specific price, or the price of the collection if no specific price has been given
Parameters Returns

getNFTCollectionPrice

gets the price of an NFT Collection. It will return the NFT Collection price to be used for each token Id (i.e. Floor Price).
Parameters Returns

version

gets the version of the contract
Returns