Module oracle.move
Function: get_price
This function can be used by any caller to extract the price of a given asset pair. The price is returned as a tuple of three values: (u256, u64, u64). The first value is the price of the asset pair, the second value is the time stamp of the price, and the third value is the price's number of decimals.
Inputs
Full prototype: #[view] public fun get_price(pair_id: String): (u256, u64, u64)
pair_id: StringValidation: Must be a oracle stored in NativeOracleContract's
pricesmap.Impact: Specifies which asset pair's price to get.