import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Gov tx to add a new rate limit * * @generated from message ibc.applications.rate_limiting.v1.MsgAddRateLimit */ export declare class MsgAddRateLimit extends Message { /** * signer defines the x/gov module account address or other authority signing the message * * @generated from field: string signer = 1; */ signer: string; /** * Denom for the rate limit, as it appears on the rate limited chain * When rate limiting a non-native token, this will be an ibc denom * * @generated from field: string denom = 2; */ denom: string; /** * ChannelId for the rate limit, on the side of the rate limited chain * * @generated from field: string channel_or_client_id = 3; */ channelOrClientId: string; /** * MaxPercentSend defines the threshold for outflows * The threshold is defined as a percentage (e.g. 10 indicates 10%) * * @generated from field: string max_percent_send = 4; */ maxPercentSend: string; /** * MaxPercentSend defines the threshold for inflows * The threshold is defined as a percentage (e.g. 10 indicates 10%) * * @generated from field: string max_percent_recv = 5; */ maxPercentRecv: string; /** * DurationHours specifies the number of hours before the rate limit * is reset (e.g. 24 indicates that the rate limit is reset each day) * * @generated from field: uint64 duration_hours = 6; */ durationHours: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.rate_limiting.v1.MsgAddRateLimit"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgAddRateLimit; static fromJson(jsonValue: JsonValue, options?: Partial): MsgAddRateLimit; static fromJsonString(jsonString: string, options?: Partial): MsgAddRateLimit; static equals(a: MsgAddRateLimit | PlainMessage | undefined, b: MsgAddRateLimit | PlainMessage | undefined): boolean; } /** * MsgAddRateLimitResponse is the return type for AddRateLimit function. * * @generated from message ibc.applications.rate_limiting.v1.MsgAddRateLimitResponse */ export declare class MsgAddRateLimitResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.rate_limiting.v1.MsgAddRateLimitResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgAddRateLimitResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgAddRateLimitResponse; static fromJsonString(jsonString: string, options?: Partial): MsgAddRateLimitResponse; static equals(a: MsgAddRateLimitResponse | PlainMessage | undefined, b: MsgAddRateLimitResponse | PlainMessage | undefined): boolean; } /** * Gov tx to update an existing rate limit * * @generated from message ibc.applications.rate_limiting.v1.MsgUpdateRateLimit */ export declare class MsgUpdateRateLimit extends Message { /** * signer defines the x/gov module account address or other authority signing the message * * @generated from field: string signer = 1; */ signer: string; /** * Denom for the rate limit, as it appears on the rate limited chain * When rate limiting a non-native token, this will be an ibc denom * * @generated from field: string denom = 2; */ denom: string; /** * ChannelId for the rate limit, on the side of the rate limited chain * * @generated from field: string channel_or_client_id = 3; */ channelOrClientId: string; /** * MaxPercentSend defines the threshold for outflows * The threshold is defined as a percentage (e.g. 10 indicates 10%) * * @generated from field: string max_percent_send = 4; */ maxPercentSend: string; /** * MaxPercentSend defines the threshold for inflows * The threshold is defined as a percentage (e.g. 10 indicates 10%) * * @generated from field: string max_percent_recv = 5; */ maxPercentRecv: string; /** * DurationHours specifies the number of hours before the rate limit * is reset (e.g. 24 indicates that the rate limit is reset each day) * * @generated from field: uint64 duration_hours = 6; */ durationHours: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.rate_limiting.v1.MsgUpdateRateLimit"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateRateLimit; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateRateLimit; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateRateLimit; static equals(a: MsgUpdateRateLimit | PlainMessage | undefined, b: MsgUpdateRateLimit | PlainMessage | undefined): boolean; } /** * MsgUpdateRateLimitResponse is the return type for UpdateRateLimit. * * @generated from message ibc.applications.rate_limiting.v1.MsgUpdateRateLimitResponse */ export declare class MsgUpdateRateLimitResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.rate_limiting.v1.MsgUpdateRateLimitResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateRateLimitResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateRateLimitResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateRateLimitResponse; static equals(a: MsgUpdateRateLimitResponse | PlainMessage | undefined, b: MsgUpdateRateLimitResponse | PlainMessage | undefined): boolean; } /** * Gov tx to remove a rate limit * * @generated from message ibc.applications.rate_limiting.v1.MsgRemoveRateLimit */ export declare class MsgRemoveRateLimit extends Message { /** * signer defines the x/gov module account address or other authority signing the message * * @generated from field: string signer = 1; */ signer: string; /** * Denom for the rate limit, as it appears on the rate limited chain * When rate limiting a non-native token, this will be an ibc denom * * @generated from field: string denom = 2; */ denom: string; /** * ChannelId for the rate limit, on the side of the rate limited chain * * @generated from field: string channel_or_client_id = 3; */ channelOrClientId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.rate_limiting.v1.MsgRemoveRateLimit"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRemoveRateLimit; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRemoveRateLimit; static fromJsonString(jsonString: string, options?: Partial): MsgRemoveRateLimit; static equals(a: MsgRemoveRateLimit | PlainMessage | undefined, b: MsgRemoveRateLimit | PlainMessage | undefined): boolean; } /** * MsgRemoveRateLimitResponse is the response type for RemoveRateLimit * * @generated from message ibc.applications.rate_limiting.v1.MsgRemoveRateLimitResponse */ export declare class MsgRemoveRateLimitResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.rate_limiting.v1.MsgRemoveRateLimitResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRemoveRateLimitResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRemoveRateLimitResponse; static fromJsonString(jsonString: string, options?: Partial): MsgRemoveRateLimitResponse; static equals(a: MsgRemoveRateLimitResponse | PlainMessage | undefined, b: MsgRemoveRateLimitResponse | PlainMessage | undefined): boolean; } /** * Gov tx to reset the flow on a rate limit * * @generated from message ibc.applications.rate_limiting.v1.MsgResetRateLimit */ export declare class MsgResetRateLimit extends Message { /** * signer defines the x/gov module account address or other authority signing the message * * @generated from field: string signer = 1; */ signer: string; /** * Denom for the rate limit, as it appears on the rate limited chain * When rate limiting a non-native token, this will be an ibc denom * * @generated from field: string denom = 2; */ denom: string; /** * ChannelId for the rate limit, on the side of the rate limited chain * * @generated from field: string channel_or_client_id = 3; */ channelOrClientId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.rate_limiting.v1.MsgResetRateLimit"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgResetRateLimit; static fromJson(jsonValue: JsonValue, options?: Partial): MsgResetRateLimit; static fromJsonString(jsonString: string, options?: Partial): MsgResetRateLimit; static equals(a: MsgResetRateLimit | PlainMessage | undefined, b: MsgResetRateLimit | PlainMessage | undefined): boolean; } /** * MsgResetRateLimitResponse is the response type for ResetRateLimit. * * @generated from message ibc.applications.rate_limiting.v1.MsgResetRateLimitResponse */ export declare class MsgResetRateLimitResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.rate_limiting.v1.MsgResetRateLimitResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgResetRateLimitResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgResetRateLimitResponse; static fromJsonString(jsonString: string, options?: Partial): MsgResetRateLimitResponse; static equals(a: MsgResetRateLimitResponse | PlainMessage | undefined, b: MsgResetRateLimitResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map