JBPrices
Manages and normalizes price feeds.
Code
https://github.com/jbx-protocol/juice-contracts-v2/blob/main/contracts/JBPrices.sol
Addresses
Ethereum mainnet: 0xCDE93bdA2a706Fc652F7e75241bA949aCB9f4Fe5
Ethereum rinkeby: 0xFF1D73AB28140b574Bb7A90e9fBCeD1eDAFce5c1
Interfaces
Name | Description |
---|---|
IJBPrices | General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules. |
Inheritance
Contract | Description |
---|---|
Ownable | Includes convenience functionality for checking a message sender's permissions before executing certain transactions. |
Constructor
/**
@param _owner The address that will own the contract.
*/
constructor(address _owner) {
// Transfer the ownership.
transferOwnership(_owner);
}
_owner
is the address that will own the contract.
Events
Name | Data |
---|---|
AddFeed |
|
Properties
Function | Definition |
---|---|
feedFor | Params
Returns |
Read
Function | Definition |
---|---|
priceFor | Params
Returns
|
Write
Function | Definition |
---|---|
addFeedFor | Traits Params
|