pub(crate) fn query_withdrawable_unbonded(
    deps: Deps,
    env: Env,
) -> StdResult<WithdrawableUnbondedResponse> {
    let state = STATE.load(deps.storage)?;
    let bluna_hub_address =
        query_contract_from_mem(deps, &state.memory_contract, ANCHOR_BLUNA_HUB_ID)?;

    // query how much withdrawable_unbonded is on anchor for the given unbond handler
    white_whale::query::anchor::query_withdrawable_unbonded(
        deps,
        bluna_hub_address,
        env.contract.address,
    )
}
/// Gets the state of the contract
Gets the state of the contract
Gets the state of the contract
pub(crate) fn query_withdrawable_unbonded(
    deps: Deps,
    env: Env,
) -> StdResult<WithdrawableUnbondedResponse> {
    let state = STATE.load(deps.storage)?;
    let bluna_hub_address =
        query_contract_from_mem(deps, &state.memory_contract, ANCHOR_BLUNA_HUB_ID)?;
    // query how much withdrawable_unbonded is on anchor for the given unbond handler
    white_whale::query::anchor::query_withdrawable_unbonded(
        deps,
        bluna_hub_address,
        env.contract.address,
    )
}
pub ( crate ) fn query_withdrawable_unbonded ( deps : Deps , env : Env , ) -> StdResult < WithdrawableUnbondedResponse > { let state = STATE . load ( deps . storage ) ? ; let bluna_hub_address = query_contract_from_mem ( deps , & state . memory_contract , ANCHOR_BLUNA_HUB_ID ) ? ; // query how much withdrawable_unbonded is on anchor for the given unbond handler white_whale :: query :: anchor :: query_withdrawable_unbonded ( deps , bluna_hub_address , env . contract . address , ) }
Gets the state of the contract
Gets the state of the contract
deps
Deps
env
Env
deps
Deps
env
Env