Skip to main content

wrap

Function wrap 

Source
pub fn wrap(
    signer: Pubkey,
    mint_stable: Pubkey,
    protocol_id: u8,
    amount: u64,
) -> Instruction
Expand description

Wrap USDC into stablecoin. Creates the position account if it doesn’t exist.