Function getAllPositionAccountsByOwner

  • Retrieve a list of position addresses and accounts filtered by the given params.

    Parameters

    • __namedParameters: {
          ctx: WhirlpoolContext;
          includesBundledPositions?: boolean;
          includesPositions?: boolean;
          includesPositionsWithTokenExtensions?: boolean;
          owner: Address;
      }
      • ctx: WhirlpoolContext
      • OptionalincludesBundledPositions?: boolean
      • OptionalincludesPositions?: boolean
      • OptionalincludesPositionsWithTokenExtensions?: boolean
      • owner: Address

    Returns Promise<PositionMap>

    The map of position addresses to position accounts