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
    • 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
        }

      Parameters

      • Optional base: I

      Returns DVPairs

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • 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
        }

      Parameters

      • object: I

      Returns DVPairs

  • toJSON:function

Generated using TypeDoc