Skip to content

Commit

Permalink
add comment for FEES_SCALE_FACTOR
Browse files Browse the repository at this point in the history
  • Loading branch information
binyebarwe committed Jan 4, 2024
1 parent 89e7b83 commit fe243e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions programs/openbook-v2/src/state/market.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use crate::{accounts_zerocopy::KeyedAccountReader, state::orderbook::Side};

use super::{orderbook, OracleConfig};

// For a 1bps taker fee, set taker_fee to 100, so taker_fee/FEES_SCALE_FACTOR = 10e-4
pub const FEES_SCALE_FACTOR: i128 = 1_000_000;
pub const PENALTY_EVENT_HEAP: u64 = 0;

Expand Down

0 comments on commit fe243e2

Please sign in to comment.