Skip to content

Commit

Permalink
improve lower contract tier spread
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz committed Jan 8, 2025
1 parent 5cc075b commit 4120903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/drift/src/controller/orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1782,9 +1782,9 @@ fn protected_maker_oracle_limit_price_bps_offset(
}

if contract_tier.is_as_safe_as_contract(&ContractTier::B) {
return Ok(PERCENTAGE_PRECISION_U64 / 1000);
return Ok(PERCENTAGE_PRECISION_U64 / 1000); // 10 bps
} else {
return Ok(PERCENTAGE_PRECISION_U64 / 333);
return Ok(PERCENTAGE_PRECISION_U64 / 400); // 25 bps
}
}

Expand Down

0 comments on commit 4120903

Please sign in to comment.