Function find_position_address

Source
pub fn find_position_address(
    store: &Pubkey,
    user: &Pubkey,
    market_token: &Pubkey,
    collateral_token: &Pubkey,
    kind: PositionKind,
    store_program_id: &Pubkey,
) -> Result<(Pubkey, u8)>
Expand description

Create PDA for position.