Skip to content

Policy Change Control

Policy changes are subjected to a cooling down interval and activation delay to prevent abrupt changes that may affect investors interest or vault operations. This is managed through the policy_change_control parameter in the vault configuration.

 
pub struct ChangeControl {
    /// Time from proposal -> automatic activation (no separate apply step).
    pub activation_delay_nanosec: U128,
    /// After update is activated, the period needed until next update is possible 
    pub min_interval_between_updates_nanosec: U128,
}

When a policy change is proposed, it enters a pending state and must wait for the specified cooling down interval before it can be enacted. This allows stakeholders to review and respond to proposed changes, ensuring transparency and stability in vault operations.

Cancelling Pending Policy Changes

Pending policy changes can be cancelled before they are enacted through cancel_pending_policy policy. This provides flexibility to vault operators to reconsider changes based on new information or feedback from stakeholders.