mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-13 23:16:52 +00:00
virtual liq
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user