Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/desmos/profiles/v1beta1/models_params

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

BioParams

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

Type declaration

DTagParams

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

Type declaration

NicknameParams

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

Type declaration

OracleParams

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

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): OracleParams
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { askCount?: number; executeGas?: number; feeAmount?: { denom?: string | undefined; amount?: string | undefined; }[]; feePayer?: string; minCount?: number; prepareGas?: number; scriptId?: number }): OracleParams
    • Parameters

      • object: { askCount?: number; executeGas?: number; feeAmount?: { denom?: string | undefined; amount?: string | undefined; }[]; feePayer?: string; minCount?: number; prepareGas?: number; scriptId?: number }
        • Optional askCount?: number

          AskCount represents the number of oracles to which ask to verify the data

        • Optional executeGas?: number

          ExecuteGas represents the amount of gas to be used during the execution of the oracle script

        • Optional feeAmount?: { denom?: string | undefined; amount?: string | undefined; }[]

          FeeAmount represents the amount of fees to be payed in order to execute the oracle script

        • Optional feePayer?: string

          FeePayer represents the key of the account that is going to pay for oracle fees if needed

        • Optional minCount?: number

          MinCount represents the minimum count of oracles that should complete the verification successfully

        • Optional prepareGas?: number

          PrepareGas represents the amount of gas to be used during the preparation stage of the oracle script

        • Optional scriptId?: number

          ScriptID represents the ID of the oracle script to be called to verify the data

      Returns OracleParams

  • toJSON: function

Params

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

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): Params
  • encode: function
    • encode(message: Params, writer?: Writer): Writer
  • fromJSON: function
    • fromJSON(object: any): Params
  • fromPartial: function
    • fromPartial(object: { bio?: { maxLength?: Uint8Array | undefined; }; dtag?: { regEx?: string | undefined; minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; }; nickname?: { minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; }; oracle?: { scriptId?: number | undefined; askCount?: number | undefined; minCount?: number | undefined; prepareGas?: number | undefined; executeGas?: number | undefined; feePayer?: string | undefined; feeAmount?: { ...; }[] | undefined; } }): Params
    • Parameters

      • object: { bio?: { maxLength?: Uint8Array | undefined; }; dtag?: { regEx?: string | undefined; minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; }; nickname?: { minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; }; oracle?: { scriptId?: number | undefined; askCount?: number | undefined; minCount?: number | undefined; prepareGas?: number | undefined; executeGas?: number | undefined; feePayer?: string | undefined; feeAmount?: { ...; }[] | undefined; } }
        • Optional bio?: { maxLength?: Uint8Array | undefined; }
        • Optional dtag?: { regEx?: string | undefined; minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; }
        • Optional nickname?: { minLength?: Uint8Array | undefined; maxLength?: Uint8Array | undefined; }
        • Optional oracle?: { scriptId?: number | undefined; askCount?: number | undefined; minCount?: number | undefined; prepareGas?: number | undefined; executeGas?: number | undefined; feePayer?: string | undefined; feeAmount?: { ...; }[] | undefined; }

      Returns Params

  • toJSON: function
    • toJSON(message: Params): unknown

Const protobufPackage

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

Generated using TypeDoc