跳到主要内容

IJBPrices

Git Source

Functions

DEFAULT_PROJECT_ID

function DEFAULT_PROJECT_ID() external view returns (uint256);

PROJECTS

function PROJECTS() external view returns (IJBProjects);

priceFeedFor

function priceFeedFor(
uint256 projectId,
uint256 pricingCurrency,
uint256 unitCurrency
)
external
view
returns (IJBPriceFeed);

pricePerUnitOf

function pricePerUnitOf(
uint256 projectId,
uint256 pricingCurrency,
uint256 unitCurrency,
uint256 decimals
)
external
view
returns (uint256);

addPriceFeedFor

function addPriceFeedFor(
uint256 projectId,
uint256 pricingCurrency,
uint256 unitCurrency,
IJBPriceFeed feed
)
external;

Events

AddPriceFeed

event AddPriceFeed(
uint256 indexed projectId,
uint256 indexed pricingCurrency,
uint256 indexed unitCurrency,
IJBPriceFeed feed,
address caller
);