Skip to main content

streak_api/
lib.rs

1//! Streak API — shared crate for deploy id, instructions, accounts, events, and SDK.
2//!
3//! The on-chain program is a thin custody + price-chain layer. All game logic (bets,
4//! balances, pools, leaderboards) lives in the off-chain server and database.
5
6pub mod consts;
7pub mod error;
8pub mod event;
9pub mod instruction;
10pub mod pyth;
11pub mod sdk;
12pub mod settlement;
13pub mod state;
14
15pub mod prelude {
16    pub use crate::consts::*;
17    pub use crate::error::*;
18    pub use crate::event::*;
19    pub use crate::instruction::*;
20    pub use crate::sdk::*;
21    pub use crate::state::*;
22}
23
24use steel::*;
25
26declare_id!("DmmcW2HaSDHkH6iTfM3Cko9guyppmMAqJm6L61BbDAbZ");