Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/desmos/profiles/v1beta1/models_chain_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

Base58Address

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

Type declaration

Bech32Address

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

Type declaration

ChainConfig

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

Type declaration

ChainLink

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

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): ChainLink
  • encode: function
    • encode(message: ChainLink, writer?: Writer): Writer
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; chainConfig?: { name?: string | undefined; }; creationTime?: Date; proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; }; user?: string }): ChainLink
    • Parameters

      • object: { address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; chainConfig?: { name?: string | undefined; }; creationTime?: Date; proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; }; user?: string }
        • Optional address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }

          Address contains the data of the external chain address to be connected with the Desmos profile

        • Optional chainConfig?: { name?: string | undefined; }

          ChainConfig contains the configuration of the external chain

        • Optional creationTime?: Date

          CreationTime represents the time in which the link has been created

        • Optional proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; }

          Proof contains the ownership proof of the external chain address

        • Optional user?: string

          User defines the destination profile address to link

      Returns ChainLink

  • toJSON: function

Proof

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

Type declaration

Const protobufPackage

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

Generated using TypeDoc