Skip to content

Commit

Permalink
program: increase insurance tier max (#784)
Browse files Browse the repository at this point in the history
* bigz/increase-insurance-tier-maximums

* CHANGELOG

---------

Co-authored-by: Chris Heaney <[email protected]>
  • Loading branch information
0xbigz and crispheaney authored Jan 5, 2024
1 parent 7396049 commit 662f86d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- program: increase full perp liquidation threshold ([#807](https://github.com/drift-labs/protocol-v2/pull/807))
- program: remove spot fee pool transfer ([#800](https://github.com/drift-labs/protocol-v2/pull/800))
- program: increase insurance tier max ([#784](https://github.com/drift-labs/protocol-v2/pull/784))

### Fixes

Expand Down
4 changes: 2 additions & 2 deletions programs/drift/src/math/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ pub const TWO_HUNDRED_FIFTY_QUOTE: u64 = 250_u64 * QUOTE_PRECISION_U64;

// INSURANCE TIERS
pub const INSURANCE_A_MAX: u64 = ONE_HUNDRED_MILLION_QUOTE as u64;
pub const INSURANCE_B_MAX: u64 = ONE_HUNDRED_THOUSAND_QUOTE as u64;
pub const INSURANCE_C_MAX: u64 = TWENTY_FIVE_THOUSAND_QUOTE as u64;
pub const INSURANCE_B_MAX: u64 = ONE_MILLION_QUOTE as u64;
pub const INSURANCE_C_MAX: u64 = ONE_HUNDRED_THOUSAND_QUOTE as u64;
pub const INSURANCE_SPECULATIVE_MAX: u64 = 0;

// QUOTE THRESHOLDS
Expand Down

0 comments on commit 662f86d

Please sign in to comment.