Validator: {
    decode(input: Uint8Array | Reader, length?: number): Validator;
    encode(message: Validator, writer?: Writer): Writer;
    fromJSON(object: any): Validator;
    fromPartial<I>(object: I): Validator;
    toJSON(message: Validator): unknown;
}

Type declaration

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Type Parameters

      • I extends {
            commission?: { commissionRates?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; } | undefined; updateTime?: Date | undefined; };
            consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; };
            delegatorShares?: string;
            description?: { moniker?: string | undefined; identity?: string | undefined; website?: string | undefined; securityContact?: string | undefined; details?: string | undefined; };
            jailed?: boolean;
            minSelfDelegation?: string;
            operatorAddress?: string;
            status?: BondStatus;
            tokens?: string;
            unbondingHeight?: number;
            unbondingTime?: Date;
        } & {
            commission?: {
                commissionRates?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; };
                updateTime?: Date;
            } & ({ commissionRates?: ({ rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; } & { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; } & { [K in Exclude<...>]: never; }) | undefined; updateTime?: Date | undefined; }) & { [ K in string | number | symbol]: never };
            consensusPubkey?: {
                typeUrl?: string;
                value?: Uint8Array;
            } & ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; }) & { [ K in string | number | symbol]: never };
            delegatorShares?: string;
            description?: {
                details?: string;
                identity?: string;
                moniker?: string;
                securityContact?: string;
                website?: string;
            } & ({ moniker?: string | undefined; identity?: string | undefined; website?: string | undefined; securityContact?: string | undefined; details?: string | undefined; }) & { [ K in string | number | symbol]: never };
            jailed?: boolean;
            minSelfDelegation?: string;
            operatorAddress?: string;
            status?: BondStatus;
            tokens?: string;
            unbondingHeight?: number;
            unbondingTime?: Date;
        } & { [ K in string | number | symbol]: never }

      Parameters

      • object: I

      Returns Validator

  • toJSON:function

Generated using TypeDoc