Trait PythLazer

Source
pub trait PythLazer {
    // Required method
    fn get_feeds_data(&self, feed_ids: Vec<u32>) -> FeedDataResponse;
}
Expand description

Feed-id-keyed read ABI of the Pyth Lazer adapter (contract/pyth-lazer). Feeds are addressed by their native u32 id; the adapter serves the raw stored FeedData and the consumer projects it (mirroring the RedStone adapter, which serves redstone::FeedData).

Required Methods§

Source

fn get_feeds_data(&self, feed_ids: Vec<u32>) -> FeedDataResponse

Implementors§