pub fn instantiate_msg(
    token_code_id: u64,
    war_chest: String,
    anchor_addr: String,
    aust_address: String,
) -> VaultInstantiateMsg {
    VaultInstantiateMsg {
        anchor_money_market_address: anchor_addr,
        aust_address,
        treasury_addr: war_chest,
        asset_info: AssetInfo::NativeToken {
            denom: "uusd".to_string(),
        },
        token_code_id,
        treasury_fee: Decimal::percent(10u64),
        flash_loan_fee: Decimal::permille(5u64),
        commission_fee: Decimal::permille(8u64),
        stable_cap: Uint128::from(100_000_000_000_000u64),
        vault_lp_token_name: None,
        vault_lp_token_symbol: None,
    }
}
// Custom Vault Instant msg func which takes code ID
Custom Vault Instant msg func which takes code ID
Custom Vault Instant msg func which takes code ID
pub fn instantiate_msg(
    token_code_id: u64,
    war_chest: String,
    anchor_addr: String,
    aust_address: String,
) -> VaultInstantiateMsg {
    VaultInstantiateMsg {
        anchor_money_market_address: anchor_addr,
        aust_address,
        treasury_addr: war_chest,
        asset_info: AssetInfo::NativeToken {
            denom: "uusd".to_string(),
        },
        token_code_id,
        treasury_fee: Decimal::percent(10u64),
        flash_loan_fee: Decimal::permille(5u64),
        commission_fee: Decimal::permille(8u64),
        stable_cap: Uint128::from(100_000_000_000_000u64),
        vault_lp_token_name: None,
        vault_lp_token_symbol: None,
    }
}
pub fn instantiate_msg ( token_code_id : u64 , war_chest : String , anchor_addr : String , aust_address : String , ) -> VaultInstantiateMsg { VaultInstantiateMsg { anchor_money_market_address : anchor_addr , aust_address , treasury_addr : war_chest , asset_info : AssetInfo :: NativeToken { denom : " " . to_string ( ) , } , token_code_id , treasury_fee : Decimal :: percent ( 10u64 ) , flash_loan_fee : Decimal :: permille ( 5u64 ) , commission_fee : Decimal :: permille ( 8u64 ) , stable_cap : Uint128 :: from ( 100_000_000_000_000u64 ) , vault_lp_token_name : None , vault_lp_token_symbol : None , } }
Custom Vault Instant msg func which takes code ID
Custom Vault Instant msg func which takes code ID
token_code_id
u64
war_chest
String
anchor_addr
String
aust_address
String
token_code_id
u64
war_chest
String
anchor_addr
String
aust_address
String