@poa-box/core 0.1.0

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 (220) hide show
  1. package/README.md +201 -0
  2. package/dist/abis/DirectDemocracyVotingNew.d.ts +749 -0
  3. package/dist/abis/DirectDemocracyVotingNew.js +961 -0
  4. package/dist/abis/ERC20.d.ts +90 -0
  5. package/dist/abis/ERC20.js +125 -0
  6. package/dist/abis/EducationHubNew.d.ts +590 -0
  7. package/dist/abis/EducationHubNew.js +762 -0
  8. package/dist/abis/EligibilityModuleNew.d.ts +1615 -0
  9. package/dist/abis/EligibilityModuleNew.js +2082 -0
  10. package/dist/abis/Executor.d.ts +619 -0
  11. package/dist/abis/Executor.js +796 -0
  12. package/dist/abis/HybridVotingNew.d.ts +898 -0
  13. package/dist/abis/HybridVotingNew.js +1149 -0
  14. package/dist/abis/ImplementationRegistry.d.ts +270 -0
  15. package/dist/abis/ImplementationRegistry.js +355 -0
  16. package/dist/abis/OrgDeployerNew.d.ts +1275 -0
  17. package/dist/abis/OrgDeployerNew.js +1630 -0
  18. package/dist/abis/OrgRegistry.d.ts +670 -0
  19. package/dist/abis/OrgRegistry.js +868 -0
  20. package/dist/abis/ParticipationToken.d.ts +1086 -0
  21. package/dist/abis/ParticipationToken.js +1415 -0
  22. package/dist/abis/PasskeyAccount.d.ts +788 -0
  23. package/dist/abis/PasskeyAccount.js +1019 -0
  24. package/dist/abis/PasskeyAccountFactory.d.ts +344 -0
  25. package/dist/abis/PasskeyAccountFactory.js +449 -0
  26. package/dist/abis/PaymasterHub.d.ts +1603 -0
  27. package/dist/abis/PaymasterHub.js +2048 -0
  28. package/dist/abis/PaymentManager.d.ts +520 -0
  29. package/dist/abis/PaymentManager.js +671 -0
  30. package/dist/abis/PoaManager.d.ts +344 -0
  31. package/dist/abis/PoaManager.js +449 -0
  32. package/dist/abis/QuickJoinNew.d.ts +855 -0
  33. package/dist/abis/QuickJoinNew.js +1098 -0
  34. package/dist/abis/TaskManagerNew.d.ts +1236 -0
  35. package/dist/abis/TaskManagerNew.js +1573 -0
  36. package/dist/abis/ToggleModule.d.ts +193 -0
  37. package/dist/abis/ToggleModule.js +255 -0
  38. package/dist/abis/UniversalAccountRegistry.d.ts +577 -0
  39. package/dist/abis/UniversalAccountRegistry.js +750 -0
  40. package/dist/abis/ZkEmailInvites.d.ts +823 -0
  41. package/dist/abis/ZkEmailInvites.js +1060 -0
  42. package/dist/abis/external/AaveGovernanceV2.d.ts +128 -0
  43. package/dist/abis/external/AaveGovernanceV2.js +177 -0
  44. package/dist/abis/external/AaveGovernanceV3.d.ts +160 -0
  45. package/dist/abis/external/AaveGovernanceV3.js +220 -0
  46. package/dist/abis/external/AragonVoting.d.ts +107 -0
  47. package/dist/abis/external/AragonVoting.js +150 -0
  48. package/dist/abis/external/CurveGaugeController.d.ts +95 -0
  49. package/dist/abis/external/CurveGaugeController.js +130 -0
  50. package/dist/abis/external/CurveVotingEscrow.d.ts +86 -0
  51. package/dist/abis/external/CurveVotingEscrow.js +116 -0
  52. package/dist/abis/external/GovernorAlpha.d.ts +172 -0
  53. package/dist/abis/external/GovernorAlpha.js +228 -0
  54. package/dist/abis/external/MakerDAOChief.d.ts +92 -0
  55. package/dist/abis/external/MakerDAOChief.js +129 -0
  56. package/dist/abis/external/OZGovernor.d.ts +227 -0
  57. package/dist/abis/external/OZGovernor.js +317 -0
  58. package/dist/abis/external/SolidlyVotingEscrow.d.ts +196 -0
  59. package/dist/abis/external/SolidlyVotingEscrow.js +260 -0
  60. package/dist/abis/index.d.ts +62 -0
  61. package/dist/abis/index.js +98 -0
  62. package/dist/chains.d.ts +150 -0
  63. package/dist/chains.js +320 -0
  64. package/dist/context.d.ts +48 -0
  65. package/dist/context.js +38 -0
  66. package/dist/contracts.d.ts +24 -0
  67. package/dist/contracts.js +41 -0
  68. package/dist/encoding.d.ts +58 -0
  69. package/dist/encoding.js +243 -0
  70. package/dist/env.d.ts +10 -0
  71. package/dist/env.js +4 -0
  72. package/dist/error-catalog.d.ts +41 -0
  73. package/dist/error-catalog.js +941 -0
  74. package/dist/errors.d.ts +27 -0
  75. package/dist/errors.js +60 -0
  76. package/dist/execute/ethers.d.ts +93 -0
  77. package/dist/execute/ethers.js +323 -0
  78. package/dist/execute/index.d.ts +7 -0
  79. package/dist/execute/index.js +23 -0
  80. package/dist/execute/sponsored.d.ts +68 -0
  81. package/dist/execute/sponsored.js +277 -0
  82. package/dist/exit-codes.d.ts +18 -0
  83. package/dist/exit-codes.js +21 -0
  84. package/dist/format.d.ts +21 -0
  85. package/dist/format.js +89 -0
  86. package/dist/graph/client.d.ts +298 -0
  87. package/dist/graph/client.js +702 -0
  88. package/dist/graph/documents/activity.d.ts +9 -0
  89. package/dist/graph/documents/activity.js +164 -0
  90. package/dist/graph/documents/beacons.d.ts +172 -0
  91. package/dist/graph/documents/beacons.js +345 -0
  92. package/dist/graph/documents/index.d.ts +21 -0
  93. package/dist/graph/documents/index.js +57 -0
  94. package/dist/graph/documents/infrastructure.d.ts +30 -0
  95. package/dist/graph/documents/infrastructure.js +34 -0
  96. package/dist/graph/documents/org.d.ts +15 -0
  97. package/dist/graph/documents/org.js +249 -0
  98. package/dist/graph/documents/paymaster.d.ts +95 -0
  99. package/dist/graph/documents/paymaster.js +101 -0
  100. package/dist/graph/documents/role.d.ts +6 -0
  101. package/dist/graph/documents/role.js +41 -0
  102. package/dist/graph/documents/roles.d.ts +50 -0
  103. package/dist/graph/documents/roles.js +112 -0
  104. package/dist/graph/documents/task.d.ts +84 -0
  105. package/dist/graph/documents/task.js +236 -0
  106. package/dist/graph/documents/token.d.ts +13 -0
  107. package/dist/graph/documents/token.js +126 -0
  108. package/dist/graph/documents/treasury.d.ts +39 -0
  109. package/dist/graph/documents/treasury.js +136 -0
  110. package/dist/graph/documents/user.d.ts +120 -0
  111. package/dist/graph/documents/user.js +302 -0
  112. package/dist/graph/documents/voting-classes.d.ts +69 -0
  113. package/dist/graph/documents/voting-classes.js +149 -0
  114. package/dist/graph/documents/voting.d.ts +28 -0
  115. package/dist/graph/documents/voting.js +163 -0
  116. package/dist/graph/documents/vouch.d.ts +79 -0
  117. package/dist/graph/documents/vouch.js +171 -0
  118. package/dist/graph/documents/zkemail.d.ts +63 -0
  119. package/dist/graph/documents/zkemail.js +188 -0
  120. package/dist/graph/index.d.ts +2 -0
  121. package/dist/graph/index.js +41 -0
  122. package/dist/index.d.ts +49 -0
  123. package/dist/index.js +92 -0
  124. package/dist/ipfs.d.ts +39 -0
  125. package/dist/ipfs.js +214 -0
  126. package/dist/label-aliases.d.ts +31 -0
  127. package/dist/label-aliases.js +70 -0
  128. package/dist/metadata/education.d.ts +30 -0
  129. package/dist/metadata/education.js +31 -0
  130. package/dist/metadata/index.d.ts +12 -0
  131. package/dist/metadata/index.js +48 -0
  132. package/dist/metadata/org.d.ts +92 -0
  133. package/dist/metadata/org.js +93 -0
  134. package/dist/metadata/proposal.d.ts +44 -0
  135. package/dist/metadata/proposal.js +45 -0
  136. package/dist/metadata/role.d.ts +38 -0
  137. package/dist/metadata/role.js +35 -0
  138. package/dist/metadata/task.d.ts +108 -0
  139. package/dist/metadata/task.js +81 -0
  140. package/dist/metadata/token.d.ts +32 -0
  141. package/dist/metadata/token.js +36 -0
  142. package/dist/metadata/user.d.ts +63 -0
  143. package/dist/metadata/user.js +70 -0
  144. package/dist/multicall.d.ts +32 -0
  145. package/dist/multicall.js +96 -0
  146. package/dist/payout.d.ts +59 -0
  147. package/dist/payout.js +96 -0
  148. package/dist/perms.d.ts +47 -0
  149. package/dist/perms.js +120 -0
  150. package/dist/preflight.d.ts +72 -0
  151. package/dist/preflight.js +269 -0
  152. package/dist/reads/education.d.ts +79 -0
  153. package/dist/reads/education.js +122 -0
  154. package/dist/reads/eligibility.d.ts +377 -0
  155. package/dist/reads/eligibility.js +687 -0
  156. package/dist/reads/index.d.ts +16 -0
  157. package/dist/reads/index.js +55 -0
  158. package/dist/reads/org.d.ts +258 -0
  159. package/dist/reads/org.js +220 -0
  160. package/dist/reads/paymaster.d.ts +147 -0
  161. package/dist/reads/paymaster.js +235 -0
  162. package/dist/reads/project.d.ts +33 -0
  163. package/dist/reads/project.js +62 -0
  164. package/dist/reads/resolve.d.ts +34 -0
  165. package/dist/reads/resolve.js +64 -0
  166. package/dist/reads/task.d.ts +286 -0
  167. package/dist/reads/task.js +280 -0
  168. package/dist/reads/token.d.ts +94 -0
  169. package/dist/reads/token.js +75 -0
  170. package/dist/reads/treasury.d.ts +222 -0
  171. package/dist/reads/treasury.js +241 -0
  172. package/dist/reads/user.d.ts +229 -0
  173. package/dist/reads/user.js +155 -0
  174. package/dist/reads/vote.d.ts +296 -0
  175. package/dist/reads/vote.js +392 -0
  176. package/dist/reads/zkemail.d.ts +117 -0
  177. package/dist/reads/zkemail.js +217 -0
  178. package/dist/similarity.d.ts +36 -0
  179. package/dist/similarity.js +67 -0
  180. package/dist/sponsorship-config.d.ts +47 -0
  181. package/dist/sponsorship-config.js +41 -0
  182. package/dist/stats.d.ts +11 -0
  183. package/dist/stats.js +27 -0
  184. package/dist/task-lens.d.ts +113 -0
  185. package/dist/task-lens.js +210 -0
  186. package/dist/tx/education.d.ts +169 -0
  187. package/dist/tx/education.js +344 -0
  188. package/dist/tx/eligibility.d.ts +511 -0
  189. package/dist/tx/eligibility.js +818 -0
  190. package/dist/tx/governance.d.ts +85 -0
  191. package/dist/tx/governance.js +87 -0
  192. package/dist/tx/index.d.ts +17 -0
  193. package/dist/tx/index.js +56 -0
  194. package/dist/tx/intent.d.ts +67 -0
  195. package/dist/tx/intent.js +48 -0
  196. package/dist/tx/org.d.ts +321 -0
  197. package/dist/tx/org.js +544 -0
  198. package/dist/tx/paymaster.d.ts +140 -0
  199. package/dist/tx/paymaster.js +251 -0
  200. package/dist/tx/project.d.ts +146 -0
  201. package/dist/tx/project.js +217 -0
  202. package/dist/tx/task.d.ts +480 -0
  203. package/dist/tx/task.js +1149 -0
  204. package/dist/tx/token.d.ts +96 -0
  205. package/dist/tx/token.js +165 -0
  206. package/dist/tx/treasury.d.ts +474 -0
  207. package/dist/tx/treasury.js +911 -0
  208. package/dist/tx/user.d.ts +177 -0
  209. package/dist/tx/user.js +292 -0
  210. package/dist/tx/vote.d.ts +332 -0
  211. package/dist/tx/vote.js +762 -0
  212. package/dist/tx/zkemail.d.ts +90 -0
  213. package/dist/tx/zkemail.js +210 -0
  214. package/dist/validation.d.ts +8 -0
  215. package/dist/validation.js +39 -0
  216. package/dist/version.d.ts +142 -0
  217. package/dist/version.js +257 -0
  218. package/dist/zkemail.d.ts +161 -0
  219. package/dist/zkemail.js +299 -0
  220. package/package.json +130 -0
