bolt-cw-sdk 1.0.0

SDK for the BOLT protocol, providing utilities for interacting with the BOLT contracts.
Documentation
use serde::Serialize;

pub mod asset_pairs;
pub mod base_by_lp;
pub mod base_liquidity;
pub mod client;
pub mod config;
pub mod deposit_base;
pub mod error;
pub mod quotes_for_lp;
pub mod swap;
pub mod update_config;
pub mod update_quote_assets;
pub mod withdraw_base;
pub mod withdraw_quote_by_name;
pub mod withdraw_quotes;

/// Defines list of LPs allowed/disallowed to deposit tokens
#[derive(Serialize)]
#[serde(rename_all = "snake_case")]
pub enum Allowance {
    AllowedLps(Vec<String>),
    BannedLps(Vec<String>),
}