import { BinaryReader, BinaryWriter } from "../../../binary"; export declare const protobufPackage = "cosmos.dynamicfee.v1"; /** * Params contains the required set of parameters for the EIP1559 dynamic fee * pricing implementation. */ export interface Params { /** * Alpha is the amount we additively increase the learning rate * when it is above or below the target +/- threshold. * * Must be > 0. */ alpha: string; /** * Beta is the amount we multiplicatively decrease the learning rate * when it is within the target +/- threshold. * * Must be [0, 1]. */ beta: string; /** * Gamma is the threshold for the learning rate. If the learning rate is * above or below the target +/- threshold, we additively increase the * learning rate by Alpha. Otherwise, we multiplicatively decrease the * learning rate by Beta. * * Must be [0, 0.5]. */ gamma: string; /** * MinBaseGasPrice determines the initial gas price of the module and the * global minimum for the network. */ minBaseGasPrice: string; /** * TargetBlockUtilization is the target block utilization expressed as a * decimal value between 0 and 1. It is the target percentage utilization * of the block in relation to the consensus_params.block.max_gas parameter. */ targetBlockUtilization: string; /** * DefaultMaxBlockGas is the default max block gas. * This parameter is used by the dynamicfee module * in the case consensus_params.block.max_gas returns 0 or -1. */ defaultMaxBlockGas: bigint; /** MinLearningRate is the lower bound for the learning rate. */ minLearningRate: string; /** MaxLearningRate is the upper bound for the learning rate. */ maxLearningRate: string; /** * Window defines the window size for calculating an adaptive learning rate * over a moving window of blocks. */ window: bigint; /** FeeDenom is the denom that will be used for all fee payments. */ feeDenom: string; /** * Enabled is a boolean that determines whether the EIP1559 dynamic fee * pricing is enabled. */ enabled: boolean; } export interface ParamsProtoMsg { typeUrl: "/cosmos.dynamicfee.v1.Params"; value: Uint8Array; } /** * Params contains the required set of parameters for the EIP1559 dynamic fee * pricing implementation. */ export interface ParamsAmino { /** * Alpha is the amount we additively increase the learning rate * when it is above or below the target +/- threshold. * * Must be > 0. */ alpha?: string; /** * Beta is the amount we multiplicatively decrease the learning rate * when it is within the target +/- threshold. * * Must be [0, 1]. */ beta?: string; /** * Gamma is the threshold for the learning rate. If the learning rate is * above or below the target +/- threshold, we additively increase the * learning rate by Alpha. Otherwise, we multiplicatively decrease the * learning rate by Beta. * * Must be [0, 0.5]. */ gamma?: string; /** * MinBaseGasPrice determines the initial gas price of the module and the * global minimum for the network. */ min_base_gas_price?: string; /** * TargetBlockUtilization is the target block utilization expressed as a * decimal value between 0 and 1. It is the target percentage utilization * of the block in relation to the consensus_params.block.max_gas parameter. */ target_block_utilization?: string; /** * DefaultMaxBlockGas is the default max block gas. * This parameter is used by the dynamicfee module * in the case consensus_params.block.max_gas returns 0 or -1. */ default_max_block_gas?: string; /** MinLearningRate is the lower bound for the learning rate. */ min_learning_rate?: string; /** MaxLearningRate is the upper bound for the learning rate. */ max_learning_rate?: string; /** * Window defines the window size for calculating an adaptive learning rate * over a moving window of blocks. */ window?: string; /** FeeDenom is the denom that will be used for all fee payments. */ fee_denom?: string; /** * Enabled is a boolean that determines whether the EIP1559 dynamic fee * pricing is enabled. */ enabled?: boolean; } export interface ParamsAminoMsg { type: "cosmos-sdk/Params"; value: ParamsAmino; } export declare const Params: { typeUrl: string; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromJSON(object: any): Params; toJSON(message: Params): unknown; fromPartial(object: Partial): Params; fromAmino(object: ParamsAmino): Params; toAmino(message: Params): ParamsAmino; fromAminoMsg(object: ParamsAminoMsg): Params; toAminoMsg(message: Params): ParamsAminoMsg; fromProtoMsg(message: ParamsProtoMsg): Params; toProto(message: Params): Uint8Array; toProtoMsg(message: Params): ParamsProtoMsg; };