mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-18 15:09:51 +00:00
docs(stablecoin): improve documentation for OpenPosition instruction
This commit is contained in:
parent
e63d09f793
commit
d6082d0c81
@ -28,9 +28,9 @@ pub enum Instruction {
|
||||
/// - Position vault token holding account (uninitialized, address must match
|
||||
/// `compute_position_vault_pda(stablecoin_program_id, position_id)`)
|
||||
/// - Owner's source token holding for the collateral (authorized, initialized)
|
||||
/// - Token definition account for the collateral (matches the user holding's
|
||||
/// `definition_id`; its `program_owner` determines the Token Program used by the
|
||||
/// chained `InitializeAccount` / `Transfer` calls)
|
||||
/// - Token definition account for the collateral (matches the user holding's `definition_id`;
|
||||
/// its `program_owner` determines the Token Program used by the chained `InitializeAccount`
|
||||
/// / `Transfer` calls)
|
||||
OpenPosition {
|
||||
/// `ProgramId` under which the [`Position`] and vault PDAs are derived.
|
||||
stablecoin_program_id: ProgramId,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user