Type declaration
create:function
- create<I>(base?): RecoverRequest
Type Parameters
- I extends {
keygenInit?: {
myPartyIndex?: number;
newKeyUid?: string;
partyShareCounts?: number[];
partyUids?: string[];
threshold?: number;
};
keygenOutput?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
};
} & {
keygenInit?: {
myPartyIndex?: number;
newKeyUid?: string;
partyShareCounts?: number[];
partyUids?: string[];
threshold?: number;
} & {
myPartyIndex?: number;
newKeyUid?: string;
partyShareCounts?: number[] & number[] & {
[K in string | symbol]: never
};
partyUids?: string[] & string[] & {
[K in string | symbol]: never
};
threshold?: number;
} & {
[K in string | number | symbol]: never
};
keygenOutput?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
} & {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): RecoverRequest
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): RecoverRequest
Type Parameters
- I extends {
keygenInit?: {
myPartyIndex?: number;
newKeyUid?: string;
partyShareCounts?: number[];
partyUids?: string[];
threshold?: number;
};
keygenOutput?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
};
} & {
keygenInit?: {
myPartyIndex?: number;
newKeyUid?: string;
partyShareCounts?: number[];
partyUids?: string[];
threshold?: number;
} & {
myPartyIndex?: number;
newKeyUid?: string;
partyShareCounts?: number[] & number[] & {
[K in string | symbol]: never
};
partyUids?: string[] & string[] & {
[K in string | symbol]: never
};
threshold?: number;
} & {
[K in string | number | symbol]: never
};
keygenOutput?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
} & {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown