Proof: { create<I>(base?): Proof; decode(input,
length?): Proof; encode(message,
writer?): Writer; fromJSON(object): Proof; fromPartial<I>(object): Proof; toJSON(message): unknown; } Type declaration
create:function
- create<I>(base?): Proof
Type Parameters
- I extends {
addresses?: string[];
signatures?: string[];
threshold?: string;
weights?: string[];
} & {
addresses?: string[] & string[] & {
[K in string | symbol]: never
};
signatures?: string[] & string[] & {
[K in string | symbol]: never
};
threshold?: string;
weights?: string[] & string[] & {
[K in string | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): Proof
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Parameters
- message: Proof
- writer: Writer = ...
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): Proof
Type Parameters
- I extends {
addresses?: string[];
signatures?: string[];
threshold?: string;
weights?: string[];
} & {
addresses?: string[] & string[] & {
[K in string | symbol]: never
};
signatures?: string[] & string[] & {
[K in string | symbol]: never
};
threshold?: string;
weights?: string[] & string[] & {
[K in string | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown