@ripe-finance/sdk 0.0.2

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 (246) hide show
  1. package/LICENSE +41 -0
  2. package/README.md +44 -0
  3. package/dist/contracts/AddyRegistry.d.ts +1109 -0
  4. package/dist/contracts/AddyRegistry.d.ts.map +1 -0
  5. package/dist/contracts/AddyRegistry.js +1392 -0
  6. package/dist/contracts/AddyRegistry_v1.d.ts +473 -0
  7. package/dist/contracts/AddyRegistry_v1.d.ts.map +1 -0
  8. package/dist/contracts/AddyRegistry_v1.js +594 -0
  9. package/dist/contracts/AddyRegistry_v2.d.ts +1050 -0
  10. package/dist/contracts/AddyRegistry_v2.d.ts.map +1 -0
  11. package/dist/contracts/AddyRegistry_v2.js +1313 -0
  12. package/dist/contracts/Agent.d.ts +2709 -0
  13. package/dist/contracts/Agent.d.ts.map +1 -0
  14. package/dist/contracts/Agent.js +3458 -0
  15. package/dist/contracts/AgentFactory.d.ts +1665 -0
  16. package/dist/contracts/AgentFactory.d.ts.map +1 -0
  17. package/dist/contracts/AgentFactory.js +2078 -0
  18. package/dist/contracts/AgentFactory_v1.d.ts +1054 -0
  19. package/dist/contracts/AgentFactory_v1.d.ts.map +1 -0
  20. package/dist/contracts/AgentFactory_v1.js +1336 -0
  21. package/dist/contracts/AgentFactory_v2.d.ts +1275 -0
  22. package/dist/contracts/AgentFactory_v2.d.ts.map +1 -0
  23. package/dist/contracts/AgentFactory_v2.js +1609 -0
  24. package/dist/contracts/AgentTemplate.d.ts +2629 -0
  25. package/dist/contracts/AgentTemplate.d.ts.map +1 -0
  26. package/dist/contracts/AgentTemplate.js +3370 -0
  27. package/dist/contracts/Agent_v1.d.ts +2631 -0
  28. package/dist/contracts/Agent_v1.d.ts.map +1 -0
  29. package/dist/contracts/Agent_v1.js +3372 -0
  30. package/dist/contracts/Agent_v2.d.ts +2709 -0
  31. package/dist/contracts/Agent_v2.d.ts.map +1 -0
  32. package/dist/contracts/Agent_v2.js +3458 -0
  33. package/dist/contracts/AuctionHouse.d.ts +1566 -0
  34. package/dist/contracts/AuctionHouse.d.ts.map +1 -0
  35. package/dist/contracts/AuctionHouse.js +1814 -0
  36. package/dist/contracts/AuctionHouseNFT.d.ts +259 -0
  37. package/dist/contracts/AuctionHouseNFT.d.ts.map +1 -0
  38. package/dist/contracts/AuctionHouseNFT.js +295 -0
  39. package/dist/contracts/BlueChipYieldPrices.d.ts +1916 -0
  40. package/dist/contracts/BlueChipYieldPrices.d.ts.map +1 -0
  41. package/dist/contracts/BlueChipYieldPrices.js +2414 -0
  42. package/dist/contracts/Boardroom.d.ts +276 -0
  43. package/dist/contracts/Boardroom.d.ts.map +1 -0
  44. package/dist/contracts/Boardroom.js +317 -0
  45. package/dist/contracts/BondRoom.d.ts +539 -0
  46. package/dist/contracts/BondRoom.d.ts.map +1 -0
  47. package/dist/contracts/BondRoom.js +640 -0
  48. package/dist/contracts/ChainlinkFeeds.d.ts +706 -0
  49. package/dist/contracts/ChainlinkFeeds.d.ts.map +1 -0
  50. package/dist/contracts/ChainlinkFeeds.js +900 -0
  51. package/dist/contracts/ChainlinkPrices.d.ts +1594 -0
  52. package/dist/contracts/ChainlinkPrices.d.ts.map +1 -0
  53. package/dist/contracts/ChainlinkPrices.js +2023 -0
  54. package/dist/contracts/Contributor.d.ts +731 -0
  55. package/dist/contracts/Contributor.d.ts.map +1 -0
  56. package/dist/contracts/Contributor.js +896 -0
  57. package/dist/contracts/CreditEngine.d.ts +2295 -0
  58. package/dist/contracts/CreditEngine.d.ts.map +1 -0
  59. package/dist/contracts/CreditEngine.js +2662 -0
  60. package/dist/contracts/CurvePrices.d.ts +2041 -0
  61. package/dist/contracts/CurvePrices.d.ts.map +1 -0
  62. package/dist/contracts/CurvePrices.js +2523 -0
  63. package/dist/contracts/DefaultsBase.d.ts +470 -0
  64. package/dist/contracts/DefaultsBase.d.ts.map +1 -0
  65. package/dist/contracts/DefaultsBase.js +512 -0
  66. package/dist/contracts/ERC20.d.ts +271 -0
  67. package/dist/contracts/ERC20.d.ts.map +1 -0
  68. package/dist/contracts/ERC20.js +339 -0
  69. package/dist/contracts/Endaoment.d.ts +2208 -0
  70. package/dist/contracts/Endaoment.d.ts.map +1 -0
  71. package/dist/contracts/Endaoment.js +2877 -0
  72. package/dist/contracts/GreenPool.d.ts +1248 -0
  73. package/dist/contracts/GreenPool.d.ts.map +1 -0
  74. package/dist/contracts/GreenPool.js +1614 -0
  75. package/dist/contracts/GreenToken.d.ts +776 -0
  76. package/dist/contracts/GreenToken.d.ts.map +1 -0
  77. package/dist/contracts/GreenToken.js +990 -0
  78. package/dist/contracts/HumanResources.d.ts +1176 -0
  79. package/dist/contracts/HumanResources.d.ts.map +1 -0
  80. package/dist/contracts/HumanResources.js +1464 -0
  81. package/dist/contracts/Ledger.d.ts +2312 -0
  82. package/dist/contracts/Ledger.d.ts.map +1 -0
  83. package/dist/contracts/Ledger.js +2712 -0
  84. package/dist/contracts/LegoAaveV3.d.ts +1033 -0
  85. package/dist/contracts/LegoAaveV3.d.ts.map +1 -0
  86. package/dist/contracts/LegoAaveV3.js +1330 -0
  87. package/dist/contracts/LegoAeroClassic.d.ts +1204 -0
  88. package/dist/contracts/LegoAeroClassic.d.ts.map +1 -0
  89. package/dist/contracts/LegoAeroClassic.js +1546 -0
  90. package/dist/contracts/LegoAeroSlipstream.d.ts +1300 -0
  91. package/dist/contracts/LegoAeroSlipstream.d.ts.map +1 -0
  92. package/dist/contracts/LegoAeroSlipstream.js +1671 -0
  93. package/dist/contracts/LegoCommon.d.ts +164 -0
  94. package/dist/contracts/LegoCommon.d.ts.map +1 -0
  95. package/dist/contracts/LegoCommon.js +202 -0
  96. package/dist/contracts/LegoCompoundV3.d.ts +1060 -0
  97. package/dist/contracts/LegoCompoundV3.d.ts.map +1 -0
  98. package/dist/contracts/LegoCompoundV3.js +1365 -0
  99. package/dist/contracts/LegoCredit.d.ts +140 -0
  100. package/dist/contracts/LegoCredit.d.ts.map +1 -0
  101. package/dist/contracts/LegoCredit.js +179 -0
  102. package/dist/contracts/LegoCurve.d.ts +1189 -0
  103. package/dist/contracts/LegoCurve.d.ts.map +1 -0
  104. package/dist/contracts/LegoCurve.js +1519 -0
  105. package/dist/contracts/LegoDex.d.ts +587 -0
  106. package/dist/contracts/LegoDex.d.ts.map +1 -0
  107. package/dist/contracts/LegoDex.js +774 -0
  108. package/dist/contracts/LegoEuler.d.ts +1074 -0
  109. package/dist/contracts/LegoEuler.d.ts.map +1 -0
  110. package/dist/contracts/LegoEuler.js +1383 -0
  111. package/dist/contracts/LegoFluid.d.ts +1025 -0
  112. package/dist/contracts/LegoFluid.d.ts.map +1 -0
  113. package/dist/contracts/LegoFluid.js +1320 -0
  114. package/dist/contracts/LegoHelper.d.ts +1563 -0
  115. package/dist/contracts/LegoHelper.d.ts.map +1 -0
  116. package/dist/contracts/LegoHelper.js +1947 -0
  117. package/dist/contracts/LegoMoonwell.d.ts +1042 -0
  118. package/dist/contracts/LegoMoonwell.d.ts.map +1 -0
  119. package/dist/contracts/LegoMoonwell.js +1342 -0
  120. package/dist/contracts/LegoMorpho.d.ts +1074 -0
  121. package/dist/contracts/LegoMorpho.d.ts.map +1 -0
  122. package/dist/contracts/LegoMorpho.js +1383 -0
  123. package/dist/contracts/LegoRegistry.d.ts +1079 -0
  124. package/dist/contracts/LegoRegistry.d.ts.map +1 -0
  125. package/dist/contracts/LegoRegistry.js +1368 -0
  126. package/dist/contracts/LegoSky.d.ts +923 -0
  127. package/dist/contracts/LegoSky.d.ts.map +1 -0
  128. package/dist/contracts/LegoSky.js +1180 -0
  129. package/dist/contracts/LegoUniswapV2.d.ts +1204 -0
  130. package/dist/contracts/LegoUniswapV2.d.ts.map +1 -0
  131. package/dist/contracts/LegoUniswapV2.js +1546 -0
  132. package/dist/contracts/LegoUniswapV3.d.ts +1338 -0
  133. package/dist/contracts/LegoUniswapV3.d.ts.map +1 -0
  134. package/dist/contracts/LegoUniswapV3.js +1718 -0
  135. package/dist/contracts/LegoYield.d.ts +390 -0
  136. package/dist/contracts/LegoYield.d.ts.map +1 -0
  137. package/dist/contracts/LegoYield.js +511 -0
  138. package/dist/contracts/Lootbox.d.ts +1258 -0
  139. package/dist/contracts/Lootbox.d.ts.map +1 -0
  140. package/dist/contracts/Lootbox.js +1435 -0
  141. package/dist/contracts/MissionControl.d.ts +2642 -0
  142. package/dist/contracts/MissionControl.d.ts.map +1 -0
  143. package/dist/contracts/MissionControl.js +2957 -0
  144. package/dist/contracts/OracleParser.d.ts +207 -0
  145. package/dist/contracts/OracleParser.d.ts.map +1 -0
  146. package/dist/contracts/OracleParser.js +264 -0
  147. package/dist/contracts/OracleRegistry.d.ts +1221 -0
  148. package/dist/contracts/OracleRegistry.d.ts.map +1 -0
  149. package/dist/contracts/OracleRegistry.js +1562 -0
  150. package/dist/contracts/PriceDesk.d.ts +1581 -0
  151. package/dist/contracts/PriceDesk.d.ts.map +1 -0
  152. package/dist/contracts/PriceDesk.js +1993 -0
  153. package/dist/contracts/PriceSheets.d.ts +1127 -0
  154. package/dist/contracts/PriceSheets.d.ts.map +1 -0
  155. package/dist/contracts/PriceSheets.js +1383 -0
  156. package/dist/contracts/PythFeeds.d.ts +640 -0
  157. package/dist/contracts/PythFeeds.d.ts.map +1 -0
  158. package/dist/contracts/PythFeeds.js +813 -0
  159. package/dist/contracts/PythPrices.d.ts +1435 -0
  160. package/dist/contracts/PythPrices.d.ts.map +1 -0
  161. package/dist/contracts/PythPrices.js +1819 -0
  162. package/dist/contracts/RebaseErc20.d.ts +1080 -0
  163. package/dist/contracts/RebaseErc20.d.ts.map +1 -0
  164. package/dist/contracts/RebaseErc20.js +1312 -0
  165. package/dist/contracts/RipeGov.d.ts +2157 -0
  166. package/dist/contracts/RipeGov.d.ts.map +1 -0
  167. package/dist/contracts/RipeGov.js +2529 -0
  168. package/dist/contracts/RipeHq.d.ts +1612 -0
  169. package/dist/contracts/RipeHq.d.ts.map +1 -0
  170. package/dist/contracts/RipeHq.js +2029 -0
  171. package/dist/contracts/RipeToken.d.ts +776 -0
  172. package/dist/contracts/RipeToken.d.ts.map +1 -0
  173. package/dist/contracts/RipeToken.js +990 -0
  174. package/dist/contracts/SavingsGreen.d.ts +1160 -0
  175. package/dist/contracts/SavingsGreen.d.ts.map +1 -0
  176. package/dist/contracts/SavingsGreen.js +1505 -0
  177. package/dist/contracts/SimpleErc20.d.ts +1028 -0
  178. package/dist/contracts/SimpleErc20.d.ts.map +1 -0
  179. package/dist/contracts/SimpleErc20.js +1243 -0
  180. package/dist/contracts/StabilityPool.d.ts +1843 -0
  181. package/dist/contracts/StabilityPool.d.ts.map +1 -0
  182. package/dist/contracts/StabilityPool.js +2229 -0
  183. package/dist/contracts/StorkFeeds.d.ts +640 -0
  184. package/dist/contracts/StorkFeeds.d.ts.map +1 -0
  185. package/dist/contracts/StorkFeeds.js +813 -0
  186. package/dist/contracts/StorkPrices.d.ts +1435 -0
  187. package/dist/contracts/StorkPrices.d.ts.map +1 -0
  188. package/dist/contracts/StorkPrices.js +1819 -0
  189. package/dist/contracts/Switchboard.d.ts +1416 -0
  190. package/dist/contracts/Switchboard.d.ts.map +1 -0
  191. package/dist/contracts/Switchboard.js +1767 -0
  192. package/dist/contracts/SwitchboardAlpha.d.ts +2647 -0
  193. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -0
  194. package/dist/contracts/SwitchboardAlpha.js +3301 -0
  195. package/dist/contracts/SwitchboardBravo.d.ts +2833 -0
  196. package/dist/contracts/SwitchboardBravo.d.ts.map +1 -0
  197. package/dist/contracts/SwitchboardBravo.js +3640 -0
  198. package/dist/contracts/SwitchboardCharlie.d.ts +3651 -0
  199. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -0
  200. package/dist/contracts/SwitchboardCharlie.js +4642 -0
  201. package/dist/contracts/SwitchboardDelta.d.ts +1490 -0
  202. package/dist/contracts/SwitchboardDelta.d.ts.map +1 -0
  203. package/dist/contracts/SwitchboardDelta.js +1872 -0
  204. package/dist/contracts/Teller.d.ts +2664 -0
  205. package/dist/contracts/Teller.d.ts.map +1 -0
  206. package/dist/contracts/Teller.js +3518 -0
  207. package/dist/contracts/TrainingWheels.d.ts +321 -0
  208. package/dist/contracts/TrainingWheels.d.ts.map +1 -0
  209. package/dist/contracts/TrainingWheels.js +376 -0
  210. package/dist/contracts/UserWallet.d.ts +1975 -0
  211. package/dist/contracts/UserWallet.d.ts.map +1 -0
  212. package/dist/contracts/UserWallet.js +2577 -0
  213. package/dist/contracts/UserWalletConfig.d.ts +1852 -0
  214. package/dist/contracts/UserWalletConfig.d.ts.map +1 -0
  215. package/dist/contracts/UserWalletConfig.js +2263 -0
  216. package/dist/contracts/UserWalletConfig_v1.d.ts +1400 -0
  217. package/dist/contracts/UserWalletConfig_v1.d.ts.map +1 -0
  218. package/dist/contracts/UserWalletConfig_v1.js +1676 -0
  219. package/dist/contracts/UserWalletConfig_v2.d.ts +1468 -0
  220. package/dist/contracts/UserWalletConfig_v2.d.ts.map +1 -0
  221. package/dist/contracts/UserWalletConfig_v2.js +1764 -0
  222. package/dist/contracts/UserWallet_v1.d.ts +1980 -0
  223. package/dist/contracts/UserWallet_v1.d.ts.map +1 -0
  224. package/dist/contracts/UserWallet_v1.js +2581 -0
  225. package/dist/contracts/UserWallet_v2.d.ts +1958 -0
  226. package/dist/contracts/UserWallet_v2.d.ts.map +1 -0
  227. package/dist/contracts/UserWallet_v2.js +2553 -0
  228. package/dist/contracts/VaultBook.d.ts +1416 -0
  229. package/dist/contracts/VaultBook.d.ts.map +1 -0
  230. package/dist/contracts/VaultBook.js +1767 -0
  231. package/dist/contracts/WalletConfig.d.ts +1398 -0
  232. package/dist/contracts/WalletConfig.d.ts.map +1 -0
  233. package/dist/contracts/WalletConfig.js +1674 -0
  234. package/dist/contracts/WalletFunds.d.ts +1978 -0
  235. package/dist/contracts/WalletFunds.d.ts.map +1 -0
  236. package/dist/contracts/WalletFunds.js +2579 -0
  237. package/dist/contracts/index.d.ts +37 -0
  238. package/dist/contracts/index.d.ts.map +1 -0
  239. package/dist/contracts/index.js +40 -0
  240. package/dist/contracts/sdk.d.ts +77 -0
  241. package/dist/contracts/sdk.d.ts.map +1 -0
  242. package/dist/contracts/sdk.js +80 -0
  243. package/dist/index.d.ts +2907 -0
  244. package/dist/index.d.ts.map +1 -0
  245. package/dist/index.js +317 -0
  246. package/package.json +36 -0
