predict/propbook/pyth_feed library
Full generated bindings for the pyth_feed Move module (propbook):
every move-call builder and BCS struct, including symbols the
flat package:deepbook/predict.dart surface hides to avoid
name collisions. Import with a prefix:
import 'package:deepbook/predict/propbook/pyth_feed.dart' as pyth_feed;
Properties
Functions
-
id(
{required dynamic arguments, String? package}) → MoveCallBuilder - Returns the feed identity for external composition and canonical-binding discovery.
-
insertAt(
{required dynamic arguments, String? package}) → MoveCallBuilder -
Insert an exact Pyth Lazer spot observation keyed by its exact millisecond
envelope timestamp. Aborts
EInsertTimestampNotExactMillisecondif the envelope timestamp is not a whole millisecond, so the exact-history key is an unambiguous millisecond a consumer can look up by equality. AbortsESettlementCarryExceedsWindowif Pyth generated the price more thanconstants::max_settlement_carry_msbefore that envelope, so a long-carried price cannot claim a settlement key. This does not mutatelatest. The first lane-valid raw observation owns the key and cannot be replaced, even if its normalized projection is unavailable. -
migrate(
{required dynamic arguments, String? package}) → MoveCallBuilder - Migrate this feed to the running package version (forward-only).
-
normalizedSpot(
{required dynamic arguments, String? package}) → MoveCallBuilder - Latest Propbook-normalized spot in 1e9 price scaling.
-
normalizedSpotAt(
{required dynamic arguments, String? package}) → MoveCallBuilder -
Exact Propbook-normalized spot in 1e9 price scaling for
source_timestamp_ms. -
pythSourceId(
{required dynamic arguments, String? package}) → MoveCallBuilder - Returns the immutable Pyth source ID for external feed inspection.
-
rawExponentIsNegative(
{required dynamic arguments, String? package}) → MoveCallBuilder - Return the exponent sign for external raw-feed inspection.
-
rawExponentMagnitude(
{required dynamic arguments, String? package}) → MoveCallBuilder - Return the unsigned exponent magnitude for external raw-feed inspection.
-
rawFeedUpdateTimestampUs(
{required dynamic arguments, String? package}) → MoveCallBuilder - Return the microsecond time at which Pyth generated this price, for external raw-feed inspection. This is the price's true age; it can be older than the envelope that delivered it.
-
rawPriceIsNegative(
{required dynamic arguments, String? package}) → MoveCallBuilder - Return the price sign for external raw-feed inspection.
-
rawPriceMagnitude(
{required dynamic arguments, String? package}) → MoveCallBuilder - Return the unsigned price magnitude for external raw-feed inspection.
-
rawPythSourceId(
{required dynamic arguments, String? package}) → MoveCallBuilder - Return the Pyth source ID for external raw-feed inspection.
-
rawSpot(
{required dynamic arguments, String? package}) → MoveCallBuilder - Latest raw Pyth spot for external inspection; aborts if none has landed.
-
rawSpotAt(
{required dynamic arguments, String? package}) → MoveCallBuilder - Exact raw Pyth spot for external timestamp inspection.
-
update(
{required dynamic arguments, String? package}) → MoveCallBuilder -
Decode and record a verifier-produced Pyth Lazer update when its generation
timestamp advances. A zero, future, duplicate, or stale generation timestamp is
ignored without changing
latestor emitting an event; a price Pyth carried forward therefore leaveslatestuntouched, so redelivery cannot renew a consumer's freshness window. The raw observation may be stored even when its positive normalized projection is unavailable. -
version(
{required dynamic arguments, String? package}) → MoveCallBuilder - Returns the write-gating storage version for external feed inspection.