Get the exchange rate between and Exponent vault pricipal token and underlying token. Input: Vault address Returns: The exchange rate between the vault principal token and underlying token. Example: Get the exchange rate between the vault principal token and underlying token.

{
"exponentTask": {
"vault": "9YbaicMsXrtupkpD72pdWBfU6R7EJfSByw75sEpDM1uH"
}

Implements

Constructors

Properties

vault: string

ExponentTask vault.

Methods

  • Converts this ExponentTask to JSON.

    Returns { [k: string]: any }

    JSON object

  • Creates a new ExponentTask instance using the specified properties.

    Parameters

    Returns ExponentTask

    ExponentTask instance

  • Decodes an ExponentTask message from the specified reader or buffer.

    Parameters

    • reader: Uint8Array<ArrayBufferLike> | Reader

      Reader or buffer to decode from

    • Optionallength: number

      Message length if known beforehand

    Returns ExponentTask

    ExponentTask

    If the payload is not a reader or valid buffer

    If required fields are missing

  • Decodes an ExponentTask message from the specified reader or buffer, length delimited.

    Parameters

    • reader: Uint8Array<ArrayBufferLike> | Reader

      Reader or buffer to decode from

    Returns ExponentTask

    ExponentTask

    If the payload is not a reader or valid buffer

    If required fields are missing

  • Encodes the specified ExponentTask message. Does not implicitly {@apilink oracle_job.OracleJob.ExponentTask.verify|verify} messages.

    Parameters

    • message: IExponentTask

      ExponentTask message or plain object to encode

    • Optionalwriter: Writer

      Writer to encode to

    Returns Writer

    Writer

  • Encodes the specified ExponentTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.ExponentTask.verify|verify} messages.

    Parameters

    • message: IExponentTask

      ExponentTask message or plain object to encode

    • Optionalwriter: Writer

      Writer to encode to

    Returns Writer

    Writer

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

    Parameters

    • object: { [k: string]: any }

      Plain object

    Returns ExponentTask

    ExponentTask

  • Gets the default type url for ExponentTask

    Parameters

    Returns string

    The default type url

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

    Parameters

    • message: ExponentTask

      ExponentTask

    • Optionaloptions: IConversionOptions

      Conversion options

    Returns { [k: string]: any }

    Plain object

  • Verifies an ExponentTask message.

    Parameters

    • message: { [k: string]: any }

      Plain object to verify

    Returns null | string

    null if valid, otherwise the reason why it is not