Search in sources :

Example 1 with OsmosisActiveGaugesGrpcTask

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

the class LabsListActivity method onFetchPoolListInfo.

public void onFetchPoolListInfo() {
    WLog.w("onFetchPoolListInfo ");
    mTaskCount = 4;
    mPoolList = new ArrayList<>();
    mPoolMyList = new ArrayList<>();
    mPoolOtherList = new ArrayList<>();
    mIncentivizedPool = new ArrayList<>();
    mActiveGauges = new ArrayList<>();
    mPeriodLockUps = new ArrayList<>();
    new OsmosisPoolListGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new OsmosisIncentivizedPoolsGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new OsmosisActiveGaugesGrpcTask(getBaseApplication(), this, mBaseChain).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    new OsmosisLockupStatusGrpcTask(getBaseApplication(), this, mBaseChain, mAccount.address).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}
Also used : OsmosisIncentivizedPoolsGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.OsmosisIncentivizedPoolsGrpcTask) OsmosisLockupStatusGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.OsmosisLockupStatusGrpcTask) OsmosisPoolListGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.OsmosisPoolListGrpcTask) OsmosisActiveGaugesGrpcTask(wannabit.io.cosmostaion.task.gRpcTask.OsmosisActiveGaugesGrpcTask)

Aggregations

OsmosisActiveGaugesGrpcTask (wannabit.io.cosmostaion.task.gRpcTask.OsmosisActiveGaugesGrpcTask)1 OsmosisIncentivizedPoolsGrpcTask (wannabit.io.cosmostaion.task.gRpcTask.OsmosisIncentivizedPoolsGrpcTask)1 OsmosisLockupStatusGrpcTask (wannabit.io.cosmostaion.task.gRpcTask.OsmosisLockupStatusGrpcTask)1 OsmosisPoolListGrpcTask (wannabit.io.cosmostaion.task.gRpcTask.OsmosisPoolListGrpcTask)1