public Observable<Double> latitude() { return instance.latitude().observable().map(Converter::toLatitude); }
public Observable<Boolean> isImmutable() { return instance.isImmutable().observable(); }
public Observable<Integer> getPointsAmount() { return instance.getPointsAmount().observable().map(BigInteger::intValue); }
public Observable<List<Point>> getPointsByRing(BigInteger ringIndex) { return instance.getPointsByRing(ringIndex).observable().map(Converter::toPoints); }
public Observable<Double> longitude() { return instance.longitude().observable().map(Converter::toLongitude); }
public Observable<Integer> getRingsAmount() { return instance.getRingsAmount().observable().map(BigInteger::intValue); }
public Observable<Integer> getPointsAmountByRing(Integer ringIndex) { return instance.getPointsAmountByRing(BigInteger.valueOf(ringIndex)).observable().map(BigInteger::intValue); }
public Observable<TransactionReceipt> removePoints(Integer amount, Integer ringIndex, Integer offset) { return instance.removePoints(BigInteger.valueOf(amount), BigInteger.valueOf(ringIndex), BigInteger.valueOf(offset)).observable(); }
public Observable<io.platin.geo.models.Circle> getCircle() { return instance.getData().observable().map(Converter::toCircle); }
public Observable<TransactionReceipt> removeRing(Integer ringIndex) { return instance.removeRing(BigInteger.valueOf(ringIndex)).observable(); }
public static Observable<PolygonContract> deployHeavy(Web3j web3j, Credentials credentials, BigInteger gasPrice, BigInteger gasLimit, Polygon polygon) { List<BigInteger> data = validateAndConvert(polygon); return HeavyPolygon.deploy(web3j, credentials, gasPrice, gasLimit, data).observable().map(PolygonContract::new); }
public static Observable<CircleContract> deploy(Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit, io.platin.geo.models.Circle circle) { List<BigInteger> data = validateAndConvert(circle); return Circle.deploy(web3j, transactionManager, gasPrice, gasLimit, data).observable().map(CircleContract::new); }
public static Observable<PolygonContract> deployLight(Web3j web3j, Credentials credentials, BigInteger gasPrice, BigInteger gasLimit, Polygon polygon) { List<BigInteger> data = validateAndConvert(polygon); return LightPolygon.deploy(web3j, credentials, gasPrice, gasLimit, data).observable().map(PolygonContract::new); }
public Observable<TransactionReceipt> addPoints(List<Point> points, Integer ringIndex, Integer pointNum) { List<BigInteger> pointsData = Converter.toNumbers(points); return instance.addPoints(pointsData, BigInteger.valueOf(ringIndex), BigInteger.valueOf(pointNum)).observable(); }
public Observable<TransactionReceipt> addRing(List<Point> points, Integer index) { List<BigInteger> pointsData = Converter.toNumbers(points); return instance.addRing(pointsData, BigInteger.valueOf(index)).observable(); }
public static Observable<CircleContract> deploy(Web3j web3j, Credentials credentials, BigInteger gasPrice, BigInteger gasLimit, io.platin.geo.models.Circle circle) { List<BigInteger> data = validateAndConvert(circle); return Circle.deploy(web3j, credentials, gasPrice, gasLimit, data).observable().map(CircleContract::new); }
public static Observable<PolygonContract> deployLight(Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit, Polygon polygon) { List<BigInteger> data = validateAndConvert(polygon); return LightPolygon.deploy(web3j, transactionManager, gasPrice, gasLimit, data).observable().map(PolygonContract::new); }
public static Observable<PolygonContract> deployHeavy(Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit, Polygon polygon) { List<BigInteger> data = validateAndConvert(polygon); return HeavyPolygon.deploy(web3j, transactionManager, gasPrice, gasLimit, data).observable().map(PolygonContract::new); }
public Observable<TransactionReceipt> addPoints(List<Point> points, Integer ringIndex) { List<BigInteger> pointsData = Converter.toNumbers(points); return instance.addPoints(pointsData, BigInteger.valueOf(ringIndex)).observable(); }
public Observable<TransactionReceipt> addRing(List<Point> points) { List<BigInteger> pointsData = Converter.toNumbers(points); return instance.addRing(pointsData).observable(); }