pub fn query_last_profit(deps: Deps) -> VaultResult<LastProfitResponse> {
    let conf = PROFIT.load(deps.storage)?;
    Ok(LastProfitResponse {
        last_profit: conf.last_profit,
    })
}
/// Queries vault's last profit
Queries vault's last profit
Queries vault ' s last profit
pub fn query_last_profit(deps: Deps) -> VaultResult<LastProfitResponse> {
    let conf = PROFIT.load(deps.storage)?;
    Ok(LastProfitResponse {
        last_profit: conf.last_profit,
    })
}
pub fn query_last_profit ( deps : Deps ) -> VaultResult < LastProfitResponse > { let conf = PROFIT . load ( deps . storage ) ? ; Ok ( LastProfitResponse { last_profit : conf . last_profit , } ) }
Queries vault's last profit
Queries vault ' s last profit
deps
Deps
deps
Deps