Oracle
Config
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct Config {
pub owner: CanonicalAddr,
pub pyth_contract: CanonicalAddr,
pub new_owner: Option<CanonicalAddr>,
}Key
Type
Description
InitMsg
#[cw_serde]
pub struct InstantiateMsg {
pub pyth_contract: String,
pub owner: Addr,
}Key
Type
Description
ExecuteMsg
ConfigFeedInfo
Key
Type
Description
ChangeOwner
Key
Type
Description
SetConfigFeedValid
Key
Type
Description
ChangePythContract
Key
Type
Description
QueryMsg
QueryPrice
Key
Type
Description
PriceResponse
Key
Type
Description
QueryPrices
Key
Type
Description
QueryConfig
ConfigResponse
QueryPythFeederConfig
Key
Type
Description
PythFeederConfigResponse
Key
Type
Description
QueryExchangeRateByAssetLabel
Key
Type
Description
Last updated