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