Search in sources :

Example 1 with AllRewardGrpcTask

use of wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask in project cosmostation-android by cosmostation.

the class ReInvestActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_step);
    mRootView = findViewById(R.id.root_view);
    mToolbar = findViewById(R.id.tool_bar);
    mTitle = findViewById(R.id.toolbar_title);
    mIvStep = findViewById(R.id.send_step);
    mTvStep = findViewById(R.id.send_step_msg);
    mViewPager = findViewById(R.id.view_pager);
    mTitle.setText(getString(R.string.str_reinvest_c));
    setSupportActionBar(mToolbar);
    getSupportActionBar().setDisplayShowTitleEnabled(false);
    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    mIvStep.setImageDrawable(getDrawable(R.drawable.step_4_img_1));
    mTvStep.setText(getString(R.string.str_reinvest_step_0));
    mAccount = getBaseDao().onSelectAccount(getBaseDao().getLastUser());
    mBaseChain = BaseChain.getChain(mAccount.baseChain);
    mTxType = CONST_PW_TX_REINVEST;
    mValAddress = getIntent().getStringExtra("valOpAddress");
    mPageAdapter = new ReInvestPageAdapter(getSupportFragmentManager());
    mViewPager.setOffscreenPageLimit(3);
    mViewPager.setAdapter(mPageAdapter);
    mViewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {

        @Override
        public void onPageScrolled(int i, float v, int i1) {
        }

        @Override
        public void onPageSelected(int i) {
            if (i == 0) {
                mIvStep.setImageDrawable(getDrawable(R.drawable.step_4_img_1));
                mTvStep.setText(getString(R.string.str_reinvest_step_0));
            } else if (i == 1) {
                mIvStep.setImageDrawable(getDrawable(R.drawable.step_4_img_2));
                mTvStep.setText(getString(R.string.str_reinvest_step_1));
            } else if (i == 2) {
                mIvStep.setImageDrawable(getDrawable(R.drawable.step_4_img_3));
                mTvStep.setText(getString(R.string.str_reinvest_step_2));
                mPageAdapter.mCurrentFragment.onRefreshTab();
            } else if (i == 3) {
                mIvStep.setImageDrawable(getDrawable(R.drawable.step_4_img_4));
                mTvStep.setText(getString(R.string.str_reinvest_step_3));
                mPageAdapter.mCurrentFragment.onRefreshTab();
            }
        }

        @Override
        public void onPageScrollStateChanged(int i) {
        }
    });
    mViewPager.setCurrentItem(0);
    mRootView.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {
            onHideKeyboard();
        }
    });
    new AllRewardGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
Also used : AllRewardGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask) ViewPager(androidx.viewpager.widget.ViewPager) ImageView(android.widget.ImageView) View(android.view.View) TextView(android.widget.TextView)

Example 2 with AllRewardGrpcTask

use of wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask in project cosmostation-android by cosmostation.

the class ValidatorActivity method onInitFetch.

private void onInitFetch() {
    if (mTaskCount > 0)
        return;
    mTaskCount = 6;
    getBaseDao().mGrpcDelegations.clear();
    getBaseDao().mGrpcUndelegations.clear();
    getBaseDao().mGrpcRewards.clear();
    new ValidatorInfoGrpcTask(getBaseApplication(), this, mBaseChain, mValOpAddress).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new DelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new SelfBondingGrpcTask(getBaseApplication(), this, mBaseChain, mValOpAddress, WKey.convertDpOpAddressToDpAddress(mValOpAddress, BaseChain.getChain(mAccount.baseChain))).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new UnDelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new AllRewardGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new ReDelegationsToGrpcTask(getBaseApplication(), this, mBaseChain, mAccount, mValOpAddress).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
Also used : DelegationsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.DelegationsGrpcTask) UnDelegationsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.UnDelegationsGrpcTask) UnDelegationsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.UnDelegationsGrpcTask) AllRewardGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask) ValidatorInfoGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.ValidatorInfoGrpcTask) ReDelegationsToGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.ReDelegationsToGrpcTask) SelfBondingGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.SelfBondingGrpcTask)

Example 3 with AllRewardGrpcTask

use of wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask in project cosmostation-android by cosmostation.

the class BaseActivity method onFetchAccountInfo.

