diff --git a/contracts/liquidity_hub/vault-manager/src/manager/commands.rs b/contracts/liquidity_hub/vault-manager/src/manager/commands.rs index 1b851c22..30e28de6 100644 --- a/contracts/liquidity_hub/vault-manager/src/manager/commands.rs +++ b/contracts/liquidity_hub/vault-manager/src/manager/commands.rs @@ -5,20 +5,20 @@ use cosmwasm_std::{ use cw20::MinterResponse; use sha2::{Digest, Sha256}; -use white_whale::constants::LP_SYMBOL; -use white_whale::pool_network::asset::{Asset, AssetInfo}; -use white_whale::pool_network::token::InstantiateMsg as TokenInstantiateMsg; +use white_whale_std::constants::LP_SYMBOL; +use white_whale_std::pool_network::asset::{Asset, AssetInfo}; +use white_whale_std::pool_network::token::InstantiateMsg as TokenInstantiateMsg; #[cfg(any( feature = "token_factory", feature = "osmosis_token_factory", feature = "injective" ))] use white_whale::tokenfactory; -use white_whale::vault_manager::{LpTokenType, Vault, VaultFee}; +use white_whale_std::vault_manager::{LpTokenType, Vault, VaultFee}; use crate::state::{get_vault_by_identifier, CONFIG, VAULTS, VAULT_COUNTER}; use crate::ContractError; -use white_whale::whale_lair::fill_rewards_msg; +use white_whale_std::whale_lair::fill_rewards_msg; /// Creates a new vault pub fn create_vault( @@ -132,6 +132,7 @@ pub fn create_vault( hasher.update(seed.as_bytes()); let salt: Binary = hasher.finalize().to_vec().into(); + let vault_lp_address = deps.api.addr_humanize( &instantiate2_address(&checksum, &creator, &salt) .map_err(|e| StdError::generic_err(e.to_string()))?,