Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/desmos/profiles/v1beta1/models_app_links

Index

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

ApplicationLink

ApplicationLink: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { creationTime?: Date; data?: { application?: string | undefined; username?: string | undefined; }; oracleRequest?: { id?: number | undefined; oracleScriptId?: number | undefined; callData?: { application?: string | undefined; callData?: string | undefined; } | undefined; clientId?: string | undefined; }; result?: { success?: { value?: string | undefined; signature?: string | undefined; } | undefined; failed?: { error?: string | undefined; } | undefined; }; state?: ApplicationLinkState; user?: string }): ApplicationLink
    • Parameters

      • object: { creationTime?: Date; data?: { application?: string | undefined; username?: string | undefined; }; oracleRequest?: { id?: number | undefined; oracleScriptId?: number | undefined; callData?: { application?: string | undefined; callData?: string | undefined; } | undefined; clientId?: string | undefined; }; result?: { success?: { value?: string | undefined; signature?: string | undefined; } | undefined; failed?: { error?: string | undefined; } | undefined; }; state?: ApplicationLinkState; user?: string }
        • Optional creationTime?: Date

          CreationTime represents the time in which the link was created

        • Optional data?: { application?: string | undefined; username?: string | undefined; }

          Data contains the details of this specific link

        • Optional oracleRequest?: { id?: number | undefined; oracleScriptId?: number | undefined; callData?: { application?: string | undefined; callData?: string | undefined; } | undefined; clientId?: string | undefined; }

          OracleRequest represents the request that has been made to the oracle

        • Optional result?: { success?: { value?: string | undefined; signature?: string | undefined; } | undefined; failed?: { error?: string | undefined; } | undefined; }

          Data coming from the result of the verification. Only available when the state is STATE_SUCCESS

        • Optional state?: ApplicationLinkState

          State of the link

        • Optional user?: string

          User to which the link is associated

      Returns ApplicationLink

  • toJSON: function

Data

Data: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

OracleRequest

OracleRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

OracleRequest_CallData

OracleRequest_CallData: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Result

Result: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Result_Failed

Result_Failed: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Result_Success

Result_Success: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Const protobufPackage

protobufPackage: "desmos.profiles.v1beta1" = 'desmos.profiles.v1beta1'

Functions

applicationLinkStateFromJSON

applicationLinkStateToJSON

Generated using TypeDoc