get_domain_price_sol

Function get_domain_price_sol 

Source
pub fn get_domain_price_sol(
    domain_price_usd: u64,
    sol_pyth_feed_account: &AccountInfo<'_>,
    clock: &Clock,
) -> Result<u64, ProgramError>
Expand description

输入:域名价格 (单位 USD,对标 lamports) 输出:对应 lamports (u64)