public class EthereumProxyEthereumJ extends Object implements EthereumProxy
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
GAS_LIMIT_FOR_CONSTANT_CALLS |
| Constructor and Description |
|---|
EthereumProxyEthereumJ(Ethereumj ethereum,
EthereumEventHandler eventHandler,
InputTypeHandler inputTypeHandler,
OutputTypeHandler outputTypeHandler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addressExists(EthAddress address) |
EthereumEventHandler |
events() |
protected void |
finalize() |
EthValue |
getBalance(EthAddress address) |
SmartContractByteCode |
getCode(EthAddress address) |
BigInteger |
getNonce(EthAddress address) |
SmartContract |
mapFromAbi(ContractAbi abi,
EthAddress address,
EthAccount sender) |
<T> rx.Observable<T> |
observeEvents(ContractAbi abi,
EthAddress contractAddress,
String eventName,
Class<T> cls) |
Object[] |
prepareArguments(Object[] args) |
CompletableFuture<EthAddress> |
publish(CompiledContract contract,
EthAccount sender,
Object... constructorArgs) |
CompletableFuture<EthAddress> |
sendTx(EthValue ethValue,
EthData data,
EthAccount sender) |
CompletableFuture<EthExecutionResult> |
sendTx(EthValue value,
EthData data,
EthAccount sender,
EthAddress address) |
void |
shutdown() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasEnoughFundpublic static final BigInteger GAS_LIMIT_FOR_CONSTANT_CALLS
public EthereumProxyEthereumJ(Ethereumj ethereum, EthereumEventHandler eventHandler, InputTypeHandler inputTypeHandler, OutputTypeHandler outputTypeHandler)
public SmartContract mapFromAbi(ContractAbi abi, EthAddress address, EthAccount sender)
mapFromAbi in interface EthereumProxypublic CompletableFuture<EthAddress> publish(CompiledContract contract, EthAccount sender, Object... constructorArgs)
publish in interface EthereumProxypublic BigInteger getNonce(EthAddress address)
getNonce in interface EthereumProxypublic SmartContractByteCode getCode(EthAddress address)
getCode in interface EthereumProxypublic <T> rx.Observable<T> observeEvents(ContractAbi abi, EthAddress contractAddress, String eventName, Class<T> cls)
observeEvents in interface EthereumProxypublic void shutdown()
shutdown in interface EthereumProxypublic CompletableFuture<EthAddress> sendTx(EthValue ethValue, EthData data, EthAccount sender)
sendTx in interface EthereumProxypublic CompletableFuture<EthExecutionResult> sendTx(EthValue value, EthData data, EthAccount sender, EthAddress address)
sendTx in interface EthereumProxypublic EthereumEventHandler events()
events in interface EthereumProxypublic boolean addressExists(EthAddress address)
addressExists in interface EthereumProxypublic EthValue getBalance(EthAddress address)
getBalance in interface EthereumProxyCopyright © 2017. All rights reserved.