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