Statistics.smali

.class public Linfo/blockchain/api/statistics/Statistics;
.super Linfo/blockchain/api/BaseApiClient;
.source "Statistics.java"


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 23
    invoke-direct {p0}, Linfo/blockchain/api/BaseApiClient;-><init>()V

    .line 24
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .registers 2

    .prologue
    .line 32
    invoke-direct {p0, p1}, Linfo/blockchain/api/BaseApiClient;-><init>(Ljava/lang/String;)V

    .line 33
    return-void
.end method

.method public constructor <init>(Lretrofit2/Retrofit;Ljava/lang/String;)V
    .registers 4

    .prologue
    .line 44
    const/4 v0, 0x0

    invoke-direct {p0, v0, p1, p2}, Linfo/blockchain/api/BaseApiClient;-><init>(Lretrofit2/Retrofit;Lretrofit2/Retrofit;Ljava/lang/String;)V

    .line 45
    return-void
.end method


# virtual methods
.method public getChart(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;
    .registers 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/Chart;",
            ">;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 60
    invoke-virtual {p0}, Linfo/blockchain/api/statistics/Statistics;->getApiInterface()Linfo/blockchain/api/interfaces/ApiInterface;

    move-result-object v0

    const-string v4, "json"

    iget-object v5, p0, Linfo/blockchain/api/statistics/Statistics;->apiCode:Ljava/lang/String;

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    invoke-interface/range {v0 .. v5}, Linfo/blockchain/api/interfaces/ApiInterface;->getChart(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getPools(Ljava/lang/String;)Lretrofit2/Call;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lretrofit2/Call",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Integer;",
            ">;>;"
        }
    .end annotation

    .prologue
    .line 80
    invoke-virtual {p0}, Linfo/blockchain/api/statistics/Statistics;->getApiInterface()Linfo/blockchain/api/interfaces/ApiInterface;

    move-result-object v0

    iget-object v1, p0, Linfo/blockchain/api/statistics/Statistics;->apiCode:Ljava/lang/String;

    invoke-interface {v0, p1, v1}, Linfo/blockchain/api/interfaces/ApiInterface;->getPools(Ljava/lang/String;Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method

.method public getStats()Lretrofit2/Call;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lretrofit2/Call",
            "<",
            "Linfo/blockchain/api/data/Stats;",
            ">;"
        }
    .end annotation

    .prologue
    .line 69
    invoke-virtual {p0}, Linfo/blockchain/api/statistics/Statistics;->getApiInterface()Linfo/blockchain/api/interfaces/ApiInterface;

    move-result-object v0

    iget-object v1, p0, Linfo/blockchain/api/statistics/Statistics;->apiCode:Ljava/lang/String;

    invoke-interface {v0, v1}, Linfo/blockchain/api/interfaces/ApiInterface;->getStats(Ljava/lang/String;)Lretrofit2/Call;

    move-result-object v0

    return-object v0
.end method