forked from TevaLabs/Xelma-Blockchain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlib.rs
More file actions
26 lines (23 loc) · 743 Bytes
/
Copy pathlib.rs
File metadata and controls
26 lines (23 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#![no_std]
//! # XLM Price Prediction Market
//!
//! Secure Soroban-based prediction market for XLM price movements.
//! Users bet on price direction (UP/DOWN) using virtual XLM tokens.
//!
//! ## Key Features
//! - Role-based access control (Admin, Oracle, Users)
//! - Checked arithmetic prevents overflow
//! - Proportional payout distribution
//! - Comprehensive error handling
mod contract;
mod errors;
mod types;
#[cfg(test)]
mod tests;
pub use contract::VirtualTokenContract;
pub use errors::ContractError;
pub use types::{
ArchivedRoundSummary, BetSide, ConfigChangeKind, ConfigChangePayload, DataKey,
PendingConfigChange, PrecisionCommitment, PrecisionPrediction, Round, RoundArchiveStatus,
UserPosition, UserStats,
};