Ricardo Guilherme Schmidt f3a94e6bff
feat(redemption-controller): implement initialize and update functions for redemption rate feedback controller
- Added `initialize_redemption_controller` and `update_redemption_controller` functions to manage redemption rate feedback.
- Introduced `RedemptionController` struct to maintain state for redemption rates.
- Updated `Cargo.toml` and `Cargo.lock` to include `twap_oracle_core` dependency.
- Modified integration tests to cover new redemption controller functionality.
2026-07-02 17:25:56 -03:00

19 lines
492 B
Rust

//! The Stablecoin Program implementation.
pub use stablecoin_core as core;
/// Open a new collateral-only position for a calling owner.
pub mod open_position;
/// Initialize and update redemption-rate feedback controller state.
pub mod redemption_controller;
/// Repay outstanding stablecoin debt against an existing position.
pub mod repay_debt;
/// Withdraw collateral from an existing position back to a user-controlled holding.
pub mod withdraw_collateral;
#[cfg(test)]
mod tests;