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