mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-06-29 19:49:26 +00:00
16 lines
391 B
Rust
16 lines
391 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;
|
|
|
|
/// 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;
|