public void onFetchAccountInfo(FetchCallBack callback) {
    if (mTaskCount > 0) {
        callback.fetchBusy();
    }
    mFetchCallback = callback;
    getBaseDao().mIbcPaths.clear();
    getBaseDao().mIbcTokens.clear();
    getBaseDao().mChainParam = null;
    getBaseDao().mAssets.clear();
    getBaseDao().mCw20Assets.clear();
    getBaseDao().mSifLmIncentive = null;
    getBaseDao().mNodeInfo = null;
    getBaseDao().mAllValidators.clear();
    getBaseDao().mMyValidators.clear();
    getBaseDao().mTopValidators.clear();
    getBaseDao().mOtherValidators.clear();
    getBaseDao().mBalances.clear();
    getBaseDao().mMyDelegations.clear();
    getBaseDao().mMyUnbondings.clear();
    getBaseDao().mMyRewards.clear();
    // kava GRPC
    getBaseDao().mIncentiveParam5 = null;
    getBaseDao().mIncentiveRewards = null;
    getBaseDao().mMyHardDeposits.clear();
    getBaseDao().mMyHardBorrows.clear();
    getBaseDao().mModuleCoins.clear();
    getBaseDao().mReserveCoins.clear();
    // binance
    getBaseDao().mBnbTokens.clear();
    getBaseDao().mBnbTickers.clear();
    // gRPC
    getBaseDao().mGRpcNodeInfo = null;
    getBaseDao().mGRpcAccount = null;
    getBaseDao().mGRpcTopValidators.clear();
    getBaseDao().mGRpcOtherValidators.clear();
    getBaseDao().mGRpcAllValidators.clear();
    getBaseDao().mGRpcMyValidators.clear();
    getBaseDao().mGrpcBalance.clear();
    getBaseDao().mGrpcVesting.clear();
    getBaseDao().mGrpcDelegations.clear();
    getBaseDao().mGrpcUndelegations.clear();
    getBaseDao().mGrpcRewards.clear();
    getBaseDao().mGrpcStarNameFee = null;
    getBaseDao().mGrpcStarNameConfig = null;
    getBaseDao().mGrpcGravityPools.clear();
    if (mBaseChain.equals(BNB_MAIN)) {
        mTaskCount = 6;
        new NodeInfoTask(getBaseApplication(), this, BaseChain.getChain(mAccount.baseChain)).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AccountInfoTask(getBaseApplication(), this, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BnbTokenListTask(getBaseApplication(), this, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BnbMiniTokenListTask(getBaseApplication(), this, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BnbTickerTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BnbMiniTickerTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    // new BnbFeesTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    } else if (mBaseChain.equals(BaseChain.OKEX_MAIN)) {
        mTaskCount = 8;
        getBaseDao().mOkStaking = null;
        getBaseDao().mOkUnbonding = null;
        getBaseDao().mOkTokenList = null;
        getBaseDao().mOkTickersList = null;
        new NodeInfoTask(getBaseApplication(), this, BaseChain.getChain(mAccount.baseChain)).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new ValidatorInfoAllTask(getBaseApplication(), this, BaseChain.getChain(mAccount.baseChain)).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AccountInfoTask(getBaseApplication(), this, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new OkAccountBalanceTask(getBaseApplication(), this, mAccount, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new OkTokenListTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new OkDexTickerTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new OkStakingInfoTask(getBaseApplication(), this, mAccount, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new OkUnbondingInfoTask(getBaseApplication(), this, mAccount, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    } else // grpc
    if (mBaseChain.equals(COSMOS_MAIN)) {
        mTaskCount = 10;
        new NodeInfoGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AuthGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondingValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BalanceGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new DelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnDelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AllRewardGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new GravityDexPoolGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    } else if (mBaseChain.equals(IOV_MAIN)) {
        mTaskCount = 11;
        new NodeInfoGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AuthGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondingValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BalanceGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new DelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnDelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AllRewardGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new StarNameGrpcFeeTask(getBaseApplication(), this, BaseChain.getChain(mAccount.baseChain)).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new StarNameGrpcConfigTask(getBaseApplication(), this, BaseChain.getChain(mAccount.baseChain)).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    } else if (mBaseChain.equals(OSMOSIS_MAIN)) {
        mTaskCount = 10;
        new NodeInfoGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AuthGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondingValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BalanceGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new DelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnDelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AllRewardGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new OsmosisPoolListGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    } else if (mBaseChain.equals(KAVA_MAIN)) {
        mTaskCount = 12;
        new NodeInfoGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AuthGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondingValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BalanceGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new DelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnDelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AllRewardGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new KavaMarketPriceGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new KavaIncentiveParamTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new KavaIncentiveRewardTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    } else if (isGRPC(mBaseChain)) {
        mTaskCount = 9;
        new NodeInfoGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AuthGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondedValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnBondingValidatorsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new BalanceGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new DelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new UnDelegationsGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
        new AllRewardGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    }
}
Also used : KavaMarketPriceGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.KavaMarketPriceGrpcTask) AuthGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.AuthGrpcTask) OkDexTickerTask(wannabit.io.cosmostaion.task.FetchTask.OkDexTickerTask) StarNameGrpcFeeTask(wannabit.io.cosmostaion.task.gRpcTask.StarNameGrpcFeeTask) OkStakingInfoTask(wannabit.io.cosmostaion.task.FetchTask.OkStakingInfoTask) OkUnbondingInfoTask(wannabit.io.cosmostaion.task.FetchTask.OkUnbondingInfoTask) BnbTokenListTask(wannabit.io.cosmostaion.task.FetchTask.BnbTokenListTask) BnbMiniTokenListTask(wannabit.io.cosmostaion.task.FetchTask.BnbMiniTokenListTask) BalanceGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.BalanceGrpcTask) Cw20BalanceGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.Cw20BalanceGrpcTask) ValidatorInfoAllTask(wannabit.io.cosmostaion.task.FetchTask.ValidatorInfoAllTask) OkAccountBalanceTask(wannabit.io.cosmostaion.task.FetchTask.OkAccountBalanceTask) OsmosisPoolListGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.OsmosisPoolListGrpcTask) StarNameGrpcConfigTask(wannabit.io.cosmostaion.task.gRpcTask.StarNameGrpcConfigTask) UnBondingValidatorsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.UnBondingValidatorsGrpcTask) UnBondedValidatorsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.UnBondedValidatorsGrpcTask) BondedValidatorsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.BondedValidatorsGrpcTask) UnDelegationsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.UnDelegationsGrpcTask) AllRewardGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask) NodeInfoGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.NodeInfoGrpcTask) BnbTickerTask(wannabit.io.cosmostaion.task.FetchTask.BnbTickerTask) BnbMiniTickerTask(wannabit.io.cosmostaion.task.FetchTask.BnbMiniTickerTask) UnBondedValidatorsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.UnBondedValidatorsGrpcTask) DelegationsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.DelegationsGrpcTask) UnDelegationsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.UnDelegationsGrpcTask) GravityDexPoolGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.GravityDexPoolGrpcTask) KavaIncentiveRewardTask(wannabit.io.cosmostaion.task.FetchTask.KavaIncentiveRewardTask) OkTokenListTask(wannabit.io.cosmostaion.task.FetchTask.OkTokenListTask) KavaIncentiveParamTask(wannabit.io.cosmostaion.task.FetchTask.KavaIncentiveParamTask) AccountInfoTask(wannabit.io.cosmostaion.task.FetchTask.AccountInfoTask) NodeInfoTask(wannabit.io.cosmostaion.task.FetchTask.NodeInfoTask)

