JBChainlinkV3PriceFeed
Manages and normalizes price feeds.
Code
https://github.com/jbx-protocol/juice-contracts-v2/blob/main/contracts/JBChainlinkV3PriceFeed.sol
Addresses
Ethereum mainnet: 0x729eE70bfdF65bEc7A530Fd49F644d07D0b2c087
Ethereum rinkeby: 0x59F6aEE20d746708539B4f2E75CA50F9dDCFdC70
Interfaces
Name | Description |
---|---|
IJBPriceFeed | General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules. |
Constructor
/**
@param _feed The feed to report prices from.
*/
constructor(AggregatorV3Interface _feed) {
feed = _feed;
}
_feed
is the feed to report prices from.
Properties
Function | Definition |
---|---|
feed | Returns |
Read
Function | Definition |
---|---|
currentPrice | Params
Returns
|