pub struct ConfigResponse {
pub admin: String,
pub pause_admin: String,
pub bond_denom: String,
pub liquid_token_addr: String,
pub staking_manager_addr: String,
pub treasury_contract_addr: String,
pub team_wallet_addr: String,
pub swap_fee_percentage: u16,
pub team_percentage: u16,
pub liquidity_min: Uint128,
pub contract_state: bool,
}Fields§
§admin: Stringshould be multi-sig, is able to update the config
pause_admin: Stringshould be single-sig, is able to pause the contract
bond_denom: StringThis is the denomination we can stake (and only one we accept for payments)
liquid_token_addr: StringLiquid token address
staking_manager_addr: StringStaking manager contract address
treasury_contract_addr: StringLiquid Treasury contract address
team_wallet_addr: StringThis is the team wallet address
swap_fee_percentage: u16Swap fee
team_percentage: u16team percentage of swap fee
liquidity_min: Uint128Minimal amount of new native token being added for liquidity
contract_state: boolcontract state (active/paused)
Trait Implementations§
Source§impl Clone for ConfigResponse
impl Clone for ConfigResponse
Source§fn clone(&self) -> ConfigResponse
fn clone(&self) -> ConfigResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigResponse
impl Debug for ConfigResponse
Source§impl<'de> Deserialize<'de> for ConfigResponse
impl<'de> Deserialize<'de> for ConfigResponse
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 ConfigResponse
impl JsonSchema for ConfigResponse
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 ConfigResponse
impl PartialEq for ConfigResponse
Source§fn eq(&self, other: &ConfigResponse) -> bool
fn eq(&self, other: &ConfigResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigResponse
impl Serialize for ConfigResponse
impl StructuralPartialEq for ConfigResponse
Auto Trait Implementations§
impl Freeze for ConfigResponse
impl RefUnwindSafe for ConfigResponse
impl Send for ConfigResponse
impl Sync for ConfigResponse
impl Unpin for ConfigResponse
impl UnsafeUnpin for ConfigResponse
impl UnwindSafe for ConfigResponse
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