Community
InitMsg
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct InitMsg {
pub owner: HumanAddr,
pub mirror_token: HumanAddr,
pub spend_limit: Uint128,
}{
"owner": "terra1...",
"mirror_token": "terra1...",
"spend_limit": "123456",
}Key
Type
Description
HandleMsg
UpdateConfig
UpdateConfig#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
#[serde(rename_all = "snake_case")]
pub enum HandleMsg {
UpdateConfig {
owner: Option<HumanAddr>,
spend_limit: Option<Uint128>,
}
}{
"update_config": {
"owner": "terra1...",
"spend_limit": "10000000"
}
}Key
Type
Description
Spend
SpendKey
Type
Description
QueryMsg
Config
ConfigKey
Type
Description
Key
Type
Description
Last updated