Transfer$1.smali
.class final Lorg/web3j/tx/Transfer$1;
.super Ljava/lang/Object;
.source "Transfer.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lorg/web3j/tx/Transfer;->sendFunds(Lorg/web3j/protocol/Web3j;Lorg/web3j/crypto/Credentials;Ljava/lang/String;Ljava/math/BigDecimal;Lorg/web3j/utils/Convert$Unit;)Lorg/web3j/protocol/core/RemoteCall;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable",
"<",
"Lorg/web3j/protocol/core/methods/response/TransactionReceipt;",
">;"
}
.end annotation
# instance fields
.field final synthetic val$toAddress:Ljava/lang/String;
.field final synthetic val$transactionManager:Lorg/web3j/tx/TransactionManager;
.field final synthetic val$unit:Lorg/web3j/utils/Convert$Unit;
.field final synthetic val$value:Ljava/math/BigDecimal;
.field final synthetic val$web3j:Lorg/web3j/protocol/Web3j;
# direct methods
.method constructor <init>(Lorg/web3j/protocol/Web3j;Lorg/web3j/tx/TransactionManager;Ljava/lang/String;Ljava/math/BigDecimal;Lorg/web3j/utils/Convert$Unit;)V
.registers 6
.prologue
.line 76
iput-object p1, p0, Lorg/web3j/tx/Transfer$1;->val$web3j:Lorg/web3j/protocol/Web3j;
iput-object p2, p0, Lorg/web3j/tx/Transfer$1;->val$transactionManager:Lorg/web3j/tx/TransactionManager;
iput-object p3, p0, Lorg/web3j/tx/Transfer$1;->val$toAddress:Ljava/lang/String;
iput-object p4, p0, Lorg/web3j/tx/Transfer$1;->val$value:Ljava/math/BigDecimal;
iput-object p5, p0, Lorg/web3j/tx/Transfer$1;->val$unit:Lorg/web3j/utils/Convert$Unit;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final bridge synthetic call()Ljava/lang/Object;
.registers 2
.prologue
.line 76
invoke-virtual {p0}, Lorg/web3j/tx/Transfer$1;->call()Lorg/web3j/protocol/core/methods/response/TransactionReceipt;
move-result-object v0
return-object v0
.end method
.method public final call()Lorg/web3j/protocol/core/methods/response/TransactionReceipt;
.registers 5
.prologue
.line 79
new-instance v0, Lorg/web3j/tx/Transfer;
iget-object v1, p0, Lorg/web3j/tx/Transfer$1;->val$web3j:Lorg/web3j/protocol/Web3j;
iget-object v2, p0, Lorg/web3j/tx/Transfer$1;->val$transactionManager:Lorg/web3j/tx/TransactionManager;
invoke-direct {v0, v1, v2}, Lorg/web3j/tx/Transfer;-><init>(Lorg/web3j/protocol/Web3j;Lorg/web3j/tx/TransactionManager;)V
iget-object v1, p0, Lorg/web3j/tx/Transfer$1;->val$toAddress:Ljava/lang/String;
iget-object v2, p0, Lorg/web3j/tx/Transfer$1;->val$value:Ljava/math/BigDecimal;
iget-object v3, p0, Lorg/web3j/tx/Transfer$1;->val$unit:Lorg/web3j/utils/Convert$Unit;
# invokes: Lorg/web3j/tx/Transfer;->send(Ljava/lang/String;Ljava/math/BigDecimal;Lorg/web3j/utils/Convert$Unit;)Lorg/web3j/protocol/core/methods/response/TransactionReceipt;
invoke-static {v0, v1, v2, v3}, Lorg/web3j/tx/Transfer;->access$000(Lorg/web3j/tx/Transfer;Ljava/lang/String;Ljava/math/BigDecimal;Lorg/web3j/utils/Convert$Unit;)Lorg/web3j/protocol/core/methods/response/TransactionReceipt;
move-result-object v0
return-object v0
.end method