PriceAggregatorUtils
initializePriceAggregator
function initializePriceAggregator(address _linkErc677, contract IChainlinkFeed _linkUsdPriceFeed, uint24 _twapInterval, uint8 _minAnswers, address[] _oracles, bytes32[2] _jobIds, uint8[] _collateralIndices, struct IPriceAggregator.LiquidityPoolInput[] _gnsCollateralLiquidityPools, contract IChainlinkFeed[] _collateralUsdPriceFeeds) externalupdateLinkUsdPriceFeed
function updateLinkUsdPriceFeed(contract IChainlinkFeed _value) publicupdateCollateralUsdPriceFeed
function updateCollateralUsdPriceFeed(uint8 _collateralIndex, contract IChainlinkFeed _value) publicupdateCollateralGnsLiquidityPool
function updateCollateralGnsLiquidityPool(uint8 _collateralIndex, struct IPriceAggregator.LiquidityPoolInput _liquidityPoolInput) publicupdateTwapInterval
updateMinAnswers
addOracle
replaceOracle
removeOracle
setMarketJobId
setLimitJobId
getPrice
fulfill
claimBackLink
getLinkFee
getCollateralPriceUsd
getUsdNormalizedValue
getCollateralFromUsdNormalizedValue
getGnsPriceUsd
getGnsPriceUsd
getGnsPriceCollateralAddress
getGnsPriceCollateralIndex
getLinkUsdPriceFeed
getTwapInterval
getMinAnswers
getMarketJobId
getLimitJobId
getOracle
getOracles
getCollateralGnsLiquidityPool
getCollateralUsdPriceFeed
getPriceAggregatorOrder
getPriceAggregatorOrderAnswers
getChainlinkToken
getRequestCount
getPendingRequest
_getSlot
_getStorage
_getMultiCollatDiamond
validCollateralIndex
_median
Parameters
Name
Type
Description
_medianLookbacks
Parameters
Name
Type
Description
_swap
Parameters
Name
Type
Description
_sort
Parameters
Name
Type
Description
_getCollateralPrecisionDelta
Parameters
Name
Type
Description
Last updated
Was this helpful?