import { Writer, Reader } from 'protobufjs/minimal'; /** * EventCreateClass is an event emitted when a credit class is created. */ export interface EventCreateClass { /** * class_id is the unique ID of credit class. */ classId: string; /** * designer is the designer of the credit class. */ designer: string; } /** * EventCreateBatch is an event emitted when a credit batch is created. */ export interface EventCreateBatch { /** * class_id is the unique ID of credit class. */ classId: string; /** * batch_denom is the unique ID of credit batch. */ batchDenom: string; /** * issuer is the account address of the issuer of the credit batch. */ issuer: string; /** * total_units is the total number of units in the credit batch. */ totalUnits: string; } /** * EventReceive is an event emitted when credits are received either upon * creation of a new batch or upon transfer. Each batch_denom created or * transferred will result in a separate EventReceive for easy indexing. */ export interface EventReceive { /** * sender is the sender of the credits in the case that this event is the result of a transfer. * It will not be set when credits are received at initial issuance. */ sender: string; /** * recipient is the recipient of the credits */ recipient: string; /** * batch_denom is the unique ID of credit batch. */ batchDenom: string; /** * units is the decimal number of both tradable and retired credits received. */ units: string; } /** * EventRetire is an event emitted when credits are retired. An separate event is emitted * for each batch_denom in the case where credits from multiple batches have been retired at once * for easy indexing. */ export interface EventRetire { /** * retirer is the account which has done the "retiring". This will be the account receiving credits in * the case that credits were retired upon issuance using Msg/CreateBatch or retired upon transfer * using Msg/Send. */ retirer: string; /** * batch_denom is the unique ID of credit batch. */ batchDenom: string; /** * units is the decimal number of credits that have been retired. */ units: string; } export declare const protobufPackage = "regen.ecocredit.v1alpha1"; export declare const EventCreateClass: { encode(message: EventCreateClass, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): EventCreateClass; fromJSON(object: any): EventCreateClass; fromPartial(object: DeepPartial): EventCreateClass; toJSON(message: EventCreateClass): unknown; }; export declare const EventCreateBatch: { encode(message: EventCreateBatch, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): EventCreateBatch; fromJSON(object: any): EventCreateBatch; fromPartial(object: DeepPartial): EventCreateBatch; toJSON(message: EventCreateBatch): unknown; }; export declare const EventReceive: { encode(message: EventReceive, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): EventReceive; fromJSON(object: any): EventReceive; fromPartial(object: DeepPartial): EventReceive; toJSON(message: EventReceive): unknown; }; export declare const EventRetire: { encode(message: EventRetire, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): EventRetire; fromJSON(object: any): EventRetire; fromPartial(object: DeepPartial): EventRetire; toJSON(message: EventRetire): unknown; }; declare type Builtin = Date | Function | Uint8Array | string | number | undefined; export declare type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};