import { Permissions, type PermissionsSDKType } from './types.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type. */ export interface MsgAuthorizeCircuitBreaker { /** * granter is the granter of the circuit breaker permissions and must have * LEVEL_SUPER_ADMIN. */ granter: string; /** grantee is the account authorized with the provided permissions. */ grantee: string; /** * permissions are the circuit breaker permissions that the grantee receives. * These will overwrite any existing permissions. LEVEL_NONE_UNSPECIFIED can * be specified to revoke all permissions. */ permissions?: Permissions; } export interface MsgAuthorizeCircuitBreakerProtoMsg { typeUrl: '/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker'; value: Uint8Array; } /** MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type. */ export interface MsgAuthorizeCircuitBreakerSDKType { granter: string; grantee: string; permissions?: PermissionsSDKType; } /** MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type. */ export interface MsgAuthorizeCircuitBreakerResponse { success: boolean; } export interface MsgAuthorizeCircuitBreakerResponseProtoMsg { typeUrl: '/cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse'; value: Uint8Array; } /** MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type. */ export interface MsgAuthorizeCircuitBreakerResponseSDKType { success: boolean; } /** MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type. */ export interface MsgTripCircuitBreaker { /** authority is the account authorized to trip the circuit breaker. */ authority: string; /** * msg_type_urls specifies a list of type URLs to immediately stop processing. * IF IT IS LEFT EMPTY, ALL MSG PROCESSING WILL STOP IMMEDIATELY. * This value is validated against the authority's permissions and if the * authority does not have permissions to trip the specified msg type URLs * (or all URLs), the operation will fail. */ msgTypeUrls: string[]; } export interface MsgTripCircuitBreakerProtoMsg { typeUrl: '/cosmos.circuit.v1.MsgTripCircuitBreaker'; value: Uint8Array; } /** MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type. */ export interface MsgTripCircuitBreakerSDKType { authority: string; msg_type_urls: string[]; } /** MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type. */ export interface MsgTripCircuitBreakerResponse { success: boolean; } export interface MsgTripCircuitBreakerResponseProtoMsg { typeUrl: '/cosmos.circuit.v1.MsgTripCircuitBreakerResponse'; value: Uint8Array; } /** MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type. */ export interface MsgTripCircuitBreakerResponseSDKType { success: boolean; } /** MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type. */ export interface MsgResetCircuitBreaker { /** authority is the account authorized to trip or reset the circuit breaker. */ authority: string; /** * msg_type_urls specifies a list of Msg type URLs to resume processing. If * it is left empty all Msg processing for type URLs that the account is * authorized to trip will resume. */ msgTypeUrls: string[]; } export interface MsgResetCircuitBreakerProtoMsg { typeUrl: '/cosmos.circuit.v1.MsgResetCircuitBreaker'; value: Uint8Array; } /** MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type. */ export interface MsgResetCircuitBreakerSDKType { authority: string; msg_type_urls: string[]; } /** MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type. */ export interface MsgResetCircuitBreakerResponse { success: boolean; } export interface MsgResetCircuitBreakerResponseProtoMsg { typeUrl: '/cosmos.circuit.v1.MsgResetCircuitBreakerResponse'; value: Uint8Array; } /** MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type. */ export interface MsgResetCircuitBreakerResponseSDKType { success: boolean; } export declare const MsgAuthorizeCircuitBreaker: { typeUrl: "/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker"; encode(message: MsgAuthorizeCircuitBreaker, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgAuthorizeCircuitBreaker; fromJSON(object: any): MsgAuthorizeCircuitBreaker; toJSON(message: MsgAuthorizeCircuitBreaker): JsonSafe; fromPartial(object: Partial): MsgAuthorizeCircuitBreaker; fromProtoMsg(message: MsgAuthorizeCircuitBreakerProtoMsg): MsgAuthorizeCircuitBreaker; toProto(message: MsgAuthorizeCircuitBreaker): Uint8Array; toProtoMsg(message: MsgAuthorizeCircuitBreaker): MsgAuthorizeCircuitBreakerProtoMsg; }; export declare const MsgAuthorizeCircuitBreakerResponse: { typeUrl: "/cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse"; encode(message: MsgAuthorizeCircuitBreakerResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgAuthorizeCircuitBreakerResponse; fromJSON(object: any): MsgAuthorizeCircuitBreakerResponse; toJSON(message: MsgAuthorizeCircuitBreakerResponse): JsonSafe; fromPartial(object: Partial): MsgAuthorizeCircuitBreakerResponse; fromProtoMsg(message: MsgAuthorizeCircuitBreakerResponseProtoMsg): MsgAuthorizeCircuitBreakerResponse; toProto(message: MsgAuthorizeCircuitBreakerResponse): Uint8Array; toProtoMsg(message: MsgAuthorizeCircuitBreakerResponse): MsgAuthorizeCircuitBreakerResponseProtoMsg; }; export declare const MsgTripCircuitBreaker: { typeUrl: "/cosmos.circuit.v1.MsgTripCircuitBreaker"; encode(message: MsgTripCircuitBreaker, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgTripCircuitBreaker; fromJSON(object: any): MsgTripCircuitBreaker; toJSON(message: MsgTripCircuitBreaker): JsonSafe; fromPartial(object: Partial): MsgTripCircuitBreaker; fromProtoMsg(message: MsgTripCircuitBreakerProtoMsg): MsgTripCircuitBreaker; toProto(message: MsgTripCircuitBreaker): Uint8Array; toProtoMsg(message: MsgTripCircuitBreaker): MsgTripCircuitBreakerProtoMsg; }; export declare const MsgTripCircuitBreakerResponse: { typeUrl: "/cosmos.circuit.v1.MsgTripCircuitBreakerResponse"; encode(message: MsgTripCircuitBreakerResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgTripCircuitBreakerResponse; fromJSON(object: any): MsgTripCircuitBreakerResponse; toJSON(message: MsgTripCircuitBreakerResponse): JsonSafe; fromPartial(object: Partial): MsgTripCircuitBreakerResponse; fromProtoMsg(message: MsgTripCircuitBreakerResponseProtoMsg): MsgTripCircuitBreakerResponse; toProto(message: MsgTripCircuitBreakerResponse): Uint8Array; toProtoMsg(message: MsgTripCircuitBreakerResponse): MsgTripCircuitBreakerResponseProtoMsg; }; export declare const MsgResetCircuitBreaker: { typeUrl: "/cosmos.circuit.v1.MsgResetCircuitBreaker"; encode(message: MsgResetCircuitBreaker, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgResetCircuitBreaker; fromJSON(object: any): MsgResetCircuitBreaker; toJSON(message: MsgResetCircuitBreaker): JsonSafe; fromPartial(object: Partial): MsgResetCircuitBreaker; fromProtoMsg(message: MsgResetCircuitBreakerProtoMsg): MsgResetCircuitBreaker; toProto(message: MsgResetCircuitBreaker): Uint8Array; toProtoMsg(message: MsgResetCircuitBreaker): MsgResetCircuitBreakerProtoMsg; }; export declare const MsgResetCircuitBreakerResponse: { typeUrl: "/cosmos.circuit.v1.MsgResetCircuitBreakerResponse"; encode(message: MsgResetCircuitBreakerResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgResetCircuitBreakerResponse; fromJSON(object: any): MsgResetCircuitBreakerResponse; toJSON(message: MsgResetCircuitBreakerResponse): JsonSafe; fromPartial(object: Partial): MsgResetCircuitBreakerResponse; fromProtoMsg(message: MsgResetCircuitBreakerResponseProtoMsg): MsgResetCircuitBreakerResponse; toProto(message: MsgResetCircuitBreakerResponse): Uint8Array; toProtoMsg(message: MsgResetCircuitBreakerResponse): MsgResetCircuitBreakerResponseProtoMsg; }; //# sourceMappingURL=tx.d.ts.map