pub fn query_last_balance(deps: Deps) -> VaultResult<LastBalanceResponse> {
    let conf = PROFIT.load(deps.storage)?;
    Ok(LastBalanceResponse {
        last_balance: conf.last_balance,
    })
}
/// Queries vault's last balance
Queries vault's last balance
Queries vault ' s last balance
pub fn query_last_balance(deps: Deps) -> VaultResult<LastBalanceResponse> {
    let conf = PROFIT.load(deps.storage)?;
    Ok(LastBalanceResponse {
        last_balance: conf.last_balance,
    })
}
pub fn query_last_balance ( deps : Deps ) -> VaultResult < LastBalanceResponse > { let conf = PROFIT . load ( deps . storage ) ? ; Ok ( LastBalanceResponse { last_balance : conf . last_balance , } ) }
Queries vault's last balance
Queries vault ' s last balance
deps
Deps
deps
Deps