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