Type declaration
create:function
- create<I>(base?): VoteSigRequest
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
}
decode:function
- decode(input, length?): VoteSigRequest
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): VoteSigRequest
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
}
toJSON:function
- toJSON(message): unknown
Returns unknown