Example 4 with AllRewardGrpcTask

use of wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask in project cosmostation-android by cosmostation.

the class ClaimRewardActivity method onFetchReward.

private void onFetchReward() {
    if (mTaskCount > 0)
        return;
    mTaskCount = 2;
    new AllRewardGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new WithdrawAddressGrpcTask(getBaseApplication(), this, mBaseChain, mAccount).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
Also used : WithdrawAddressGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.WithdrawAddressGrpcTask) AllRewardGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask)

Aggregations

AllRewardGrpcTask (wannabit.io.cosmostaion.task.gRpcTask.AllRewardGrpcTask)4 DelegationsGrpcTask (wannabit.io.cosmostaion.task.gRpcTask.DelegationsGrpcTask)2 UnDelegationsGrpcTask (wannabit.io.cosmostaion.task.gRpcTask.UnDelegationsGrpcTask)2 View (android.view.View)1 ImageView (android.widget.ImageView)1 TextView (android.widget.TextView)1 ViewPager (androidx.viewpager.widget.ViewPager)1 AccountInfoTask (wannabit.io.cosmostaion.task.FetchTask.AccountInfoTask)1 BnbMiniTickerTask (wannabit.io.cosmostaion.task.FetchTask.BnbMiniTickerTask)1 BnbMiniTokenListTask (wannabit.io.cosmostaion.task.FetchTask.BnbMiniTokenListTask)1 BnbTickerTask (wannabit.io.cosmostaion.task.FetchTask.BnbTickerTask)1 BnbTokenListTask (wannabit.io.cosmostaion.task.FetchTask.BnbTokenListTask)1 KavaIncentiveParamTask (wannabit.io.cosmostaion.task.FetchTask.KavaIncentiveParamTask)1 KavaIncentiveRewardTask (wannabit.io.cosmostaion.task.FetchTask.KavaIncentiveRewardTask)1 NodeInfoTask (wannabit.io.cosmostaion.task.FetchTask.NodeInfoTask)1 OkAccountBalanceTask (wannabit.io.cosmostaion.task.FetchTask.OkAccountBalanceTask)1 OkDexTickerTask (wannabit.io.cosmostaion.task.FetchTask.OkDexTickerTask)1 OkStakingInfoTask (wannabit.io.cosmostaion.task.FetchTask.OkStakingInfoTask)1 OkTokenListTask (wannabit.io.cosmostaion.task.FetchTask.OkTokenListTask)1 OkUnbondingInfoTask (wannabit.io.cosmostaion.task.FetchTask.OkUnbondingInfoTask)1