Fixed.smali

.class public Lorg/web3j/abi/datatypes/Fixed;
.super Lorg/web3j/abi/datatypes/FixedPointType;
.source "Fixed.java"


# static fields
.field public static final DEFAULT:Lorg/web3j/abi/datatypes/Fixed;

.field public static final TYPE_NAME:Ljava/lang/String; = "fixed"


# direct methods
.method static constructor <clinit>()V
    .registers 2

    .prologue
    .line 11
    new-instance v0, Lorg/web3j/abi/datatypes/Fixed;

    sget-object v1, Ljava/math/BigInteger;->ZERO:Ljava/math/BigInteger;

    invoke-direct {v0, v1}, Lorg/web3j/abi/datatypes/Fixed;-><init>(Ljava/math/BigInteger;)V

    sput-object v0, Lorg/web3j/abi/datatypes/Fixed;->DEFAULT:Lorg/web3j/abi/datatypes/Fixed;

    return-void
.end method

.method protected constructor <init>(IILjava/math/BigInteger;)V
    .registers 5

    .prologue
    .line 14
    const-string v0, "fixed"

    invoke-direct {p0, v0, p1, p2, p3}, Lorg/web3j/abi/datatypes/FixedPointType;-><init>(Ljava/lang/String;IILjava/math/BigInteger;)V

    .line 15
    return-void
.end method

.method protected constructor <init>(IILjava/math/BigInteger;Ljava/math/BigInteger;)V
    .registers 6

    .prologue
    .line 26
    invoke-static {p1, p2, p3, p4}, Lorg/web3j/abi/datatypes/Fixed;->convert(IILjava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;

    move-result-object v0

    invoke-direct {p0, v0}, Lorg/web3j/abi/datatypes/Fixed;-><init>(Ljava/math/BigInteger;)V

    .line 27
    return-void
.end method

.method public constructor <init>(Ljava/math/BigInteger;)V
    .registers 3

    .prologue
    const/16 v0, 0x80

    .line 18
    invoke-direct {p0, v0, v0, p1}, Lorg/web3j/abi/datatypes/Fixed;-><init>(IILjava/math/BigInteger;)V

    .line 19
    return-void
.end method

.method public constructor <init>(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
    .registers 4

    .prologue
    .line 22
    invoke-static {p1, p2}, Lorg/web3j/abi/datatypes/Fixed;->convert(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;

    move-result-object v0

    invoke-direct {p0, v0}, Lorg/web3j/abi/datatypes/Fixed;-><init>(Ljava/math/BigInteger;)V

    .line 23
    return-void
.end method