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

    // query unbond requests on anchor for the given unbond handler
    white_whale::query::anchor::query_unbond_requests(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_unbond_requests(deps: Deps, env: Env) -> StdResult<UnbondRequestsResponse> {
    let state = STATE.load(deps.storage)?;
    let bluna_hub_address =
        query_contract_from_mem(deps, &state.memory_contract, ANCHOR_BLUNA_HUB_ID)?;
    // query unbond requests on anchor for the given unbond handler
    white_whale::query::anchor::query_unbond_requests(deps, bluna_hub_address, env.contract.address)
}
pub ( crate ) fn query_unbond_requests ( deps : Deps , env : Env ) -> StdResult < UnbondRequestsResponse > { let state = STATE . load ( deps . storage ) ? ; let bluna_hub_address = query_contract_from_mem ( deps , & state . memory_contract , ANCHOR_BLUNA_HUB_ID ) ? ; // query unbond requests on anchor for the given unbond handler white_whale :: query :: anchor :: query_unbond_requests ( 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