Uses of Class
zephyr.daemon.model.ZephyrPricingRecord
Packages that use ZephyrPricingRecord
-
Uses of ZephyrPricingRecord in zephyr.daemon.model
Methods in zephyr.daemon.model that return ZephyrPricingRecordModifier and TypeMethodDescriptionZephyrPricingRecord.copy()Returns a copy of this pricing record.ZephyrBlockHeader.getPricingRecord()Return the oracle pricing record this block was built with.ZephyrPricingRecord.merge(ZephyrPricingRecord record) Merges another record of the same block into this one: a field set in only one of them is taken, a field set in both must be equal.ZephyrPricingRecord.setMovingAverage(BigInteger movingAverage) Sets the moving average of the ZPH price in USD.ZephyrPricingRecord.setReserve(BigInteger reserve) Sets the rate of the reserve asset ZRS.ZephyrPricingRecord.setReserveMa(BigInteger reserveMa) Sets the moving average of the rate of the reserve asset ZRS.ZephyrPricingRecord.setReserveRatio(BigInteger reserveRatio) Sets the reserve ratio.ZephyrPricingRecord.setReserveRatioMa(BigInteger reserveRatioMa) Sets the moving average of the reserve ratio.ZephyrPricingRecord.setSignature(String signature) Sets the oracle's signature of the record, as the daemon serializes it.ZephyrPricingRecord.setSpot(BigInteger spot) Sets the spot price of ZPH in USD.ZephyrPricingRecord.setStable(BigInteger stable) Sets the rate of the stable asset ZSD.ZephyrPricingRecord.setStableMa(BigInteger stableMa) Sets the moving average of the rate of the stable asset ZSD.ZephyrPricingRecord.setTimestamp(BigInteger timestamp) Sets the timestamp of the oracle record.ZephyrPricingRecord.setYieldPrice(BigInteger yieldPrice) Sets the price of the yield asset ZYS.Methods in zephyr.daemon.model with parameters of type ZephyrPricingRecordModifier and TypeMethodDescriptionZephyrPricingRecord.merge(ZephyrPricingRecord record) Merges another record of the same block into this one: a field set in only one of them is taken, a field set in both must be equal.ZephyrBlockHeader.setPricingRecord(ZephyrPricingRecord pricingRecord) Set the oracle pricing record this block was built with.Constructors in zephyr.daemon.model with parameters of type ZephyrPricingRecordModifierConstructorDescriptionConstructs a copy of the given pricing record.