From 662f86d89cd66d639f0e2c8281c6b1ef071f9c08 Mon Sep 17 00:00:00 2001 From: bigz_Pubkey <83473873+0xbigz@users.noreply.github.com> Date: Fri, 5 Jan 2024 15:55:50 -0500 Subject: [PATCH] program: increase insurance tier max (#784) * bigz/increase-insurance-tier-maximums * CHANGELOG --------- Co-authored-by: Chris Heaney --- CHANGELOG.md | 1 + programs/drift/src/math/constants.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bcc140cb..089325720 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/programs/drift/src/math/constants.rs b/programs/drift/src/math/constants.rs index dd9846963..284e4a338 100644 --- a/programs/drift/src/math/constants.rs +++ b/programs/drift/src/math/constants.rs @@ -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