mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-07-04 05:59:33 +00:00
docs(stablecoin): align generate debt panic docs
This commit is contained in:
parent
3e025c3694
commit
4aaa475590
@ -16,8 +16,9 @@ use crate::shared::{
|
|||||||
/// Mints stablecoin debt against an existing position.
|
/// Mints stablecoin debt against an existing position.
|
||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
/// Panics if the owner is not authorized, the oracle is stale, or the post-mint position would
|
/// Panics if the owner is not authorized, protocol accounts are invalid, the protocol is frozen,
|
||||||
/// be undercollateralized.
|
/// the oracle is stale or malformed, the position is invalid, or the post-mint position would be
|
||||||
|
/// undercollateralized.
|
||||||
#[expect(
|
#[expect(
|
||||||
clippy::too_many_arguments,
|
clippy::too_many_arguments,
|
||||||
reason = "instruction surface passes explicit position, token, oracle, and protocol accounts"
|
reason = "instruction surface passes explicit position, token, oracle, and protocol accounts"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user