Type declaration
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): TallyParams
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: TallyParams, writer?: Writer): Writer
-
Returns Writer
-
fromJSON:function
-
fromPartial:function
- fromPartial<I>(object: I): TallyParams
-
Type Parameters
-
I extends {
quorum?: Uint8Array;
threshold?: Uint8Array;
vetoThreshold?: Uint8Array;
} & {
quorum?: Uint8Array;
threshold?: Uint8Array;
vetoThreshold?: Uint8Array;
} & { [ K in string | number | symbol]: never }
-
toJSON:function