50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
TypeScript
/// <reference types="long" />
|
|
import * as _m0 from "protobufjs/minimal";
|
|
import { DeepPartial, Long } from "../../../helpers";
|
|
/** Minter represents the minting state. */
|
|
export interface Minter {
|
|
/** current annual inflation rate */
|
|
inflation: string;
|
|
/** current annual expected provisions */
|
|
annualProvisions: string;
|
|
}
|
|
/** Minter represents the minting state. */
|
|
export interface MinterSDKType {
|
|
inflation: string;
|
|
annual_provisions: string;
|
|
}
|
|
/** Params holds parameters for the mint module. */
|
|
export interface Params {
|
|
/** type of coin to mint */
|
|
mintDenom: string;
|
|
/** maximum annual change in inflation rate */
|
|
inflationRateChange: string;
|
|
/** maximum inflation rate */
|
|
inflationMax: string;
|
|
/** minimum inflation rate */
|
|
inflationMin: string;
|
|
/** goal of percent bonded atoms */
|
|
goalBonded: string;
|
|
/** expected blocks per year */
|
|
blocksPerYear: Long;
|
|
}
|
|
/** Params holds parameters for the mint module. */
|
|
export interface ParamsSDKType {
|
|
mint_denom: string;
|
|
inflation_rate_change: string;
|
|
inflation_max: string;
|
|
inflation_min: string;
|
|
goal_bonded: string;
|
|
blocks_per_year: Long;
|
|
}
|
|
export declare const Minter: {
|
|
encode(message: Minter, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): Minter;
|
|
fromPartial(object: DeepPartial<Minter>): Minter;
|
|
};
|
|
export declare const Params: {
|
|
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
|
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
|
fromPartial(object: DeepPartial<Params>): Params;
|
|
};
|