@berachain/graphql 0.4.16-beta.1 → 0.4.16-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,223 @@
1
- import{gql as p}from"@apollo/client";var c=(i=>(i.Day="day",i.Hour="hour",i))(c||{}),I=(n=>(n.Calldata="calldata",n.Id="id",n.Proposal="proposal",n.ProposalCancelTxHash="proposal__cancelTxHash",n.ProposalCanceledAt="proposal__canceledAt",n.ProposalCanceledAtBlock="proposal__canceledAtBlock",n.ProposalContentEncoding="proposal__contentEncoding",n.ProposalContentType="proposal__contentType",n.ProposalCreateTxHash="proposal__createTxHash",n.ProposalCreatedAt="proposal__createdAt",n.ProposalCreatedAtBlock="proposal__createdAtBlock",n.ProposalDescription="proposal__description",n.ProposalExecutableAtBlock="proposal__executableAtBlock",n.ProposalExecuteTxHash="proposal__executeTxHash",n.ProposalExecutedAt="proposal__executedAt",n.ProposalExecutedAtBlock="proposal__executedAtBlock",n.ProposalId="proposal__id",n.ProposalProposalId="proposal__proposalId",n.ProposalProposer="proposal__proposer",n.ProposalQueueEnd="proposal__queueEnd",n.ProposalQueueStart="proposal__queueStart",n.ProposalQueueStartBlock="proposal__queueStartBlock",n.ProposalQueueTxHash="proposal__queueTxHash",n.ProposalQuorum="proposal__quorum",n.ProposalStatus="proposal__status",n.ProposalSucceededAt="proposal__succeededAt",n.ProposalSucceededAtBlock="proposal__succeededAtBlock",n.ProposalSucceededVoteTxHash="proposal__succeededVoteTxHash",n.ProposalTitle="proposal__title",n.ProposalUnparsedDescription="proposal__unparsedDescription",n.ProposalUnverifiedForumLink="proposal__unverifiedForumLink",n.ProposalVoteEndAt="proposal__voteEndAt",n.ProposalVoteStartAt="proposal__voteStartAt",n.Signature="signature",n.Target="target",n.Value="value",n))(I||{}),_=(i=>(i.Asc="asc",i.Desc="desc",i))(_||{}),S=(r=>(r.Abstain="abstain",r.AbstainPercentage="abstainPercentage",r.AbstainVotersCount="abstainVotersCount",r.Against="against",r.AgainstPercentage="againstPercentage",r.AgainstVotersCount="againstVotersCount",r.For="for",r.ForPercentage="forPercentage",r.ForVotersCount="forVotersCount",r.Id="id",r.Total="total",r.TotalTowardsQuorum="totalTowardsQuorum",r.TotalVotersCount="totalVotersCount",r))(S||{}),g=(s=>(s.Active="ACTIVE",s.CanceledByGuardian="CANCELED_BY_GUARDIAN",s.CanceledByUser="CANCELED_BY_USER",s.Defeated="DEFEATED",s.Executed="EXECUTED",s.InQueue="IN_QUEUE",s.Pending="PENDING",s.PendingExecution="PENDING_EXECUTION",s.PendingQueue="PENDING_QUEUE",s.QuorumNotReached="QUORUM_NOT_REACHED",s))(g||{}),y=(t=>(t.CancelTxHash="cancelTxHash",t.CanceledAt="canceledAt",t.CanceledAtBlock="canceledAtBlock",t.ContentEncoding="contentEncoding",t.ContentType="contentType",t.CreateTxHash="createTxHash",t.CreatedAt="createdAt",t.CreatedAtBlock="createdAtBlock",t.Description="description",t.ExecutableAtBlock="executableAtBlock",t.ExecutableCalls="executableCalls",t.ExecuteTxHash="executeTxHash",t.ExecutedAt="executedAt",t.ExecutedAtBlock="executedAtBlock",t.Id="id",t.PollResult="pollResult",t.PollResultAbstain="pollResult__abstain",t.PollResultAbstainPercentage="pollResult__abstainPercentage",t.PollResultAbstainVotersCount="pollResult__abstainVotersCount",t.PollResultAgainst="pollResult__against",t.PollResultAgainstPercentage="pollResult__againstPercentage",t.PollResultAgainstVotersCount="pollResult__againstVotersCount",t.PollResultFor="pollResult__for",t.PollResultForPercentage="pollResult__forPercentage",t.PollResultForVotersCount="pollResult__forVotersCount",t.PollResultId="pollResult__id",t.PollResultTotal="pollResult__total",t.PollResultTotalTowardsQuorum="pollResult__totalTowardsQuorum",t.PollResultTotalVotersCount="pollResult__totalVotersCount",t.ProposalId="proposalId",t.Proposer="proposer",t.QueueEnd="queueEnd",t.QueueStart="queueStart",t.QueueStartBlock="queueStartBlock",t.QueueTxHash="queueTxHash",t.Quorum="quorum",t.Status="status",t.SucceededAt="succeededAt",t.SucceededAtBlock="succeededAtBlock",t.SucceededVoteTxHash="succeededVoteTxHash",t.Timelock="timelock",t.TimelockId="timelock__id",t.Title="title",t.Topics="topics",t.UnparsedDescription="unparsedDescription",t.UnverifiedForumLink="unverifiedForumLink",t.VoteEndAt="voteEndAt",t.VoteStartAt="voteStartAt",t.Votes="votes",t))(y||{}),b=(e=>(e.Id="id",e.Proposal="proposal",e.ProposalCancelTxHash="proposal__cancelTxHash",e.ProposalCanceledAt="proposal__canceledAt",e.ProposalCanceledAtBlock="proposal__canceledAtBlock",e.ProposalContentEncoding="proposal__contentEncoding",e.ProposalContentType="proposal__contentType",e.ProposalCreateTxHash="proposal__createTxHash",e.ProposalCreatedAt="proposal__createdAt",e.ProposalCreatedAtBlock="proposal__createdAtBlock",e.ProposalDescription="proposal__description",e.ProposalExecutableAtBlock="proposal__executableAtBlock",e.ProposalExecuteTxHash="proposal__executeTxHash",e.ProposalExecutedAt="proposal__executedAt",e.ProposalExecutedAtBlock="proposal__executedAtBlock",e.ProposalId="proposal__id",e.ProposalProposalId="proposal__proposalId",e.ProposalProposer="proposal__proposer",e.ProposalQueueEnd="proposal__queueEnd",e.ProposalQueueStart="proposal__queueStart",e.ProposalQueueStartBlock="proposal__queueStartBlock",e.ProposalQueueTxHash="proposal__queueTxHash",e.ProposalQuorum="proposal__quorum",e.ProposalStatus="proposal__status",e.ProposalSucceededAt="proposal__succeededAt",e.ProposalSucceededAtBlock="proposal__succeededAtBlock",e.ProposalSucceededVoteTxHash="proposal__succeededVoteTxHash",e.ProposalTitle="proposal__title",e.ProposalUnparsedDescription="proposal__unparsedDescription",e.ProposalUnverifiedForumLink="proposal__unverifiedForumLink",e.ProposalVoteEndAt="proposal__voteEndAt",e.ProposalVoteStartAt="proposal__voteStartAt",e))(b||{}),M=(u=>(u.Abstain="ABSTAIN",u.Against="AGAINST",u.For="FOR",u))(M||{}),d=(a=>(a.Id="id",a.Params="params",a.ProposalId="proposalId",a.ProposalIdCancelTxHash="proposalId__cancelTxHash",a.ProposalIdCanceledAt="proposalId__canceledAt",a.ProposalIdCanceledAtBlock="proposalId__canceledAtBlock",a.ProposalIdContentEncoding="proposalId__contentEncoding",a.ProposalIdContentType="proposalId__contentType",a.ProposalIdCreateTxHash="proposalId__createTxHash",a.ProposalIdCreatedAt="proposalId__createdAt",a.ProposalIdCreatedAtBlock="proposalId__createdAtBlock",a.ProposalIdDescription="proposalId__description",a.ProposalIdExecutableAtBlock="proposalId__executableAtBlock",a.ProposalIdExecuteTxHash="proposalId__executeTxHash",a.ProposalIdExecutedAt="proposalId__executedAt",a.ProposalIdExecutedAtBlock="proposalId__executedAtBlock",a.ProposalIdId="proposalId__id",a.ProposalIdProposalId="proposalId__proposalId",a.ProposalIdProposer="proposalId__proposer",a.ProposalIdQueueEnd="proposalId__queueEnd",a.ProposalIdQueueStart="proposalId__queueStart",a.ProposalIdQueueStartBlock="proposalId__queueStartBlock",a.ProposalIdQueueTxHash="proposalId__queueTxHash",a.ProposalIdQuorum="proposalId__quorum",a.ProposalIdStatus="proposalId__status",a.ProposalIdSucceededAt="proposalId__succeededAt",a.ProposalIdSucceededAtBlock="proposalId__succeededAtBlock",a.ProposalIdSucceededVoteTxHash="proposalId__succeededVoteTxHash",a.ProposalIdTitle="proposalId__title",a.ProposalIdUnparsedDescription="proposalId__unparsedDescription",a.ProposalIdUnverifiedForumLink="proposalId__unverifiedForumLink",a.ProposalIdVoteEndAt="proposalId__voteEndAt",a.ProposalIdVoteStartAt="proposalId__voteStartAt",a.Reason="reason",a.Support="support",a.Timestamp="timestamp",a.Voter="voter",a.Weight="weight",a))(d||{}),A=(i=>(i.Allow="allow",i.Deny="deny",i))(A||{}),o=p`
1
+ // src/governance/governance.codegen.ts
2
+ import { gql } from "@apollo/client";
3
+ var Aggregation_Interval = /* @__PURE__ */ ((Aggregation_Interval2) => {
4
+ Aggregation_Interval2["Day"] = "day";
5
+ Aggregation_Interval2["Hour"] = "hour";
6
+ return Aggregation_Interval2;
7
+ })(Aggregation_Interval || {});
8
+ var ExecutableCall_OrderBy = /* @__PURE__ */ ((ExecutableCall_OrderBy2) => {
9
+ ExecutableCall_OrderBy2["Calldata"] = "calldata";
10
+ ExecutableCall_OrderBy2["Id"] = "id";
11
+ ExecutableCall_OrderBy2["Proposal"] = "proposal";
12
+ ExecutableCall_OrderBy2["ProposalCancelTxHash"] = "proposal__cancelTxHash";
13
+ ExecutableCall_OrderBy2["ProposalCanceledAt"] = "proposal__canceledAt";
14
+ ExecutableCall_OrderBy2["ProposalCanceledAtBlock"] = "proposal__canceledAtBlock";
15
+ ExecutableCall_OrderBy2["ProposalContentEncoding"] = "proposal__contentEncoding";
16
+ ExecutableCall_OrderBy2["ProposalContentType"] = "proposal__contentType";
17
+ ExecutableCall_OrderBy2["ProposalCreateTxHash"] = "proposal__createTxHash";
18
+ ExecutableCall_OrderBy2["ProposalCreatedAt"] = "proposal__createdAt";
19
+ ExecutableCall_OrderBy2["ProposalCreatedAtBlock"] = "proposal__createdAtBlock";
20
+ ExecutableCall_OrderBy2["ProposalDescription"] = "proposal__description";
21
+ ExecutableCall_OrderBy2["ProposalExecutableAtBlock"] = "proposal__executableAtBlock";
22
+ ExecutableCall_OrderBy2["ProposalExecuteTxHash"] = "proposal__executeTxHash";
23
+ ExecutableCall_OrderBy2["ProposalExecutedAt"] = "proposal__executedAt";
24
+ ExecutableCall_OrderBy2["ProposalExecutedAtBlock"] = "proposal__executedAtBlock";
25
+ ExecutableCall_OrderBy2["ProposalId"] = "proposal__id";
26
+ ExecutableCall_OrderBy2["ProposalProposalId"] = "proposal__proposalId";
27
+ ExecutableCall_OrderBy2["ProposalProposer"] = "proposal__proposer";
28
+ ExecutableCall_OrderBy2["ProposalQueueEnd"] = "proposal__queueEnd";
29
+ ExecutableCall_OrderBy2["ProposalQueueStart"] = "proposal__queueStart";
30
+ ExecutableCall_OrderBy2["ProposalQueueStartBlock"] = "proposal__queueStartBlock";
31
+ ExecutableCall_OrderBy2["ProposalQueueTxHash"] = "proposal__queueTxHash";
32
+ ExecutableCall_OrderBy2["ProposalQuorum"] = "proposal__quorum";
33
+ ExecutableCall_OrderBy2["ProposalStatus"] = "proposal__status";
34
+ ExecutableCall_OrderBy2["ProposalSucceededAt"] = "proposal__succeededAt";
35
+ ExecutableCall_OrderBy2["ProposalSucceededAtBlock"] = "proposal__succeededAtBlock";
36
+ ExecutableCall_OrderBy2["ProposalSucceededVoteTxHash"] = "proposal__succeededVoteTxHash";
37
+ ExecutableCall_OrderBy2["ProposalTitle"] = "proposal__title";
38
+ ExecutableCall_OrderBy2["ProposalUnparsedDescription"] = "proposal__unparsedDescription";
39
+ ExecutableCall_OrderBy2["ProposalUnverifiedForumLink"] = "proposal__unverifiedForumLink";
40
+ ExecutableCall_OrderBy2["ProposalVoteEndAt"] = "proposal__voteEndAt";
41
+ ExecutableCall_OrderBy2["ProposalVoteStartAt"] = "proposal__voteStartAt";
42
+ ExecutableCall_OrderBy2["Signature"] = "signature";
43
+ ExecutableCall_OrderBy2["Target"] = "target";
44
+ ExecutableCall_OrderBy2["Value"] = "value";
45
+ return ExecutableCall_OrderBy2;
46
+ })(ExecutableCall_OrderBy || {});
47
+ var OrderDirection = /* @__PURE__ */ ((OrderDirection2) => {
48
+ OrderDirection2["Asc"] = "asc";
49
+ OrderDirection2["Desc"] = "desc";
50
+ return OrderDirection2;
51
+ })(OrderDirection || {});
52
+ var PollResult_OrderBy = /* @__PURE__ */ ((PollResult_OrderBy2) => {
53
+ PollResult_OrderBy2["Abstain"] = "abstain";
54
+ PollResult_OrderBy2["AbstainPercentage"] = "abstainPercentage";
55
+ PollResult_OrderBy2["AbstainVotersCount"] = "abstainVotersCount";
56
+ PollResult_OrderBy2["Against"] = "against";
57
+ PollResult_OrderBy2["AgainstPercentage"] = "againstPercentage";
58
+ PollResult_OrderBy2["AgainstVotersCount"] = "againstVotersCount";
59
+ PollResult_OrderBy2["For"] = "for";
60
+ PollResult_OrderBy2["ForPercentage"] = "forPercentage";
61
+ PollResult_OrderBy2["ForVotersCount"] = "forVotersCount";
62
+ PollResult_OrderBy2["Id"] = "id";
63
+ PollResult_OrderBy2["Total"] = "total";
64
+ PollResult_OrderBy2["TotalTowardsQuorum"] = "totalTowardsQuorum";
65
+ PollResult_OrderBy2["TotalVotersCount"] = "totalVotersCount";
66
+ return PollResult_OrderBy2;
67
+ })(PollResult_OrderBy || {});
68
+ var ProposalStatus = /* @__PURE__ */ ((ProposalStatus2) => {
69
+ ProposalStatus2["Active"] = "ACTIVE";
70
+ ProposalStatus2["CanceledByGuardian"] = "CANCELED_BY_GUARDIAN";
71
+ ProposalStatus2["CanceledByUser"] = "CANCELED_BY_USER";
72
+ ProposalStatus2["Defeated"] = "DEFEATED";
73
+ ProposalStatus2["Executed"] = "EXECUTED";
74
+ ProposalStatus2["InQueue"] = "IN_QUEUE";
75
+ ProposalStatus2["Pending"] = "PENDING";
76
+ ProposalStatus2["PendingExecution"] = "PENDING_EXECUTION";
77
+ ProposalStatus2["PendingQueue"] = "PENDING_QUEUE";
78
+ ProposalStatus2["QuorumNotReached"] = "QUORUM_NOT_REACHED";
79
+ return ProposalStatus2;
80
+ })(ProposalStatus || {});
81
+ var Proposal_OrderBy = /* @__PURE__ */ ((Proposal_OrderBy2) => {
82
+ Proposal_OrderBy2["CancelTxHash"] = "cancelTxHash";
83
+ Proposal_OrderBy2["CanceledAt"] = "canceledAt";
84
+ Proposal_OrderBy2["CanceledAtBlock"] = "canceledAtBlock";
85
+ Proposal_OrderBy2["ContentEncoding"] = "contentEncoding";
86
+ Proposal_OrderBy2["ContentType"] = "contentType";
87
+ Proposal_OrderBy2["CreateTxHash"] = "createTxHash";
88
+ Proposal_OrderBy2["CreatedAt"] = "createdAt";
89
+ Proposal_OrderBy2["CreatedAtBlock"] = "createdAtBlock";
90
+ Proposal_OrderBy2["Description"] = "description";
91
+ Proposal_OrderBy2["ExecutableAtBlock"] = "executableAtBlock";
92
+ Proposal_OrderBy2["ExecutableCalls"] = "executableCalls";
93
+ Proposal_OrderBy2["ExecuteTxHash"] = "executeTxHash";
94
+ Proposal_OrderBy2["ExecutedAt"] = "executedAt";
95
+ Proposal_OrderBy2["ExecutedAtBlock"] = "executedAtBlock";
96
+ Proposal_OrderBy2["Id"] = "id";
97
+ Proposal_OrderBy2["PollResult"] = "pollResult";
98
+ Proposal_OrderBy2["PollResultAbstain"] = "pollResult__abstain";
99
+ Proposal_OrderBy2["PollResultAbstainPercentage"] = "pollResult__abstainPercentage";
100
+ Proposal_OrderBy2["PollResultAbstainVotersCount"] = "pollResult__abstainVotersCount";
101
+ Proposal_OrderBy2["PollResultAgainst"] = "pollResult__against";
102
+ Proposal_OrderBy2["PollResultAgainstPercentage"] = "pollResult__againstPercentage";
103
+ Proposal_OrderBy2["PollResultAgainstVotersCount"] = "pollResult__againstVotersCount";
104
+ Proposal_OrderBy2["PollResultFor"] = "pollResult__for";
105
+ Proposal_OrderBy2["PollResultForPercentage"] = "pollResult__forPercentage";
106
+ Proposal_OrderBy2["PollResultForVotersCount"] = "pollResult__forVotersCount";
107
+ Proposal_OrderBy2["PollResultId"] = "pollResult__id";
108
+ Proposal_OrderBy2["PollResultTotal"] = "pollResult__total";
109
+ Proposal_OrderBy2["PollResultTotalTowardsQuorum"] = "pollResult__totalTowardsQuorum";
110
+ Proposal_OrderBy2["PollResultTotalVotersCount"] = "pollResult__totalVotersCount";
111
+ Proposal_OrderBy2["ProposalId"] = "proposalId";
112
+ Proposal_OrderBy2["Proposer"] = "proposer";
113
+ Proposal_OrderBy2["QueueEnd"] = "queueEnd";
114
+ Proposal_OrderBy2["QueueStart"] = "queueStart";
115
+ Proposal_OrderBy2["QueueStartBlock"] = "queueStartBlock";
116
+ Proposal_OrderBy2["QueueTxHash"] = "queueTxHash";
117
+ Proposal_OrderBy2["Quorum"] = "quorum";
118
+ Proposal_OrderBy2["Status"] = "status";
119
+ Proposal_OrderBy2["SucceededAt"] = "succeededAt";
120
+ Proposal_OrderBy2["SucceededAtBlock"] = "succeededAtBlock";
121
+ Proposal_OrderBy2["SucceededVoteTxHash"] = "succeededVoteTxHash";
122
+ Proposal_OrderBy2["Timelock"] = "timelock";
123
+ Proposal_OrderBy2["TimelockId"] = "timelock__id";
124
+ Proposal_OrderBy2["Title"] = "title";
125
+ Proposal_OrderBy2["Topics"] = "topics";
126
+ Proposal_OrderBy2["UnparsedDescription"] = "unparsedDescription";
127
+ Proposal_OrderBy2["UnverifiedForumLink"] = "unverifiedForumLink";
128
+ Proposal_OrderBy2["VoteEndAt"] = "voteEndAt";
129
+ Proposal_OrderBy2["VoteStartAt"] = "voteStartAt";
130
+ Proposal_OrderBy2["Votes"] = "votes";
131
+ return Proposal_OrderBy2;
132
+ })(Proposal_OrderBy || {});
133
+ var Timelock_OrderBy = /* @__PURE__ */ ((Timelock_OrderBy2) => {
134
+ Timelock_OrderBy2["Id"] = "id";
135
+ Timelock_OrderBy2["Proposal"] = "proposal";
136
+ Timelock_OrderBy2["ProposalCancelTxHash"] = "proposal__cancelTxHash";
137
+ Timelock_OrderBy2["ProposalCanceledAt"] = "proposal__canceledAt";
138
+ Timelock_OrderBy2["ProposalCanceledAtBlock"] = "proposal__canceledAtBlock";
139
+ Timelock_OrderBy2["ProposalContentEncoding"] = "proposal__contentEncoding";
140
+ Timelock_OrderBy2["ProposalContentType"] = "proposal__contentType";
141
+ Timelock_OrderBy2["ProposalCreateTxHash"] = "proposal__createTxHash";
142
+ Timelock_OrderBy2["ProposalCreatedAt"] = "proposal__createdAt";
143
+ Timelock_OrderBy2["ProposalCreatedAtBlock"] = "proposal__createdAtBlock";
144
+ Timelock_OrderBy2["ProposalDescription"] = "proposal__description";
145
+ Timelock_OrderBy2["ProposalExecutableAtBlock"] = "proposal__executableAtBlock";
146
+ Timelock_OrderBy2["ProposalExecuteTxHash"] = "proposal__executeTxHash";
147
+ Timelock_OrderBy2["ProposalExecutedAt"] = "proposal__executedAt";
148
+ Timelock_OrderBy2["ProposalExecutedAtBlock"] = "proposal__executedAtBlock";
149
+ Timelock_OrderBy2["ProposalId"] = "proposal__id";
150
+ Timelock_OrderBy2["ProposalProposalId"] = "proposal__proposalId";
151
+ Timelock_OrderBy2["ProposalProposer"] = "proposal__proposer";
152
+ Timelock_OrderBy2["ProposalQueueEnd"] = "proposal__queueEnd";
153
+ Timelock_OrderBy2["ProposalQueueStart"] = "proposal__queueStart";
154
+ Timelock_OrderBy2["ProposalQueueStartBlock"] = "proposal__queueStartBlock";
155
+ Timelock_OrderBy2["ProposalQueueTxHash"] = "proposal__queueTxHash";
156
+ Timelock_OrderBy2["ProposalQuorum"] = "proposal__quorum";
157
+ Timelock_OrderBy2["ProposalStatus"] = "proposal__status";
158
+ Timelock_OrderBy2["ProposalSucceededAt"] = "proposal__succeededAt";
159
+ Timelock_OrderBy2["ProposalSucceededAtBlock"] = "proposal__succeededAtBlock";
160
+ Timelock_OrderBy2["ProposalSucceededVoteTxHash"] = "proposal__succeededVoteTxHash";
161
+ Timelock_OrderBy2["ProposalTitle"] = "proposal__title";
162
+ Timelock_OrderBy2["ProposalUnparsedDescription"] = "proposal__unparsedDescription";
163
+ Timelock_OrderBy2["ProposalUnverifiedForumLink"] = "proposal__unverifiedForumLink";
164
+ Timelock_OrderBy2["ProposalVoteEndAt"] = "proposal__voteEndAt";
165
+ Timelock_OrderBy2["ProposalVoteStartAt"] = "proposal__voteStartAt";
166
+ return Timelock_OrderBy2;
167
+ })(Timelock_OrderBy || {});
168
+ var VoteSupportType = /* @__PURE__ */ ((VoteSupportType2) => {
169
+ VoteSupportType2["Abstain"] = "ABSTAIN";
170
+ VoteSupportType2["Against"] = "AGAINST";
171
+ VoteSupportType2["For"] = "FOR";
172
+ return VoteSupportType2;
173
+ })(VoteSupportType || {});
174
+ var Vote_OrderBy = /* @__PURE__ */ ((Vote_OrderBy2) => {
175
+ Vote_OrderBy2["Id"] = "id";
176
+ Vote_OrderBy2["Params"] = "params";
177
+ Vote_OrderBy2["ProposalId"] = "proposalId";
178
+ Vote_OrderBy2["ProposalIdCancelTxHash"] = "proposalId__cancelTxHash";
179
+ Vote_OrderBy2["ProposalIdCanceledAt"] = "proposalId__canceledAt";
180
+ Vote_OrderBy2["ProposalIdCanceledAtBlock"] = "proposalId__canceledAtBlock";
181
+ Vote_OrderBy2["ProposalIdContentEncoding"] = "proposalId__contentEncoding";
182
+ Vote_OrderBy2["ProposalIdContentType"] = "proposalId__contentType";
183
+ Vote_OrderBy2["ProposalIdCreateTxHash"] = "proposalId__createTxHash";
184
+ Vote_OrderBy2["ProposalIdCreatedAt"] = "proposalId__createdAt";
185
+ Vote_OrderBy2["ProposalIdCreatedAtBlock"] = "proposalId__createdAtBlock";
186
+ Vote_OrderBy2["ProposalIdDescription"] = "proposalId__description";
187
+ Vote_OrderBy2["ProposalIdExecutableAtBlock"] = "proposalId__executableAtBlock";
188
+ Vote_OrderBy2["ProposalIdExecuteTxHash"] = "proposalId__executeTxHash";
189
+ Vote_OrderBy2["ProposalIdExecutedAt"] = "proposalId__executedAt";
190
+ Vote_OrderBy2["ProposalIdExecutedAtBlock"] = "proposalId__executedAtBlock";
191
+ Vote_OrderBy2["ProposalIdId"] = "proposalId__id";
192
+ Vote_OrderBy2["ProposalIdProposalId"] = "proposalId__proposalId";
193
+ Vote_OrderBy2["ProposalIdProposer"] = "proposalId__proposer";
194
+ Vote_OrderBy2["ProposalIdQueueEnd"] = "proposalId__queueEnd";
195
+ Vote_OrderBy2["ProposalIdQueueStart"] = "proposalId__queueStart";
196
+ Vote_OrderBy2["ProposalIdQueueStartBlock"] = "proposalId__queueStartBlock";
197
+ Vote_OrderBy2["ProposalIdQueueTxHash"] = "proposalId__queueTxHash";
198
+ Vote_OrderBy2["ProposalIdQuorum"] = "proposalId__quorum";
199
+ Vote_OrderBy2["ProposalIdStatus"] = "proposalId__status";
200
+ Vote_OrderBy2["ProposalIdSucceededAt"] = "proposalId__succeededAt";
201
+ Vote_OrderBy2["ProposalIdSucceededAtBlock"] = "proposalId__succeededAtBlock";
202
+ Vote_OrderBy2["ProposalIdSucceededVoteTxHash"] = "proposalId__succeededVoteTxHash";
203
+ Vote_OrderBy2["ProposalIdTitle"] = "proposalId__title";
204
+ Vote_OrderBy2["ProposalIdUnparsedDescription"] = "proposalId__unparsedDescription";
205
+ Vote_OrderBy2["ProposalIdUnverifiedForumLink"] = "proposalId__unverifiedForumLink";
206
+ Vote_OrderBy2["ProposalIdVoteEndAt"] = "proposalId__voteEndAt";
207
+ Vote_OrderBy2["ProposalIdVoteStartAt"] = "proposalId__voteStartAt";
208
+ Vote_OrderBy2["Reason"] = "reason";
209
+ Vote_OrderBy2["Support"] = "support";
210
+ Vote_OrderBy2["Timestamp"] = "timestamp";
211
+ Vote_OrderBy2["Voter"] = "voter";
212
+ Vote_OrderBy2["Weight"] = "weight";
213
+ return Vote_OrderBy2;
214
+ })(Vote_OrderBy || {});
215
+ var _SubgraphErrorPolicy_ = /* @__PURE__ */ ((_SubgraphErrorPolicy_2) => {
216
+ _SubgraphErrorPolicy_2["Allow"] = "allow";
217
+ _SubgraphErrorPolicy_2["Deny"] = "deny";
218
+ return _SubgraphErrorPolicy_2;
219
+ })(_SubgraphErrorPolicy_ || {});
220
+ var ProposalSelection = gql`
2
221
  fragment ProposalSelection on Proposal {
3
222
  id
4
223
  proposer
@@ -37,14 +256,16 @@ import{gql as p}from"@apollo/client";var c=(i=>(i.Day="day",i.Hour="hour",i))(c|
37
256
  title
38
257
  topics
39
258
  }
40
- `,B=p`
259
+ `;
260
+ var ExecutableCallSubset = gql`
41
261
  fragment ExecutableCallSubset on ExecutableCall {
42
262
  id
43
263
  target
44
264
  value
45
265
  calldata
46
266
  }
47
- `,l=p`
267
+ `;
268
+ var ProposalVote = gql`
48
269
  fragment ProposalVote on Vote {
49
270
  id
50
271
  voter
@@ -53,7 +274,8 @@ import{gql as p}from"@apollo/client";var c=(i=>(i.Day="day",i.Hour="hour",i))(c|
53
274
  timestamp
54
275
  reason
55
276
  }
56
- `,h=p`
277
+ `;
278
+ var ProposalWithVotes = gql`
57
279
  fragment ProposalWithVotes on Proposal {
58
280
  ...ProposalSelection
59
281
  queueTxHash
@@ -70,9 +292,10 @@ import{gql as p}from"@apollo/client";var c=(i=>(i.Day="day",i.Hour="hour",i))(c|
70
292
  ...ProposalVote
71
293
  }
72
294
  }
73
- ${o}
74
- ${B}
75
- ${l}`,m=p`
295
+ ${ProposalSelection}
296
+ ${ExecutableCallSubset}
297
+ ${ProposalVote}`;
298
+ var GetProposalVotes = gql`
76
299
  query GetProposalVotes($proposalId: String!, $orderBy: Vote_orderBy = weight, $orderDirection: OrderDirection = desc, $limit: Int!, $offset: Int) {
77
300
  votes(
78
301
  where: {proposalId: $proposalId}
@@ -84,7 +307,8 @@ ${l}`,m=p`
84
307
  ...ProposalVote
85
308
  }
86
309
  }
87
- ${l}`,k=p`
310
+ ${ProposalVote}`;
311
+ var GetProposals = gql`
88
312
  query GetProposals($offset: Int, $limit: Int, $where: Proposal_filter, $orderBy: Proposal_orderBy = createdAt, $orderDirection: OrderDirection = desc) {
89
313
  proposals(
90
314
  skip: $offset
@@ -96,7 +320,8 @@ ${l}`,m=p`
96
320
  ...ProposalSelection
97
321
  }
98
322
  }
99
- ${o}`,T=p`
323
+ ${ProposalSelection}`;
324
+ var SearchProposals = gql`
100
325
  query SearchProposals($offset: Int, $limit: Int, $where: Proposal_filter, $text: String!) {
101
326
  proposals: proposalSearch(
102
327
  skip: $offset
@@ -107,10 +332,36 @@ ${l}`,m=p`
107
332
  ...ProposalSelection
108
333
  }
109
334
  }
110
- ${o}`,w=p`
335
+ ${ProposalSelection}`;
336
+ var GetProposal = gql`
111
337
  query GetProposal($id: ID!) {
112
338
  proposal(id: $id) {
113
339
  ...ProposalWithVotes
114
340
  }
115
341
  }
116
- ${h}`,x={possibleTypes:{}},f=x;export{c as Aggregation_Interval,B as ExecutableCallSubset,I as ExecutableCall_OrderBy,w as GetProposal,m as GetProposalVotes,k as GetProposals,_ as OrderDirection,S as PollResult_OrderBy,o as ProposalSelection,g as ProposalStatus,l as ProposalVote,h as ProposalWithVotes,y as Proposal_OrderBy,T as SearchProposals,b as Timelock_OrderBy,M as VoteSupportType,d as Vote_OrderBy,A as _SubgraphErrorPolicy_,f as default};
342
+ ${ProposalWithVotes}`;
343
+ var result = {
344
+ possibleTypes: {}
345
+ };
346
+ var governance_codegen_default = result;
347
+ export {
348
+ Aggregation_Interval,
349
+ ExecutableCallSubset,
350
+ ExecutableCall_OrderBy,
351
+ GetProposal,
352
+ GetProposalVotes,
353
+ GetProposals,
354
+ OrderDirection,
355
+ PollResult_OrderBy,
356
+ ProposalSelection,
357
+ ProposalStatus,
358
+ ProposalVote,
359
+ ProposalWithVotes,
360
+ Proposal_OrderBy,
361
+ SearchProposals,
362
+ Timelock_OrderBy,
363
+ VoteSupportType,
364
+ Vote_OrderBy,
365
+ _SubgraphErrorPolicy_,
366
+ governance_codegen_default as default
367
+ };