public static Transaction createEtherTransaction( String from, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value) { return new Transaction(from, nonce, gasPrice, gasLimit, to, value, null); }
public static Transaction createContractTransaction( String from, BigInteger nonce, BigInteger gasPrice, String init) { return createContractTransaction(from, nonce, gasPrice, null, null, init); }
public String getGasPrice() { return convert(gasPrice); }
public Flowable<ContentChangedEventResponse> contentChangedEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) { EthFilter filter = new EthFilter(startBlock, endBlock, getContractAddress()); filter.addSingleTopic(EventEncoder.encode(CONTENTCHANGED_EVENT)); return contentChangedEventFlowable(filter); }
public T addSingleTopic(String topic) { topics.add(new SingleTopic(topic)); return getThis(); }
public String getTtl() { return convert(ttl); }
Filter() { thisObj = getThis(); topics = new ArrayList<>(); }
public ListTopic(String... optionalTopics) { topics = new ArrayList<>(); for (String topic : optionalTopics) { if (topic != null) { topics.add(new SingleTopic(topic)); } else { topics.add(new SingleTopic()); } } }
public Flowable<TextChangedEventResponse> textChangedEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) { EthFilter filter = new EthFilter(startBlock, endBlock, getContractAddress()); filter.addSingleTopic(EventEncoder.encode(TEXTCHANGED_EVENT)); return textChangedEventFlowable(filter); }
public static Transaction createContractTransaction( String from, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, BigInteger value, String init) { return new Transaction(from, nonce, gasPrice, gasLimit, null, value, init); }
@Override public Transaction buildTransaction() { return Transaction.createContractTransaction( validAccount(), BigInteger.ZERO, // nonce Transaction.DEFAULT_GAS, validContractCode() ); }
public T addNullTopic() { topics.add(new SingleTopic()); return getThis(); }
public String getValue() { return convert(value); }
public String getPriority() { return convert(priority); }
public Flowable<TransferEventResponse> transferEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) { EthFilter filter = new EthFilter(startBlock, endBlock, getContractAddress()); filter.addSingleTopic(EventEncoder.encode(TRANSFER_EVENT)); return transferEventFlowable(filter); }
public static Transaction createFunctionCallTransaction( String from, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data) { return new Transaction(from, nonce, gasPrice, gasLimit, to, null, data); }
public String getGas() { return convert(gas); }
public static Transaction createEthCallTransaction(String from, String to, String data) { return new Transaction(from, null, null, null, to, null, data); }
public String getNonce() { return convert(nonce); }