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

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            pollKey?: {
                id?: string;
                module?: string;
            };
            result?: {
                criminals?: {
                    criminals?: {
                        crimeType?: (...) | (...);
                        partyUid?: (...) | (...);
                    }[];
                };
                signature?: Uint8Array;
            };
            sender?: Uint8Array;
        } & {
            pollKey?: {
                id?: string;
                module?: string;
            } & {
                id?: string;
                module?: string;
            } & {
                [K in string | number | symbol]: never
            };
            result?: {
                criminals?: {
                    criminals?: {
                        crimeType?: ...;
                        partyUid?: ...;
                    }[];
                };
                signature?: Uint8Array;
            } & {
                criminals?: {
                    criminals?: (...)[];
                } & {
                    criminals?: (...) & (...) & (...);
                } & {
                    [K in string | number | symbol]: never
                };
                signature?: Uint8Array;
            } & {
                [K in string | number | symbol]: never
            };
            sender?: Uint8Array;
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • Optional base: I

      Returns VoteSigRequest

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

      • I extends {
            pollKey?: {
                id?: string;
                module?: string;
            };
            result?: {
                criminals?: {
                    criminals?: {
                        crimeType?: (...) | (...);
                        partyUid?: (...) | (...);
                    }[];
                };
                signature?: Uint8Array;
            };
            sender?: Uint8Array;
        } & {
            pollKey?: {
                id?: string;
                module?: string;
            } & {
                id?: string;
                module?: string;
            } & {
                [K in string | number | symbol]: never
            };
            result?: {
                criminals?: {
                    criminals?: {
                        crimeType?: ...;
                        partyUid?: ...;
                    }[];
                };
                signature?: Uint8Array;
            } & {
                criminals?: {
                    criminals?: (...)[];
                } & {
                    criminals?: (...) & (...) & (...);
                } & {
                    [K in string | number | symbol]: never
                };
                signature?: Uint8Array;
            } & {
                [K in string | number | symbol]: never
            };
            sender?: Uint8Array;
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • object: I

      Returns VoteSigRequest

  • toJSON:function

Generated using TypeDoc