NFTOracle
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "NFTOracle"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NFTOracle"
ABI
ABI objects
Getter at block 21157633
maxPriceDeviation() view returns (uint256)
0
maxPriceDeviationWithTime() view returns (uint256)
0
minUpdateTime() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
priceFeedAdmin() view returns (address)
0x0000000000000000000000000000000000000000
timeIntervalWithPrice() view returns (uint256)
0
twapInterval() view returns (uint256)
0
Read-only
calculateTwapPrice(address _nftContract) view returns (uint256)
getAssetPrice(address _nftContract) view returns (uint256)
getLatestRoundId(address _nftContract) view returns (uint256)
getLatestTimestamp(address _nftContract) view returns (uint256)
getPreviousPrice(address _nftContract, uint256 _numOfRoundBack) view returns (uint256)
getPreviousTimestamp(address _nftContract, uint256 _numOfRoundBack) view returns (uint256)
getPriceFeedLength(address _nftContract) view returns (uint256 length)
nftPaused(address) view returns (bool)
nftPriceFeedKeys(uint256) view returns (address)
nftPriceFeedMap(address) view returns (bool registered)
twapPriceMap(address) view returns (uint256)
State-modifying
Events addAsset(address _nftContract)
initialize(address _admin, uint256 _maxPriceDeviation, uint256 _maxPriceDeviationWithTime, uint256 _timeIntervalWithPrice, uint256 _minUpdateTime, uint256 _twapInterval)
removeAsset(address _nftContract)
renounceOwnership()
setAssetData(address _nftContract, uint256 _price)
setAssets(address[] _nftContracts)
setDataValidityParameters(uint256 _maxPriceDeviation, uint256 _maxPriceDeviationWithTime, uint256 _timeIntervalWithPrice, uint256 _minUpdateTime)
setMultipleAssetsData(address[] _nftContracts, uint256[] _prices)
setPause(address _nftContract, bool val)
setPriceFeedAdmin(address _admin)
setTwapInterval(uint256 _twapInterval)
transferOwnership(address newOwner)
AssetAdded(address indexed asset)
AssetRemoved(address indexed asset)
FeedAdminUpdated(address indexed admin)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetAssetData(address indexed asset, uint256 price, uint256 timestamp, uint256 roundId)
SetAssetTwapPrice(address indexed asset, uint256 price, uint256 timestamp)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.