MessageIn: { create<I>(base?): MessageIn; decode(input,
length?): MessageIn; encode(message,
writer?): Writer; fromJSON(object): MessageIn; fromPartial<I>(object): MessageIn; toJSON(message): unknown; } Type declaration
create:function
- create<I>(base?): MessageIn
Type Parameters
- I extends {
abort?: boolean;
keygenInit?: {
myPartyIndex?: number;
newKeyUid?: string;
partyShareCounts?: number[];
partyUids?: string[];
threshold?: number;
};
signInit?: {
keyUid?: string;
messageToSign?: Uint8Array;
newSigUid?: string;
partyUids?: string[];
};
traffic?: {
fromPartyUid?: string;
isBroadcast?: boolean;
payload?: Uint8Array;
};
} & {
abort?: boolean;
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
};
signInit?: {
keyUid?: string;
messageToSign?: Uint8Array;
newSigUid?: string;
partyUids?: string[];
} & {
keyUid?: string;
messageToSign?: Uint8Array;
newSigUid?: string;
partyUids?: string[] & string[] & {
[K in string | symbol]: never
};
} & {
[K in string | number | symbol]: never
};
traffic?: {
fromPartyUid?: string;
isBroadcast?: boolean;
payload?: Uint8Array;
} & {
fromPartyUid?: string;
isBroadcast?: boolean;
payload?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): MessageIn
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): MessageIn
Type Parameters
- I extends {
abort?: boolean;
keygenInit?: {
myPartyIndex?: number;
newKeyUid?: string;
partyShareCounts?: number[];
partyUids?: string[];
threshold?: number;
};
signInit?: {
keyUid?: string;
messageToSign?: Uint8Array;
newSigUid?: string;
partyUids?: string[];
};
traffic?: {
fromPartyUid?: string;
isBroadcast?: boolean;
payload?: Uint8Array;
};
} & {
abort?: boolean;
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
};
signInit?: {
keyUid?: string;
messageToSign?: Uint8Array;
newSigUid?: string;
partyUids?: string[];
} & {
keyUid?: string;
messageToSign?: Uint8Array;
newSigUid?: string;
partyUids?: string[] & string[] & {
[K in string | symbol]: never
};
} & {
[K in string | number | symbol]: never
};
traffic?: {
fromPartyUid?: string;
isBroadcast?: boolean;
payload?: Uint8Array;
} & {
fromPartyUid?: string;
isBroadcast?: boolean;
payload?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown