BPEG'd Smart Oracle
Floor prices for NFT collections are provided by a custom built oracle that aggregates several price data feeds layered on Chainlink. Custom built and fit for purpose, our oracle ensures the most accurate price data is provided to the platform and negates the risk of malicious attacks and arbitrage.
Basis of logic
f(x)=x∗e2piiξx
Basis of smart contract
mport "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
contract NFTFloorPriceConsumerV3 {
AggregatorV3Interface internal nftFloorPriceFeed;
/**
* Network: Goerli - No Sepolia feeds available at this time
* Aggregator: CryptoPunks
* Address: 0x5c13b249846540F81c093Bc342b5d963a7518145
*/
constructor() {
nftFloorPriceFeed = AggregatorV3Interface(
0x5c13b249846540F81c093Bc342b5d963a7518145
);
}
/**
* Returns the latest price
*/
function getLatestPrice() public view returns (int) {
// prettier-ignore
(
/*uint80 roundID*/,
int nftFloorPrice,
/*uint startedAt*/,
/*uint timeStamp*/,
/*uint80 answeredInRound*/
) = nftFloorPriceFeed.latestRoundData();
return nftFloorPrice;
}
}
Aggregated Price Data Sources
Node Providers
Chainlayer
Inotel
LinkForest
SimplyVC
DexTrac
linkPool
SDL
Ztake
stakFacils
infStones
Syncnode
Vulcan
Last updated