Struct mito_protocol::launchpad::InstantiateMsg
source · pub struct InstantiateMsg {Show 16 fields
pub project_owner: String,
pub project_token_denom: String,
pub quote_denom: String,
pub hard_cap: Option<Uint128>,
pub amm_launch_config: Option<AmmLaunchConfig>,
pub vesting_config: Option<VestingConfig>,
pub use_whitelist: bool,
pub staked_to_subscription: BTreeMap<Uint128, Uint128>,
pub mito_treasury_address: String,
pub master_address: String,
pub target_usd_subscription_incl_vault: FPDecimal,
pub quote_price_set_once_before_start_in_seconds: u64,
pub quote_pyth_pricefeed_id: String,
pub oracle_stale_time: u64,
pub quote_decimals: u8,
pub mito_treasury_fee_basis_points: u16,
}Fields§
§project_owner: String§project_token_denom: String§quote_denom: String§hard_cap: Option<Uint128>§amm_launch_config: Option<AmmLaunchConfig>§vesting_config: Option<VestingConfig>§use_whitelist: bool§staked_to_subscription: BTreeMap<Uint128, Uint128>§mito_treasury_address: String§master_address: String§target_usd_subscription_incl_vault: FPDecimal§quote_price_set_once_before_start_in_seconds: u64§quote_pyth_pricefeed_id: String§oracle_stale_time: u64§quote_decimals: u8§mito_treasury_fee_basis_points: u16Trait Implementations§
source§impl Clone for InstantiateMsg
impl Clone for InstantiateMsg
source§fn clone(&self) -> InstantiateMsg
fn clone(&self) -> InstantiateMsg
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 InstantiateMsg
impl Debug for InstantiateMsg
source§impl<'de> Deserialize<'de> for InstantiateMsg
impl<'de> Deserialize<'de> for InstantiateMsg
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 InstantiateMsg
impl JsonSchema for InstantiateMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. 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 for InstantiateMsg
impl PartialEq for InstantiateMsg
source§fn eq(&self, other: &InstantiateMsg) -> bool
fn eq(&self, other: &InstantiateMsg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for InstantiateMsg
impl Serialize for InstantiateMsg
impl Eq for InstantiateMsg
impl StructuralPartialEq for InstantiateMsg
Auto Trait Implementations§
impl Freeze for InstantiateMsg
impl RefUnwindSafe for InstantiateMsg
impl Send for InstantiateMsg
impl Sync for InstantiateMsg
impl Unpin for InstantiateMsg
impl UnwindSafe for InstantiateMsg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)