In the documentation we have a function “get_sui_price” which takes “price_info_object: &PriceInfoObject" as argument:
public fun get_sui_price( // Other arguments clock: &Clock, price_info_object: &PriceInfoObject,): I64 {
My question is would it be possible to create such a function without having &PriceInfoObject as an argument? We could get this reference in the code of the function by any other mean but I don’t see how..