Data Feeds
To save gas cost, we compress multiple NFT floor price data into a single smart contract. Each oracle can support up to 7 NFT collection floor prices so far.
Bored Ape, Mutant Ape, Doodles, CryptoPunks, Moonbirds, CloneX, Azuki
Due to the data compression mechanism, the floor price of any supported NFT collections that moves more than deviation threshold will trigger all NFT floor price updates.
Contract Methods
getAssetPrice()
Get latest NFT floor price.
asset
address
address of the NFT contract
For CryptoPunks, please use Wrapper Punks address to get floor price because CryptoPunks is not using standard ERC721 contract and we actually convert original punks into wrapped punks when borrowers deposit them as collateral.
getAddressList()
Get supported NFT collections.
getLatestTimestamp()
Get the latest update timestamp.
The oracle contract only has a single update timestamp for all 7 NFT collections because all the prices will be updated when the batchSetAssetPrice()
method is called.
Last updated