import { BinaryReader, BinaryWriter } from "../../../binary.js"; import { DeepPartial } from "../../../helpers.js"; import { VolunteerValidator, VolunteerValidatorAmino } from "./volunteervalidator.js"; //#region src/xpla/volunteer/v1beta1/genesis.d.ts /** * GenesisState defines the volunteer module's genesis state. * @name GenesisState * @package xpla.volunteer.v1beta1 * @see proto type: xpla.volunteer.v1beta1.GenesisState */ interface GenesisState { volunteerValidators: VolunteerValidator[]; } interface GenesisStateProtoMsg { typeUrl: "/xpla.volunteer.v1beta1.GenesisState"; value: Uint8Array; } /** * GenesisState defines the volunteer module's genesis state. * @name GenesisStateAmino * @package xpla.volunteer.v1beta1 * @see proto type: xpla.volunteer.v1beta1.GenesisState */ interface GenesisStateAmino { volunteer_validators: VolunteerValidatorAmino[]; } interface GenesisStateAminoMsg { type: "/xpla.volunteer.v1beta1.GenesisState"; value: GenesisStateAmino; } /** * GenesisState defines the volunteer module's genesis state. * @name GenesisState * @package xpla.volunteer.v1beta1 * @see proto type: xpla.volunteer.v1beta1.GenesisState */ declare const GenesisState: { typeUrl: string; is(o: any): o is GenesisState; isAmino(o: any): o is GenesisStateAmino; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromPartial(object: DeepPartial): GenesisState; fromAmino(object: GenesisStateAmino): GenesisState; toAmino(message: GenesisState): GenesisStateAmino; fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; toProto(message: GenesisState): Uint8Array; toProtoMsg(message: GenesisState): GenesisStateProtoMsg; registerTypeUrl(): void; }; //#endregion export { GenesisState, GenesisStateAmino, GenesisStateAminoMsg, GenesisStateProtoMsg };