@@ -0,0 +1,1464 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* @ts-nocheck */
5
+ import { singleQuery, mutate } from '@dappql/async';
6
+ export const abi = [
7
+ {
8
+ name: 'NewContributorInitiated',
9
+ inputs: [
10
+ {
11
+ name: 'owner',
12
+ type: 'address',
13
+ indexed: true,
14
+ },
15
+ {
16
+ name: 'manager',
17
+ type: 'address',
18
+ indexed: true,
19
+ },
20
+ {
21
+ name: 'compensation',
22
+ type: 'uint256',
23
+ indexed: false,
24
+ },
25
+ {
26
+ name: 'startDelay',
27
+ type: 'uint256',
28
+ indexed: false,
29
+ },
30
+ {
31
+ name: 'vestingLength',
32
+ type: 'uint256',
33
+ indexed: false,
34
+ },
35
+ {
36
+ name: 'cliffLength',
37
+ type: 'uint256',
38
+ indexed: false,
39
+ },
40
+ {
41
+ name: 'unlockLength',
42
+ type: 'uint256',
43
+ indexed: false,
44
+ },
45
+ {
46
+ name: 'depositLockDuration',
47
+ type: 'uint256',
48
+ indexed: false,
49
+ },
50
+ {
51
+ name: 'confirmationBlock',
52
+ type: 'uint256',
53
+ indexed: false,
54
+ },
55
+ {
56
+ name: 'actionId',
57
+ type: 'uint256',
58
+ indexed: false,
59
+ },
60
+ ],
61
+ anonymous: false,
62
+ type: 'event',
63
+ },
64
+ {
65
+ name: 'NewContributorConfirmed',
66
+ inputs: [
67
+ {
68
+ name: 'contributorAddr',
69
+ type: 'address',
70
+ indexed: true,
71
+ },
72
+ {
73
+ name: 'owner',
74
+ type: 'address',
75
+ indexed: true,
76
+ },
77
+ {
78
+ name: 'manager',
79
+ type: 'address',
80
+ indexed: true,
81
+ },
82
+ {
83
+ name: 'compensation',
84
+ type: 'uint256',
85
+ indexed: false,
86
+ },
87
+ {
88
+ name: 'startDelay',
89
+ type: 'uint256',
90
+ indexed: false,
91
+ },
92
+ {
93
+ name: 'vestingLength',
94
+ type: 'uint256',
95
+ indexed: false,
96
+ },
97
+ {
98
+ name: 'cliffLength',
99
+ type: 'uint256',
100
+ indexed: false,
101
+ },
102
+ {
103
+ name: 'unlockLength',
104
+ type: 'uint256',
105
+ indexed: false,
106
+ },
107
+ {
108
+ name: 'depositLockDuration',
109
+ type: 'uint256',
110
+ indexed: false,
111
+ },
112
+ {
113
+ name: 'actionId',
114
+ type: 'uint256',
115
+ indexed: false,
116
+ },
117
+ ],
118
+ anonymous: false,
119
+ type: 'event',
120
+ },
121
+ {
122
+ name: 'NewContributorCancelled',
123
+ inputs: [
124
+ {
125
+ name: 'owner',
126
+ type: 'address',
127
+ indexed: true,
128
+ },
129
+ {
130
+ name: 'manager',
131
+ type: 'address',
132
+ indexed: true,
133
+ },
134
+ {
135
+ name: 'compensation',
136
+ type: 'uint256',
137
+ indexed: false,
138
+ },
139
+ {
140
+ name: 'startDelay',
141
+ type: 'uint256',
142
+ indexed: false,
143
+ },
144
+ {
145
+ name: 'vestingLength',
146
+ type: 'uint256',
147
+ indexed: false,
148
+ },
149
+ {
150
+ name: 'cliffLength',
151
+ type: 'uint256',
152
+ indexed: false,
153
+ },
154
+ {
155
+ name: 'unlockLength',
156
+ type: 'uint256',
157
+ indexed: false,
158
+ },
159
+ {
160
+ name: 'depositLockDuration',
161
+ type: 'uint256',
162
+ indexed: false,
163
+ },
164
+ {
165
+ name: 'confirmationBlock',
166
+ type: 'uint256',
167
+ indexed: false,
168
+ },
169
+ {
170
+ name: 'actionId',
171
+ type: 'uint256',
172
+ indexed: false,
173
+ },
174
+ ],
175
+ anonymous: false,
176
+ type: 'event',
177
+ },
178
+ {
179
+ name: 'GovChangeTimeLockModified',
180
+ inputs: [
181
+ {
182
+ name: 'prevTimeLock',
183
+ type: 'uint256',
184
+ indexed: false,
185
+ },
186
+ {
187
+ name: 'newTimeLock',
188
+ type: 'uint256',
189
+ indexed: false,
190
+ },
191
+ ],
192
+ anonymous: false,
193
+ type: 'event',
194
+ },
195
+ {
196
+ name: 'ExpirationSet',
197
+ inputs: [
198
+ {
199
+ name: 'expiration',
200
+ type: 'uint256',
201
+ indexed: false,
202
+ },
203
+ ],
204
+ anonymous: false,
205
+ type: 'event',
206
+ },
207
+ {
208
+ name: 'ActionTimeLockSet',
209
+ inputs: [
210
+ {
211
+ name: 'newTimeLock',
212
+ type: 'uint256',
213
+ indexed: false,
214
+ },
215
+ {
216
+ name: 'prevTimeLock',
217
+ type: 'uint256',
218
+ indexed: false,
219
+ },
220
+ ],
221
+ anonymous: false,
222
+ type: 'event',
223
+ },
224
+ {
225
+ name: 'DepartmentPauseModified',
226
+ inputs: [
227
+ {
228
+ name: 'isPaused',
229
+ type: 'bool',
230
+ indexed: false,
231
+ },
232
+ ],
233
+ anonymous: false,
234
+ type: 'event',
235
+ },
236
+ {
237
+ name: 'DepartmentFundsRecovered',
238
+ inputs: [
239
+ {
240
+ name: 'asset',
241
+ type: 'address',
242
+ indexed: true,
243
+ },
244
+ {
245
+ name: 'recipient',
246
+ type: 'address',
247
+ indexed: true,
248
+ },
249
+ {
250
+ name: 'balance',
251
+ type: 'uint256',
252
+ indexed: false,
253
+ },
254
+ ],
255
+ anonymous: false,
256
+ type: 'event',
257
+ },
258
+ {
259
+ name: 'GovChangeStarted',
260
+ inputs: [
261
+ {
262
+ name: 'prevGov',
263
+ type: 'address',
264
+ indexed: true,
265
+ },
266
+ {
267
+ name: 'newGov',
268
+ type: 'address',
269
+ indexed: true,
270
+ },
271
+ {
272
+ name: 'confirmBlock',
273
+ type: 'uint256',
274
+ indexed: false,
275
+ },
276
+ ],
277
+ anonymous: false,
278
+ type: 'event',
279
+ },
280
+ {
281
+ name: 'GovChangeConfirmed',
282
+ inputs: [
283
+ {
284
+ name: 'prevGov',
285
+ type: 'address',
286
+ indexed: true,
287
+ },
288
+ {
289
+ name: 'newGov',
290
+ type: 'address',
291
+ indexed: true,
292
+ },
293
+ {
294
+ name: 'initiatedBlock',
295
+ type: 'uint256',
296
+ indexed: false,
297
+ },
298
+ {
299
+ name: 'confirmBlock',
300
+ type: 'uint256',
301
+ indexed: false,
302
+ },
303
+ ],
304
+ anonymous: false,
305
+ type: 'event',
306
+ },
307
+ {
308
+ name: 'GovChangeCancelled',
309
+ inputs: [
310
+ {
311
+ name: 'cancelledGov',
312
+ type: 'address',
313
+ indexed: true,
314
+ },
315
+ {
316
+ name: 'initiatedBlock',
317
+ type: 'uint256',
318
+ indexed: false,
319
+ },
320
+ {
321
+ name: 'confirmBlock',
322
+ type: 'uint256',
323
+ indexed: false,
324
+ },
325
+ ],
326
+ anonymous: false,
327
+ type: 'event',
328
+ },
329
+ {
330
+ name: 'RipeHqSetupFinished',
331
+ inputs: [
332
+ {
333
+ name: 'prevGov',
334
+ type: 'address',
335
+ indexed: true,
336
+ },
337
+ {
338
+ name: 'newGov',
339
+ type: 'address',
340
+ indexed: true,
341
+ },
342
+ {
343
+ name: 'timeLock',
344
+ type: 'uint256',
345
+ indexed: false,
346
+ },
347
+ ],
348
+ anonymous: false,
349
+ type: 'event',
350
+ },
351
+ {
352
+ stateMutability: 'view',
353
+ type: 'function',
354
+ name: 'getAddys',
355
+ inputs: [],
356
+ outputs: [
357
+ {
358
+ name: '',
359
+ type: 'tuple',
360
+ components: [
361
+ {
362
+ name: 'hq',
363
+ type: 'address',
364
+ },
365
+ {
366
+ name: 'greenToken',
367
+ type: 'address',
368
+ },
369
+ {
370
+ name: 'savingsGreen',
371
+ type: 'address',
372
+ },
373
+ {
374
+ name: 'ripeToken',
375
+ type: 'address',
376
+ },
377
+ {
378
+ name: 'ledger',
379
+ type: 'address',
380
+ },
381
+ {
382
+ name: 'missionControl',
383
+ type: 'address',
384
+ },
385
+ {
386
+ name: 'switchboard',
387
+ type: 'address',
388
+ },
389
+ {
390
+ name: 'priceDesk',
391
+ type: 'address',
392
+ },
393
+ {
394
+ name: 'vaultBook',
395
+ type: 'address',
396
+ },
397
+ {
398
+ name: 'auctionHouse',
399
+ type: 'address',
400
+ },
401
+ {
402
+ name: 'auctionHouseNft',
403
+ type: 'address',
404
+ },
405
+ {
406
+ name: 'boardroom',
407
+ type: 'address',
408
+ },
409
+ {
410
+ name: 'bondRoom',
411
+ type: 'address',
412
+ },
413
+ {
414
+ name: 'creditEngine',
415
+ type: 'address',
416
+ },
417
+ {
418
+ name: 'endaoment',
419
+ type: 'address',
420
+ },
421
+ {
422
+ name: 'humanResources',
423
+ type: 'address',
424
+ },
425
+ {
426
+ name: 'lootbox',
427
+ type: 'address',
428
+ },
429
+ {
430
+ name: 'teller',
431
+ type: 'address',
432
+ },
433
+ ],
434
+ },
435
+ ],
436
+ },
437
+ {
438
+ stateMutability: 'view',
439
+ type: 'function',
440
+ name: 'getRipeHq',
441
+ inputs: [],
442
+ outputs: [
443
+ {
444
+ name: '',
445
+ type: 'address',
446
+ },
447
+ ],
448
+ },
449
+ {
450
+ stateMutability: 'view',
451
+ type: 'function',
452
+ name: 'canMintGreen',
453
+ inputs: [],
454
+ outputs: [
455
+ {
456
+ name: '',
457
+ type: 'bool',
458
+ },
459
+ ],
460
+ },
461
+ {
462
+ stateMutability: 'view',
463
+ type: 'function',
464
+ name: 'canMintRipe',
465
+ inputs: [],
466
+ outputs: [
467
+ {
468
+ name: '',
469
+ type: 'bool',
470
+ },
471
+ ],
472
+ },
473
+ {
474
+ stateMutability: 'nonpayable',
475
+ type: 'function',
476
+ name: 'pause',
477
+ inputs: [
478
+ {
479
+ name: '_shouldPause',
480
+ type: 'bool',
481
+ },
482
+ ],
483
+ outputs: [],
484
+ },
485
+ {
486
+ stateMutability: 'nonpayable',
487
+ type: 'function',
488
+ name: 'recoverFunds',
489
+ inputs: [
490
+ {
491
+ name: '_recipient',
492
+ type: 'address',
493
+ },
494
+ {
495
+ name: '_asset',
496
+ type: 'address',
497
+ },
498
+ ],
499
+ outputs: [],
500
+ },
501
+ {
502
+ stateMutability: 'nonpayable',
503
+ type: 'function',
504
+ name: 'recoverFundsMany',
505
+ inputs: [
506
+ {
507
+ name: '_recipient',
508
+ type: 'address',
509
+ },
510
+ {
511
+ name: '_assets',
512
+ type: 'address[]',
513
+ },
514
+ ],
515
+ outputs: [],
516
+ },
517
+ {
518
+ stateMutability: 'view',
519
+ type: 'function',
520
+ name: 'isPaused',
521
+ inputs: [],
522
+ outputs: [
523
+ {
524
+ name: '',
525
+ type: 'bool',
526
+ },
527
+ ],
528
+ },
529
+ {
530
+ stateMutability: 'view',
531
+ type: 'function',
532
+ name: 'getRipeHqFromGov',
533
+ inputs: [],
534
+ outputs: [
535
+ {
536
+ name: '',
537
+ type: 'address',
538
+ },
539
+ ],
540
+ },
541
+ {
542
+ stateMutability: 'view',
543
+ type: 'function',
544
+ name: 'canGovern',
545
+ inputs: [
546
+ {
547
+ name: '_addr',
548
+ type: 'address',
549
+ },
550
+ ],
551
+ outputs: [
552
+ {
553
+ name: '',
554
+ type: 'bool',
555
+ },
556
+ ],
557
+ },
558
+ {
559
+ stateMutability: 'view',
560
+ type: 'function',
561
+ name: 'getGovernors',
562
+ inputs: [],
563
+ outputs: [
564
+ {
565
+ name: '',
566
+ type: 'address[]',
567
+ },
568
+ ],
569
+ },
570
+ {
571
+ stateMutability: 'view',
572
+ type: 'function',
573
+ name: 'hasPendingGovChange',
574
+ inputs: [],
575
+ outputs: [
576
+ {
577
+ name: '',
578
+ type: 'bool',
579
+ },
580
+ ],
581
+ },
582
+ {
583
+ stateMutability: 'nonpayable',
584
+ type: 'function',
585
+ name: 'startGovernanceChange',
586
+ inputs: [
587
+ {
588
+ name: '_newGov',
589
+ type: 'address',
590
+ },
591
+ ],
592
+ outputs: [],
593
+ },
594
+ {
595
+ stateMutability: 'nonpayable',
596
+ type: 'function',
597
+ name: 'confirmGovernanceChange',
598
+ inputs: [],
599
+ outputs: [],
600
+ },
601
+ {
602
+ stateMutability: 'nonpayable',
603
+ type: 'function',
604
+ name: 'cancelGovernanceChange',
605
+ inputs: [],
606
+ outputs: [],
607
+ },
608
+ {
609
+ stateMutability: 'nonpayable',
610
+ type: 'function',
611
+ name: 'setGovTimeLock',
612
+ inputs: [
613
+ {
614
+ name: '_numBlocks',
615
+ type: 'uint256',
616
+ },
617
+ ],
618
+ outputs: [
619
+ {
620
+ name: '',
621
+ type: 'bool',
622
+ },
623
+ ],
624
+ },
625
+ {
626
+ stateMutability: 'view',
627
+ type: 'function',
628
+ name: 'isValidGovTimeLock',
629
+ inputs: [
630
+ {
631
+ name: '_newTimeLock',
632
+ type: 'uint256',
633
+ },
634
+ ],
635
+ outputs: [
636
+ {
637
+ name: '',
638
+ type: 'bool',
639
+ },
640
+ ],
641
+ },
642
+ {
643
+ stateMutability: 'view',
644
+ type: 'function',
645
+ name: 'minGovChangeTimeLock',
646
+ inputs: [],
647
+ outputs: [
648
+ {
649
+ name: '',
650
+ type: 'uint256',
651
+ },
652
+ ],
653
+ },
654
+ {
655
+ stateMutability: 'view',
656
+ type: 'function',
657
+ name: 'maxGovChangeTimeLock',
658
+ inputs: [],
659
+ outputs: [
660
+ {
661
+ name: '',
662
+ type: 'uint256',
663
+ },
664
+ ],
665
+ },
666
+ {
667
+ stateMutability: 'nonpayable',
668
+ type: 'function',
669
+ name: 'finishRipeHqSetup',
670
+ inputs: [
671
+ {
672
+ name: '_newGov',
673
+ type: 'address',
674
+ },
675
+ ],
676
+ outputs: [
677
+ {
678
+ name: '',
679
+ type: 'bool',
680
+ },
681
+ ],
682
+ },
683
+ {
684
+ stateMutability: 'nonpayable',
685
+ type: 'function',
686
+ name: 'finishRipeHqSetup',
687
+ inputs: [
688
+ {
689
+ name: '_newGov',
690
+ type: 'address',
691
+ },
692
+ {
693
+ name: '_timeLock',
694
+ type: 'uint256',
695
+ },
696
+ ],
697
+ outputs: [
698
+ {
699
+ name: '',
700
+ type: 'bool',
701
+ },
702
+ ],
703
+ },
704
+ {
705
+ stateMutability: 'view',
706
+ type: 'function',
707
+ name: 'governance',
708
+ inputs: [],
709
+ outputs: [
710
+ {
711
+ name: '',
712
+ type: 'address',
713
+ },
714
+ ],
715
+ },
716
+ {
717
+ stateMutability: 'view',
718
+ type: 'function',
719
+ name: 'pendingGov',
720
+ inputs: [],
721
+ outputs: [
722
+ {
723
+ name: '',
724
+ type: 'tuple',
725
+ components: [
726
+ {
727
+ name: 'newGov',
728
+ type: 'address',
729
+ },
730
+ {
731
+ name: 'initiatedBlock',
732
+ type: 'uint256',
733
+ },
734
+ {
735
+ name: 'confirmBlock',
736
+ type: 'uint256',
737
+ },
738
+ ],
739
+ },
740
+ ],
741
+ },
742
+ {
743
+ stateMutability: 'view',
744
+ type: 'function',
745
+ name: 'numGovChanges',
746
+ inputs: [],
747
+ outputs: [
748
+ {
749
+ name: '',
750
+ type: 'uint256',
751
+ },
752
+ ],
753
+ },
754
+ {
755
+ stateMutability: 'view',
756
+ type: 'function',
757
+ name: 'govChangeTimeLock',
758
+ inputs: [],
759
+ outputs: [
760
+ {
761
+ name: '',
762
+ type: 'uint256',
763
+ },
764
+ ],
765
+ },
766
+ {
767
+ stateMutability: 'view',
768
+ type: 'function',
769
+ name: 'canConfirmAction',
770
+ inputs: [
771
+ {
772
+ name: '_actionId',
773
+ type: 'uint256',
774
+ },
775
+ ],
776
+ outputs: [
777
+ {
778
+ name: '',
779
+ type: 'bool',
780
+ },
781
+ ],
782
+ },
783
+ {
784
+ stateMutability: 'view',
785
+ type: 'function',
786
+ name: 'isExpired',
787
+ inputs: [
788
+ {
789
+ name: '_actionId',
790
+ type: 'uint256',
791
+ },
792
+ ],
793
+ outputs: [
794
+ {
795
+ name: '',
796
+ type: 'bool',
797
+ },
798
+ ],
799
+ },
800
+ {
801
+ stateMutability: 'view',
802
+ type: 'function',
803
+ name: 'hasPendingAction',
804
+ inputs: [
805
+ {
806
+ name: '_actionId',
807
+ type: 'uint256',
808
+ },
809
+ ],
810
+ outputs: [
811
+ {
812
+ name: '',
813
+ type: 'bool',
814
+ },
815
+ ],
816
+ },
817
+ {
818
+ stateMutability: 'view',
819
+ type: 'function',
820
+ name: 'getActionConfirmationBlock',
821
+ inputs: [
822
+ {
823
+ name: '_actionId',
824
+ type: 'uint256',
825
+ },
826
+ ],
827
+ outputs: [
828
+ {
829
+ name: '',
830
+ type: 'uint256',
831
+ },
832
+ ],
833
+ },
834
+ {
835
+ stateMutability: 'nonpayable',
836
+ type: 'function',
837
+ name: 'setActionTimeLock',
838
+ inputs: [
839
+ {
840
+ name: '_newTimeLock',
841
+ type: 'uint256',
842
+ },
843
+ ],
844
+ outputs: [
845
+ {
846
+ name: '',
847
+ type: 'bool',
848
+ },
849
+ ],
850
+ },
851
+ {
852
+ stateMutability: 'view',
853
+ type: 'function',
854
+ name: 'isValidActionTimeLock',
855
+ inputs: [
856
+ {
857
+ name: '_newTimeLock',
858
+ type: 'uint256',
859
+ },
860
+ ],
861
+ outputs: [
862
+ {
863
+ name: '',
864
+ type: 'bool',
865
+ },
866
+ ],
867
+ },
868
+ {
869
+ stateMutability: 'view',
870
+ type: 'function',
871
+ name: 'minActionTimeLock',
872
+ inputs: [],
873
+ outputs: [
874
+ {
875
+ name: '',
876
+ type: 'uint256',
877
+ },
878
+ ],
879
+ },
880
+ {
881
+ stateMutability: 'view',
882
+ type: 'function',
883
+ name: 'maxActionTimeLock',
884
+ inputs: [],
885
+ outputs: [
886
+ {
887
+ name: '',
888
+ type: 'uint256',
889
+ },
890
+ ],
891
+ },
892
+ {
893
+ stateMutability: 'nonpayable',
894
+ type: 'function',
895
+ name: 'setExpiration',
896
+ inputs: [
897
+ {
898
+ name: '_expiration',
899
+ type: 'uint256',
900
+ },
901
+ ],
902
+ outputs: [
903
+ {
904
+ name: '',
905
+ type: 'bool',
906
+ },
907
+ ],
908
+ },
909
+ {
910
+ stateMutability: 'nonpayable',
911
+ type: 'function',
912
+ name: 'setActionTimeLockAfterSetup',
913
+ inputs: [],
914
+ outputs: [
915
+ {
916
+ name: '',
917
+ type: 'bool',
918
+ },
919
+ ],
920
+ },
921
+ {
922
+ stateMutability: 'nonpayable',
923
+ type: 'function',
924
+ name: 'setActionTimeLockAfterSetup',
925
+ inputs: [
926
+ {
927
+ name: '_newTimeLock',
928
+ type: 'uint256',
929
+ },
930
+ ],
931
+ outputs: [
932
+ {
933
+ name: '',
934
+ type: 'bool',
935
+ },
936
+ ],
937
+ },
938
+ {
939
+ stateMutability: 'view',
940
+ type: 'function',
941
+ name: 'pendingActions',
942
+ inputs: [
943
+ {
944
+ name: 'arg0',
945
+ type: 'uint256',
946
+ },
947
+ ],
948
+ outputs: [
949
+ {
950
+ name: '',
951
+ type: 'tuple',
952
+ components: [
953
+ {
954
+ name: 'initiatedBlock',
955
+ type: 'uint256',
956
+ },
957
+ {
958
+ name: 'confirmBlock',
959
+ type: 'uint256',
960
+ },
961
+ {
962
+ name: 'expiration',
963
+ type: 'uint256',
964
+ },
965
+ ],
966
+ },
967
+ ],
968
+ },
969
+ {
970
+ stateMutability: 'view',
971
+ type: 'function',
972
+ name: 'actionId',
973
+ inputs: [],
974
+ outputs: [
975
+ {
976
+ name: '',
977
+ type: 'uint256',
978
+ },
979
+ ],
980
+ },
981
+ {
982
+ stateMutability: 'view',
983
+ type: 'function',
984
+ name: 'actionTimeLock',
985
+ inputs: [],
986
+ outputs: [
987
+ {
988
+ name: '',
989
+ type: 'uint256',
990
+ },
991
+ ],
992
+ },
993
+ {
994
+ stateMutability: 'view',
995
+ type: 'function',
996
+ name: 'expiration',
997
+ inputs: [],
998
+ outputs: [
999
+ {
1000
+ name: '',
1001
+ type: 'uint256',
1002
+ },
1003
+ ],
1004
+ },
1005
+ {
1006
+ stateMutability: 'nonpayable',
1007
+ type: 'function',
1008
+ name: 'initiateNewContributor',
1009
+ inputs: [
1010
+ {
1011
+ name: '_owner',
1012
+ type: 'address',
1013
+ },
1014
+ {
1015
+ name: '_manager',
1016
+ type: 'address',
1017
+ },
1018
+ {
1019
+ name: '_compensation',
1020
+ type: 'uint256',
1021
+ },
1022
+ {
1023
+ name: '_startDelay',
1024
+ type: 'uint256',
1025
+ },
1026
+ {
1027
+ name: '_vestingLength',
1028
+ type: 'uint256',
1029
+ },
1030
+ {
1031
+ name: '_cliffLength',
1032
+ type: 'uint256',
1033
+ },
1034
+ {
1035
+ name: '_unlockLength',
1036
+ type: 'uint256',
1037
+ },
1038
+ {
1039
+ name: '_depositLockDuration',
1040
+ type: 'uint256',
1041
+ },
1042
+ ],
1043
+ outputs: [
1044
+ {
1045
+ name: '',
1046
+ type: 'uint256',
1047
+ },
1048
+ ],
1049
+ },
1050
+ {
1051
+ stateMutability: 'nonpayable',
1052
+ type: 'function',
1053
+ name: 'confirmNewContributor',
1054
+ inputs: [
1055
+ {
1056
+ name: '_aid',
1057
+ type: 'uint256',
1058
+ },
1059
+ ],
1060
+ outputs: [
1061
+ {
1062
+ name: '',
1063
+ type: 'bool',
1064
+ },
1065
+ ],
1066
+ },
1067
+ {
1068
+ stateMutability: 'nonpayable',
1069
+ type: 'function',
1070
+ name: 'cancelNewContributor',
1071
+ inputs: [
1072
+ {
1073
+ name: '_aid',
1074
+ type: 'uint256',
1075
+ },
1076
+ ],
1077
+ outputs: [
1078
+ {
1079
+ name: '',
1080
+ type: 'bool',
1081
+ },
1082
+ ],
1083
+ },
1084
+ {
1085
+ stateMutability: 'view',
1086
+ type: 'function',
1087
+ name: 'areValidContributorTerms',
1088
+ inputs: [
1089
+ {
1090
+ name: '_owner',
1091
+ type: 'address',
1092
+ },
1093
+ {
1094
+ name: '_manager',
1095
+ type: 'address',
1096
+ },
1097
+ {
1098
+ name: '_compensation',
1099
+ type: 'uint256',
1100
+ },
1101
+ {
1102
+ name: '_startDelay',
1103
+ type: 'uint256',
1104
+ },
1105
+ {
1106
+ name: '_vestingLength',
1107
+ type: 'uint256',
1108
+ },
1109
+ {
1110
+ name: '_cliffLength',
1111
+ type: 'uint256',
1112
+ },
1113
+ {
1114
+ name: '_unlockLength',
1115
+ type: 'uint256',
1116
+ },
1117
+ {
1118
+ name: '_depositLockDuration',
1119
+ type: 'uint256',
1120
+ },
1121
+ ],
1122
+ outputs: [
1123
+ {
1124
+ name: '',
1125
+ type: 'bool',
1126
+ },
1127
+ ],
1128
+ },
1129
+ {
1130
+ stateMutability: 'view',
1131
+ type: 'function',
1132
+ name: 'canModifyHrContributor',
1133
+ inputs: [
1134
+ {
1135
+ name: '_addr',
1136
+ type: 'address',
1137
+ },
1138
+ ],
1139
+ outputs: [
1140
+ {
1141
+ name: '',
1142
+ type: 'bool',
1143
+ },
1144
+ ],
1145
+ },
1146
+ {
1147
+ stateMutability: 'view',
1148
+ type: 'function',
1149
+ name: 'hasRipeBalance',
1150
+ inputs: [
1151
+ {
1152
+ name: '_contributor',
1153
+ type: 'address',
1154
+ },
1155
+ ],
1156
+ outputs: [
1157
+ {
1158
+ name: '',
1159
+ type: 'bool',
1160
+ },
1161
+ ],
1162
+ },
1163
+ {
1164
+ stateMutability: 'nonpayable',
1165
+ type: 'function',
1166
+ name: 'transferContributorRipeTokens',
1167
+ inputs: [
1168
+ {
1169
+ name: '_owner',
1170
+ type: 'address',
1171
+ },
1172
+ {
1173
+ name: '_lockDuration',
1174
+ type: 'uint256',
1175
+ },
1176
+ ],
1177
+ outputs: [
1178
+ {
1179
+ name: '',
1180
+ type: 'uint256',
1181
+ },
1182
+ ],
1183
+ },
1184
+ {
1185
+ stateMutability: 'nonpayable',
1186
+ type: 'function',
1187
+ name: 'cashRipeCheck',
1188
+ inputs: [
1189
+ {
1190
+ name: '_amount',
1191
+ type: 'uint256',
1192
+ },
1193
+ {
1194
+ name: '_lockDuration',
1195
+ type: 'uint256',
1196
+ },
1197
+ ],
1198
+ outputs: [
1199
+ {
1200
+ name: '',
1201
+ type: 'bool',
1202
+ },
1203
+ ],
1204
+ },
1205
+ {
1206
+ stateMutability: 'nonpayable',
1207
+ type: 'function',
1208
+ name: 'refundAfterCancelPaycheck',
1209
+ inputs: [
1210
+ {
1211
+ name: '_amount',
1212
+ type: 'uint256',
1213
+ },
1214
+ {
1215
+ name: '_shouldBurnPosition',
1216
+ type: 'bool',
1217
+ },
1218
+ ],
1219
+ outputs: [],
1220
+ },
1221
+ {
1222
+ stateMutability: 'view',
1223
+ type: 'function',
1224
+ name: 'getTotalClaimed',
1225
+ inputs: [],
1226
+ outputs: [
1227
+ {
1228
+ name: '',
1229
+ type: 'uint256',
1230
+ },
1231
+ ],
1232
+ },
1233
+ {
1234
+ stateMutability: 'view',
1235
+ type: 'function',
1236
+ name: 'getTotalCompensation',
1237
+ inputs: [],
1238
+ outputs: [
1239
+ {
1240
+ name: '',
1241
+ type: 'uint256',
1242
+ },
1243
+ ],
1244
+ },
1245
+ {
1246
+ stateMutability: 'view',
1247
+ type: 'function',
1248
+ name: 'pendingContributor',
1249
+ inputs: [
1250
+ {
1251
+ name: 'arg0',
1252
+ type: 'uint256',
1253
+ },
1254
+ ],
1255
+ outputs: [
1256
+ {
1257
+ name: '',
1258
+ type: 'tuple',
1259
+ components: [
1260
+ {
1261
+ name: 'owner',
1262
+ type: 'address',
1263
+ },
1264
+ {
1265
+ name: 'manager',
1266
+ type: 'address',
1267
+ },
1268
+ {
1269
+ name: 'compensation',
1270
+ type: 'uint256',
1271
+ },
1272
+ {
1273
+ name: 'startDelay',
1274
+ type: 'uint256',
1275
+ },
1276
+ {
1277
+ name: 'vestingLength',
1278
+ type: 'uint256',
1279
+ },
1280
+ {
1281
+ name: 'cliffLength',
1282
+ type: 'uint256',
1283
+ },
1284
+ {
1285
+ name: 'unlockLength',
1286
+ type: 'uint256',
1287
+ },
1288
+ {
1289
+ name: 'depositLockDuration',
1290
+ type: 'uint256',
1291
+ },
1292
+ ],
1293
+ },
1294
+ ],
1295
+ },
1296
+ {
1297
+ stateMutability: 'nonpayable',
1298
+ type: 'constructor',
1299
+ inputs: [
1300
+ {
1301
+ name: '_ripeHq',
1302
+ type: 'address',
1303
+ },
1304
+ {
1305
+ name: '_minConfigTimeLock',
1306
+ type: 'uint256',
1307
+ },
1308
+ {
1309
+ name: '_maxConfigTimeLock',
1310
+ type: 'uint256',
1311
+ },
1312
+ ],
1313
+ outputs: [],
1314
+ },
1315
+ ];
1316
+ export const deployAddress = '0xF9aCDFd0d167b741f9144Ca01E52FcdE16BE108b';
1317
+ function getRequest(method, args, contractAddressOrOptions) {
1318
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
1319
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
1320
+ const call = {
1321
+ contractName: 'HumanResources',
1322
+ method,
1323
+ args,
1324
+ address,
1325
+ deployAddress,
1326
+ defaultValue,
1327
+ getAbi: () => abi,
1328
+ with: (options) => {
1329
+ call.address = options.contractAddress;
1330
+ call.defaultValue = options.defaultValue;
1331
+ return call;
1332
+ },
1333
+ defaultTo: (defaultValue) => {
1334
+ call.defaultValue = defaultValue;
1335
+ return call;
1336
+ },
1337
+ at: (address) => {
1338
+ call.address = address;
1339
+ return call;
1340
+ },
1341
+ };
1342
+ return call;
1343
+ }
1344
+ export const call = {
1345
+ getAddys: (...args) => getRequest('getAddys', args),
1346
+ getRipeHq: (...args) => getRequest('getRipeHq', args),
1347
+ canMintGreen: (...args) => getRequest('canMintGreen', args),
1348
+ canMintRipe: (...args) => getRequest('canMintRipe', args),
1349
+ isPaused: (...args) => getRequest('isPaused', args),
1350
+ getRipeHqFromGov: (...args) => getRequest('getRipeHqFromGov', args),
1351
+ canGovern: (...args) => getRequest('canGovern', args),
1352
+ getGovernors: (...args) => getRequest('getGovernors', args),
1353
+ hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
1354
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
1355
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
1356
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
1357
+ governance: (...args) => getRequest('governance', args),
1358
+ pendingGov: (...args) => getRequest('pendingGov', args),
1359
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
1360
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
1361
+ canConfirmAction: (...args) => getRequest('canConfirmAction', args),
1362
+ isExpired: (...args) => getRequest('isExpired', args),
1363
+ hasPendingAction: (...args) => getRequest('hasPendingAction', args),
1364
+ getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
1365
+ isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
1366
+ minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
1367
+ maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
1368
+ pendingActions: (...args) => getRequest('pendingActions', args),
1369
+ actionId: (...args) => getRequest('actionId', args),
1370
+ actionTimeLock: (...args) => getRequest('actionTimeLock', args),
1371
+ expiration: (...args) => getRequest('expiration', args),
1372
+ areValidContributorTerms: (...args) => getRequest('areValidContributorTerms', args),
1373
+ canModifyHrContributor: (...args) => getRequest('canModifyHrContributor', args),
1374
+ hasRipeBalance: (...args) => getRequest('hasRipeBalance', args),
1375
+ getTotalClaimed: (...args) => getRequest('getTotalClaimed', args),
1376
+ getTotalCompensation: (...args) => getRequest('getTotalCompensation', args),
1377
+ pendingContributor: (...args) => getRequest('pendingContributor', args),
1378
+ };
1379
+ function getMutation(functionName) {
1380
+ return {
1381
+ contractName: 'HumanResources',
1382
+ functionName,
1383
+ deployAddress,
1384
+ argsType: undefined,
1385
+ getAbi: () => abi,
1386
+ };
1387
+ }
1388
+ export const mutation = {
1389
+ pause: getMutation('pause'),
1390
+ recoverFunds: getMutation('recoverFunds'),
1391
+ recoverFundsMany: getMutation('recoverFundsMany'),
1392
+ startGovernanceChange: getMutation('startGovernanceChange'),
1393
+ confirmGovernanceChange: getMutation('confirmGovernanceChange'),
1394
+ cancelGovernanceChange: getMutation('cancelGovernanceChange'),
1395
+ setGovTimeLock: getMutation('setGovTimeLock'),
1396
+ finishRipeHqSetup: getMutation('finishRipeHqSetup'),
1397
+ setActionTimeLock: getMutation('setActionTimeLock'),
1398
+ setExpiration: getMutation('setExpiration'),
1399
+ setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
1400
+ initiateNewContributor: getMutation('initiateNewContributor'),
1401
+ confirmNewContributor: getMutation('confirmNewContributor'),
1402
+ cancelNewContributor: getMutation('cancelNewContributor'),
1403
+ transferContributorRipeTokens: getMutation('transferContributorRipeTokens'),
1404
+ cashRipeCheck: getMutation('cashRipeCheck'),
1405
+ refundAfterCancelPaycheck: getMutation('refundAfterCancelPaycheck'),
1406
+ };
1407
+ export function toSdk(publicClient, walletClient) {
1408
+ return {
1409
+ deployAddress,
1410
+ abi,
1411
+ // Queries
1412
+ getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args)),
1413
+ getRipeHq: (...args) => singleQuery(publicClient, call.getRipeHq(...args)),
1414
+ canMintGreen: (...args) => singleQuery(publicClient, call.canMintGreen(...args)),
1415
+ canMintRipe: (...args) => singleQuery(publicClient, call.canMintRipe(...args)),
1416
+ isPaused: (...args) => singleQuery(publicClient, call.isPaused(...args)),
1417
+ getRipeHqFromGov: (...args) => singleQuery(publicClient, call.getRipeHqFromGov(...args)),
1418
+ canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
1419
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
1420
+ hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
1421
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
1422
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
1423
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
1424
+ governance: (...args) => singleQuery(publicClient, call.governance(...args)),
1425
+ pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
1426
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
1427
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
1428
+ canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
1429
+ isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
1430
+ hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
1431
+ getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
1432
+ isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
1433
+ minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
1434
+ maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
1435
+ pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
1436
+ actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
1437
+ actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
1438
+ expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
1439
+ areValidContributorTerms: (...args) => singleQuery(publicClient, call.areValidContributorTerms(...args)),
1440
+ canModifyHrContributor: (...args) => singleQuery(publicClient, call.canModifyHrContributor(...args)),
1441
+ hasRipeBalance: (...args) => singleQuery(publicClient, call.hasRipeBalance(...args)),
1442
+ getTotalClaimed: (...args) => singleQuery(publicClient, call.getTotalClaimed(...args)),
1443
+ getTotalCompensation: (...args) => singleQuery(publicClient, call.getTotalCompensation(...args)),
1444
+ pendingContributor: (...args) => singleQuery(publicClient, call.pendingContributor(...args)),
1445
+ // Mutations
1446
+ pause: (...args) => mutate(walletClient, mutation.pause)(...args),
1447
+ recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
1448
+ recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany)(...args),
1449
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
1450
+ confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
1451
+ cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
1452
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
1453
+ finishRipeHqSetup: (...args) => mutate(walletClient, mutation.finishRipeHqSetup)(...args),
1454
+ setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
1455
+ setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
1456
+ setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
1457
+ initiateNewContributor: (...args) => mutate(walletClient, mutation.initiateNewContributor)(...args),
1458
+ confirmNewContributor: (...args) => mutate(walletClient, mutation.confirmNewContributor)(...args),
1459
+ cancelNewContributor: (...args) => mutate(walletClient, mutation.cancelNewContributor)(...args),
1460
+ transferContributorRipeTokens: (...args) => mutate(walletClient, mutation.transferContributorRipeTokens)(...args),
1461
+ cashRipeCheck: (...args) => mutate(walletClient, mutation.cashRipeCheck)(...args),
1462
+ refundAfterCancelPaycheck: (...args) => mutate(walletClient, mutation.refundAfterCancelPaycheck)(...args),
1463
+ };
1464
+ }