@gzeoneth/gov-tracker 0.4.0-beta.18db0de → 0.4.0-beta.225fa70

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.
Files changed (250) hide show
  1. package/README.md +18 -10
  2. package/dist/abis-json.d.ts +2290 -0
  3. package/dist/abis-json.d.ts.map +1 -0
  4. package/dist/abis-json.js +3174 -0
  5. package/dist/abis-json.js.map +1 -0
  6. package/dist/abis.d.ts +11 -7
  7. package/dist/abis.d.ts.map +1 -1
  8. package/dist/abis.js +29 -1
  9. package/dist/abis.js.map +1 -1
  10. package/dist/calldata/decoder.d.ts.map +1 -1
  11. package/dist/calldata/decoder.js +33 -28
  12. package/dist/calldata/decoder.js.map +1 -1
  13. package/dist/calldata/parameter-decoder.d.ts.map +1 -1
  14. package/dist/calldata/parameter-decoder.js +19 -25
  15. package/dist/calldata/parameter-decoder.js.map +1 -1
  16. package/dist/calldata/retryable-ticket.d.ts +2 -2
  17. package/dist/calldata/retryable-ticket.d.ts.map +1 -1
  18. package/dist/calldata/retryable-ticket.js +17 -12
  19. package/dist/calldata/retryable-ticket.js.map +1 -1
  20. package/dist/calldata/signature-lookup.js +5 -4
  21. package/dist/calldata/signature-lookup.js.map +1 -1
  22. package/dist/cli/cli.js +41 -20
  23. package/dist/cli/cli.js.map +1 -1
  24. package/dist/cli/lib/cli.d.ts +4 -2
  25. package/dist/cli/lib/cli.d.ts.map +1 -1
  26. package/dist/cli/lib/cli.js +34 -18
  27. package/dist/cli/lib/cli.js.map +1 -1
  28. package/dist/cli/lib/election-check.d.ts.map +1 -1
  29. package/dist/cli/lib/election-check.js +2 -1
  30. package/dist/cli/lib/election-check.js.map +1 -1
  31. package/dist/cli/lib/json-state.js +1 -1
  32. package/dist/cli/lib/json-state.js.map +1 -1
  33. package/dist/cli/tui/components/StageProgress.js +1 -1
  34. package/dist/cli/tui/components/StageProgress.js.map +1 -1
  35. package/dist/cli/tui/components/StageRow.d.ts.map +1 -1
  36. package/dist/cli/tui/components/StageRow.js +15 -20
  37. package/dist/cli/tui/components/StageRow.js.map +1 -1
  38. package/dist/cli/tui/components/VotingStats.d.ts.map +1 -1
  39. package/dist/cli/tui/components/VotingStats.js +2 -1
  40. package/dist/cli/tui/components/VotingStats.js.map +1 -1
  41. package/dist/cli/tui/hooks/useCache.d.ts.map +1 -1
  42. package/dist/cli/tui/hooks/useCache.js +2 -1
  43. package/dist/cli/tui/hooks/useCache.js.map +1 -1
  44. package/dist/cli/tui/hooks/useElectionData.d.ts.map +1 -1
  45. package/dist/cli/tui/hooks/useElectionData.js +3 -2
  46. package/dist/cli/tui/hooks/useElectionData.js.map +1 -1
  47. package/dist/cli/tui/hooks/useNavigation.d.ts.map +1 -1
  48. package/dist/cli/tui/hooks/useNavigation.js +2 -3
  49. package/dist/cli/tui/hooks/useNavigation.js.map +1 -1
  50. package/dist/cli/tui/hooks/useProposals.d.ts.map +1 -1
  51. package/dist/cli/tui/hooks/useProposals.js +26 -36
  52. package/dist/cli/tui/hooks/useProposals.js.map +1 -1
  53. package/dist/cli/tui/hooks/useStageCalldata.d.ts.map +1 -1
  54. package/dist/cli/tui/hooks/useStageCalldata.js +2 -1
  55. package/dist/cli/tui/hooks/useStageCalldata.js.map +1 -1
  56. package/dist/cli/tui/utils/index.d.ts +7 -7
  57. package/dist/cli/tui/utils/index.d.ts.map +1 -1
  58. package/dist/cli/tui/utils/index.js +18 -13
  59. package/dist/cli/tui/utils/index.js.map +1 -1
  60. package/dist/cli/tui/utils/markdown-parser.d.ts +5 -0
  61. package/dist/cli/tui/utils/markdown-parser.d.ts.map +1 -1
  62. package/dist/cli/tui/utils/markdown-parser.js +16 -0
  63. package/dist/cli/tui/utils/markdown-parser.js.map +1 -1
  64. package/dist/cli/tui/utils/navigation.d.ts +1 -0
  65. package/dist/cli/tui/utils/navigation.d.ts.map +1 -1
  66. package/dist/cli/tui/utils/navigation.js +9 -5
  67. package/dist/cli/tui/utils/navigation.js.map +1 -1
  68. package/dist/cli/tui/utils/proposal-detail-helpers.js +6 -6
  69. package/dist/cli/tui/utils/proposal-detail-helpers.js.map +1 -1
  70. package/dist/cli/tui/utils/stage-status.d.ts +4 -0
  71. package/dist/cli/tui/utils/stage-status.d.ts.map +1 -1
  72. package/dist/cli/tui/utils/stage-status.js +47 -1
  73. package/dist/cli/tui/utils/stage-status.js.map +1 -1
  74. package/dist/cli/tui/utils/time.d.ts +4 -4
  75. package/dist/cli/tui/utils/time.d.ts.map +1 -1
  76. package/dist/cli/tui/utils/time.js +13 -11
  77. package/dist/cli/tui/utils/time.js.map +1 -1
  78. package/dist/cli/tui/views/CalldataView.d.ts.map +1 -1
  79. package/dist/cli/tui/views/CalldataView.js +3 -2
  80. package/dist/cli/tui/views/CalldataView.js.map +1 -1
  81. package/dist/cli/tui/views/DescriptionView.d.ts.map +1 -1
  82. package/dist/cli/tui/views/DescriptionView.js +4 -2
  83. package/dist/cli/tui/views/DescriptionView.js.map +1 -1
  84. package/dist/cli/tui/views/ElectionView.d.ts.map +1 -1
  85. package/dist/cli/tui/views/ElectionView.js +4 -9
  86. package/dist/cli/tui/views/ElectionView.js.map +1 -1
  87. package/dist/constants.d.ts +47 -23
  88. package/dist/constants.d.ts.map +1 -1
  89. package/dist/constants.js +67 -21
  90. package/dist/constants.js.map +1 -1
  91. package/dist/data/bundled-cache.json +352 -20
  92. package/dist/deduplication.d.ts.map +1 -1
  93. package/dist/deduplication.js +34 -54
  94. package/dist/deduplication.js.map +1 -1
  95. package/dist/discovery/governor-discovery.d.ts +21 -1
  96. package/dist/discovery/governor-discovery.d.ts.map +1 -1
  97. package/dist/discovery/governor-discovery.js +47 -13
  98. package/dist/discovery/governor-discovery.js.map +1 -1
  99. package/dist/discovery/timelock-discovery.d.ts.map +1 -1
  100. package/dist/discovery/timelock-discovery.js +27 -30
  101. package/dist/discovery/timelock-discovery.js.map +1 -1
  102. package/dist/election/contracts.d.ts.map +1 -1
  103. package/dist/election/contracts.js +4 -1
  104. package/dist/election/contracts.js.map +1 -1
  105. package/dist/election/details.d.ts.map +1 -1
  106. package/dist/election/details.js +7 -3
  107. package/dist/election/details.js.map +1 -1
  108. package/dist/election/index.d.ts +3 -1
  109. package/dist/election/index.d.ts.map +1 -1
  110. package/dist/election/index.js +12 -1
  111. package/dist/election/index.js.map +1 -1
  112. package/dist/election/params.d.ts.map +1 -1
  113. package/dist/election/params.js +14 -28
  114. package/dist/election/params.js.map +1 -1
  115. package/dist/election/participants.d.ts.map +1 -1
  116. package/dist/election/participants.js +21 -26
  117. package/dist/election/participants.js.map +1 -1
  118. package/dist/election/proposal-ids.js +19 -22
  119. package/dist/election/proposal-ids.js.map +1 -1
  120. package/dist/election/status.d.ts +28 -1
  121. package/dist/election/status.d.ts.map +1 -1
  122. package/dist/election/status.js +113 -0
  123. package/dist/election/status.js.map +1 -1
  124. package/dist/election/write.d.ts +132 -0
  125. package/dist/election/write.d.ts.map +1 -0
  126. package/dist/election/write.js +184 -0
  127. package/dist/election/write.js.map +1 -0
  128. package/dist/governance/index.d.ts +5 -0
  129. package/dist/governance/index.d.ts.map +1 -0
  130. package/dist/governance/index.js +28 -0
  131. package/dist/governance/index.js.map +1 -0
  132. package/dist/governance/read.d.ts +50 -0
  133. package/dist/governance/read.d.ts.map +1 -0
  134. package/dist/governance/read.js +194 -0
  135. package/dist/governance/read.js.map +1 -0
  136. package/dist/governance/write.d.ts +54 -0
  137. package/dist/governance/write.d.ts.map +1 -0
  138. package/dist/governance/write.js +132 -0
  139. package/dist/governance/write.js.map +1 -0
  140. package/dist/index.d.ts +36 -21
  141. package/dist/index.d.ts.map +1 -1
  142. package/dist/index.js +122 -15
  143. package/dist/index.js.map +1 -1
  144. package/dist/simulation/index.d.ts +4 -1
  145. package/dist/simulation/index.d.ts.map +1 -1
  146. package/dist/simulation/index.js +5 -1
  147. package/dist/simulation/index.js.map +1 -1
  148. package/dist/simulation/simulation-data.d.ts +33 -2
  149. package/dist/simulation/simulation-data.d.ts.map +1 -1
  150. package/dist/simulation/simulation-data.js +68 -24
  151. package/dist/simulation/simulation-data.js.map +1 -1
  152. package/dist/simulation/tenderly-payloads.d.ts +107 -0
  153. package/dist/simulation/tenderly-payloads.d.ts.map +1 -0
  154. package/dist/simulation/tenderly-payloads.js +103 -0
  155. package/dist/simulation/tenderly-payloads.js.map +1 -0
  156. package/dist/stages/l2-to-l1-message.d.ts.map +1 -1
  157. package/dist/stages/l2-to-l1-message.js +43 -63
  158. package/dist/stages/l2-to-l1-message.js.map +1 -1
  159. package/dist/stages/proposal-queued.js.map +1 -1
  160. package/dist/stages/retryables.d.ts.map +1 -1
  161. package/dist/stages/retryables.js +10 -9
  162. package/dist/stages/retryables.js.map +1 -1
  163. package/dist/stages/timelock.d.ts +43 -3
  164. package/dist/stages/timelock.d.ts.map +1 -1
  165. package/dist/stages/timelock.js +170 -53
  166. package/dist/stages/timelock.js.map +1 -1
  167. package/dist/stages/utils.d.ts +56 -1
  168. package/dist/stages/utils.d.ts.map +1 -1
  169. package/dist/stages/utils.js +146 -30
  170. package/dist/stages/utils.js.map +1 -1
  171. package/dist/tracker/bundled-cache.d.ts +136 -0
  172. package/dist/tracker/bundled-cache.d.ts.map +1 -0
  173. package/dist/tracker/bundled-cache.js +207 -0
  174. package/dist/tracker/bundled-cache.js.map +1 -0
  175. package/dist/tracker/checkpoint-helpers.d.ts +20 -1
  176. package/dist/tracker/checkpoint-helpers.d.ts.map +1 -1
  177. package/dist/tracker/checkpoint-helpers.js +41 -7
  178. package/dist/tracker/checkpoint-helpers.js.map +1 -1
  179. package/dist/tracker/discovery.d.ts +3 -0
  180. package/dist/tracker/discovery.d.ts.map +1 -1
  181. package/dist/tracker/discovery.js +59 -34
  182. package/dist/tracker/discovery.js.map +1 -1
  183. package/dist/tracker/pipeline.d.ts +3 -10
  184. package/dist/tracker/pipeline.d.ts.map +1 -1
  185. package/dist/tracker/pipeline.js +18 -32
  186. package/dist/tracker/pipeline.js.map +1 -1
  187. package/dist/tracker/query.d.ts +1 -0
  188. package/dist/tracker/query.d.ts.map +1 -1
  189. package/dist/tracker/query.js +28 -36
  190. package/dist/tracker/query.js.map +1 -1
  191. package/dist/tracker/state.d.ts +3 -2
  192. package/dist/tracker/state.d.ts.map +1 -1
  193. package/dist/tracker/state.js +5 -4
  194. package/dist/tracker/state.js.map +1 -1
  195. package/dist/tracker.d.ts +33 -11
  196. package/dist/tracker.d.ts.map +1 -1
  197. package/dist/tracker.js +76 -43
  198. package/dist/tracker.js.map +1 -1
  199. package/dist/types/config.d.ts +39 -3
  200. package/dist/types/config.d.ts.map +1 -1
  201. package/dist/types/election.d.ts +23 -0
  202. package/dist/types/election.d.ts.map +1 -1
  203. package/dist/types/index.d.ts +2 -2
  204. package/dist/types/index.d.ts.map +1 -1
  205. package/dist/types/index.js.map +1 -1
  206. package/dist/types/simulation.d.ts +2 -2
  207. package/dist/types/simulation.d.ts.map +1 -1
  208. package/dist/types/tracking.d.ts +2 -2
  209. package/dist/types/tracking.d.ts.map +1 -1
  210. package/dist/utils/chain.d.ts +5 -1
  211. package/dist/utils/chain.d.ts.map +1 -1
  212. package/dist/utils/chain.js +7 -0
  213. package/dist/utils/chain.js.map +1 -1
  214. package/dist/utils/formatters.d.ts +2 -6
  215. package/dist/utils/formatters.d.ts.map +1 -1
  216. package/dist/utils/formatters.js +9 -12
  217. package/dist/utils/formatters.js.map +1 -1
  218. package/dist/utils/log-filters.js +1 -1
  219. package/dist/utils/log-filters.js.map +1 -1
  220. package/dist/utils/logger.d.ts +1 -0
  221. package/dist/utils/logger.d.ts.map +1 -1
  222. package/dist/utils/logger.js +1 -0
  223. package/dist/utils/logger.js.map +1 -1
  224. package/dist/utils/multicall.d.ts +0 -1
  225. package/dist/utils/multicall.d.ts.map +1 -1
  226. package/dist/utils/rpc-utils.d.ts +5 -0
  227. package/dist/utils/rpc-utils.d.ts.map +1 -1
  228. package/dist/utils/rpc-utils.js +9 -1
  229. package/dist/utils/rpc-utils.js.map +1 -1
  230. package/dist/utils/stage-metadata.d.ts +19 -0
  231. package/dist/utils/stage-metadata.d.ts.map +1 -1
  232. package/dist/utils/stage-metadata.js +44 -0
  233. package/dist/utils/stage-metadata.js.map +1 -1
  234. package/dist/utils/timing.d.ts +3 -10
  235. package/dist/utils/timing.d.ts.map +1 -1
  236. package/dist/utils/timing.js +9 -22
  237. package/dist/utils/timing.js.map +1 -1
  238. package/package.json +3 -2
  239. package/dist/cli/tui/utils/calldata-formatter.d.ts +0 -7
  240. package/dist/cli/tui/utils/calldata-formatter.d.ts.map +0 -1
  241. package/dist/cli/tui/utils/calldata-formatter.js +0 -14
  242. package/dist/cli/tui/utils/calldata-formatter.js.map +0 -1
  243. package/dist/cli/tui/utils/stage-formatter.d.ts +0 -7
  244. package/dist/cli/tui/utils/stage-formatter.d.ts.map +0 -1
  245. package/dist/cli/tui/utils/stage-formatter.js +0 -13
  246. package/dist/cli/tui/utils/stage-formatter.js.map +0 -1
  247. package/dist/cli/tui/utils/text.d.ts +0 -7
  248. package/dist/cli/tui/utils/text.d.ts.map +0 -1
  249. package/dist/cli/tui/utils/text.js +0 -12
  250. package/dist/cli/tui/utils/text.js.map +0 -1
