JBPrices
Manages and normalizes price feeds.
Code
https://github.com/jbx-protocol/juice-contracts-v3/blob/main/contracts/JBPrices.sol
Addresses
Ethereum mainnet: 0x63CF55ab55ABcaD4E84335B80bbE3D2DefA09410
Goerli testnet: 0x9f0eC91d28fFc54874e9fF11A316Ba2537aCD72C
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
|