virtual liq

This commit is contained in:
Hardhat Chad
2025-06-09 08:45:16 -07:00
parent 787014e8a6
commit 1e1ca896fd
2 changed files with 4 additions and 1 deletions

View File

@@ -60,3 +60,6 @@ pub const SLOT_WINDOW: u64 = 4;
/// Amount of hash tokens to mint to market.
pub const HASH_TOKEN_SUPPLY: u64 = 10_000_000;
/// The virtual ORE liquidity.
pub const VIRTUAL_ORE_LIQUIDITY: u64 = ONE_ORE * 5;

View File

@@ -76,7 +76,7 @@ pub fn process_open(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
market.quote = TokenParams {
mint: *mint_quote_info.key,
balance: 0,
balance_virtual: ONE_ORE,
balance_virtual: VIRTUAL_ORE_LIQUIDITY,
};
market.fee = FeeParams {
rate: FEE_RATE_BPS,