import { BinaryReader, BinaryWriter } from "../../../binary.js"; import { DeepPartial } from "../../../helpers.js"; //#region src/cosmos/authz/v1beta1/event.d.ts /** * EventGrant is emitted on Msg/Grant * @name EventGrant * @package cosmos.authz.v1beta1 * @see proto type: cosmos.authz.v1beta1.EventGrant */ interface EventGrant { /** * Msg type URL for which an autorization is granted */ msgTypeUrl: string; /** * Granter account address */ granter: string; /** * Grantee account address */ grantee: string; } interface EventGrantProtoMsg { typeUrl: "/cosmos.authz.v1beta1.EventGrant"; value: Uint8Array; } /** * EventGrant is emitted on Msg/Grant * @name EventGrantAmino * @package cosmos.authz.v1beta1 * @see proto type: cosmos.authz.v1beta1.EventGrant */ interface EventGrantAmino { /** * Msg type URL for which an autorization is granted */ msg_type_url: string; /** * Granter account address */ granter: string; /** * Grantee account address */ grantee: string; } interface EventGrantAminoMsg { type: "cosmos-sdk/EventGrant"; value: EventGrantAmino; } /** * EventRevoke is emitted on Msg/Revoke * @name EventRevoke * @package cosmos.authz.v1beta1 * @see proto type: cosmos.authz.v1beta1.EventRevoke */ interface EventRevoke { /** * Msg type URL for which an autorization is revoked */ msgTypeUrl: string; /** * Granter account address */ granter: string; /** * Grantee account address */ grantee: string; } interface EventRevokeProtoMsg { typeUrl: "/cosmos.authz.v1beta1.EventRevoke"; value: Uint8Array; } /** * EventRevoke is emitted on Msg/Revoke * @name EventRevokeAmino * @package cosmos.authz.v1beta1 * @see proto type: cosmos.authz.v1beta1.EventRevoke */ interface EventRevokeAmino { /** * Msg type URL for which an autorization is revoked */ msg_type_url: string; /** * Granter account address */ granter: string; /** * Grantee account address */ grantee: string; } interface EventRevokeAminoMsg { type: "cosmos-sdk/EventRevoke"; value: EventRevokeAmino; } /** * EventGrant is emitted on Msg/Grant * @name EventGrant * @package cosmos.authz.v1beta1 * @see proto type: cosmos.authz.v1beta1.EventGrant */ declare const EventGrant: { typeUrl: string; aminoType: string; is(o: any): o is EventGrant; isAmino(o: any): o is EventGrantAmino; encode(message: EventGrant, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventGrant; fromPartial(object: DeepPartial): EventGrant; fromAmino(object: EventGrantAmino): EventGrant; toAmino(message: EventGrant): EventGrantAmino; fromAminoMsg(object: EventGrantAminoMsg): EventGrant; toAminoMsg(message: EventGrant): EventGrantAminoMsg; fromProtoMsg(message: EventGrantProtoMsg): EventGrant; toProto(message: EventGrant): Uint8Array; toProtoMsg(message: EventGrant): EventGrantProtoMsg; registerTypeUrl(): void; }; /** * EventRevoke is emitted on Msg/Revoke * @name EventRevoke * @package cosmos.authz.v1beta1 * @see proto type: cosmos.authz.v1beta1.EventRevoke */ declare const EventRevoke: { typeUrl: string; aminoType: string; is(o: any): o is EventRevoke; isAmino(o: any): o is EventRevokeAmino; encode(message: EventRevoke, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventRevoke; fromPartial(object: DeepPartial): EventRevoke; fromAmino(object: EventRevokeAmino): EventRevoke; toAmino(message: EventRevoke): EventRevokeAmino; fromAminoMsg(object: EventRevokeAminoMsg): EventRevoke; toAminoMsg(message: EventRevoke): EventRevokeAminoMsg; fromProtoMsg(message: EventRevokeProtoMsg): EventRevoke; toProto(message: EventRevoke): Uint8Array; toProtoMsg(message: EventRevoke): EventRevokeProtoMsg; registerTypeUrl(): void; }; //#endregion export { EventGrant, EventGrantAmino, EventGrantAminoMsg, EventGrantProtoMsg, EventRevoke, EventRevokeAmino, EventRevokeAminoMsg, EventRevokeProtoMsg };