mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-07-03 05:29:50 +00:00
19 lines
481 B
Rust
19 lines
481 B
Rust
//! The Stablecoin Program implementation.
|
|
|
|
pub use stablecoin_core as core;
|
|
|
|
/// Deposit additional collateral into an existing position.
|
|
pub mod deposit_collateral;
|
|
|
|
/// Open a new collateral-only position for a calling owner.
|
|
pub mod open_position;
|
|
|
|
/// 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;
|