提供基本资产价格抽象
由 陈希亮,王山,Acala 开发者 (80 位贡献者)
#75 在 #价格
91KB 2K SLoC
本模块用于从数据提供者(例如,预言机模块)获取价格,并为给定的 CurrencyId 对计算价格。 fn get_price(base_currency_id: CurrencyId, quote_currency_id: CurrencyId) -> Option<Price>
CurrencyId
fn get_price(base_currency_id: CurrencyId, quote_currency_id: CurrencyId) -> Option<Price>
~6–15MB ~199K SLoC