@@ -0,0 +1,172 @@
1
+ export declare const GovernorAlphaAbi: readonly [{
2
+ readonly inputs: readonly [];
3
+ readonly name: "name";
4
+ readonly outputs: readonly [{
5
+ readonly internalType: "string";
6
+ readonly name: "";
7
+ readonly type: "string";
8
+ }];
9
+ readonly stateMutability: "view";
10
+ readonly type: "function";
11
+ }, {
12
+ readonly inputs: readonly [];
13
+ readonly name: "proposalCount";
14
+ readonly outputs: readonly [{
15
+ readonly internalType: "uint256";
16
+ readonly name: "";
17
+ readonly type: "uint256";
18
+ }];
19
+ readonly stateMutability: "view";
20
+ readonly type: "function";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "timelock";
24
+ readonly outputs: readonly [{
25
+ readonly internalType: "address";
26
+ readonly name: "";
27
+ readonly type: "address";
28
+ }];
29
+ readonly stateMutability: "view";
30
+ readonly type: "function";
31
+ }, {
32
+ readonly inputs: readonly [];
33
+ readonly name: "quorumVotes";
34
+ readonly outputs: readonly [{
35
+ readonly internalType: "uint256";
36
+ readonly name: "";
37
+ readonly type: "uint256";
38
+ }];
39
+ readonly stateMutability: "view";
40
+ readonly type: "function";
41
+ }, {
42
+ readonly inputs: readonly [];
43
+ readonly name: "proposalThreshold";
44
+ readonly outputs: readonly [{
45
+ readonly internalType: "uint256";
46
+ readonly name: "";
47
+ readonly type: "uint256";
48
+ }];
49
+ readonly stateMutability: "view";
50
+ readonly type: "function";
51
+ }, {
52
+ readonly inputs: readonly [];
53
+ readonly name: "votingDelay";
54
+ readonly outputs: readonly [{
55
+ readonly internalType: "uint256";
56
+ readonly name: "";
57
+ readonly type: "uint256";
58
+ }];
59
+ readonly stateMutability: "view";
60
+ readonly type: "function";
61
+ }, {
62
+ readonly inputs: readonly [];
63
+ readonly name: "votingPeriod";
64
+ readonly outputs: readonly [{
65
+ readonly internalType: "uint256";
66
+ readonly name: "";
67
+ readonly type: "uint256";
68
+ }];
69
+ readonly stateMutability: "view";
70
+ readonly type: "function";
71
+ }, {
72
+ readonly inputs: readonly [{
73
+ readonly internalType: "address[]";
74
+ readonly name: "targets";
75
+ readonly type: "address[]";
76
+ }, {
77
+ readonly internalType: "uint256[]";
78
+ readonly name: "values";
79
+ readonly type: "uint256[]";
80
+ }, {
81
+ readonly internalType: "string[]";
82
+ readonly name: "signatures";
83
+ readonly type: "string[]";
84
+ }, {
85
+ readonly internalType: "bytes[]";
86
+ readonly name: "calldatas";
87
+ readonly type: "bytes[]";
88
+ }, {
89
+ readonly internalType: "string";
90
+ readonly name: "description";
91
+ readonly type: "string";
92
+ }];
93
+ readonly name: "propose";
94
+ readonly outputs: readonly [{
95
+ readonly internalType: "uint256";
96
+ readonly name: "";
97
+ readonly type: "uint256";
98
+ }];
99
+ readonly stateMutability: "nonpayable";
100
+ readonly type: "function";
101
+ }, {
102
+ readonly inputs: readonly [{
103
+ readonly internalType: "uint256";
104
+ readonly name: "proposalId";
105
+ readonly type: "uint256";
106
+ }];
107
+ readonly name: "queue";
108
+ readonly outputs: readonly [];
109
+ readonly stateMutability: "nonpayable";
110
+ readonly type: "function";
111
+ }, {
112
+ readonly inputs: readonly [{
113
+ readonly internalType: "uint256";
114
+ readonly name: "proposalId";
115
+ readonly type: "uint256";
116
+ }];
117
+ readonly name: "execute";
118
+ readonly outputs: readonly [];
119
+ readonly stateMutability: "payable";
120
+ readonly type: "function";
121
+ }, {
122
+ readonly inputs: readonly [{
123
+ readonly internalType: "uint256";
124
+ readonly name: "proposalId";
125
+ readonly type: "uint256";
126
+ }];
127
+ readonly name: "cancel";
128
+ readonly outputs: readonly [];
129
+ readonly stateMutability: "nonpayable";
130
+ readonly type: "function";
131
+ }, {
132
+ readonly inputs: readonly [{
133
+ readonly internalType: "uint256";
134
+ readonly name: "proposalId";
135
+ readonly type: "uint256";
136
+ }, {
137
+ readonly internalType: "bool";
138
+ readonly name: "support";
139
+ readonly type: "bool";
140
+ }];
141
+ readonly name: "castVote";
142
+ readonly outputs: readonly [];
143
+ readonly stateMutability: "nonpayable";
144
+ readonly type: "function";
145
+ }, {
146
+ readonly inputs: readonly [{
147
+ readonly internalType: "uint256";
148
+ readonly name: "proposalId";
149
+ readonly type: "uint256";
150
+ }, {
151
+ readonly internalType: "bool";
152
+ readonly name: "support";
153
+ readonly type: "bool";
154
+ }, {
155
+ readonly internalType: "uint8";
156
+ readonly name: "v";
157
+ readonly type: "uint8";
158
+ }, {
159
+ readonly internalType: "bytes32";
160
+ readonly name: "r";
161
+ readonly type: "bytes32";
162
+ }, {
163
+ readonly internalType: "bytes32";
164
+ readonly name: "s";
165
+ readonly type: "bytes32";
166
+ }];
167
+ readonly name: "castVoteBySig";
168
+ readonly outputs: readonly [];
169
+ readonly stateMutability: "nonpayable";
170
+ readonly type: "function";
171
+ }];
172
+ export default GovernorAlphaAbi;
@@ -0,0 +1,228 @@
1
+ "use strict";
2
+ // GENERATED by packages/core/scripts/gen-abis.mjs — do not edit.
3
+ // Source of truth: src/abi/*.json at the repo root (see scripts/extract-abis.mjs).
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.GovernorAlphaAbi = void 0;
6
+ exports.GovernorAlphaAbi = [
7
+ {
8
+ "inputs": [],
9
+ "name": "name",
10
+ "outputs": [
11
+ {
12
+ "internalType": "string",
13
+ "name": "",
14
+ "type": "string"
15
+ }
16
+ ],
17
+ "stateMutability": "view",
18
+ "type": "function"
19
+ },
20
+ {
21
+ "inputs": [],
22
+ "name": "proposalCount",
23
+ "outputs": [
24
+ {
25
+ "internalType": "uint256",
26
+ "name": "",
27
+ "type": "uint256"
28
+ }
29
+ ],
30
+ "stateMutability": "view",
31
+ "type": "function"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "timelock",
36
+ "outputs": [
37
+ {
38
+ "internalType": "address",
39
+ "name": "",
40
+ "type": "address"
41
+ }
42
+ ],
43
+ "stateMutability": "view",
44
+ "type": "function"
45
+ },
46
+ {
47
+ "inputs": [],
48
+ "name": "quorumVotes",
49
+ "outputs": [
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "",
53
+ "type": "uint256"
54
+ }
55
+ ],
56
+ "stateMutability": "view",
57
+ "type": "function"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "proposalThreshold",
62
+ "outputs": [
63
+ {
64
+ "internalType": "uint256",
65
+ "name": "",
66
+ "type": "uint256"
67
+ }
68
+ ],
69
+ "stateMutability": "view",
70
+ "type": "function"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "votingDelay",
75
+ "outputs": [
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "",
79
+ "type": "uint256"
80
+ }
81
+ ],
82
+ "stateMutability": "view",
83
+ "type": "function"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "votingPeriod",
88
+ "outputs": [
89
+ {
90
+ "internalType": "uint256",
91
+ "name": "",
92
+ "type": "uint256"
93
+ }
94
+ ],
95
+ "stateMutability": "view",
96
+ "type": "function"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address[]",
102
+ "name": "targets",
103
+ "type": "address[]"
104
+ },
105
+ {
106
+ "internalType": "uint256[]",
107
+ "name": "values",
108
+ "type": "uint256[]"
109
+ },
110
+ {
111
+ "internalType": "string[]",
112
+ "name": "signatures",
113
+ "type": "string[]"
114
+ },
115
+ {
116
+ "internalType": "bytes[]",
117
+ "name": "calldatas",
118
+ "type": "bytes[]"
119
+ },
120
+ {
121
+ "internalType": "string",
122
+ "name": "description",
123
+ "type": "string"
124
+ }
125
+ ],
126
+ "name": "propose",
127
+ "outputs": [
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "stateMutability": "nonpayable",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [
139
+ {
140
+ "internalType": "uint256",
141
+ "name": "proposalId",
142
+ "type": "uint256"
143
+ }
144
+ ],
145
+ "name": "queue",
146
+ "outputs": [],
147
+ "stateMutability": "nonpayable",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "proposalId",
155
+ "type": "uint256"
156
+ }
157
+ ],
158
+ "name": "execute",
159
+ "outputs": [],
160
+ "stateMutability": "payable",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "uint256",
167
+ "name": "proposalId",
168
+ "type": "uint256"
169
+ }
170
+ ],
171
+ "name": "cancel",
172
+ "outputs": [],
173
+ "stateMutability": "nonpayable",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "uint256",
180
+ "name": "proposalId",
181
+ "type": "uint256"
182
+ },
183
+ {
184
+ "internalType": "bool",
185
+ "name": "support",
186
+ "type": "bool"
187
+ }
188
+ ],
189
+ "name": "castVote",
190
+ "outputs": [],
191
+ "stateMutability": "nonpayable",
192
+ "type": "function"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "proposalId",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "bool",
203
+ "name": "support",
204
+ "type": "bool"
205
+ },
206
+ {
207
+ "internalType": "uint8",
208
+ "name": "v",
209
+ "type": "uint8"
210
+ },
211
+ {
212
+ "internalType": "bytes32",
213
+ "name": "r",
214
+ "type": "bytes32"
215
+ },
216
+ {
217
+ "internalType": "bytes32",
218
+ "name": "s",
219
+ "type": "bytes32"
220
+ }
221
+ ],
222
+ "name": "castVoteBySig",
223
+ "outputs": [],
224
+ "stateMutability": "nonpayable",
225
+ "type": "function"
226
+ }
227
+ ];
228
+ exports.default = exports.GovernorAlphaAbi;
@@ -0,0 +1,92 @@
1
+ export declare const MakerDAOChiefAbi: readonly [{
2
+ readonly type: "function";
3
+ readonly name: "lock";
4
+ readonly stateMutability: "nonpayable";
5
+ readonly inputs: readonly [{
6
+ readonly name: "wad";
7
+ readonly type: "uint256";
8
+ }];
9
+ readonly outputs: readonly [];
10
+ }, {
11
+ readonly type: "function";
12
+ readonly name: "free";
13
+ readonly stateMutability: "nonpayable";
14
+ readonly inputs: readonly [{
15
+ readonly name: "wad";
16
+ readonly type: "uint256";
17
+ }];
18
+ readonly outputs: readonly [];
19
+ }, {
20
+ readonly type: "function";
21
+ readonly name: "etch";
22
+ readonly stateMutability: "nonpayable";
23
+ readonly inputs: readonly [{
24
+ readonly name: "yays";
25
+ readonly type: "address[]";
26
+ }];
27
+ readonly outputs: readonly [{
28
+ readonly name: "slate";
29
+ readonly type: "bytes32";
30
+ }];
31
+ }, {
32
+ readonly type: "function";
33
+ readonly name: "vote";
34
+ readonly stateMutability: "nonpayable";
35
+ readonly inputs: readonly [{
36
+ readonly name: "yays";
37
+ readonly type: "address[]";
38
+ }];
39
+ readonly outputs: readonly [{
40
+ readonly name: "slate";
41
+ readonly type: "bytes32";
42
+ }];
43
+ }, {
44
+ readonly type: "function";
45
+ readonly name: "lift";
46
+ readonly stateMutability: "nonpayable";
47
+ readonly inputs: readonly [{
48
+ readonly name: "whom";
49
+ readonly type: "address";
50
+ }];
51
+ readonly outputs: readonly [];
52
+ }, {
53
+ readonly type: "function";
54
+ readonly name: "launch";
55
+ readonly stateMutability: "nonpayable";
56
+ readonly inputs: readonly [];
57
+ readonly outputs: readonly [];
58
+ }, {
59
+ readonly type: "function";
60
+ readonly name: "setOwner";
61
+ readonly stateMutability: "nonpayable";
62
+ readonly inputs: readonly [{
63
+ readonly name: "owner_";
64
+ readonly type: "address";
65
+ }];
66
+ readonly outputs: readonly [];
67
+ }, {
68
+ readonly type: "function";
69
+ readonly name: "setAuthority";
70
+ readonly stateMutability: "nonpayable";
71
+ readonly inputs: readonly [{
72
+ readonly name: "authority_";
73
+ readonly type: "address";
74
+ }];
75
+ readonly outputs: readonly [];
76
+ }, {
77
+ readonly type: "function";
78
+ readonly name: "setUserRole";
79
+ readonly stateMutability: "nonpayable";
80
+ readonly inputs: readonly [{
81
+ readonly name: "who";
82
+ readonly type: "address";
83
+ }, {
84
+ readonly name: "role";
85
+ readonly type: "uint8";
86
+ }, {
87
+ readonly name: "enabled";
88
+ readonly type: "bool";
89
+ }];
90
+ readonly outputs: readonly [];
91
+ }];
92
+ export default MakerDAOChiefAbi;
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ // GENERATED by packages/core/scripts/gen-abis.mjs — do not edit.
3
+ // Source of truth: src/abi/*.json at the repo root (see scripts/extract-abis.mjs).
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.MakerDAOChiefAbi = void 0;
6
+ exports.MakerDAOChiefAbi = [
7
+ {
8
+ "type": "function",
9
+ "name": "lock",
10
+ "stateMutability": "nonpayable",
11
+ "inputs": [
12
+ {
13
+ "name": "wad",
14
+ "type": "uint256"
15
+ }
16
+ ],
17
+ "outputs": []
18
+ },
19
+ {
20
+ "type": "function",
21
+ "name": "free",
22
+ "stateMutability": "nonpayable",
23
+ "inputs": [
24
+ {
25
+ "name": "wad",
26
+ "type": "uint256"
27
+ }
28
+ ],
29
+ "outputs": []
30
+ },
31
+ {
32
+ "type": "function",
33
+ "name": "etch",
34
+ "stateMutability": "nonpayable",
35
+ "inputs": [
36
+ {
37
+ "name": "yays",
38
+ "type": "address[]"
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "name": "slate",
44
+ "type": "bytes32"
45
+ }
46
+ ]
47
+ },
48
+ {
49
+ "type": "function",
50
+ "name": "vote",
51
+ "stateMutability": "nonpayable",
52
+ "inputs": [
53
+ {
54
+ "name": "yays",
55
+ "type": "address[]"
56
+ }
57
+ ],
58
+ "outputs": [
59
+ {
60
+ "name": "slate",
61
+ "type": "bytes32"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "type": "function",
67
+ "name": "lift",
68
+ "stateMutability": "nonpayable",
69
+ "inputs": [
70
+ {
71
+ "name": "whom",
72
+ "type": "address"
73
+ }
74
+ ],
75
+ "outputs": []
76
+ },
77
+ {
78
+ "type": "function",
79
+ "name": "launch",
80
+ "stateMutability": "nonpayable",
81
+ "inputs": [],
82
+ "outputs": []
83
+ },
84
+ {
85
+ "type": "function",
86
+ "name": "setOwner",
87
+ "stateMutability": "nonpayable",
88
+ "inputs": [
89
+ {
90
+ "name": "owner_",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "outputs": []
95
+ },
96
+ {
97
+ "type": "function",
98
+ "name": "setAuthority",
99
+ "stateMutability": "nonpayable",
100
+ "inputs": [
101
+ {
102
+ "name": "authority_",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "outputs": []
107
+ },
108
+ {
109
+ "type": "function",
110
+ "name": "setUserRole",
111
+ "stateMutability": "nonpayable",
112
+ "inputs": [
113
+ {
114
+ "name": "who",
115
+ "type": "address"
116
+ },
117
+ {
118
+ "name": "role",
119
+ "type": "uint8"
120
+ },
121
+ {
122
+ "name": "enabled",
123
+ "type": "bool"
124
+ }
125
+ ],
126
+ "outputs": []
127
+ }
128
+ ];
129
+ exports.default = exports.MakerDAOChiefAbi;