import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { JsonSafe } from "../../../json-safe"; /** Params defines the params for activeness of Flows on governance proposals. */ export interface Params { /** Commision rate percentage for returning remaining funds in flow fee account after final execution, e.g. 100 = 1X, 250 = 250 */ flowFundsCommission: bigint; /** Multiplier to the flexible flow gas fee in promille, e.g. 1000 = 1X, 2500 = 2,5x */ flowFlexFeeMul: bigint; /** Fixed burn fee per message execution to burn native denom */ burnFeePerMsg: bigint; /** Array of denoms that can be used for fee payment together with an amount */ gasFeeCoins: Coin[]; /** Maximum period for a flow */ maxFlowDuration: Duration; /** Minimum period for a flow */ minFlowDuration: Duration; /** Minimum period for a flow */ minFlowInterval: Duration; /** * relayer rewards in uinto for each message class 0=Low,1=Medium, 2=High, 3=AuthZExec * Rewards are in uinto and topped up in the module account by alloc module. */ connectionRewards: ConnectionRelayerReward[]; } export interface ParamsProtoMsg { typeUrl: "/intento.intent.v1.Params"; value: Uint8Array; } /** * Params defines the params for activeness of Flows on governance proposals. * @name ParamsAmino * @package intento.intent.v1 * @see proto type: intento.intent.v1.Params */ export interface ParamsAmino { /** * Commision rate percentage for returning remaining funds in flow fee account after final execution, e.g. 100 = 1X, 250 = 250 */ flow_funds_commission?: string; /** * Multiplier to the flexible flow gas fee in promille, e.g. 1000 = 1X, 2500 = 2,5x */ flow_flex_fee_mul?: string; /** * Fixed burn fee per message execution to burn native denom */ burn_fee_per_msg?: string; /** * Array of denoms that can be used for fee payment together with an amount */ gas_fee_coins?: CoinAmino[]; /** * Maximum period for a flow */ max_flow_duration?: DurationAmino; /** * Minimum period for a flow */ min_flow_duration?: DurationAmino; /** * Minimum period for a flow */ min_flow_interval?: DurationAmino; /** * relayer rewards in uinto for each message class 0=Low,1=Medium, 2=High, 3=AuthZExec * Rewards are in uinto and topped up in the module account by alloc module. */ connection_rewards?: ConnectionRelayerRewardAmino[]; } export interface ParamsAminoMsg { type: "/intento.intent.v1.Params"; value: ParamsAmino; } /** Params defines the params for activeness of Flows on governance proposals. */ export interface ParamsSDKType { flow_funds_commission: bigint; flow_flex_fee_mul: bigint; burn_fee_per_msg: bigint; gas_fee_coins: CoinSDKType[]; max_flow_duration: DurationSDKType; min_flow_duration: DurationSDKType; min_flow_interval: DurationSDKType; connection_rewards: ConnectionRelayerRewardSDKType[]; } export interface ConnectionRelayerReward { /** e.g. "connection-12" */ connectionId: string; /** same format: 0=Low, 1=Medium, 2=High */ relayerRewards: bigint[]; } export interface ConnectionRelayerRewardProtoMsg { typeUrl: "/intento.intent.v1.ConnectionRelayerReward"; value: Uint8Array; } /** * @name ConnectionRelayerRewardAmino * @package intento.intent.v1 * @see proto type: intento.intent.v1.ConnectionRelayerReward */ export interface ConnectionRelayerRewardAmino { /** * e.g. "connection-12" */ connection_id?: string; /** * same format: 0=Low, 1=Medium, 2=High */ relayer_rewards?: string[]; } export interface ConnectionRelayerRewardAminoMsg { type: "/intento.intent.v1.ConnectionRelayerReward"; value: ConnectionRelayerRewardAmino; } export interface ConnectionRelayerRewardSDKType { connection_id: string; relayer_rewards: bigint[]; } export declare const Params: { typeUrl: string; is(o: any): o is Params; isSDK(o: any): o is ParamsSDKType; isAmino(o: any): o is ParamsAmino; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromJSON(object: any): Params; toJSON(message: Params): JsonSafe; fromPartial(object: Partial): 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; }; export declare const ConnectionRelayerReward: { typeUrl: string; is(o: any): o is ConnectionRelayerReward; isSDK(o: any): o is ConnectionRelayerRewardSDKType; isAmino(o: any): o is ConnectionRelayerRewardAmino; encode(message: ConnectionRelayerReward, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ConnectionRelayerReward; fromJSON(object: any): ConnectionRelayerReward; toJSON(message: ConnectionRelayerReward): JsonSafe; fromPartial(object: Partial): ConnectionRelayerReward; fromAmino(object: ConnectionRelayerRewardAmino): ConnectionRelayerReward; toAmino(message: ConnectionRelayerReward): ConnectionRelayerRewardAmino; fromAminoMsg(object: ConnectionRelayerRewardAminoMsg): ConnectionRelayerReward; fromProtoMsg(message: ConnectionRelayerRewardProtoMsg): ConnectionRelayerReward; toProto(message: ConnectionRelayerReward): Uint8Array; toProtoMsg(message: ConnectionRelayerReward): ConnectionRelayerRewardProtoMsg; };