use crate::{
InternalError,
cdk::spec::standards::xrc::{ExchangeRate, GetExchangeRateRequest},
ops::ic::xrc::XrcOps,
};
pub struct XrcWorkflow;
impl XrcWorkflow {
#[expect(dead_code)]
pub async fn get_exchange_rate(
req: GetExchangeRateRequest,
) -> Result<ExchangeRate, InternalError> {
XrcOps::get_exchange_rate(req, XrcOps::DEFAULT_XRC_CYCLES).await
}
}