import { Deposit, DepositAmino, Vote, VoteAmino, Proposal, ProposalAmino, DepositParams, DepositParamsAmino, VotingParams, VotingParamsAmino, TallyParams, TallyParamsAmino, Params, ParamsAmino, LastMinDeposit, LastMinDepositAmino, Governor, GovernorAmino, GovernanceDelegation, GovernanceDelegationAmino } from "./gov"; import { BinaryReader, BinaryWriter } from "../../../binary"; export declare const protobufPackage = "atomone.gov.v1"; /** GenesisState defines the gov module's genesis state. */ export interface GenesisState { /** starting_proposal_id is the ID of the starting proposal. */ startingProposalId: bigint; /** deposits defines all the deposits present at genesis. */ deposits: Deposit[]; /** votes defines all the votes present at genesis. */ votes: Vote[]; /** proposals defines all the proposals present at genesis. */ proposals: Proposal[]; /** * Deprecated: Prefer to use `params` instead. * deposit_params defines all the paramaters of related to deposit. */ /** @deprecated */ depositParams?: DepositParams | undefined; /** * Deprecated: Prefer to use `params` instead. * voting_params defines all the paramaters of related to voting. */ /** @deprecated */ votingParams?: VotingParams | undefined; /** * Deprecated: Prefer to use `params` instead. * tally_params defines all the paramaters of related to tally. */ /** @deprecated */ tallyParams?: TallyParams | undefined; /** * params defines all the paramaters of x/gov module. * * Since: cosmos-sdk 0.47 */ params?: Params | undefined; /** * The constitution allows builders to lay a foundation and define purpose. * * Since: cosmos-sdk 0.48 */ constitution: string; /** last updated value for the dynamic min deposit */ lastMinDeposit?: LastMinDeposit | undefined; /** last updated value for the dynamic min initial deposit */ lastMinInitialDeposit?: LastMinDeposit | undefined; /** * governance participation EMA * If unset or set to 0, the quorum for the next proposal will be set to the * params.MinQuorum value. */ participationEma: string; /** * governance participation EMA for constitution amendment proposals. * If unset or set to 0, the quorum for the next constitution amendment * proposal will be set to the params.MinConstitutionAmendmentQuorum value. */ constitutionAmendmentParticipationEma: string; /** * governance participation EMA for law proposals. * If unset or set to 0, the quorum for the next law proposal will be set to * the params.LawMinQuorum value. */ lawParticipationEma: string; /** governors defines all the governors present at genesis. */ governors: Governor[]; /** governance_delegations defines all the governance delegations present at genesis. */ governanceDelegations: GovernanceDelegation[]; } export interface GenesisStateProtoMsg { typeUrl: "/atomone.gov.v1.GenesisState"; value: Uint8Array; } /** GenesisState defines the gov module's genesis state. */ export interface GenesisStateAmino { /** starting_proposal_id is the ID of the starting proposal. */ starting_proposal_id?: string; /** deposits defines all the deposits present at genesis. */ deposits?: DepositAmino[]; /** votes defines all the votes present at genesis. */ votes?: VoteAmino[]; /** proposals defines all the proposals present at genesis. */ proposals?: ProposalAmino[]; /** * Deprecated: Prefer to use `params` instead. * deposit_params defines all the paramaters of related to deposit. */ /** @deprecated */ deposit_params?: DepositParamsAmino | undefined; /** * Deprecated: Prefer to use `params` instead. * voting_params defines all the paramaters of related to voting. */ /** @deprecated */ voting_params?: VotingParamsAmino | undefined; /** * Deprecated: Prefer to use `params` instead. * tally_params defines all the paramaters of related to tally. */ /** @deprecated */ tally_params?: TallyParamsAmino | undefined; /** * params defines all the paramaters of x/gov module. * * Since: cosmos-sdk 0.47 */ params?: ParamsAmino | undefined; /** * The constitution allows builders to lay a foundation and define purpose. * * Since: cosmos-sdk 0.48 */ constitution?: string; /** last updated value for the dynamic min deposit */ last_min_deposit?: LastMinDepositAmino | undefined; /** last updated value for the dynamic min initial deposit */ last_min_initial_deposit?: LastMinDepositAmino | undefined; /** * governance participation EMA * If unset or set to 0, the quorum for the next proposal will be set to the * params.MinQuorum value. */ participation_ema?: string; /** * governance participation EMA for constitution amendment proposals. * If unset or set to 0, the quorum for the next constitution amendment * proposal will be set to the params.MinConstitutionAmendmentQuorum value. */ constitution_amendment_participation_ema?: string; /** * governance participation EMA for law proposals. * If unset or set to 0, the quorum for the next law proposal will be set to * the params.LawMinQuorum value. */ law_participation_ema?: string; /** governors defines all the governors present at genesis. */ governors?: GovernorAmino[]; /** governance_delegations defines all the governance delegations present at genesis. */ governance_delegations?: GovernanceDelegationAmino[]; } export interface GenesisStateAminoMsg { type: "/atomone.gov.v1.GenesisState"; value: GenesisStateAmino; } export declare const GenesisState: { typeUrl: string; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): unknown; fromPartial(object: Partial): 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; };