public class SmartContractRpc extends Object implements SmartContract
| Constructor and Description |
|---|
SmartContractRpc(String abi,
Web3JFacade web3j,
EthAccount sender,
EthAddress address,
EthereumProxyRpc bcProxy) |
| Modifier and Type | Method and Description |
|---|---|
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 SmartContractRpc(String abi, Web3JFacade web3j, EthAccount sender, EthAddress address, EthereumProxyRpc bcProxy)
public List<org.ethereum.core.CallTransaction.Function> getFunctions()
getFunctions in interface SmartContractpublic Object[] callConstFunction(String functionName, Object... args)
callConstFunction in interface SmartContractpublic 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 EthAddress getAddress()
Copyright © 2017. All rights reserved.