DataType
Data Types
The value is the pair_id of the data
For future option, pair_id and expiration timestamp
Spot- Spot priceFuture- Future priceOption- 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