public class BlockchainProxyReal extends Object implements BlockchainProxy
| Constructor and Description |
|---|
BlockchainProxyReal(org.ethereum.facade.Ethereum ethereum,
EthereumEventHandler eventHandler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addressExists(EthAddress address) |
EthereumEventHandler |
events() |
EthValue |
getBalance(EthAddress address) |
SmartContract |
map(SoliditySource src,
String contractName,
EthAddress address,
EthAccount sender) |
SmartContract |
mapFromAbi(ContractAbi abi,
EthAddress address,
EthAccount sender) |
CompletableFuture<EthAddress> |
publish(SoliditySource code,
String contractName,
EthAccount sender,
Object... constructorArgs) |
CompletableFuture<EthAddress> |
sendTx(EthValue ethValue,
EthData data,
EthAccount sender) |
CompletableFuture<EthExecutionResult> |
sendTx(EthValue value,
EthData data,
EthAccount sender,
EthAddress address) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasEnoughFundpublic BlockchainProxyReal(org.ethereum.facade.Ethereum ethereum,
EthereumEventHandler eventHandler)
public SmartContract map(SoliditySource src, String contractName, EthAddress address, EthAccount sender)
map in interface BlockchainProxypublic SmartContract mapFromAbi(ContractAbi abi, EthAddress address, EthAccount sender)
mapFromAbi in interface BlockchainProxypublic CompletableFuture<EthAddress> publish(SoliditySource code, String contractName, EthAccount sender, Object... constructorArgs)
publish in interface BlockchainProxypublic CompletableFuture<EthAddress> sendTx(EthValue ethValue, EthData data, EthAccount sender)
sendTx in interface BlockchainProxypublic CompletableFuture<EthExecutionResult> sendTx(EthValue value, EthData data, EthAccount sender, EthAddress address)
sendTx in interface BlockchainProxypublic EthereumEventHandler events()
events in interface BlockchainProxypublic boolean addressExists(EthAddress address)
addressExists in interface BlockchainProxypublic EthValue getBalance(EthAddress address)
getBalance in interface BlockchainProxyCopyright © 2016. All rights reserved.