@@ -0,0 +1,3174 @@
1
+ "use strict";
2
+ /**
3
+ * JSON ABI exports for wagmi/viem consumers.
4
+ *
5
+ * These are the same contracts as the human-readable ABIs in abis.ts,
6
+ * but in JSON format with `as const` for full wagmi type inference.
7
+ *
8
+ * Full ABIs are exported as `governorAbi`, `timelockAbi`, etc.
9
+ * Curated read/write subsets are exported as `governorReadAbi`,
10
+ * `governorWriteAbi` for large ABIs where the full version may
11
+ * exceed viem's type inference limits.
12
+ *
13
+ * Generated from human-readable ABIs - do not edit manually.
14
+ * Regenerate with: yarn build && node scripts/generate-json-abis.js
15
+ */
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.timelockWriteAbi = exports.timelockReadAbi = exports.memberElectionGovernorWriteAbi = exports.memberElectionGovernorReadAbi = exports.nomineeElectionGovernorWriteAbi = exports.nomineeElectionGovernorReadAbi = exports.governorWriteAbi = exports.governorReadAbi = exports.erc20VotesAbi = exports.memberElectionGovernorAbi = exports.nomineeElectionGovernorAbi = exports.inboxAbi = exports.securityCouncilManagerAbi = exports.timelockAbi = exports.governorWithVetterAbi = exports.governorAbi = void 0;
18
+ exports.governorAbi = [
19
+ {
20
+ type: "function",
21
+ name: "state",
22
+ inputs: [
23
+ {
24
+ name: "proposalId",
25
+ type: "uint256",
26
+ },
27
+ ],
28
+ outputs: [
29
+ {
30
+ name: "",
31
+ type: "uint8",
32
+ },
33
+ ],
34
+ stateMutability: "view",
35
+ },
36
+ {
37
+ type: "function",
38
+ name: "proposalSnapshot",
39
+ inputs: [
40
+ {
41
+ name: "proposalId",
42
+ type: "uint256",
43
+ },
44
+ ],
45
+ outputs: [
46
+ {
47
+ name: "",
48
+ type: "uint256",
49
+ },
50
+ ],
51
+ stateMutability: "view",
52
+ },
53
+ {
54
+ type: "function",
55
+ name: "proposalDeadline",
56
+ inputs: [
57
+ {
58
+ name: "proposalId",
59
+ type: "uint256",
60
+ },
61
+ ],
62
+ outputs: [
63
+ {
64
+ name: "",
65
+ type: "uint256",
66
+ },
67
+ ],
68
+ stateMutability: "view",
69
+ },
70
+ {
71
+ type: "function",
72
+ name: "proposalVotes",
73
+ inputs: [
74
+ {
75
+ name: "proposalId",
76
+ type: "uint256",
77
+ },
78
+ ],
79
+ outputs: [
80
+ {
81
+ name: "againstVotes",
82
+ type: "uint256",
83
+ },
84
+ {
85
+ name: "forVotes",
86
+ type: "uint256",
87
+ },
88
+ {
89
+ name: "abstainVotes",
90
+ type: "uint256",
91
+ },
92
+ ],
93
+ stateMutability: "view",
94
+ },
95
+ {
96
+ type: "function",
97
+ name: "quorum",
98
+ inputs: [
99
+ {
100
+ name: "blockNumber",
101
+ type: "uint256",
102
+ },
103
+ ],
104
+ outputs: [
105
+ {
106
+ name: "",
107
+ type: "uint256",
108
+ },
109
+ ],
110
+ stateMutability: "view",
111
+ },
112
+ {
113
+ type: "function",
114
+ name: "proposalEta",
115
+ inputs: [
116
+ {
117
+ name: "proposalId",
118
+ type: "uint256",
119
+ },
120
+ ],
121
+ outputs: [
122
+ {
123
+ name: "",
124
+ type: "uint256",
125
+ },
126
+ ],
127
+ stateMutability: "view",
128
+ },
129
+ {
130
+ type: "function",
131
+ name: "COUNTING_MODE",
132
+ inputs: [],
133
+ outputs: [
134
+ {
135
+ name: "",
136
+ type: "string",
137
+ },
138
+ ],
139
+ stateMutability: "view",
140
+ },
141
+ {
142
+ type: "function",
143
+ name: "votingDelay",
144
+ inputs: [],
145
+ outputs: [
146
+ {
147
+ name: "",
148
+ type: "uint256",
149
+ },
150
+ ],
151
+ stateMutability: "view",
152
+ },
153
+ {
154
+ type: "function",
155
+ name: "votingPeriod",
156
+ inputs: [],
157
+ outputs: [
158
+ {
159
+ name: "",
160
+ type: "uint256",
161
+ },
162
+ ],
163
+ stateMutability: "view",
164
+ },
165
+ {
166
+ type: "function",
167
+ name: "timelock",
168
+ inputs: [],
169
+ outputs: [
170
+ {
171
+ name: "",
172
+ type: "address",
173
+ },
174
+ ],
175
+ stateMutability: "view",
176
+ },
177
+ {
178
+ type: "function",
179
+ name: "nomineeVetter",
180
+ inputs: [],
181
+ outputs: [
182
+ {
183
+ name: "",
184
+ type: "address",
185
+ },
186
+ ],
187
+ stateMutability: "view",
188
+ },
189
+ {
190
+ type: "function",
191
+ name: "proposalVettingDeadline",
192
+ inputs: [
193
+ {
194
+ name: "proposalId",
195
+ type: "uint256",
196
+ },
197
+ ],
198
+ outputs: [
199
+ {
200
+ name: "",
201
+ type: "uint256",
202
+ },
203
+ ],
204
+ stateMutability: "view",
205
+ },
206
+ {
207
+ type: "function",
208
+ name: "proposalExtendedDeadline",
209
+ inputs: [
210
+ {
211
+ name: "proposalId",
212
+ type: "uint256",
213
+ },
214
+ ],
215
+ outputs: [
216
+ {
217
+ name: "",
218
+ type: "uint64",
219
+ },
220
+ ],
221
+ stateMutability: "view",
222
+ },
223
+ {
224
+ type: "function",
225
+ name: "queue",
226
+ inputs: [
227
+ {
228
+ name: "targets",
229
+ type: "address[]",
230
+ },
231
+ {
232
+ name: "values",
233
+ type: "uint256[]",
234
+ },
235
+ {
236
+ name: "calldatas",
237
+ type: "bytes[]",
238
+ },
239
+ {
240
+ name: "descriptionHash",
241
+ type: "bytes32",
242
+ },
243
+ ],
244
+ outputs: [
245
+ {
246
+ name: "",
247
+ type: "uint256",
248
+ },
249
+ ],
250
+ stateMutability: "nonpayable",
251
+ },
252
+ {
253
+ type: "function",
254
+ name: "execute",
255
+ inputs: [
256
+ {
257
+ name: "targets",
258
+ type: "address[]",
259
+ },
260
+ {
261
+ name: "values",
262
+ type: "uint256[]",
263
+ },
264
+ {
265
+ name: "calldatas",
266
+ type: "bytes[]",
267
+ },
268
+ {
269
+ name: "descriptionHash",
270
+ type: "bytes32",
271
+ },
272
+ ],
273
+ outputs: [
274
+ {
275
+ name: "",
276
+ type: "uint256",
277
+ },
278
+ ],
279
+ stateMutability: "payable",
280
+ },
281
+ {
282
+ type: "function",
283
+ name: "castVote",
284
+ inputs: [
285
+ {
286
+ name: "proposalId",
287
+ type: "uint256",
288
+ },
289
+ {
290
+ name: "support",
291
+ type: "uint8",
292
+ },
293
+ ],
294
+ outputs: [
295
+ {
296
+ name: "",
297
+ type: "uint256",
298
+ },
299
+ ],
300
+ stateMutability: "nonpayable",
301
+ },
302
+ {
303
+ type: "function",
304
+ name: "castVoteWithReason",
305
+ inputs: [
306
+ {
307
+ name: "proposalId",
308
+ type: "uint256",
309
+ },
310
+ {
311
+ name: "support",
312
+ type: "uint8",
313
+ },
314
+ {
315
+ name: "reason",
316
+ type: "string",
317
+ },
318
+ ],
319
+ outputs: [
320
+ {
321
+ name: "",
322
+ type: "uint256",
323
+ },
324
+ ],
325
+ stateMutability: "nonpayable",
326
+ },
327
+ {
328
+ type: "function",
329
+ name: "castVoteWithReasonAndParams",
330
+ inputs: [
331
+ {
332
+ name: "proposalId",
333
+ type: "uint256",
334
+ },
335
+ {
336
+ name: "support",
337
+ type: "uint8",
338
+ },
339
+ {
340
+ name: "reason",
341
+ type: "string",
342
+ },
343
+ {
344
+ name: "params",
345
+ type: "bytes",
346
+ },
347
+ ],
348
+ outputs: [
349
+ {
350
+ name: "",
351
+ type: "uint256",
352
+ },
353
+ ],
354
+ stateMutability: "nonpayable",
355
+ },
356
+ {
357
+ type: "function",
358
+ name: "castVoteBySig",
359
+ inputs: [
360
+ {
361
+ name: "proposalId",
362
+ type: "uint256",
363
+ },
364
+ {
365
+ name: "support",
366
+ type: "uint8",
367
+ },
368
+ {
369
+ name: "v",
370
+ type: "uint8",
371
+ },
372
+ {
373
+ name: "r",
374
+ type: "bytes32",
375
+ },
376
+ {
377
+ name: "s",
378
+ type: "bytes32",
379
+ },
380
+ ],
381
+ outputs: [
382
+ {
383
+ name: "",
384
+ type: "uint256",
385
+ },
386
+ ],
387
+ stateMutability: "nonpayable",
388
+ },
389
+ {
390
+ type: "function",
391
+ name: "getVotes",
392
+ inputs: [
393
+ {
394
+ name: "account",
395
+ type: "address",
396
+ },
397
+ {
398
+ name: "blockNumber",
399
+ type: "uint256",
400
+ },
401
+ ],
402
+ outputs: [
403
+ {
404
+ name: "",
405
+ type: "uint256",
406
+ },
407
+ ],
408
+ stateMutability: "view",
409
+ },
410
+ {
411
+ type: "function",
412
+ name: "hasVoted",
413
+ inputs: [
414
+ {
415
+ name: "proposalId",
416
+ type: "uint256",
417
+ },
418
+ {
419
+ name: "account",
420
+ type: "address",
421
+ },
422
+ ],
423
+ outputs: [
424
+ {
425
+ name: "",
426
+ type: "bool",
427
+ },
428
+ ],
429
+ stateMutability: "view",
430
+ },
431
+ {
432
+ type: "event",
433
+ name: "ProposalCreated",
434
+ inputs: [
435
+ {
436
+ name: "proposalId",
437
+ type: "uint256",
438
+ },
439
+ {
440
+ name: "proposer",
441
+ type: "address",
442
+ },
443
+ {
444
+ name: "targets",
445
+ type: "address[]",
446
+ },
447
+ {
448
+ name: "values",
449
+ type: "uint256[]",
450
+ },
451
+ {
452
+ name: "signatures",
453
+ type: "string[]",
454
+ },
455
+ {
456
+ name: "calldatas",
457
+ type: "bytes[]",
458
+ },
459
+ {
460
+ name: "startBlock",
461
+ type: "uint256",
462
+ },
463
+ {
464
+ name: "endBlock",
465
+ type: "uint256",
466
+ },
467
+ {
468
+ name: "description",
469
+ type: "string",
470
+ },
471
+ ],
472
+ },
473
+ ];
474
+ exports.governorWithVetterAbi = [
475
+ {
476
+ type: "function",
477
+ name: "proposalVettingDeadline",
478
+ inputs: [
479
+ {
480
+ name: "proposalId",
481
+ type: "uint256",
482
+ },
483
+ ],
484
+ outputs: [
485
+ {
486
+ name: "",
487
+ type: "uint256",
488
+ },
489
+ ],
490
+ stateMutability: "view",
491
+ },
492
+ {
493
+ type: "function",
494
+ name: "vetter",
495
+ inputs: [],
496
+ outputs: [
497
+ {
498
+ name: "",
499
+ type: "address",
500
+ },
501
+ ],
502
+ stateMutability: "view",
503
+ },
504
+ {
505
+ type: "function",
506
+ name: "excludedNominee",
507
+ inputs: [
508
+ {
509
+ name: "proposalId",
510
+ type: "uint256",
511
+ },
512
+ {
513
+ name: "",
514
+ type: "address",
515
+ },
516
+ ],
517
+ outputs: [
518
+ {
519
+ name: "",
520
+ type: "bool",
521
+ },
522
+ ],
523
+ stateMutability: "view",
524
+ },
525
+ ];
526
+ exports.timelockAbi = [
527
+ {
528
+ type: "function",
529
+ name: "isOperation",
530
+ inputs: [
531
+ {
532
+ name: "id",
533
+ type: "bytes32",
534
+ },
535
+ ],
536
+ outputs: [
537
+ {
538
+ name: "",
539
+ type: "bool",
540
+ },
541
+ ],
542
+ stateMutability: "view",
543
+ },
544
+ {
545
+ type: "function",
546
+ name: "isOperationPending",
547
+ inputs: [
548
+ {
549
+ name: "id",
550
+ type: "bytes32",
551
+ },
552
+ ],
553
+ outputs: [
554
+ {
555
+ name: "",
556
+ type: "bool",
557
+ },
558
+ ],
559
+ stateMutability: "view",
560
+ },
561
+ {
562
+ type: "function",
563
+ name: "isOperationReady",
564
+ inputs: [
565
+ {
566
+ name: "id",
567
+ type: "bytes32",
568
+ },
569
+ ],
570
+ outputs: [
571
+ {
572
+ name: "",
573
+ type: "bool",
574
+ },
575
+ ],
576
+ stateMutability: "view",
577
+ },
578
+ {
579
+ type: "function",
580
+ name: "isOperationDone",
581
+ inputs: [
582
+ {
583
+ name: "id",
584
+ type: "bytes32",
585
+ },
586
+ ],
587
+ outputs: [
588
+ {
589
+ name: "",
590
+ type: "bool",
591
+ },
592
+ ],
593
+ stateMutability: "view",
594
+ },
595
+ {
596
+ type: "function",
597
+ name: "getTimestamp",
598
+ inputs: [
599
+ {
600
+ name: "id",
601
+ type: "bytes32",
602
+ },
603
+ ],
604
+ outputs: [
605
+ {
606
+ name: "",
607
+ type: "uint256",
608
+ },
609
+ ],
610
+ stateMutability: "view",
611
+ },
612
+ {
613
+ type: "function",
614
+ name: "getMinDelay",
615
+ inputs: [],
616
+ outputs: [
617
+ {
618
+ name: "",
619
+ type: "uint256",
620
+ },
621
+ ],
622
+ stateMutability: "view",
623
+ },
624
+ {
625
+ type: "function",
626
+ name: "hashOperation",
627
+ inputs: [
628
+ {
629
+ name: "target",
630
+ type: "address",
631
+ },
632
+ {
633
+ name: "value",
634
+ type: "uint256",
635
+ },
636
+ {
637
+ name: "data",
638
+ type: "bytes",
639
+ },
640
+ {
641
+ name: "predecessor",
642
+ type: "bytes32",
643
+ },
644
+ {
645
+ name: "salt",
646
+ type: "bytes32",
647
+ },
648
+ ],
649
+ outputs: [
650
+ {
651
+ name: "",
652
+ type: "bytes32",
653
+ },
654
+ ],
655
+ stateMutability: "view",
656
+ },
657
+ {
658
+ type: "function",
659
+ name: "hashOperationBatch",
660
+ inputs: [
661
+ {
662
+ name: "targets",
663
+ type: "address[]",
664
+ },
665
+ {
666
+ name: "values",
667
+ type: "uint256[]",
668
+ },
669
+ {
670
+ name: "payloads",
671
+ type: "bytes[]",
672
+ },
673
+ {
674
+ name: "predecessor",
675
+ type: "bytes32",
676
+ },
677
+ {
678
+ name: "salt",
679
+ type: "bytes32",
680
+ },
681
+ ],
682
+ outputs: [
683
+ {
684
+ name: "",
685
+ type: "bytes32",
686
+ },
687
+ ],
688
+ stateMutability: "view",
689
+ },
690
+ {
691
+ type: "function",
692
+ name: "execute",
693
+ inputs: [
694
+ {
695
+ name: "target",
696
+ type: "address",
697
+ },
698
+ {
699
+ name: "value",
700
+ type: "uint256",
701
+ },
702
+ {
703
+ name: "payload",
704
+ type: "bytes",
705
+ },
706
+ {
707
+ name: "predecessor",
708
+ type: "bytes32",
709
+ },
710
+ {
711
+ name: "salt",
712
+ type: "bytes32",
713
+ },
714
+ ],
715
+ outputs: [],
716
+ stateMutability: "payable",
717
+ },
718
+ {
719
+ type: "function",
720
+ name: "executeBatch",
721
+ inputs: [
722
+ {
723
+ name: "targets",
724
+ type: "address[]",
725
+ },
726
+ {
727
+ name: "values",
728
+ type: "uint256[]",
729
+ },
730
+ {
731
+ name: "payloads",
732
+ type: "bytes[]",
733
+ },
734
+ {
735
+ name: "predecessor",
736
+ type: "bytes32",
737
+ },
738
+ {
739
+ name: "salt",
740
+ type: "bytes32",
741
+ },
742
+ ],
743
+ outputs: [],
744
+ stateMutability: "payable",
745
+ },
746
+ {
747
+ type: "function",
748
+ name: "schedule",
749
+ inputs: [
750
+ {
751
+ name: "target",
752
+ type: "address",
753
+ },
754
+ {
755
+ name: "value",
756
+ type: "uint256",
757
+ },
758
+ {
759
+ name: "data",
760
+ type: "bytes",
761
+ },
762
+ {
763
+ name: "predecessor",
764
+ type: "bytes32",
765
+ },
766
+ {
767
+ name: "salt",
768
+ type: "bytes32",
769
+ },
770
+ {
771
+ name: "delay",
772
+ type: "uint256",
773
+ },
774
+ ],
775
+ outputs: [],
776
+ stateMutability: "nonpayable",
777
+ },
778
+ {
779
+ type: "function",
780
+ name: "scheduleBatch",
781
+ inputs: [
782
+ {
783
+ name: "targets",
784
+ type: "address[]",
785
+ },
786
+ {
787
+ name: "values",
788
+ type: "uint256[]",
789
+ },
790
+ {
791
+ name: "payloads",
792
+ type: "bytes[]",
793
+ },
794
+ {
795
+ name: "predecessor",
796
+ type: "bytes32",
797
+ },
798
+ {
799
+ name: "salt",
800
+ type: "bytes32",
801
+ },
802
+ {
803
+ name: "delay",
804
+ type: "uint256",
805
+ },
806
+ ],
807
+ outputs: [],
808
+ stateMutability: "nonpayable",
809
+ },
810
+ {
811
+ type: "function",
812
+ name: "RETRYABLE_TICKET_MAGIC",
813
+ inputs: [],
814
+ outputs: [
815
+ {
816
+ name: "",
817
+ type: "address",
818
+ },
819
+ ],
820
+ stateMutability: "view",
821
+ },
822
+ {
823
+ type: "event",
824
+ name: "CallScheduled",
825
+ inputs: [
826
+ {
827
+ name: "id",
828
+ type: "bytes32",
829
+ indexed: true,
830
+ },
831
+ {
832
+ name: "index",
833
+ type: "uint256",
834
+ indexed: true,
835
+ },
836
+ {
837
+ name: "target",
838
+ type: "address",
839
+ },
840
+ {
841
+ name: "value",
842
+ type: "uint256",
843
+ },
844
+ {
845
+ name: "data",
846
+ type: "bytes",
847
+ },
848
+ {
849
+ name: "predecessor",
850
+ type: "bytes32",
851
+ },
852
+ {
853
+ name: "delay",
854
+ type: "uint256",
855
+ },
856
+ ],
857
+ },
858
+ {
859
+ type: "event",
860
+ name: "CallExecuted",
861
+ inputs: [
862
+ {
863
+ name: "id",
864
+ type: "bytes32",
865
+ indexed: true,
866
+ },
867
+ {
868
+ name: "index",
869
+ type: "uint256",
870
+ indexed: true,
871
+ },
872
+ {
873
+ name: "target",
874
+ type: "address",
875
+ },
876
+ {
877
+ name: "value",
878
+ type: "uint256",
879
+ },
880
+ {
881
+ name: "data",
882
+ type: "bytes",
883
+ },
884
+ ],
885
+ },
886
+ ];
887
+ exports.securityCouncilManagerAbi = [
888
+ {
889
+ type: "function",
890
+ name: "cohortSize",
891
+ inputs: [],
892
+ outputs: [
893
+ {
894
+ name: "",
895
+ type: "uint256",
896
+ },
897
+ ],
898
+ stateMutability: "view",
899
+ },
900
+ {
901
+ type: "function",
902
+ name: "getFirstCohort",
903
+ inputs: [],
904
+ outputs: [
905
+ {
906
+ name: "",
907
+ type: "address[]",
908
+ },
909
+ ],
910
+ stateMutability: "view",
911
+ },
912
+ {
913
+ type: "function",
914
+ name: "getSecondCohort",
915
+ inputs: [],
916
+ outputs: [
917
+ {
918
+ name: "",
919
+ type: "address[]",
920
+ },
921
+ ],
922
+ stateMutability: "view",
923
+ },
924
+ {
925
+ type: "function",
926
+ name: "updateNonce",
927
+ inputs: [],
928
+ outputs: [
929
+ {
930
+ name: "",
931
+ type: "uint256",
932
+ },
933
+ ],
934
+ stateMutability: "view",
935
+ },
936
+ {
937
+ type: "function",
938
+ name: "getScheduleUpdateInnerData",
939
+ inputs: [
940
+ {
941
+ name: "nonce",
942
+ type: "uint256",
943
+ },
944
+ ],
945
+ outputs: [
946
+ {
947
+ name: "",
948
+ type: "address[]",
949
+ },
950
+ {
951
+ name: "",
952
+ type: "bytes",
953
+ },
954
+ ],
955
+ stateMutability: "view",
956
+ },
957
+ {
958
+ type: "function",
959
+ name: "generateSalt",
960
+ inputs: [
961
+ {
962
+ name: "newMembers",
963
+ type: "address[]",
964
+ },
965
+ {
966
+ name: "nonce",
967
+ type: "uint256",
968
+ },
969
+ ],
970
+ outputs: [
971
+ {
972
+ name: "",
973
+ type: "bytes32",
974
+ },
975
+ ],
976
+ stateMutability: "pure",
977
+ },
978
+ ];
979
+ exports.inboxAbi = [
980
+ {
981
+ type: "function",
982
+ name: "calculateRetryableSubmissionFee",
983
+ inputs: [
984
+ {
985
+ name: "dataLength",
986
+ type: "uint256",
987
+ },
988
+ {
989
+ name: "baseFee",
990
+ type: "uint256",
991
+ },
992
+ ],
993
+ outputs: [
994
+ {
995
+ name: "",
996
+ type: "uint256",
997
+ },
998
+ ],
999
+ stateMutability: "view",
1000
+ },
1001
+ ];
1002
+ exports.nomineeElectionGovernorAbi = [
1003
+ {
1004
+ type: "function",
1005
+ name: "electionCount",
1006
+ inputs: [],
1007
+ outputs: [
1008
+ {
1009
+ name: "",
1010
+ type: "uint256",
1011
+ },
1012
+ ],
1013
+ stateMutability: "view",
1014
+ },
1015
+ {
1016
+ type: "function",
1017
+ name: "electionToTimestamp",
1018
+ inputs: [
1019
+ {
1020
+ name: "electionIndex",
1021
+ type: "uint256",
1022
+ },
1023
+ ],
1024
+ outputs: [
1025
+ {
1026
+ name: "",
1027
+ type: "uint256",
1028
+ },
1029
+ ],
1030
+ stateMutability: "view",
1031
+ },
1032
+ {
1033
+ type: "function",
1034
+ name: "electionIndexToCohort",
1035
+ inputs: [
1036
+ {
1037
+ name: "electionIndex",
1038
+ type: "uint256",
1039
+ },
1040
+ ],
1041
+ outputs: [
1042
+ {
1043
+ name: "",
1044
+ type: "uint8",
1045
+ },
1046
+ ],
1047
+ stateMutability: "view",
1048
+ },
1049
+ {
1050
+ type: "function",
1051
+ name: "createElection",
1052
+ inputs: [],
1053
+ outputs: [
1054
+ {
1055
+ name: "",
1056
+ type: "uint256",
1057
+ },
1058
+ ],
1059
+ stateMutability: "nonpayable",
1060
+ },
1061
+ {
1062
+ type: "function",
1063
+ name: "nomineeVetter",
1064
+ inputs: [],
1065
+ outputs: [
1066
+ {
1067
+ name: "",
1068
+ type: "address",
1069
+ },
1070
+ ],
1071
+ stateMutability: "view",
1072
+ },
1073
+ {
1074
+ type: "function",
1075
+ name: "proposalVettingDeadline",
1076
+ inputs: [
1077
+ {
1078
+ name: "proposalId",
1079
+ type: "uint256",
1080
+ },
1081
+ ],
1082
+ outputs: [
1083
+ {
1084
+ name: "",
1085
+ type: "uint256",
1086
+ },
1087
+ ],
1088
+ stateMutability: "view",
1089
+ },
1090
+ {
1091
+ type: "function",
1092
+ name: "compliantNomineeCount",
1093
+ inputs: [
1094
+ {
1095
+ name: "proposalId",
1096
+ type: "uint256",
1097
+ },
1098
+ ],
1099
+ outputs: [
1100
+ {
1101
+ name: "",
1102
+ type: "uint256",
1103
+ },
1104
+ ],
1105
+ stateMutability: "view",
1106
+ },
1107
+ {
1108
+ type: "function",
1109
+ name: "proposalDeadline",
1110
+ inputs: [
1111
+ {
1112
+ name: "proposalId",
1113
+ type: "uint256",
1114
+ },
1115
+ ],
1116
+ outputs: [
1117
+ {
1118
+ name: "",
1119
+ type: "uint256",
1120
+ },
1121
+ ],
1122
+ stateMutability: "view",
1123
+ },
1124
+ {
1125
+ type: "function",
1126
+ name: "proposalSnapshot",
1127
+ inputs: [
1128
+ {
1129
+ name: "proposalId",
1130
+ type: "uint256",
1131
+ },
1132
+ ],
1133
+ outputs: [
1134
+ {
1135
+ name: "",
1136
+ type: "uint256",
1137
+ },
1138
+ ],
1139
+ stateMutability: "view",
1140
+ },
1141
+ {
1142
+ type: "function",
1143
+ name: "state",
1144
+ inputs: [
1145
+ {
1146
+ name: "proposalId",
1147
+ type: "uint256",
1148
+ },
1149
+ ],
1150
+ outputs: [
1151
+ {
1152
+ name: "",
1153
+ type: "uint8",
1154
+ },
1155
+ ],
1156
+ stateMutability: "view",
1157
+ },
1158
+ {
1159
+ type: "function",
1160
+ name: "getProposeArgs",
1161
+ inputs: [
1162
+ {
1163
+ name: "electionIndex",
1164
+ type: "uint256",
1165
+ },
1166
+ ],
1167
+ outputs: [
1168
+ {
1169
+ name: "",
1170
+ type: "address[]",
1171
+ },
1172
+ {
1173
+ name: "",
1174
+ type: "uint256[]",
1175
+ },
1176
+ {
1177
+ name: "",
1178
+ type: "bytes[]",
1179
+ },
1180
+ {
1181
+ name: "",
1182
+ type: "string",
1183
+ },
1184
+ ],
1185
+ stateMutability: "view",
1186
+ },
1187
+ {
1188
+ type: "function",
1189
+ name: "hashProposal",
1190
+ inputs: [
1191
+ {
1192
+ name: "targets",
1193
+ type: "address[]",
1194
+ },
1195
+ {
1196
+ name: "values",
1197
+ type: "uint256[]",
1198
+ },
1199
+ {
1200
+ name: "calldatas",
1201
+ type: "bytes[]",
1202
+ },
1203
+ {
1204
+ name: "descriptionHash",
1205
+ type: "bytes32",
1206
+ },
1207
+ ],
1208
+ outputs: [
1209
+ {
1210
+ name: "",
1211
+ type: "bytes32",
1212
+ },
1213
+ ],
1214
+ stateMutability: "view",
1215
+ },
1216
+ {
1217
+ type: "function",
1218
+ name: "nominees",
1219
+ inputs: [
1220
+ {
1221
+ name: "proposalId",
1222
+ type: "uint256",
1223
+ },
1224
+ ],
1225
+ outputs: [
1226
+ {
1227
+ name: "",
1228
+ type: "address[]",
1229
+ },
1230
+ ],
1231
+ stateMutability: "view",
1232
+ },
1233
+ {
1234
+ type: "function",
1235
+ name: "compliantNominees",
1236
+ inputs: [
1237
+ {
1238
+ name: "proposalId",
1239
+ type: "uint256",
1240
+ },
1241
+ ],
1242
+ outputs: [
1243
+ {
1244
+ name: "",
1245
+ type: "address[]",
1246
+ },
1247
+ ],
1248
+ stateMutability: "view",
1249
+ },
1250
+ {
1251
+ type: "function",
1252
+ name: "votesReceived",
1253
+ inputs: [
1254
+ {
1255
+ name: "proposalId",
1256
+ type: "uint256",
1257
+ },
1258
+ {
1259
+ name: "contender",
1260
+ type: "address",
1261
+ },
1262
+ ],
1263
+ outputs: [
1264
+ {
1265
+ name: "",
1266
+ type: "uint256",
1267
+ },
1268
+ ],
1269
+ stateMutability: "view",
1270
+ },
1271
+ {
1272
+ type: "function",
1273
+ name: "isExcluded",
1274
+ inputs: [
1275
+ {
1276
+ name: "proposalId",
1277
+ type: "uint256",
1278
+ },
1279
+ {
1280
+ name: "nominee",
1281
+ type: "address",
1282
+ },
1283
+ ],
1284
+ outputs: [
1285
+ {
1286
+ name: "",
1287
+ type: "bool",
1288
+ },
1289
+ ],
1290
+ stateMutability: "view",
1291
+ },
1292
+ {
1293
+ type: "function",
1294
+ name: "quorum",
1295
+ inputs: [
1296
+ {
1297
+ name: "blockNumber",
1298
+ type: "uint256",
1299
+ },
1300
+ ],
1301
+ outputs: [
1302
+ {
1303
+ name: "",
1304
+ type: "uint256",
1305
+ },
1306
+ ],
1307
+ stateMutability: "view",
1308
+ },
1309
+ {
1310
+ type: "function",
1311
+ name: "name",
1312
+ inputs: [],
1313
+ outputs: [
1314
+ {
1315
+ name: "",
1316
+ type: "string",
1317
+ },
1318
+ ],
1319
+ stateMutability: "view",
1320
+ },
1321
+ {
1322
+ type: "function",
1323
+ name: "addContender",
1324
+ inputs: [
1325
+ {
1326
+ name: "proposalId",
1327
+ type: "uint256",
1328
+ },
1329
+ {
1330
+ name: "signature",
1331
+ type: "bytes",
1332
+ },
1333
+ ],
1334
+ outputs: [],
1335
+ stateMutability: "nonpayable",
1336
+ },
1337
+ {
1338
+ type: "function",
1339
+ name: "castVoteWithReasonAndParams",
1340
+ inputs: [
1341
+ {
1342
+ name: "proposalId",
1343
+ type: "uint256",
1344
+ },
1345
+ {
1346
+ name: "support",
1347
+ type: "uint8",
1348
+ },
1349
+ {
1350
+ name: "reason",
1351
+ type: "string",
1352
+ },
1353
+ {
1354
+ name: "params",
1355
+ type: "bytes",
1356
+ },
1357
+ ],
1358
+ outputs: [
1359
+ {
1360
+ name: "",
1361
+ type: "uint256",
1362
+ },
1363
+ ],
1364
+ stateMutability: "nonpayable",
1365
+ },
1366
+ {
1367
+ type: "function",
1368
+ name: "isContender",
1369
+ inputs: [
1370
+ {
1371
+ name: "proposalId",
1372
+ type: "uint256",
1373
+ },
1374
+ {
1375
+ name: "possibleContender",
1376
+ type: "address",
1377
+ },
1378
+ ],
1379
+ outputs: [
1380
+ {
1381
+ name: "",
1382
+ type: "bool",
1383
+ },
1384
+ ],
1385
+ stateMutability: "view",
1386
+ },
1387
+ {
1388
+ type: "function",
1389
+ name: "votesUsed",
1390
+ inputs: [
1391
+ {
1392
+ name: "proposalId",
1393
+ type: "uint256",
1394
+ },
1395
+ {
1396
+ name: "account",
1397
+ type: "address",
1398
+ },
1399
+ ],
1400
+ outputs: [
1401
+ {
1402
+ name: "",
1403
+ type: "uint256",
1404
+ },
1405
+ ],
1406
+ stateMutability: "view",
1407
+ },
1408
+ {
1409
+ type: "event",
1410
+ name: "ContenderAdded",
1411
+ inputs: [
1412
+ {
1413
+ name: "proposalId",
1414
+ type: "uint256",
1415
+ indexed: true,
1416
+ },
1417
+ {
1418
+ name: "contender",
1419
+ type: "address",
1420
+ indexed: true,
1421
+ },
1422
+ ],
1423
+ },
1424
+ {
1425
+ type: "event",
1426
+ name: "NewNominee",
1427
+ inputs: [
1428
+ {
1429
+ name: "proposalId",
1430
+ type: "uint256",
1431
+ indexed: true,
1432
+ },
1433
+ {
1434
+ name: "nominee",
1435
+ type: "address",
1436
+ indexed: true,
1437
+ },
1438
+ ],
1439
+ },
1440
+ {
1441
+ type: "event",
1442
+ name: "NomineeExcluded",
1443
+ inputs: [
1444
+ {
1445
+ name: "proposalId",
1446
+ type: "uint256",
1447
+ indexed: true,
1448
+ },
1449
+ {
1450
+ name: "nominee",
1451
+ type: "address",
1452
+ indexed: true,
1453
+ },
1454
+ ],
1455
+ },
1456
+ {
1457
+ type: "event",
1458
+ name: "VoteCastForContender",
1459
+ inputs: [
1460
+ {
1461
+ name: "proposalId",
1462
+ type: "uint256",
1463
+ indexed: true,
1464
+ },
1465
+ {
1466
+ name: "voter",
1467
+ type: "address",
1468
+ indexed: true,
1469
+ },
1470
+ {
1471
+ name: "contender",
1472
+ type: "address",
1473
+ indexed: true,
1474
+ },
1475
+ {
1476
+ name: "votes",
1477
+ type: "uint256",
1478
+ },
1479
+ {
1480
+ name: "totalUsedVotes",
1481
+ type: "uint256",
1482
+ },
1483
+ {
1484
+ name: "usableVotes",
1485
+ type: "uint256",
1486
+ },
1487
+ ],
1488
+ },
1489
+ ];
1490
+ exports.memberElectionGovernorAbi = [
1491
+ {
1492
+ type: "function",
1493
+ name: "state",
1494
+ inputs: [
1495
+ {
1496
+ name: "proposalId",
1497
+ type: "uint256",
1498
+ },
1499
+ ],
1500
+ outputs: [
1501
+ {
1502
+ name: "",
1503
+ type: "uint8",
1504
+ },
1505
+ ],
1506
+ stateMutability: "view",
1507
+ },
1508
+ {
1509
+ type: "function",
1510
+ name: "proposalDeadline",
1511
+ inputs: [
1512
+ {
1513
+ name: "proposalId",
1514
+ type: "uint256",
1515
+ },
1516
+ ],
1517
+ outputs: [
1518
+ {
1519
+ name: "",
1520
+ type: "uint256",
1521
+ },
1522
+ ],
1523
+ stateMutability: "view",
1524
+ },
1525
+ {
1526
+ type: "function",
1527
+ name: "proposalSnapshot",
1528
+ inputs: [
1529
+ {
1530
+ name: "proposalId",
1531
+ type: "uint256",
1532
+ },
1533
+ ],
1534
+ outputs: [
1535
+ {
1536
+ name: "",
1537
+ type: "uint256",
1538
+ },
1539
+ ],
1540
+ stateMutability: "view",
1541
+ },
1542
+ {
1543
+ type: "function",
1544
+ name: "getProposeArgs",
1545
+ inputs: [
1546
+ {
1547
+ name: "electionIndex",
1548
+ type: "uint256",
1549
+ },
1550
+ ],
1551
+ outputs: [
1552
+ {
1553
+ name: "",
1554
+ type: "address[]",
1555
+ },
1556
+ {
1557
+ name: "",
1558
+ type: "uint256[]",
1559
+ },
1560
+ {
1561
+ name: "",
1562
+ type: "bytes[]",
1563
+ },
1564
+ {
1565
+ name: "",
1566
+ type: "string",
1567
+ },
1568
+ ],
1569
+ stateMutability: "view",
1570
+ },
1571
+ {
1572
+ type: "function",
1573
+ name: "hashProposal",
1574
+ inputs: [
1575
+ {
1576
+ name: "targets",
1577
+ type: "address[]",
1578
+ },
1579
+ {
1580
+ name: "values",
1581
+ type: "uint256[]",
1582
+ },
1583
+ {
1584
+ name: "calldatas",
1585
+ type: "bytes[]",
1586
+ },
1587
+ {
1588
+ name: "descriptionHash",
1589
+ type: "bytes32",
1590
+ },
1591
+ ],
1592
+ outputs: [
1593
+ {
1594
+ name: "",
1595
+ type: "bytes32",
1596
+ },
1597
+ ],
1598
+ stateMutability: "view",
1599
+ },
1600
+ {
1601
+ type: "function",
1602
+ name: "weightReceived",
1603
+ inputs: [
1604
+ {
1605
+ name: "proposalId",
1606
+ type: "uint256",
1607
+ },
1608
+ {
1609
+ name: "nominee",
1610
+ type: "address",
1611
+ },
1612
+ ],
1613
+ outputs: [
1614
+ {
1615
+ name: "",
1616
+ type: "uint256",
1617
+ },
1618
+ ],
1619
+ stateMutability: "view",
1620
+ },
1621
+ {
1622
+ type: "function",
1623
+ name: "topNominees",
1624
+ inputs: [
1625
+ {
1626
+ name: "proposalId",
1627
+ type: "uint256",
1628
+ },
1629
+ ],
1630
+ outputs: [
1631
+ {
1632
+ name: "",
1633
+ type: "address[]",
1634
+ },
1635
+ ],
1636
+ stateMutability: "view",
1637
+ },
1638
+ {
1639
+ type: "function",
1640
+ name: "fullWeightVotingDeadline",
1641
+ inputs: [
1642
+ {
1643
+ name: "proposalId",
1644
+ type: "uint256",
1645
+ },
1646
+ ],
1647
+ outputs: [
1648
+ {
1649
+ name: "",
1650
+ type: "uint256",
1651
+ },
1652
+ ],
1653
+ stateMutability: "view",
1654
+ },
1655
+ {
1656
+ type: "function",
1657
+ name: "fullWeightDuration",
1658
+ inputs: [],
1659
+ outputs: [
1660
+ {
1661
+ name: "",
1662
+ type: "uint256",
1663
+ },
1664
+ ],
1665
+ stateMutability: "view",
1666
+ },
1667
+ {
1668
+ type: "function",
1669
+ name: "castVoteWithReasonAndParams",
1670
+ inputs: [
1671
+ {
1672
+ name: "proposalId",
1673
+ type: "uint256",
1674
+ },
1675
+ {
1676
+ name: "support",
1677
+ type: "uint8",
1678
+ },
1679
+ {
1680
+ name: "reason",
1681
+ type: "string",
1682
+ },
1683
+ {
1684
+ name: "params",
1685
+ type: "bytes",
1686
+ },
1687
+ ],
1688
+ outputs: [
1689
+ {
1690
+ name: "",
1691
+ type: "uint256",
1692
+ },
1693
+ ],
1694
+ stateMutability: "nonpayable",
1695
+ },
1696
+ {
1697
+ type: "function",
1698
+ name: "votesUsed",
1699
+ inputs: [
1700
+ {
1701
+ name: "proposalId",
1702
+ type: "uint256",
1703
+ },
1704
+ {
1705
+ name: "account",
1706
+ type: "address",
1707
+ },
1708
+ ],
1709
+ outputs: [
1710
+ {
1711
+ name: "",
1712
+ type: "uint256",
1713
+ },
1714
+ ],
1715
+ stateMutability: "view",
1716
+ },
1717
+ {
1718
+ type: "event",
1719
+ name: "VoteCastForNominee",
1720
+ inputs: [
1721
+ {
1722
+ name: "voter",
1723
+ type: "address",
1724
+ indexed: true,
1725
+ },
1726
+ {
1727
+ name: "proposalId",
1728
+ type: "uint256",
1729
+ indexed: true,
1730
+ },
1731
+ {
1732
+ name: "nominee",
1733
+ type: "address",
1734
+ indexed: true,
1735
+ },
1736
+ {
1737
+ name: "votes",
1738
+ type: "uint256",
1739
+ },
1740
+ {
1741
+ name: "weight",
1742
+ type: "uint256",
1743
+ },
1744
+ {
1745
+ name: "totalUsedVotes",
1746
+ type: "uint256",
1747
+ },
1748
+ {
1749
+ name: "usableVotes",
1750
+ type: "uint256",
1751
+ },
1752
+ {
1753
+ name: "weightReceived",
1754
+ type: "uint256",
1755
+ },
1756
+ ],
1757
+ },
1758
+ ];
1759
+ exports.erc20VotesAbi = [
1760
+ {
1761
+ type: "function",
1762
+ name: "getPastVotes",
1763
+ inputs: [
1764
+ {
1765
+ name: "account",
1766
+ type: "address",
1767
+ },
1768
+ {
1769
+ name: "blockNumber",
1770
+ type: "uint256",
1771
+ },
1772
+ ],
1773
+ outputs: [
1774
+ {
1775
+ name: "",
1776
+ type: "uint256",
1777
+ },
1778
+ ],
1779
+ stateMutability: "view",
1780
+ },
1781
+ {
1782
+ type: "function",
1783
+ name: "getVotes",
1784
+ inputs: [
1785
+ {
1786
+ name: "account",
1787
+ type: "address",
1788
+ },
1789
+ ],
1790
+ outputs: [
1791
+ {
1792
+ name: "",
1793
+ type: "uint256",
1794
+ },
1795
+ ],
1796
+ stateMutability: "view",
1797
+ },
1798
+ {
1799
+ type: "function",
1800
+ name: "delegates",
1801
+ inputs: [
1802
+ {
1803
+ name: "account",
1804
+ type: "address",
1805
+ },
1806
+ ],
1807
+ outputs: [
1808
+ {
1809
+ name: "",
1810
+ type: "address",
1811
+ },
1812
+ ],
1813
+ stateMutability: "view",
1814
+ },
1815
+ ];
1816
+ // ============================================================================
1817
+ // Curated read/write subsets for large ABIs
1818
+ // Use these when the full ABI exceeds viem's type inference limits.
1819
+ // ============================================================================
1820
+ exports.governorReadAbi = [
1821
+ {
1822
+ type: "function",
1823
+ name: "state",
1824
+ inputs: [
1825
+ {
1826
+ name: "proposalId",
1827
+ type: "uint256",
1828
+ },
1829
+ ],
1830
+ outputs: [
1831
+ {
1832
+ name: "",
1833
+ type: "uint8",
1834
+ },
1835
+ ],
1836
+ stateMutability: "view",
1837
+ },
1838
+ {
1839
+ type: "function",
1840
+ name: "proposalSnapshot",
1841
+ inputs: [
1842
+ {
1843
+ name: "proposalId",
1844
+ type: "uint256",
1845
+ },
1846
+ ],
1847
+ outputs: [
1848
+ {
1849
+ name: "",
1850
+ type: "uint256",
1851
+ },
1852
+ ],
1853
+ stateMutability: "view",
1854
+ },
1855
+ {
1856
+ type: "function",
1857
+ name: "proposalDeadline",
1858
+ inputs: [
1859
+ {
1860
+ name: "proposalId",
1861
+ type: "uint256",
1862
+ },
1863
+ ],
1864
+ outputs: [
1865
+ {
1866
+ name: "",
1867
+ type: "uint256",
1868
+ },
1869
+ ],
1870
+ stateMutability: "view",
1871
+ },
1872
+ {
1873
+ type: "function",
1874
+ name: "proposalVotes",
1875
+ inputs: [
1876
+ {
1877
+ name: "proposalId",
1878
+ type: "uint256",
1879
+ },
1880
+ ],
1881
+ outputs: [
1882
+ {
1883
+ name: "againstVotes",
1884
+ type: "uint256",
1885
+ },
1886
+ {
1887
+ name: "forVotes",
1888
+ type: "uint256",
1889
+ },
1890
+ {
1891
+ name: "abstainVotes",
1892
+ type: "uint256",
1893
+ },
1894
+ ],
1895
+ stateMutability: "view",
1896
+ },
1897
+ {
1898
+ type: "function",
1899
+ name: "quorum",
1900
+ inputs: [
1901
+ {
1902
+ name: "blockNumber",
1903
+ type: "uint256",
1904
+ },
1905
+ ],
1906
+ outputs: [
1907
+ {
1908
+ name: "",
1909
+ type: "uint256",
1910
+ },
1911
+ ],
1912
+ stateMutability: "view",
1913
+ },
1914
+ {
1915
+ type: "function",
1916
+ name: "proposalEta",
1917
+ inputs: [
1918
+ {
1919
+ name: "proposalId",
1920
+ type: "uint256",
1921
+ },
1922
+ ],
1923
+ outputs: [
1924
+ {
1925
+ name: "",
1926
+ type: "uint256",
1927
+ },
1928
+ ],
1929
+ stateMutability: "view",
1930
+ },
1931
+ {
1932
+ type: "function",
1933
+ name: "COUNTING_MODE",
1934
+ inputs: [],
1935
+ outputs: [
1936
+ {
1937
+ name: "",
1938
+ type: "string",
1939
+ },
1940
+ ],
1941
+ stateMutability: "view",
1942
+ },
1943
+ {
1944
+ type: "function",
1945
+ name: "votingDelay",
1946
+ inputs: [],
1947
+ outputs: [
1948
+ {
1949
+ name: "",
1950
+ type: "uint256",
1951
+ },
1952
+ ],
1953
+ stateMutability: "view",
1954
+ },
1955
+ {
1956
+ type: "function",
1957
+ name: "votingPeriod",
1958
+ inputs: [],
1959
+ outputs: [
1960
+ {
1961
+ name: "",
1962
+ type: "uint256",
1963
+ },
1964
+ ],
1965
+ stateMutability: "view",
1966
+ },
1967
+ {
1968
+ type: "function",
1969
+ name: "timelock",
1970
+ inputs: [],
1971
+ outputs: [
1972
+ {
1973
+ name: "",
1974
+ type: "address",
1975
+ },
1976
+ ],
1977
+ stateMutability: "view",
1978
+ },
1979
+ {
1980
+ type: "function",
1981
+ name: "nomineeVetter",
1982
+ inputs: [],
1983
+ outputs: [
1984
+ {
1985
+ name: "",
1986
+ type: "address",
1987
+ },
1988
+ ],
1989
+ stateMutability: "view",
1990
+ },
1991
+ {
1992
+ type: "function",
1993
+ name: "proposalVettingDeadline",
1994
+ inputs: [
1995
+ {
1996
+ name: "proposalId",
1997
+ type: "uint256",
1998
+ },
1999
+ ],
2000
+ outputs: [
2001
+ {
2002
+ name: "",
2003
+ type: "uint256",
2004
+ },
2005
+ ],
2006
+ stateMutability: "view",
2007
+ },
2008
+ {
2009
+ type: "function",
2010
+ name: "proposalExtendedDeadline",
2011
+ inputs: [
2012
+ {
2013
+ name: "proposalId",
2014
+ type: "uint256",
2015
+ },
2016
+ ],
2017
+ outputs: [
2018
+ {
2019
+ name: "",
2020
+ type: "uint64",
2021
+ },
2022
+ ],
2023
+ stateMutability: "view",
2024
+ },
2025
+ {
2026
+ type: "function",
2027
+ name: "getVotes",
2028
+ inputs: [
2029
+ {
2030
+ name: "account",
2031
+ type: "address",
2032
+ },
2033
+ {
2034
+ name: "blockNumber",
2035
+ type: "uint256",
2036
+ },
2037
+ ],
2038
+ outputs: [
2039
+ {
2040
+ name: "",
2041
+ type: "uint256",
2042
+ },
2043
+ ],
2044
+ stateMutability: "view",
2045
+ },
2046
+ {
2047
+ type: "function",
2048
+ name: "hasVoted",
2049
+ inputs: [
2050
+ {
2051
+ name: "proposalId",
2052
+ type: "uint256",
2053
+ },
2054
+ {
2055
+ name: "account",
2056
+ type: "address",
2057
+ },
2058
+ ],
2059
+ outputs: [
2060
+ {
2061
+ name: "",
2062
+ type: "bool",
2063
+ },
2064
+ ],
2065
+ stateMutability: "view",
2066
+ },
2067
+ ];
2068
+ exports.governorWriteAbi = [
2069
+ {
2070
+ type: "function",
2071
+ name: "queue",
2072
+ inputs: [
2073
+ {
2074
+ name: "targets",
2075
+ type: "address[]",
2076
+ },
2077
+ {
2078
+ name: "values",
2079
+ type: "uint256[]",
2080
+ },
2081
+ {
2082
+ name: "calldatas",
2083
+ type: "bytes[]",
2084
+ },
2085
+ {
2086
+ name: "descriptionHash",
2087
+ type: "bytes32",
2088
+ },
2089
+ ],
2090
+ outputs: [
2091
+ {
2092
+ name: "",
2093
+ type: "uint256",
2094
+ },
2095
+ ],
2096
+ stateMutability: "nonpayable",
2097
+ },
2098
+ {
2099
+ type: "function",
2100
+ name: "execute",
2101
+ inputs: [
2102
+ {
2103
+ name: "targets",
2104
+ type: "address[]",
2105
+ },
2106
+ {
2107
+ name: "values",
2108
+ type: "uint256[]",
2109
+ },
2110
+ {
2111
+ name: "calldatas",
2112
+ type: "bytes[]",
2113
+ },
2114
+ {
2115
+ name: "descriptionHash",
2116
+ type: "bytes32",
2117
+ },
2118
+ ],
2119
+ outputs: [
2120
+ {
2121
+ name: "",
2122
+ type: "uint256",
2123
+ },
2124
+ ],
2125
+ stateMutability: "payable",
2126
+ },
2127
+ {
2128
+ type: "function",
2129
+ name: "castVote",
2130
+ inputs: [
2131
+ {
2132
+ name: "proposalId",
2133
+ type: "uint256",
2134
+ },
2135
+ {
2136
+ name: "support",
2137
+ type: "uint8",
2138
+ },
2139
+ ],
2140
+ outputs: [
2141
+ {
2142
+ name: "",
2143
+ type: "uint256",
2144
+ },
2145
+ ],
2146
+ stateMutability: "nonpayable",
2147
+ },
2148
+ {
2149
+ type: "function",
2150
+ name: "castVoteWithReason",
2151
+ inputs: [
2152
+ {
2153
+ name: "proposalId",
2154
+ type: "uint256",
2155
+ },
2156
+ {
2157
+ name: "support",
2158
+ type: "uint8",
2159
+ },
2160
+ {
2161
+ name: "reason",
2162
+ type: "string",
2163
+ },
2164
+ ],
2165
+ outputs: [
2166
+ {
2167
+ name: "",
2168
+ type: "uint256",
2169
+ },
2170
+ ],
2171
+ stateMutability: "nonpayable",
2172
+ },
2173
+ {
2174
+ type: "function",
2175
+ name: "castVoteWithReasonAndParams",
2176
+ inputs: [
2177
+ {
2178
+ name: "proposalId",
2179
+ type: "uint256",
2180
+ },
2181
+ {
2182
+ name: "support",
2183
+ type: "uint8",
2184
+ },
2185
+ {
2186
+ name: "reason",
2187
+ type: "string",
2188
+ },
2189
+ {
2190
+ name: "params",
2191
+ type: "bytes",
2192
+ },
2193
+ ],
2194
+ outputs: [
2195
+ {
2196
+ name: "",
2197
+ type: "uint256",
2198
+ },
2199
+ ],
2200
+ stateMutability: "nonpayable",
2201
+ },
2202
+ {
2203
+ type: "function",
2204
+ name: "castVoteBySig",
2205
+ inputs: [
2206
+ {
2207
+ name: "proposalId",
2208
+ type: "uint256",
2209
+ },
2210
+ {
2211
+ name: "support",
2212
+ type: "uint8",
2213
+ },
2214
+ {
2215
+ name: "v",
2216
+ type: "uint8",
2217
+ },
2218
+ {
2219
+ name: "r",
2220
+ type: "bytes32",
2221
+ },
2222
+ {
2223
+ name: "s",
2224
+ type: "bytes32",
2225
+ },
2226
+ ],
2227
+ outputs: [
2228
+ {
2229
+ name: "",
2230
+ type: "uint256",
2231
+ },
2232
+ ],
2233
+ stateMutability: "nonpayable",
2234
+ },
2235
+ ];
2236
+ exports.nomineeElectionGovernorReadAbi = [
2237
+ {
2238
+ type: "function",
2239
+ name: "electionCount",
2240
+ inputs: [],
2241
+ outputs: [
2242
+ {
2243
+ name: "",
2244
+ type: "uint256",
2245
+ },
2246
+ ],
2247
+ stateMutability: "view",
2248
+ },
2249
+ {
2250
+ type: "function",
2251
+ name: "electionToTimestamp",
2252
+ inputs: [
2253
+ {
2254
+ name: "electionIndex",
2255
+ type: "uint256",
2256
+ },
2257
+ ],
2258
+ outputs: [
2259
+ {
2260
+ name: "",
2261
+ type: "uint256",
2262
+ },
2263
+ ],
2264
+ stateMutability: "view",
2265
+ },
2266
+ {
2267
+ type: "function",
2268
+ name: "electionIndexToCohort",
2269
+ inputs: [
2270
+ {
2271
+ name: "electionIndex",
2272
+ type: "uint256",
2273
+ },
2274
+ ],
2275
+ outputs: [
2276
+ {
2277
+ name: "",
2278
+ type: "uint8",
2279
+ },
2280
+ ],
2281
+ stateMutability: "view",
2282
+ },
2283
+ {
2284
+ type: "function",
2285
+ name: "nomineeVetter",
2286
+ inputs: [],
2287
+ outputs: [
2288
+ {
2289
+ name: "",
2290
+ type: "address",
2291
+ },
2292
+ ],
2293
+ stateMutability: "view",
2294
+ },
2295
+ {
2296
+ type: "function",
2297
+ name: "proposalVettingDeadline",
2298
+ inputs: [
2299
+ {
2300
+ name: "proposalId",
2301
+ type: "uint256",
2302
+ },
2303
+ ],
2304
+ outputs: [
2305
+ {
2306
+ name: "",
2307
+ type: "uint256",
2308
+ },
2309
+ ],
2310
+ stateMutability: "view",
2311
+ },
2312
+ {
2313
+ type: "function",
2314
+ name: "compliantNomineeCount",
2315
+ inputs: [
2316
+ {
2317
+ name: "proposalId",
2318
+ type: "uint256",
2319
+ },
2320
+ ],
2321
+ outputs: [
2322
+ {
2323
+ name: "",
2324
+ type: "uint256",
2325
+ },
2326
+ ],
2327
+ stateMutability: "view",
2328
+ },
2329
+ {
2330
+ type: "function",
2331
+ name: "proposalDeadline",
2332
+ inputs: [
2333
+ {
2334
+ name: "proposalId",
2335
+ type: "uint256",
2336
+ },
2337
+ ],
2338
+ outputs: [
2339
+ {
2340
+ name: "",
2341
+ type: "uint256",
2342
+ },
2343
+ ],
2344
+ stateMutability: "view",
2345
+ },
2346
+ {
2347
+ type: "function",
2348
+ name: "proposalSnapshot",
2349
+ inputs: [
2350
+ {
2351
+ name: "proposalId",
2352
+ type: "uint256",
2353
+ },
2354
+ ],
2355
+ outputs: [
2356
+ {
2357
+ name: "",
2358
+ type: "uint256",
2359
+ },
2360
+ ],
2361
+ stateMutability: "view",
2362
+ },
2363
+ {
2364
+ type: "function",
2365
+ name: "state",
2366
+ inputs: [
2367
+ {
2368
+ name: "proposalId",
2369
+ type: "uint256",
2370
+ },
2371
+ ],
2372
+ outputs: [
2373
+ {
2374
+ name: "",
2375
+ type: "uint8",
2376
+ },
2377
+ ],
2378
+ stateMutability: "view",
2379
+ },
2380
+ {
2381
+ type: "function",
2382
+ name: "getProposeArgs",
2383
+ inputs: [
2384
+ {
2385
+ name: "electionIndex",
2386
+ type: "uint256",
2387
+ },
2388
+ ],
2389
+ outputs: [
2390
+ {
2391
+ name: "",
2392
+ type: "address[]",
2393
+ },
2394
+ {
2395
+ name: "",
2396
+ type: "uint256[]",
2397
+ },
2398
+ {
2399
+ name: "",
2400
+ type: "bytes[]",
2401
+ },
2402
+ {
2403
+ name: "",
2404
+ type: "string",
2405
+ },
2406
+ ],
2407
+ stateMutability: "view",
2408
+ },
2409
+ {
2410
+ type: "function",
2411
+ name: "hashProposal",
2412
+ inputs: [
2413
+ {
2414
+ name: "targets",
2415
+ type: "address[]",
2416
+ },
2417
+ {
2418
+ name: "values",
2419
+ type: "uint256[]",
2420
+ },
2421
+ {
2422
+ name: "calldatas",
2423
+ type: "bytes[]",
2424
+ },
2425
+ {
2426
+ name: "descriptionHash",
2427
+ type: "bytes32",
2428
+ },
2429
+ ],
2430
+ outputs: [
2431
+ {
2432
+ name: "",
2433
+ type: "bytes32",
2434
+ },
2435
+ ],
2436
+ stateMutability: "view",
2437
+ },
2438
+ {
2439
+ type: "function",
2440
+ name: "nominees",
2441
+ inputs: [
2442
+ {
2443
+ name: "proposalId",
2444
+ type: "uint256",
2445
+ },
2446
+ ],
2447
+ outputs: [
2448
+ {
2449
+ name: "",
2450
+ type: "address[]",
2451
+ },
2452
+ ],
2453
+ stateMutability: "view",
2454
+ },
2455
+ {
2456
+ type: "function",
2457
+ name: "compliantNominees",
2458
+ inputs: [
2459
+ {
2460
+ name: "proposalId",
2461
+ type: "uint256",
2462
+ },
2463
+ ],
2464
+ outputs: [
2465
+ {
2466
+ name: "",
2467
+ type: "address[]",
2468
+ },
2469
+ ],
2470
+ stateMutability: "view",
2471
+ },
2472
+ {
2473
+ type: "function",
2474
+ name: "votesReceived",
2475
+ inputs: [
2476
+ {
2477
+ name: "proposalId",
2478
+ type: "uint256",
2479
+ },
2480
+ {
2481
+ name: "contender",
2482
+ type: "address",
2483
+ },
2484
+ ],
2485
+ outputs: [
2486
+ {
2487
+ name: "",
2488
+ type: "uint256",
2489
+ },
2490
+ ],
2491
+ stateMutability: "view",
2492
+ },
2493
+ {
2494
+ type: "function",
2495
+ name: "isExcluded",
2496
+ inputs: [
2497
+ {
2498
+ name: "proposalId",
2499
+ type: "uint256",
2500
+ },
2501
+ {
2502
+ name: "nominee",
2503
+ type: "address",
2504
+ },
2505
+ ],
2506
+ outputs: [
2507
+ {
2508
+ name: "",
2509
+ type: "bool",
2510
+ },
2511
+ ],
2512
+ stateMutability: "view",
2513
+ },
2514
+ {
2515
+ type: "function",
2516
+ name: "quorum",
2517
+ inputs: [
2518
+ {
2519
+ name: "blockNumber",
2520
+ type: "uint256",
2521
+ },
2522
+ ],
2523
+ outputs: [
2524
+ {
2525
+ name: "",
2526
+ type: "uint256",
2527
+ },
2528
+ ],
2529
+ stateMutability: "view",
2530
+ },
2531
+ {
2532
+ type: "function",
2533
+ name: "name",
2534
+ inputs: [],
2535
+ outputs: [
2536
+ {
2537
+ name: "",
2538
+ type: "string",
2539
+ },
2540
+ ],
2541
+ stateMutability: "view",
2542
+ },
2543
+ {
2544
+ type: "function",
2545
+ name: "isContender",
2546
+ inputs: [
2547
+ {
2548
+ name: "proposalId",
2549
+ type: "uint256",
2550
+ },
2551
+ {
2552
+ name: "possibleContender",
2553
+ type: "address",
2554
+ },
2555
+ ],
2556
+ outputs: [
2557
+ {
2558
+ name: "",
2559
+ type: "bool",
2560
+ },
2561
+ ],
2562
+ stateMutability: "view",
2563
+ },
2564
+ {
2565
+ type: "function",
2566
+ name: "votesUsed",
2567
+ inputs: [
2568
+ {
2569
+ name: "proposalId",
2570
+ type: "uint256",
2571
+ },
2572
+ {
2573
+ name: "account",
2574
+ type: "address",
2575
+ },
2576
+ ],
2577
+ outputs: [
2578
+ {
2579
+ name: "",
2580
+ type: "uint256",
2581
+ },
2582
+ ],
2583
+ stateMutability: "view",
2584
+ },
2585
+ ];
2586
+ exports.nomineeElectionGovernorWriteAbi = [
2587
+ {
2588
+ type: "function",
2589
+ name: "createElection",
2590
+ inputs: [],
2591
+ outputs: [
2592
+ {
2593
+ name: "",
2594
+ type: "uint256",
2595
+ },
2596
+ ],
2597
+ stateMutability: "nonpayable",
2598
+ },
2599
+ {
2600
+ type: "function",
2601
+ name: "addContender",
2602
+ inputs: [
2603
+ {
2604
+ name: "proposalId",
2605
+ type: "uint256",
2606
+ },
2607
+ {
2608
+ name: "signature",
2609
+ type: "bytes",
2610
+ },
2611
+ ],
2612
+ outputs: [],
2613
+ stateMutability: "nonpayable",
2614
+ },
2615
+ {
2616
+ type: "function",
2617
+ name: "castVoteWithReasonAndParams",
2618
+ inputs: [
2619
+ {
2620
+ name: "proposalId",
2621
+ type: "uint256",
2622
+ },
2623
+ {
2624
+ name: "support",
2625
+ type: "uint8",
2626
+ },
2627
+ {
2628
+ name: "reason",
2629
+ type: "string",
2630
+ },
2631
+ {
2632
+ name: "params",
2633
+ type: "bytes",
2634
+ },
2635
+ ],
2636
+ outputs: [
2637
+ {
2638
+ name: "",
2639
+ type: "uint256",
2640
+ },
2641
+ ],
2642
+ stateMutability: "nonpayable",
2643
+ },
2644
+ ];
2645
+ exports.memberElectionGovernorReadAbi = [
2646
+ {
2647
+ type: "function",
2648
+ name: "state",
2649
+ inputs: [
2650
+ {
2651
+ name: "proposalId",
2652
+ type: "uint256",
2653
+ },
2654
+ ],
2655
+ outputs: [
2656
+ {
2657
+ name: "",
2658
+ type: "uint8",
2659
+ },
2660
+ ],
2661
+ stateMutability: "view",
2662
+ },
2663
+ {
2664
+ type: "function",
2665
+ name: "proposalDeadline",
2666
+ inputs: [
2667
+ {
2668
+ name: "proposalId",
2669
+ type: "uint256",
2670
+ },
2671
+ ],
2672
+ outputs: [
2673
+ {
2674
+ name: "",
2675
+ type: "uint256",
2676
+ },
2677
+ ],
2678
+ stateMutability: "view",
2679
+ },
2680
+ {
2681
+ type: "function",
2682
+ name: "proposalSnapshot",
2683
+ inputs: [
2684
+ {
2685
+ name: "proposalId",
2686
+ type: "uint256",
2687
+ },
2688
+ ],
2689
+ outputs: [
2690
+ {
2691
+ name: "",
2692
+ type: "uint256",
2693
+ },
2694
+ ],
2695
+ stateMutability: "view",
2696
+ },
2697
+ {
2698
+ type: "function",
2699
+ name: "getProposeArgs",
2700
+ inputs: [
2701
+ {
2702
+ name: "electionIndex",
2703
+ type: "uint256",
2704
+ },
2705
+ ],
2706
+ outputs: [
2707
+ {
2708
+ name: "",
2709
+ type: "address[]",
2710
+ },
2711
+ {
2712
+ name: "",
2713
+ type: "uint256[]",
2714
+ },
2715
+ {
2716
+ name: "",
2717
+ type: "bytes[]",
2718
+ },
2719
+ {
2720
+ name: "",
2721
+ type: "string",
2722
+ },
2723
+ ],
2724
+ stateMutability: "view",
2725
+ },
2726
+ {
2727
+ type: "function",
2728
+ name: "hashProposal",
2729
+ inputs: [
2730
+ {
2731
+ name: "targets",
2732
+ type: "address[]",
2733
+ },
2734
+ {
2735
+ name: "values",
2736
+ type: "uint256[]",
2737
+ },
2738
+ {
2739
+ name: "calldatas",
2740
+ type: "bytes[]",
2741
+ },
2742
+ {
2743
+ name: "descriptionHash",
2744
+ type: "bytes32",
2745
+ },
2746
+ ],
2747
+ outputs: [
2748
+ {
2749
+ name: "",
2750
+ type: "bytes32",
2751
+ },
2752
+ ],
2753
+ stateMutability: "view",
2754
+ },
2755
+ {
2756
+ type: "function",
2757
+ name: "weightReceived",
2758
+ inputs: [
2759
+ {
2760
+ name: "proposalId",
2761
+ type: "uint256",
2762
+ },
2763
+ {
2764
+ name: "nominee",
2765
+ type: "address",
2766
+ },
2767
+ ],
2768
+ outputs: [
2769
+ {
2770
+ name: "",
2771
+ type: "uint256",
2772
+ },
2773
+ ],
2774
+ stateMutability: "view",
2775
+ },
2776
+ {
2777
+ type: "function",
2778
+ name: "topNominees",
2779
+ inputs: [
2780
+ {
2781
+ name: "proposalId",
2782
+ type: "uint256",
2783
+ },
2784
+ ],
2785
+ outputs: [
2786
+ {
2787
+ name: "",
2788
+ type: "address[]",
2789
+ },
2790
+ ],
2791
+ stateMutability: "view",
2792
+ },
2793
+ {
2794
+ type: "function",
2795
+ name: "fullWeightVotingDeadline",
2796
+ inputs: [
2797
+ {
2798
+ name: "proposalId",
2799
+ type: "uint256",
2800
+ },
2801
+ ],
2802
+ outputs: [
2803
+ {
2804
+ name: "",
2805
+ type: "uint256",
2806
+ },
2807
+ ],
2808
+ stateMutability: "view",
2809
+ },
2810
+ {
2811
+ type: "function",
2812
+ name: "fullWeightDuration",
2813
+ inputs: [],
2814
+ outputs: [
2815
+ {
2816
+ name: "",
2817
+ type: "uint256",
2818
+ },
2819
+ ],
2820
+ stateMutability: "view",
2821
+ },
2822
+ {
2823
+ type: "function",
2824
+ name: "votesUsed",
2825
+ inputs: [
2826
+ {
2827
+ name: "proposalId",
2828
+ type: "uint256",
2829
+ },
2830
+ {
2831
+ name: "account",
2832
+ type: "address",
2833
+ },
2834
+ ],
2835
+ outputs: [
2836
+ {
2837
+ name: "",
2838
+ type: "uint256",
2839
+ },
2840
+ ],
2841
+ stateMutability: "view",
2842
+ },
2843
+ ];
2844
+ exports.memberElectionGovernorWriteAbi = [
2845
+ {
2846
+ type: "function",
2847
+ name: "castVoteWithReasonAndParams",
2848
+ inputs: [
2849
+ {
2850
+ name: "proposalId",
2851
+ type: "uint256",
2852
+ },
2853
+ {
2854
+ name: "support",
2855
+ type: "uint8",
2856
+ },
2857
+ {
2858
+ name: "reason",
2859
+ type: "string",
2860
+ },
2861
+ {
2862
+ name: "params",
2863
+ type: "bytes",
2864
+ },
2865
+ ],
2866
+ outputs: [
2867
+ {
2868
+ name: "",
2869
+ type: "uint256",
2870
+ },
2871
+ ],
2872
+ stateMutability: "nonpayable",
2873
+ },
2874
+ ];
2875
+ exports.timelockReadAbi = [
2876
+ {
2877
+ type: "function",
2878
+ name: "isOperation",
2879
+ inputs: [
2880
+ {
2881
+ name: "id",
2882
+ type: "bytes32",
2883
+ },
2884
+ ],
2885
+ outputs: [
2886
+ {
2887
+ name: "",
2888
+ type: "bool",
2889
+ },
2890
+ ],
2891
+ stateMutability: "view",
2892
+ },
2893
+ {
2894
+ type: "function",
2895
+ name: "isOperationPending",
2896
+ inputs: [
2897
+ {
2898
+ name: "id",
2899
+ type: "bytes32",
2900
+ },
2901
+ ],
2902
+ outputs: [
2903
+ {
2904
+ name: "",
2905
+ type: "bool",
2906
+ },
2907
+ ],
2908
+ stateMutability: "view",
2909
+ },
2910
+ {
2911
+ type: "function",
2912
+ name: "isOperationReady",
2913
+ inputs: [
2914
+ {
2915
+ name: "id",
2916
+ type: "bytes32",
2917
+ },
2918
+ ],
2919
+ outputs: [
2920
+ {
2921
+ name: "",
2922
+ type: "bool",
2923
+ },
2924
+ ],
2925
+ stateMutability: "view",
2926
+ },
2927
+ {
2928
+ type: "function",
2929
+ name: "isOperationDone",
2930
+ inputs: [
2931
+ {
2932
+ name: "id",
2933
+ type: "bytes32",
2934
+ },
2935
+ ],
2936
+ outputs: [
2937
+ {
2938
+ name: "",
2939
+ type: "bool",
2940
+ },
2941
+ ],
2942
+ stateMutability: "view",
2943
+ },
2944
+ {
2945
+ type: "function",
2946
+ name: "getTimestamp",
2947
+ inputs: [
2948
+ {
2949
+ name: "id",
2950
+ type: "bytes32",
2951
+ },
2952
+ ],
2953
+ outputs: [
2954
+ {
2955
+ name: "",
2956
+ type: "uint256",
2957
+ },
2958
+ ],
2959
+ stateMutability: "view",
2960
+ },
2961
+ {
2962
+ type: "function",
2963
+ name: "getMinDelay",
2964
+ inputs: [],
2965
+ outputs: [
2966
+ {
2967
+ name: "",
2968
+ type: "uint256",
2969
+ },
2970
+ ],
2971
+ stateMutability: "view",
2972
+ },
2973
+ {
2974
+ type: "function",
2975
+ name: "hashOperation",
2976
+ inputs: [
2977
+ {
2978
+ name: "target",
2979
+ type: "address",
2980
+ },
2981
+ {
2982
+ name: "value",
2983
+ type: "uint256",
2984
+ },
2985
+ {
2986
+ name: "data",
2987
+ type: "bytes",
2988
+ },
2989
+ {
2990
+ name: "predecessor",
2991
+ type: "bytes32",
2992
+ },
2993
+ {
2994
+ name: "salt",
2995
+ type: "bytes32",
2996
+ },
2997
+ ],
2998
+ outputs: [
2999
+ {
3000
+ name: "",
3001
+ type: "bytes32",
3002
+ },
3003
+ ],
3004
+ stateMutability: "view",
3005
+ },
3006
+ {
3007
+ type: "function",
3008
+ name: "hashOperationBatch",
3009
+ inputs: [
3010
+ {
3011
+ name: "targets",
3012
+ type: "address[]",
3013
+ },
3014
+ {
3015
+ name: "values",
3016
+ type: "uint256[]",
3017
+ },
3018
+ {
3019
+ name: "payloads",
3020
+ type: "bytes[]",
3021
+ },
3022
+ {
3023
+ name: "predecessor",
3024
+ type: "bytes32",
3025
+ },
3026
+ {
3027
+ name: "salt",
3028
+ type: "bytes32",
3029
+ },
3030
+ ],
3031
+ outputs: [
3032
+ {
3033
+ name: "",
3034
+ type: "bytes32",
3035
+ },
3036
+ ],
3037
+ stateMutability: "view",
3038
+ },
3039
+ {
3040
+ type: "function",
3041
+ name: "RETRYABLE_TICKET_MAGIC",
3042
+ inputs: [],
3043
+ outputs: [
3044
+ {
3045
+ name: "",
3046
+ type: "address",
3047
+ },
3048
+ ],
3049
+ stateMutability: "view",
3050
+ },
3051
+ ];
3052
+ exports.timelockWriteAbi = [
3053
+ {
3054
+ type: "function",
3055
+ name: "execute",
3056
+ inputs: [
3057
+ {
3058
+ name: "target",
3059
+ type: "address",
3060
+ },
3061
+ {
3062
+ name: "value",
3063
+ type: "uint256",
3064
+ },
3065
+ {
3066
+ name: "payload",
3067
+ type: "bytes",
3068
+ },
3069
+ {
3070
+ name: "predecessor",
3071
+ type: "bytes32",
3072
+ },
3073
+ {
3074
+ name: "salt",
3075
+ type: "bytes32",
3076
+ },
3077
+ ],
3078
+ outputs: [],
3079
+ stateMutability: "payable",
3080
+ },
3081
+ {
3082
+ type: "function",
3083
+ name: "executeBatch",
3084
+ inputs: [
3085
+ {
3086
+ name: "targets",
3087
+ type: "address[]",
3088
+ },
3089
+ {
3090
+ name: "values",
3091
+ type: "uint256[]",
3092
+ },
3093
+ {
3094
+ name: "payloads",
3095
+ type: "bytes[]",
3096
+ },
3097
+ {
3098
+ name: "predecessor",
3099
+ type: "bytes32",
3100
+ },
3101
+ {
3102
+ name: "salt",
3103
+ type: "bytes32",
3104
+ },
3105
+ ],
3106
+ outputs: [],
3107
+ stateMutability: "payable",
3108
+ },
3109
+ {
3110
+ type: "function",
3111
+ name: "schedule",
3112
+ inputs: [
3113
+ {
3114
+ name: "target",
3115
+ type: "address",
3116
+ },
3117
+ {
3118
+ name: "value",
3119
+ type: "uint256",
3120
+ },
3121
+ {
3122
+ name: "data",
3123
+ type: "bytes",
3124
+ },
3125
+ {
3126
+ name: "predecessor",
3127
+ type: "bytes32",
3128
+ },
3129
+ {
3130
+ name: "salt",
3131
+ type: "bytes32",
3132
+ },
3133
+ {
3134
+ name: "delay",
3135
+ type: "uint256",
3136
+ },
3137
+ ],
3138
+ outputs: [],
3139
+ stateMutability: "nonpayable",
3140
+ },
3141
+ {
3142
+ type: "function",
3143
+ name: "scheduleBatch",
3144
+ inputs: [
3145
+ {
3146
+ name: "targets",
3147
+ type: "address[]",
3148
+ },
3149
+ {
3150
+ name: "values",
3151
+ type: "uint256[]",
3152
+ },
3153
+ {
3154
+ name: "payloads",
3155
+ type: "bytes[]",
3156
+ },
3157
+ {
3158
+ name: "predecessor",
3159
+ type: "bytes32",
3160
+ },
3161
+ {
3162
+ name: "salt",
3163
+ type: "bytes32",
3164
+ },
3165
+ {
3166
+ name: "delay",
3167
+ type: "uint256",
3168
+ },
3169
+ ],
3170
+ outputs: [],
3171
+ stateMutability: "nonpayable",
3172
+ },
3173
+ ];
3174
+ //# sourceMappingURL=abis-json.js.map