Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a LpExchangeRateTask.

Hierarchy

  • LpExchangeRateTask

Implements

Index

Constructors

  • Constructs a new LpExchangeRateTask.

    Parameters

    Returns LpExchangeRateTask

Properties

PoolAddress?: "mercurialPoolAddress" | "saberPoolAddress" | "raydiumPoolAddress" | "orcaPoolTokenMintAddress"

LpExchangeRateTask PoolAddress.

inTokenAddress: string

LpExchangeRateTask inTokenAddress.

mercurialPoolAddress?: string

LpExchangeRateTask mercurialPoolAddress.

orcaPoolTokenMintAddress?: string

LpExchangeRateTask orcaPoolTokenMintAddress.

outTokenAddress: string

LpExchangeRateTask outTokenAddress.

raydiumPoolAddress?: string

LpExchangeRateTask raydiumPoolAddress.

saberPoolAddress?: string

LpExchangeRateTask saberPoolAddress.

Methods

  • toJSON(): {}
  • Converts this LpExchangeRateTask to JSON.

    Returns {}

    JSON object

    • [k: string]: any
  • Creates a new LpExchangeRateTask instance using the specified properties.

    Parameters

    Returns LpExchangeRateTask

    LpExchangeRateTask instance

  • Decodes a LpExchangeRateTask message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

    Returns LpExchangeRateTask

    LpExchangeRateTask

  • Decodes a LpExchangeRateTask message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns LpExchangeRateTask

    LpExchangeRateTask

  • Encodes the specified LpExchangeRateTask message. Does not implicitly verify messages.

    Parameters

    • message: ILpExchangeRateTask

      LpExchangeRateTask message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

  • Encodes the specified LpExchangeRateTask message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: ILpExchangeRateTask

      LpExchangeRateTask message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

  • Creates a LpExchangeRateTask message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns LpExchangeRateTask

    LpExchangeRateTask

  • Creates a plain object from a LpExchangeRateTask message. Also converts values to other types if specified.

    Parameters

    Returns {}

    Plain object

    • [k: string]: any
  • verify(message: {}): string
  • Verifies a LpExchangeRateTask message.

    Parameters

    • message: {}

      Plain object to verify

      • [k: string]: any

    Returns string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc