@melonproject/protocol
Version:
Technology Regulated and Operated Investment Funds
14 lines (13 loc) • 633 B
TypeScript
/**
* Get prices converted to the format our contracts expect
* @param {Object} env - Environment as used in our deploy scripts
* @param {string} fromSymbol - Quote asset symbol, used to price other assets
*/
export declare function getConvertedPrices(env: any, fromSymbol: any): Promise<{
[x: number]: any;
}>;
/**
* @param {Object} deployed - Object of deployed contracts from deployment script
* @param {Object} inputPrices - Optional object of asset addresses (keys) and prices (values)
*/
export declare function updateTestingPriceFeed(deployed: any, env: any, inputPrices?: {}, quoteSymbol?: string): Promise<void>;