cosmos-explorer/packages/codegen/dist/cosmos/params/v1beta1/params.d.ts
2023-03-02 13:21:24 +08:00

43 lines
1.4 KiB
TypeScript

import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** ParameterChangeProposal defines a proposal to change one or more parameters. */
export interface ParameterChangeProposal {
title: string;
description: string;
changes: ParamChange[];
}
/** ParameterChangeProposal defines a proposal to change one or more parameters. */
export interface ParameterChangeProposalSDKType {
title: string;
description: string;
changes: ParamChangeSDKType[];
}
/**
* ParamChange defines an individual parameter change, for use in
* ParameterChangeProposal.
*/
export interface ParamChange {
subspace: string;
key: string;
value: string;
}
/**
* ParamChange defines an individual parameter change, for use in
* ParameterChangeProposal.
*/
export interface ParamChangeSDKType {
subspace: string;
key: string;
value: string;
}
export declare const ParameterChangeProposal: {
encode(message: ParameterChangeProposal, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ParameterChangeProposal;
fromPartial(object: DeepPartial<ParameterChangeProposal>): ParameterChangeProposal;
};
export declare const ParamChange: {
encode(message: ParamChange, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ParamChange;
fromPartial(object: DeepPartial<ParamChange>): ParamChange;
};