class ValidatorsPresenter extends BasePresenter<ValidatorsContract.View> implements ValidatorsContract.Presenter {

    private Single<Response<ApiResponse<List<VerifyNode>>>> getVerifyNodeList(List<VerifyNode> verifyNodeList, boolean isRefresh) {
        return isRefresh || verifyNodeList.isEmpty() ? ServerUtils.getCommonApi().getVerifyNodeList() : Single.just(Response.success(new ApiResponse<List<VerifyNode>>(ApiErrorCode.SUCCESS, verifyNodeList)));
    }

}