@bandprotocol/bandchain.js
Version:
TypeScript library for Cosmos SDK and BandChain
83 lines (82 loc) • 3.21 kB
TypeScript
import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../../cosmos/base/v1beta1/coin";
import { BinaryReader, BinaryWriter } from "../../../binary";
/** GenesisState - initial state of module */
export interface GenesisState {
/** Params of this module */
params: Params;
}
export interface GenesisStateProtoMsg {
typeUrl: "/band.globalfee.v1beta1.GenesisState";
value: Uint8Array;
}
/** GenesisState - initial state of module */
export interface GenesisStateAmino {
/** Params of this module */
params?: ParamsAmino;
}
export interface GenesisStateAminoMsg {
type: "/band.globalfee.v1beta1.GenesisState";
value: GenesisStateAmino;
}
/** GenesisState - initial state of module */
export interface GenesisStateSDKType {
params: ParamsSDKType;
}
/** Params defines the set of module parameters. */
export interface Params {
/**
* Minimum stores the minimum gas price(s) for all TX on the chain.
* When multiple coins are defined then they are accepted alternatively.
* The list must be sorted by denoms asc. No duplicate denoms or zero amount
* values allowed. For more information see
* https://docs.cosmos.network/main/modules/auth#concepts
*/
minimumGasPrices: DecCoin[];
}
export interface ParamsProtoMsg {
typeUrl: "/band.globalfee.v1beta1.Params";
value: Uint8Array;
}
/** Params defines the set of module parameters. */
export interface ParamsAmino {
/**
* Minimum stores the minimum gas price(s) for all TX on the chain.
* When multiple coins are defined then they are accepted alternatively.
* The list must be sorted by denoms asc. No duplicate denoms or zero amount
* values allowed. For more information see
* https://docs.cosmos.network/main/modules/auth#concepts
*/
minimum_gas_prices?: DecCoinAmino[];
}
export interface ParamsAminoMsg {
type: "/band.globalfee.v1beta1.Params";
value: ParamsAmino;
}
/** Params defines the set of module parameters. */
export interface ParamsSDKType {
minimum_gas_prices: DecCoinSDKType[];
}
export declare const GenesisState: {
typeUrl: string;
encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
fromPartial(object: Partial<GenesisState>): GenesisState;
fromAmino(object: GenesisStateAmino): GenesisState;
toAmino(message: GenesisState): GenesisStateAmino;
fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
fromProtoMsg(message: GenesisStateProtoMsg): GenesisState;
toProto(message: GenesisState): Uint8Array;
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
};
export declare const Params: {
typeUrl: string;
encode(message: Params, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): Params;
fromPartial(object: Partial<Params>): Params;
fromAmino(object: ParamsAmino): Params;
toAmino(message: Params): ParamsAmino;
fromAminoMsg(object: ParamsAminoMsg): Params;
fromProtoMsg(message: ParamsProtoMsg): Params;
toProto(message: Params): Uint8Array;
toProtoMsg(message: Params): ParamsProtoMsg;
};