MaintainerState: {
    create<I>(base?): MaintainerState;
    decode(input, length?): MaintainerState;
    encode(message, writer?): Writer;
    fromJSON(object): MaintainerState;
    fromPartial<I>(object): MaintainerState;
    toJSON(message): unknown;
}

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            address?: Uint8Array;
            chain?: string;
            incorrectVotes?: {
                trueCountCache?: {
                    cumulativeValue?: (string | number | Long)[];
                    index?: number;
                    maxSize?: number;
                };
            };
            missingVotes?: {
                trueCountCache?: {
                    cumulativeValue?: (string | number | Long)[];
                    index?: number;
                    maxSize?: number;
                };
            };
        } & {
            address?: Uint8Array;
            chain?: string;
            incorrectVotes?: {
                trueCountCache?: {
                    cumulativeValue?: ((...) | (...) | (...))[];
                    index?: number;
                    maxSize?: number;
                };
            } & {
                trueCountCache?: {
                    cumulativeValue?: (...)[];
                    index?: number;
                    maxSize?: number;
                } & {
                    cumulativeValue?: (...) & (...) & (...);
                    index?: number;
                    maxSize?: number;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
            missingVotes?: {
                trueCountCache?: {
                    cumulativeValue?: ((...) | (...) | (...))[];
                    index?: number;
                    maxSize?: number;
                };
            } & {
                trueCountCache?: {
                    cumulativeValue?: (...)[];
                    index?: number;
                    maxSize?: number;
                } & {
                    cumulativeValue?: (...) & (...) & (...);
                    index?: number;
                    maxSize?: number;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • Optional base: I

      Returns MaintainerState

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

      • I extends {
            address?: Uint8Array;
            chain?: string;
            incorrectVotes?: {
                trueCountCache?: {
                    cumulativeValue?: (string | number | Long)[];
                    index?: number;
                    maxSize?: number;
                };
            };
            missingVotes?: {
                trueCountCache?: {
                    cumulativeValue?: (string | number | Long)[];
                    index?: number;
                    maxSize?: number;
                };
            };
        } & {
            address?: Uint8Array;
            chain?: string;
            incorrectVotes?: {
                trueCountCache?: {
                    cumulativeValue?: ((...) | (...) | (...))[];
                    index?: number;
                    maxSize?: number;
                };
            } & {
                trueCountCache?: {
                    cumulativeValue?: (...)[];
                    index?: number;
                    maxSize?: number;
                } & {
                    cumulativeValue?: (...) & (...) & (...);
                    index?: number;
                    maxSize?: number;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
            missingVotes?: {
                trueCountCache?: {
                    cumulativeValue?: ((...) | (...) | (...))[];
                    index?: number;
                    maxSize?: number;
                };
            } & {
                trueCountCache?: {
                    cumulativeValue?: (...)[];
                    index?: number;
                    maxSize?: number;
                } & {
                    cumulativeValue?: (...) & (...) & (...);
                    index?: number;
                    maxSize?: number;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • object: I

      Returns MaintainerState

  • toJSON:function

Generated using TypeDoc