public class EthereumFacade extends Object
| Constructor and Description |
|---|
EthereumFacade(BlockchainProxy blockchainProxy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addressExists(EthAddress address) |
<T> T |
createContractProxy(ContractAbi abi,
EthAddress address,
EthAccount sender,
Class<T> contractInterface) |
<T> T |
createContractProxy(SoliditySource code,
String contractName,
EthAddress address,
EthAccount sender,
Class<T> contractInterface) |
EthereumEventHandler |
events() |
EthValue |
getBalance(EthAccount account) |
EthValue |
getBalance(EthAddress addr) |
CompletableFuture<EthAddress> |
publishContract(SoliditySource code,
String contractName,
EthAccount sender,
Object... constructorArgs) |
public static final Charset CHARSET
public EthereumFacade(BlockchainProxy blockchainProxy)
public <T> T createContractProxy(SoliditySource code, String contractName, EthAddress address, EthAccount sender, Class<T> contractInterface) throws IOException
IOExceptionpublic <T> T createContractProxy(ContractAbi abi, EthAddress address, EthAccount sender, Class<T> contractInterface) throws IOException
IOExceptionpublic CompletableFuture<EthAddress> publishContract(SoliditySource code, String contractName, EthAccount sender, Object... constructorArgs)
public boolean addressExists(EthAddress address)
public EthValue getBalance(EthAddress addr)
public EthValue getBalance(EthAccount account)
public EthereumEventHandler events()
Copyright © 2016. All rights reserved.