pub enum SubscriptionExecuteMsg {
Pay {
os_id: u32,
},
Unsubscribe {
os_ids: Vec<u32>,
},
ClaimCompensation {
os_id: u32,
},
ClaimEmissions {
os_id: u32,
},
UpdateContributor {
contributor_os_id: u32,
base_per_block: Option<Decimal>,
weight: Option<Uint64>,
expiration_block: Option<Uint64>,
},
RemoveContributor {
os_id: u32,
},
UpdateSubscriptionConfig {
payment_asset: Option<AssetInfoUnchecked>,
version_control_address: Option<String>,
factory_address: Option<String>,
subscription_cost: Option<Decimal>,
},
UpdateContributionConfig {
protocol_income_share: Option<Decimal>,
emission_user_share: Option<Decimal>,
max_emissions_multiple: Option<Decimal>,
project_token_info: Option<AssetInfoUnchecked>,
emissions_amp_factor: Option<Uint128>,
emissions_offset: Option<Uint128>,
},
}Variants§
Pay
Unsubscribe
ClaimCompensation
ClaimEmissions
UpdateContributor
Fields
RemoveContributor
UpdateSubscriptionConfig
Fields
§
payment_asset: Option<AssetInfoUnchecked>UpdateContributionConfig
Trait Implementations§
source§impl Clone for SubscriptionExecuteMsg
impl Clone for SubscriptionExecuteMsg
source§fn clone(&self) -> SubscriptionExecuteMsg
fn clone(&self) -> SubscriptionExecuteMsg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SubscriptionExecuteMsg
impl Debug for SubscriptionExecuteMsg
source§impl<'de> Deserialize<'de> for SubscriptionExecuteMsg
impl<'de> Deserialize<'de> for SubscriptionExecuteMsg
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for SubscriptionExecuteMsg
impl JsonSchema for SubscriptionExecuteMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq<SubscriptionExecuteMsg> for SubscriptionExecuteMsg
impl PartialEq<SubscriptionExecuteMsg> for SubscriptionExecuteMsg
source§fn eq(&self, other: &SubscriptionExecuteMsg) -> bool
fn eq(&self, other: &SubscriptionExecuteMsg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.