import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Params } from "./params_pb.js"; import { Namespace, Roles } from "./permissions_pb.js"; /** * @generated from message injective.permissions.v1beta1.MsgUpdateParams */ export declare class MsgUpdateParams extends Message { /** * authority is the address of the governance account. * * @generated from field: string authority = 1; */ authority: string; /** * params defines the permissions parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: injective.permissions.v1beta1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams; static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateParamsResponse */ export declare class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse; static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgCreateNamespace */ export declare class MsgCreateNamespace extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * @generated from field: injective.permissions.v1beta1.Namespace namespace = 2; */ namespace?: Namespace; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgCreateNamespace"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateNamespace; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateNamespace; static fromJsonString(jsonString: string, options?: Partial): MsgCreateNamespace; static equals(a: MsgCreateNamespace | PlainMessage | undefined, b: MsgCreateNamespace | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgCreateNamespaceResponse */ export declare class MsgCreateNamespaceResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgCreateNamespaceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateNamespaceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateNamespaceResponse; static fromJsonString(jsonString: string, options?: Partial): MsgCreateNamespaceResponse; static equals(a: MsgCreateNamespaceResponse | PlainMessage | undefined, b: MsgCreateNamespaceResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgDeleteNamespace */ export declare class MsgDeleteNamespace extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * @generated from field: string namespace_denom = 2; */ namespaceDenom: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgDeleteNamespace"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDeleteNamespace; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDeleteNamespace; static fromJsonString(jsonString: string, options?: Partial): MsgDeleteNamespace; static equals(a: MsgDeleteNamespace | PlainMessage | undefined, b: MsgDeleteNamespace | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgDeleteNamespaceResponse */ export declare class MsgDeleteNamespaceResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgDeleteNamespaceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDeleteNamespaceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDeleteNamespaceResponse; static fromJsonString(jsonString: string, options?: Partial): MsgDeleteNamespaceResponse; static equals(a: MsgDeleteNamespaceResponse | PlainMessage | undefined, b: MsgDeleteNamespaceResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateNamespace */ export declare class MsgUpdateNamespace extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * namespace denom to which this updates are applied * * @generated from field: string namespace_denom = 2; */ namespaceDenom: string; /** * address of smart contract to apply code-based restrictions * * @generated from field: injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook wasm_hook = 3; */ wasmHook?: MsgUpdateNamespace_MsgSetWasmHook; /** * @generated from field: injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPaused mints_paused = 4; */ mintsPaused?: MsgUpdateNamespace_MsgSetMintsPaused; /** * @generated from field: injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPaused sends_paused = 5; */ sendsPaused?: MsgUpdateNamespace_MsgSetSendsPaused; /** * @generated from field: injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPaused burns_paused = 6; */ burnsPaused?: MsgUpdateNamespace_MsgSetBurnsPaused; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateNamespace"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateNamespace; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateNamespace; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateNamespace; static equals(a: MsgUpdateNamespace | PlainMessage | undefined, b: MsgUpdateNamespace | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook */ export declare class MsgUpdateNamespace_MsgSetWasmHook extends Message { /** * @generated from field: string new_value = 1; */ newValue: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateNamespace_MsgSetWasmHook; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateNamespace_MsgSetWasmHook; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateNamespace_MsgSetWasmHook; static equals(a: MsgUpdateNamespace_MsgSetWasmHook | PlainMessage | undefined, b: MsgUpdateNamespace_MsgSetWasmHook | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPaused */ export declare class MsgUpdateNamespace_MsgSetMintsPaused extends Message { /** * @generated from field: bool new_value = 1; */ newValue: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPaused"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateNamespace_MsgSetMintsPaused; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateNamespace_MsgSetMintsPaused; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateNamespace_MsgSetMintsPaused; static equals(a: MsgUpdateNamespace_MsgSetMintsPaused | PlainMessage | undefined, b: MsgUpdateNamespace_MsgSetMintsPaused | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPaused */ export declare class MsgUpdateNamespace_MsgSetSendsPaused extends Message { /** * @generated from field: bool new_value = 1; */ newValue: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPaused"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateNamespace_MsgSetSendsPaused; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateNamespace_MsgSetSendsPaused; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateNamespace_MsgSetSendsPaused; static equals(a: MsgUpdateNamespace_MsgSetSendsPaused | PlainMessage | undefined, b: MsgUpdateNamespace_MsgSetSendsPaused | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPaused */ export declare class MsgUpdateNamespace_MsgSetBurnsPaused extends Message { /** * @generated from field: bool new_value = 1; */ newValue: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPaused"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateNamespace_MsgSetBurnsPaused; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateNamespace_MsgSetBurnsPaused; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateNamespace_MsgSetBurnsPaused; static equals(a: MsgUpdateNamespace_MsgSetBurnsPaused | PlainMessage | undefined, b: MsgUpdateNamespace_MsgSetBurnsPaused | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateNamespaceResponse */ export declare class MsgUpdateNamespaceResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateNamespaceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateNamespaceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateNamespaceResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateNamespaceResponse; static equals(a: MsgUpdateNamespaceResponse | PlainMessage | undefined, b: MsgUpdateNamespaceResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateNamespaceRoles */ export declare class MsgUpdateNamespaceRoles extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * namespace denom to which this updates are applied * * @generated from field: string namespace_denom = 2; */ namespaceDenom: string; /** * new role definitions or updated permissions for existing roles * * @generated from field: map role_permissions = 3; */ rolePermissions: { [key: string]: number; }; /** * new addresses to add or new roles for existing addresses to * * @generated from field: map address_roles = 4; */ addressRoles: { [key: string]: Roles; }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateNamespaceRoles"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateNamespaceRoles; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateNamespaceRoles; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateNamespaceRoles; static equals(a: MsgUpdateNamespaceRoles | PlainMessage | undefined, b: MsgUpdateNamespaceRoles | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse */ export declare class MsgUpdateNamespaceRolesResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateNamespaceRolesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateNamespaceRolesResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateNamespaceRolesResponse; static equals(a: MsgUpdateNamespaceRolesResponse | PlainMessage | undefined, b: MsgUpdateNamespaceRolesResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgRevokeNamespaceRoles */ export declare class MsgRevokeNamespaceRoles extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * namespace denom to which this updates are applied * * @generated from field: string namespace_denom = 2; */ namespaceDenom: string; /** * map of {"address" => array of roles to revoke from this address} * * @generated from field: map address_roles_to_revoke = 3; */ addressRolesToRevoke: { [key: string]: Roles; }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgRevokeNamespaceRoles"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRevokeNamespaceRoles; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRevokeNamespaceRoles; static fromJsonString(jsonString: string, options?: Partial): MsgRevokeNamespaceRoles; static equals(a: MsgRevokeNamespaceRoles | PlainMessage | undefined, b: MsgRevokeNamespaceRoles | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse */ export declare class MsgRevokeNamespaceRolesResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRevokeNamespaceRolesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRevokeNamespaceRolesResponse; static fromJsonString(jsonString: string, options?: Partial): MsgRevokeNamespaceRolesResponse; static equals(a: MsgRevokeNamespaceRolesResponse | PlainMessage | undefined, b: MsgRevokeNamespaceRolesResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgClaimVoucher */ export declare class MsgClaimVoucher extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * address of the original voucher sender (typically a module address, * * @generated from field: string originator = 2; */ originator: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgClaimVoucher"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgClaimVoucher; static fromJson(jsonValue: JsonValue, options?: Partial): MsgClaimVoucher; static fromJsonString(jsonString: string, options?: Partial): MsgClaimVoucher; static equals(a: MsgClaimVoucher | PlainMessage | undefined, b: MsgClaimVoucher | PlainMessage | undefined): boolean; } /** * @generated from message injective.permissions.v1beta1.MsgClaimVoucherResponse */ export declare class MsgClaimVoucherResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.permissions.v1beta1.MsgClaimVoucherResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgClaimVoucherResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgClaimVoucherResponse; static fromJsonString(jsonString: string, options?: Partial): MsgClaimVoucherResponse; static equals(a: MsgClaimVoucherResponse | PlainMessage | undefined, b: MsgClaimVoucherResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map