This commit is contained in:
Hardhat Chad
2025-06-04 15:13:44 -07:00
parent 79a9ac3b40
commit fa1fb5e30c
28 changed files with 341 additions and 4167 deletions

14
api/src/state/market.rs Normal file
View File

@@ -0,0 +1,14 @@
use steel::*;
use super::OreAccount;
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Market {
/// The id of the block this market is associated with.
pub block_id: u64,
}
// TODO Bonding curve stuff
account!(OreAccount, Market);