public class SmartContractEthereumJ extends Object implements SmartContract
| Modifier and Type | Field and Description |
|---|---|
static long |
GAS_LIMIT_FOR_CONSTANT_CALLS |
| Constructor and Description |
|---|
SmartContractEthereumJ(org.ethereum.core.CallTransaction.Contract contract,
Ethereumj ethereum,
EthAccount sender,
EthAddress address,
EthereumProxyEthereumJ bcProxy) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
callConstFunction(org.ethereum.core.Block callBlock,
String functionName,
Object... args) |
Object[] |
callConstFunction(String functionName,
Object... args) |
CompletableFuture<Object[]> |
callFunction(EthValue value,
String functionName,
Object... args) |
CompletableFuture<Object[]> |
callFunction(String functionName,
EthValue value,
Object... arguments) |
CompletableFuture<Object[]> |
callFunction(String functionName,
Object... args) |
EthAddress |
getAddress() |
List<org.ethereum.core.CallTransaction.Function> |
getFunctions() |
public static final long GAS_LIMIT_FOR_CONSTANT_CALLS
public SmartContractEthereumJ(org.ethereum.core.CallTransaction.Contract contract,
Ethereumj ethereum,
EthAccount sender,
EthAddress address,
EthereumProxyEthereumJ bcProxy)
public List<org.ethereum.core.CallTransaction.Function> getFunctions()
getFunctions in interface SmartContractpublic Object[] callConstFunction(org.ethereum.core.Block callBlock, String functionName, Object... args)
public CompletableFuture<Object[]> callFunction(String functionName, Object... args)
callFunction in interface SmartContractpublic CompletableFuture<Object[]> callFunction(String functionName, EthValue value, Object... arguments)
callFunction in interface SmartContractpublic CompletableFuture<Object[]> callFunction(EthValue value, String functionName, Object... args)
public Object[] callConstFunction(String functionName, Object... args)
callConstFunction in interface SmartContractpublic EthAddress getAddress()
Copyright © 2017. All rights reserved.