Docs.rs
  • mars-params-1.0.4
    • mars-params 1.0.4
    • Docs.rs crate page
    • GPL-3.0-or-later
    • Links
    • Homepage
    • Documentation
    • Repository
    • crates.io
    • Source
    • Owners
    • grod220
    • piobab
    • brimigs
    • Dependencies
      • cosmwasm-schema ^1.2.2 normal
      • cosmwasm-std ^1.2.2 normal
      • cw-storage-plus ^1.0.1 normal
      • cw2 ^1.0.1 normal
      • mars-owner ^1.0.0 normal
      • mars-red-bank-types ^1.0.0 normal
      • mars-utils ^1.0.0 normal
      • schemars ^0.8.12 normal
      • serde ^1.0.155 normal
      • thiserror ^1.0.39 normal
      • anyhow ^1.0.69 dev
      • cw-multi-test ^0.16.2 dev
    • Versions
    • 3.85% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate mars_params

  • Structs
  • Enums
  • Constants
  • Functions
  • Type Definitions
?
Change settings

List of all items

Structs

  • msg::InstantiateMsg
  • types::AssetParams
  • types::HighLeverageStrategyParams
  • types::RedBankSettings
  • types::RoverSettings
  • types::VaultConfigBase

Enums

  • error::ContractError
  • error::ValidationError
  • msg::ExecuteMsg
  • msg::QueryMsg
  • types::AssetParamsUpdate
  • types::EmergencyUpdate
  • types::RedBankEmergencyUpdate
  • types::RoverEmergencyUpdate
  • types::VaultConfigUpdate

Functions

  • contract::execute
  • contract::instantiate
  • contract::query
  • emergency_powers::disable_borrowing
  • emergency_powers::disallow_coin
  • emergency_powers::set_zero_deposit_cap
  • emergency_powers::set_zero_max_ltv
  • execute::assert_hls_lqt_gt_max_ltv
  • execute::assert_lqt_gt_max_ltv
  • execute::assert_mcf
  • execute::update_asset_params
  • execute::update_max_close_factor
  • execute::update_vault_config
  • query::query_all_asset_params
  • query::query_all_vault_configs
  • query::query_vault_config

Type Definitions

  • error::ContractResult
  • types::VaultConfig
  • types::VaultConfigUnchecked

Constants

  • execute::CONTRACT_NAME
  • execute::CONTRACT_VERSION
  • query::DEFAULT_LIMIT
  • state::ASSET_PARAMS
  • state::MAX_CLOSE_FACTOR
  • state::OWNER
  • state::VAULT_CONFIGS