Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

DataType

Data Types The value is the pair_id of the data For future option, pair_id and expiration timestamp

  • Spot - Spot price
  • Future - Future price
  • Option - Option price

Fully qualified path: pragma_lib::types::DataType

enum DataType {
    SpotEntry: felt252,
    FutureEntry: (felt252, u64),
    GenericEntry: felt252,
}

Variants

SpotEntry

Fully qualified path: pragma_lib::types::DataType::SpotEntry

SpotEntry: felt252

FutureEntry

Fully qualified path: pragma_lib::types::DataType::FutureEntry

FutureEntry: (felt252, u64)

GenericEntry

Fully qualified path: pragma_lib::types::DataType::GenericEntry

GenericEntry: felt252