@web3dotorg/evm-slc-core-sdk 0.3.8 → 0.3.9

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 (273) hide show
  1. package/lib.commonjs/common.d.ts +50 -0
  2. package/lib.commonjs/common.js +2 -0
  3. package/lib.commonjs/constants.d.ts +23 -0
  4. package/lib.commonjs/constants.js +32 -0
  5. package/lib.commonjs/contracts/governance/ExecutorsRegistry.d.ts +597 -0
  6. package/lib.commonjs/contracts/governance/ExecutorsRegistry.js +2 -0
  7. package/lib.commonjs/contracts/governance/Governance.d.ts +984 -0
  8. package/lib.commonjs/contracts/governance/Governance.js +2 -0
  9. package/lib.commonjs/contracts/governance/NeutralsRegistry.d.ts +718 -0
  10. package/lib.commonjs/contracts/governance/NeutralsRegistry.js +2 -0
  11. package/lib.commonjs/contracts/governance/ParameterRegistry.d.ts +427 -0
  12. package/lib.commonjs/contracts/governance/ParameterRegistry.js +2 -0
  13. package/{contracts/governance/index.ts → lib.commonjs/contracts/governance/index.d.ts} +0 -3
  14. package/lib.commonjs/contracts/governance/index.js +2 -0
  15. package/{contracts/index.ts → lib.commonjs/contracts/index.d.ts} +0 -3
  16. package/lib.commonjs/contracts/index.js +2 -0
  17. package/lib.commonjs/contracts/interfaces/IExecutorsRegistry.d.ts +277 -0
  18. package/lib.commonjs/contracts/interfaces/IExecutorsRegistry.js +2 -0
  19. package/lib.commonjs/contracts/interfaces/IGovernance.d.ts +99 -0
  20. package/lib.commonjs/contracts/interfaces/IGovernance.js +2 -0
  21. package/lib.commonjs/contracts/interfaces/INeutralsRegistry.d.ts +301 -0
  22. package/lib.commonjs/contracts/interfaces/INeutralsRegistry.js +2 -0
  23. package/lib.commonjs/contracts/interfaces/IQParameters.d.ts +38 -0
  24. package/lib.commonjs/contracts/interfaces/IQParameters.js +2 -0
  25. package/lib.commonjs/contracts/interfaces/ISLCCore.d.ts +137 -0
  26. package/lib.commonjs/contracts/interfaces/ISLCCore.js +2 -0
  27. package/lib.commonjs/contracts/interfaces/ISLCCoreFactory.d.ts +102 -0
  28. package/lib.commonjs/contracts/interfaces/ISLCCoreFactory.js +2 -0
  29. package/lib.commonjs/contracts/interfaces/IWrappedToken.d.ts +134 -0
  30. package/lib.commonjs/contracts/interfaces/IWrappedToken.js +2 -0
  31. package/{contracts/interfaces/index.ts → lib.commonjs/contracts/interfaces/index.d.ts} +0 -3
  32. package/lib.commonjs/contracts/interfaces/index.js +2 -0
  33. package/lib.commonjs/contracts/libs/Errors.d.ts +21 -0
  34. package/lib.commonjs/contracts/libs/Errors.js +2 -0
  35. package/lib.commonjs/contracts/libs/NeutralsSelection.d.ts +21 -0
  36. package/lib.commonjs/contracts/libs/NeutralsSelection.js +2 -0
  37. package/{contracts/libs/index.ts → lib.commonjs/contracts/libs/index.d.ts} +0 -3
  38. package/lib.commonjs/contracts/libs/index.js +2 -0
  39. package/lib.commonjs/contracts/mocks/MockGovernance.d.ts +201 -0
  40. package/lib.commonjs/contracts/mocks/MockGovernance.js +2 -0
  41. package/lib.commonjs/contracts/mocks/MockNeutralsRegistry.d.ts +394 -0
  42. package/lib.commonjs/contracts/mocks/MockNeutralsRegistry.js +2 -0
  43. package/lib.commonjs/contracts/mocks/SimpleContract.d.ts +38 -0
  44. package/lib.commonjs/contracts/mocks/SimpleContract.js +2 -0
  45. package/lib.commonjs/contracts/mocks/WrappedToken.d.ts +174 -0
  46. package/lib.commonjs/contracts/mocks/WrappedToken.js +2 -0
  47. package/{contracts/mocks/index.ts → lib.commonjs/contracts/mocks/index.d.ts} +0 -3
  48. package/lib.commonjs/contracts/mocks/index.js +2 -0
  49. package/lib.commonjs/contracts/slc-core/SLCCore.d.ts +198 -0
  50. package/lib.commonjs/contracts/slc-core/SLCCore.js +2 -0
  51. package/lib.commonjs/contracts/slc-core/SLCCoreFactory.d.ts +264 -0
  52. package/lib.commonjs/contracts/slc-core/SLCCoreFactory.js +2 -0
  53. package/{contracts/slc-core/index.ts → lib.commonjs/contracts/slc-core/index.d.ts} +0 -3
  54. package/lib.commonjs/contracts/slc-core/index.js +2 -0
  55. package/lib.commonjs/contracts/token/Token.d.ts +201 -0
  56. package/lib.commonjs/contracts/token/Token.js +2 -0
  57. package/lib.commonjs/contracts/token/index.d.ts +1 -0
  58. package/lib.commonjs/contracts/token/index.js +2 -0
  59. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +919 -0
  60. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +1211 -0
  61. package/lib.commonjs/factories/contracts/governance/Governance__factory.d.ts +1736 -0
  62. package/lib.commonjs/factories/contracts/governance/Governance__factory.js +2281 -0
  63. package/lib.commonjs/factories/contracts/governance/NeutralsRegistry__factory.d.ts +1128 -0
  64. package/lib.commonjs/factories/contracts/governance/NeutralsRegistry__factory.js +1486 -0
  65. package/lib.commonjs/factories/contracts/governance/ParameterRegistry__factory.d.ts +606 -0
  66. package/lib.commonjs/factories/contracts/governance/ParameterRegistry__factory.js +805 -0
  67. package/lib.commonjs/factories/contracts/governance/index.d.ts +4 -0
  68. package/lib.commonjs/factories/contracts/governance/index.js +14 -0
  69. package/lib.commonjs/factories/contracts/index.d.ts +6 -0
  70. package/lib.commonjs/factories/contracts/index.js +35 -0
  71. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +316 -0
  72. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.js +422 -0
  73. package/lib.commonjs/factories/contracts/interfaces/IGovernance__factory.d.ts +107 -0
  74. package/lib.commonjs/factories/contracts/interfaces/IGovernance__factory.js +150 -0
  75. package/lib.commonjs/factories/contracts/interfaces/INeutralsRegistry__factory.d.ts +393 -0
  76. package/lib.commonjs/factories/contracts/interfaces/INeutralsRegistry__factory.js +521 -0
  77. package/lib.commonjs/factories/contracts/interfaces/IQParameters__factory.d.ts +63 -0
  78. package/lib.commonjs/factories/contracts/interfaces/IQParameters__factory.js +95 -0
  79. package/lib.commonjs/factories/contracts/interfaces/ISLCCoreFactory__factory.d.ts +135 -0
  80. package/lib.commonjs/factories/contracts/interfaces/ISLCCoreFactory__factory.js +191 -0
  81. package/lib.commonjs/factories/contracts/interfaces/ISLCCore__factory.d.ts +166 -0
  82. package/lib.commonjs/factories/contracts/interfaces/ISLCCore__factory.js +224 -0
  83. package/lib.commonjs/factories/contracts/interfaces/IWrappedToken__factory.d.ts +157 -0
  84. package/lib.commonjs/factories/contracts/interfaces/IWrappedToken__factory.js +215 -0
  85. package/lib.commonjs/factories/contracts/interfaces/index.d.ts +7 -0
  86. package/lib.commonjs/factories/contracts/interfaces/index.js +20 -0
  87. package/lib.commonjs/factories/contracts/libs/Errors__factory.d.ts +128 -0
  88. package/lib.commonjs/factories/contracts/libs/Errors__factory.js +182 -0
  89. package/lib.commonjs/factories/contracts/libs/NeutralsSelection__factory.d.ts +48 -0
  90. package/lib.commonjs/factories/contracts/libs/NeutralsSelection__factory.js +74 -0
  91. package/lib.commonjs/factories/contracts/libs/index.d.ts +2 -0
  92. package/lib.commonjs/factories/contracts/libs/index.js +10 -0
  93. package/lib.commonjs/factories/contracts/mocks/MockGovernance__factory.d.ts +241 -0
  94. package/lib.commonjs/factories/contracts/mocks/MockGovernance__factory.js +324 -0
  95. package/lib.commonjs/factories/contracts/mocks/MockNeutralsRegistry__factory.d.ts +527 -0
  96. package/lib.commonjs/factories/contracts/mocks/MockNeutralsRegistry__factory.js +695 -0
  97. package/lib.commonjs/factories/contracts/mocks/SimpleContract__factory.d.ts +54 -0
  98. package/lib.commonjs/factories/contracts/mocks/SimpleContract__factory.js +81 -0
  99. package/lib.commonjs/factories/contracts/mocks/WrappedToken__factory.d.ts +300 -0
  100. package/lib.commonjs/factories/contracts/mocks/WrappedToken__factory.js +404 -0
  101. package/lib.commonjs/factories/contracts/mocks/index.d.ts +4 -0
  102. package/lib.commonjs/factories/contracts/mocks/index.js +14 -0
  103. package/lib.commonjs/factories/contracts/slc-core/SLCCoreFactory__factory.d.ts +402 -0
  104. package/lib.commonjs/factories/contracts/slc-core/SLCCoreFactory__factory.js +539 -0
  105. package/lib.commonjs/factories/contracts/slc-core/SLCCore__factory.d.ts +261 -0
  106. package/lib.commonjs/factories/contracts/slc-core/SLCCore__factory.js +347 -0
  107. package/lib.commonjs/factories/contracts/slc-core/index.d.ts +2 -0
  108. package/lib.commonjs/factories/contracts/slc-core/index.js +10 -0
  109. package/lib.commonjs/factories/contracts/token/Token__factory.d.ts +355 -0
  110. package/lib.commonjs/factories/contracts/token/Token__factory.js +476 -0
  111. package/lib.commonjs/factories/contracts/token/index.d.ts +1 -0
  112. package/lib.commonjs/factories/contracts/token/index.js +8 -0
  113. package/lib.commonjs/index.d.ts +5 -0
  114. package/lib.commonjs/index.js +23 -0
  115. package/lib.esm/common.d.ts +50 -0
  116. package/lib.esm/common.js +1 -0
  117. package/lib.esm/constants.d.ts +23 -0
  118. package/lib.esm/constants.js +29 -0
  119. package/lib.esm/contracts/governance/ExecutorsRegistry.d.ts +597 -0
  120. package/lib.esm/contracts/governance/ExecutorsRegistry.js +1 -0
  121. package/lib.esm/contracts/governance/Governance.d.ts +984 -0
  122. package/lib.esm/contracts/governance/Governance.js +1 -0
  123. package/lib.esm/contracts/governance/NeutralsRegistry.d.ts +718 -0
  124. package/lib.esm/contracts/governance/NeutralsRegistry.js +1 -0
  125. package/lib.esm/contracts/governance/ParameterRegistry.d.ts +427 -0
  126. package/lib.esm/contracts/governance/ParameterRegistry.js +1 -0
  127. package/lib.esm/contracts/governance/index.d.ts +4 -0
  128. package/lib.esm/contracts/governance/index.js +1 -0
  129. package/lib.esm/contracts/index.d.ts +12 -0
  130. package/lib.esm/contracts/index.js +1 -0
  131. package/lib.esm/contracts/interfaces/IExecutorsRegistry.d.ts +277 -0
  132. package/lib.esm/contracts/interfaces/IExecutorsRegistry.js +1 -0
  133. package/lib.esm/contracts/interfaces/IGovernance.d.ts +99 -0
  134. package/lib.esm/contracts/interfaces/IGovernance.js +1 -0
  135. package/lib.esm/contracts/interfaces/INeutralsRegistry.d.ts +301 -0
  136. package/lib.esm/contracts/interfaces/INeutralsRegistry.js +1 -0
  137. package/lib.esm/contracts/interfaces/IQParameters.d.ts +38 -0
  138. package/lib.esm/contracts/interfaces/IQParameters.js +1 -0
  139. package/lib.esm/contracts/interfaces/ISLCCore.d.ts +137 -0
  140. package/lib.esm/contracts/interfaces/ISLCCore.js +1 -0
  141. package/lib.esm/contracts/interfaces/ISLCCoreFactory.d.ts +102 -0
  142. package/lib.esm/contracts/interfaces/ISLCCoreFactory.js +1 -0
  143. package/lib.esm/contracts/interfaces/IWrappedToken.d.ts +134 -0
  144. package/lib.esm/contracts/interfaces/IWrappedToken.js +1 -0
  145. package/lib.esm/contracts/interfaces/index.d.ts +7 -0
  146. package/lib.esm/contracts/interfaces/index.js +1 -0
  147. package/lib.esm/contracts/libs/Errors.d.ts +21 -0
  148. package/lib.esm/contracts/libs/Errors.js +1 -0
  149. package/lib.esm/contracts/libs/NeutralsSelection.d.ts +21 -0
  150. package/lib.esm/contracts/libs/NeutralsSelection.js +1 -0
  151. package/lib.esm/contracts/libs/index.d.ts +2 -0
  152. package/lib.esm/contracts/libs/index.js +1 -0
  153. package/lib.esm/contracts/mocks/MockGovernance.d.ts +201 -0
  154. package/lib.esm/contracts/mocks/MockGovernance.js +1 -0
  155. package/lib.esm/contracts/mocks/MockNeutralsRegistry.d.ts +394 -0
  156. package/lib.esm/contracts/mocks/MockNeutralsRegistry.js +1 -0
  157. package/lib.esm/contracts/mocks/SimpleContract.d.ts +38 -0
  158. package/lib.esm/contracts/mocks/SimpleContract.js +1 -0
  159. package/lib.esm/contracts/mocks/WrappedToken.d.ts +174 -0
  160. package/lib.esm/contracts/mocks/WrappedToken.js +1 -0
  161. package/lib.esm/contracts/mocks/index.d.ts +4 -0
  162. package/lib.esm/contracts/mocks/index.js +1 -0
  163. package/lib.esm/contracts/slc-core/SLCCore.d.ts +198 -0
  164. package/lib.esm/contracts/slc-core/SLCCore.js +1 -0
  165. package/lib.esm/contracts/slc-core/SLCCoreFactory.d.ts +264 -0
  166. package/lib.esm/contracts/slc-core/SLCCoreFactory.js +1 -0
  167. package/lib.esm/contracts/slc-core/index.d.ts +2 -0
  168. package/lib.esm/contracts/slc-core/index.js +1 -0
  169. package/lib.esm/contracts/token/Token.d.ts +201 -0
  170. package/lib.esm/contracts/token/Token.js +1 -0
  171. package/lib.esm/contracts/token/index.d.ts +1 -0
  172. package/lib.esm/contracts/token/index.js +1 -0
  173. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +919 -0
  174. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +1207 -0
  175. package/lib.esm/factories/contracts/governance/Governance__factory.d.ts +1736 -0
  176. package/lib.esm/factories/contracts/governance/Governance__factory.js +2277 -0
  177. package/lib.esm/factories/contracts/governance/NeutralsRegistry__factory.d.ts +1128 -0
  178. package/lib.esm/factories/contracts/governance/NeutralsRegistry__factory.js +1482 -0
  179. package/lib.esm/factories/contracts/governance/ParameterRegistry__factory.d.ts +606 -0
  180. package/lib.esm/factories/contracts/governance/ParameterRegistry__factory.js +801 -0
  181. package/lib.esm/factories/contracts/governance/index.d.ts +4 -0
  182. package/lib.esm/factories/contracts/index.d.ts +6 -0
  183. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +316 -0
  184. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.js +418 -0
  185. package/lib.esm/factories/contracts/interfaces/IGovernance__factory.d.ts +107 -0
  186. package/lib.esm/factories/contracts/interfaces/IGovernance__factory.js +146 -0
  187. package/lib.esm/factories/contracts/interfaces/INeutralsRegistry__factory.d.ts +393 -0
  188. package/lib.esm/factories/contracts/interfaces/INeutralsRegistry__factory.js +517 -0
  189. package/lib.esm/factories/contracts/interfaces/IQParameters__factory.d.ts +63 -0
  190. package/lib.esm/factories/contracts/interfaces/IQParameters__factory.js +91 -0
  191. package/lib.esm/factories/contracts/interfaces/ISLCCoreFactory__factory.d.ts +135 -0
  192. package/lib.esm/factories/contracts/interfaces/ISLCCoreFactory__factory.js +187 -0
  193. package/lib.esm/factories/contracts/interfaces/ISLCCore__factory.d.ts +166 -0
  194. package/lib.esm/factories/contracts/interfaces/ISLCCore__factory.js +220 -0
  195. package/lib.esm/factories/contracts/interfaces/IWrappedToken__factory.d.ts +157 -0
  196. package/lib.esm/factories/contracts/interfaces/IWrappedToken__factory.js +211 -0
  197. package/lib.esm/factories/contracts/interfaces/index.d.ts +7 -0
  198. package/lib.esm/factories/contracts/libs/Errors__factory.d.ts +128 -0
  199. package/lib.esm/factories/contracts/libs/Errors__factory.js +178 -0
  200. package/lib.esm/factories/contracts/libs/NeutralsSelection__factory.d.ts +48 -0
  201. package/lib.esm/factories/contracts/libs/NeutralsSelection__factory.js +70 -0
  202. package/lib.esm/factories/contracts/libs/index.d.ts +2 -0
  203. package/lib.esm/factories/contracts/mocks/MockGovernance__factory.d.ts +241 -0
  204. package/lib.esm/factories/contracts/mocks/MockGovernance__factory.js +320 -0
  205. package/lib.esm/factories/contracts/mocks/MockNeutralsRegistry__factory.d.ts +527 -0
  206. package/lib.esm/factories/contracts/mocks/MockNeutralsRegistry__factory.js +691 -0
  207. package/lib.esm/factories/contracts/mocks/SimpleContract__factory.d.ts +54 -0
  208. package/lib.esm/factories/contracts/mocks/SimpleContract__factory.js +77 -0
  209. package/lib.esm/factories/contracts/mocks/WrappedToken__factory.d.ts +300 -0
  210. package/lib.esm/factories/contracts/mocks/WrappedToken__factory.js +400 -0
  211. package/lib.esm/factories/contracts/mocks/index.d.ts +4 -0
  212. package/lib.esm/factories/contracts/slc-core/SLCCoreFactory__factory.d.ts +402 -0
  213. package/lib.esm/factories/contracts/slc-core/SLCCoreFactory__factory.js +535 -0
  214. package/lib.esm/factories/contracts/slc-core/SLCCore__factory.d.ts +261 -0
  215. package/lib.esm/factories/contracts/slc-core/SLCCore__factory.js +343 -0
  216. package/lib.esm/factories/contracts/slc-core/index.d.ts +2 -0
  217. package/lib.esm/factories/contracts/token/Token__factory.d.ts +355 -0
  218. package/lib.esm/factories/contracts/token/Token__factory.js +472 -0
  219. package/lib.esm/factories/contracts/token/index.d.ts +1 -0
  220. package/lib.esm/index.d.ts +5 -0
  221. package/lib.esm/index.js +7 -0
  222. package/package.json +10 -3
  223. package/common.ts +0 -131
  224. package/constants.ts +0 -34
  225. package/contracts/governance/ExecutorsRegistry.ts +0 -1249
  226. package/contracts/governance/Governance.ts +0 -1740
  227. package/contracts/governance/NeutralsRegistry.ts +0 -1415
  228. package/contracts/governance/ParameterRegistry.ts +0 -832
  229. package/contracts/interfaces/IExecutorsRegistry.ts +0 -601
  230. package/contracts/interfaces/IGovernance.ts +0 -215
  231. package/contracts/interfaces/INeutralsRegistry.ts +0 -624
  232. package/contracts/interfaces/IQParameters.ts +0 -109
  233. package/contracts/interfaces/ISLCCore.ts +0 -289
  234. package/contracts/interfaces/ISLCCoreFactory.ts +0 -217
  235. package/contracts/interfaces/IWrappedToken.ts +0 -272
  236. package/contracts/libs/Errors.ts +0 -71
  237. package/contracts/libs/NeutralsSelection.ts +0 -71
  238. package/contracts/mocks/MockGovernance.ts +0 -389
  239. package/contracts/mocks/MockNeutralsRegistry.ts +0 -791
  240. package/contracts/mocks/SimpleContract.ts +0 -110
  241. package/contracts/mocks/WrappedToken.ts +0 -334
  242. package/contracts/slc-core/SLCCore.ts +0 -397
  243. package/contracts/slc-core/SLCCoreFactory.ts +0 -559
  244. package/contracts/token/Token.ts +0 -399
  245. package/contracts/token/index.ts +0 -4
  246. package/factories/contracts/governance/ExecutorsRegistry__factory.ts +0 -1240
  247. package/factories/contracts/governance/Governance__factory.ts +0 -2307
  248. package/factories/contracts/governance/NeutralsRegistry__factory.ts +0 -1515
  249. package/factories/contracts/governance/ParameterRegistry__factory.ts +0 -834
  250. package/factories/contracts/interfaces/IExecutorsRegistry__factory.ts +0 -428
  251. package/factories/contracts/interfaces/IGovernance__factory.ts +0 -153
  252. package/factories/contracts/interfaces/INeutralsRegistry__factory.ts +0 -527
  253. package/factories/contracts/interfaces/IQParameters__factory.ts +0 -101
  254. package/factories/contracts/interfaces/ISLCCoreFactory__factory.ts +0 -197
  255. package/factories/contracts/interfaces/ISLCCore__factory.ts +0 -227
  256. package/factories/contracts/interfaces/IWrappedToken__factory.ts +0 -221
  257. package/factories/contracts/libs/Errors__factory.ts +0 -205
  258. package/factories/contracts/libs/NeutralsSelection__factory.ts +0 -103
  259. package/factories/contracts/mocks/MockGovernance__factory.ts +0 -353
  260. package/factories/contracts/mocks/MockNeutralsRegistry__factory.ts +0 -730
  261. package/factories/contracts/mocks/SimpleContract__factory.ts +0 -110
  262. package/factories/contracts/mocks/WrappedToken__factory.ts +0 -433
  263. package/factories/contracts/slc-core/SLCCoreFactory__factory.ts +0 -568
  264. package/factories/contracts/slc-core/SLCCore__factory.ts +0 -373
  265. package/factories/contracts/token/Token__factory.ts +0 -505
  266. package/index.ts +0 -44
  267. /package/{factories/contracts/governance/index.ts → lib.esm/factories/contracts/governance/index.js} +0 -0
  268. /package/{factories/contracts/index.ts → lib.esm/factories/contracts/index.js} +0 -0
  269. /package/{factories/contracts/interfaces/index.ts → lib.esm/factories/contracts/interfaces/index.js} +0 -0
  270. /package/{factories/contracts/libs/index.ts → lib.esm/factories/contracts/libs/index.js} +0 -0
  271. /package/{factories/contracts/mocks/index.ts → lib.esm/factories/contracts/mocks/index.js} +0 -0
  272. /package/{factories/contracts/slc-core/index.ts → lib.esm/factories/contracts/slc-core/index.js} +0 -0
  273. /package/{factories/contracts/token/index.ts → lib.esm/factories/contracts/token/index.js} +0 -0
@@ -0,0 +1,320 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, ContractFactory, Interface, } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [],
8
+ name: "_lastCall",
9
+ outputs: [
10
+ {
11
+ internalType: "address",
12
+ name: "requester",
13
+ type: "address",
14
+ },
15
+ {
16
+ internalType: "uint256",
17
+ name: "serviceFee",
18
+ type: "uint256",
19
+ },
20
+ {
21
+ internalType: "uint256",
22
+ name: "neutralsNumber",
23
+ type: "uint256",
24
+ },
25
+ {
26
+ internalType: "string",
27
+ name: "additionalLink",
28
+ type: "string",
29
+ },
30
+ {
31
+ internalType: "bytes",
32
+ name: "data",
33
+ type: "bytes",
34
+ },
35
+ ],
36
+ stateMutability: "view",
37
+ type: "function",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "_parametersRegistry",
42
+ outputs: [
43
+ {
44
+ internalType: "address",
45
+ name: "",
46
+ type: "address",
47
+ },
48
+ ],
49
+ stateMutability: "view",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: "_processServiceRequestResult",
55
+ outputs: [
56
+ {
57
+ internalType: "bool",
58
+ name: "",
59
+ type: "bool",
60
+ },
61
+ ],
62
+ stateMutability: "view",
63
+ type: "function",
64
+ },
65
+ {
66
+ inputs: [],
67
+ name: "_systemToken",
68
+ outputs: [
69
+ {
70
+ internalType: "address",
71
+ name: "",
72
+ type: "address",
73
+ },
74
+ ],
75
+ stateMutability: "view",
76
+ type: "function",
77
+ },
78
+ {
79
+ inputs: [],
80
+ name: "getLastProcessServiceRequestCall",
81
+ outputs: [
82
+ {
83
+ components: [
84
+ {
85
+ internalType: "address",
86
+ name: "requester",
87
+ type: "address",
88
+ },
89
+ {
90
+ internalType: "uint256",
91
+ name: "serviceFee",
92
+ type: "uint256",
93
+ },
94
+ {
95
+ internalType: "uint256",
96
+ name: "neutralsNumber",
97
+ type: "uint256",
98
+ },
99
+ {
100
+ internalType: "string",
101
+ name: "additionalLink",
102
+ type: "string",
103
+ },
104
+ {
105
+ internalType: "bytes",
106
+ name: "data",
107
+ type: "bytes",
108
+ },
109
+ ],
110
+ internalType: "struct MockGovernance.ServiceRequestCall",
111
+ name: "",
112
+ type: "tuple",
113
+ },
114
+ ],
115
+ stateMutability: "view",
116
+ type: "function",
117
+ },
118
+ {
119
+ inputs: [],
120
+ name: "getParametersRegistry",
121
+ outputs: [
122
+ {
123
+ internalType: "address",
124
+ name: "",
125
+ type: "address",
126
+ },
127
+ ],
128
+ stateMutability: "view",
129
+ type: "function",
130
+ },
131
+ {
132
+ inputs: [],
133
+ name: "getSystemToken",
134
+ outputs: [
135
+ {
136
+ internalType: "address",
137
+ name: "",
138
+ type: "address",
139
+ },
140
+ ],
141
+ stateMutability: "view",
142
+ type: "function",
143
+ },
144
+ {
145
+ inputs: [
146
+ {
147
+ internalType: "address",
148
+ name: "requester_",
149
+ type: "address",
150
+ },
151
+ {
152
+ internalType: "uint256",
153
+ name: "serviceFee_",
154
+ type: "uint256",
155
+ },
156
+ {
157
+ internalType: "uint256",
158
+ name: "neutralsNumber_",
159
+ type: "uint256",
160
+ },
161
+ {
162
+ internalType: "string",
163
+ name: "additionalLink_",
164
+ type: "string",
165
+ },
166
+ {
167
+ internalType: "bytes",
168
+ name: "data_",
169
+ type: "bytes",
170
+ },
171
+ ],
172
+ name: "processServiceRequest",
173
+ outputs: [
174
+ {
175
+ internalType: "bool",
176
+ name: "",
177
+ type: "bool",
178
+ },
179
+ ],
180
+ stateMutability: "payable",
181
+ type: "function",
182
+ },
183
+ {
184
+ inputs: [
185
+ {
186
+ internalType: "uint256",
187
+ name: "proposalId_",
188
+ type: "uint256",
189
+ },
190
+ {
191
+ components: [
192
+ {
193
+ components: [
194
+ {
195
+ internalType: "enum IGovernance.OperationType",
196
+ name: "operation_",
197
+ type: "uint8",
198
+ },
199
+ {
200
+ internalType: "address",
201
+ name: "to_",
202
+ type: "address",
203
+ },
204
+ {
205
+ internalType: "bytes",
206
+ name: "data_",
207
+ type: "bytes",
208
+ },
209
+ {
210
+ internalType: "uint256",
211
+ name: "value_",
212
+ type: "uint256",
213
+ },
214
+ ],
215
+ internalType: "struct IGovernance.OperationData[]",
216
+ name: "operations",
217
+ type: "tuple[]",
218
+ },
219
+ ],
220
+ internalType: "struct IGovernance.OperationBundle",
221
+ name: "operationBundle_",
222
+ type: "tuple",
223
+ },
224
+ ],
225
+ name: "proposeOperations",
226
+ outputs: [],
227
+ stateMutability: "nonpayable",
228
+ type: "function",
229
+ },
230
+ {
231
+ inputs: [
232
+ {
233
+ internalType: "address",
234
+ name: "registry_",
235
+ type: "address",
236
+ },
237
+ ],
238
+ name: "setParametersRegistry",
239
+ outputs: [],
240
+ stateMutability: "nonpayable",
241
+ type: "function",
242
+ },
243
+ {
244
+ inputs: [
245
+ {
246
+ internalType: "bool",
247
+ name: "result_",
248
+ type: "bool",
249
+ },
250
+ ],
251
+ name: "setProcessServiceRequestResult",
252
+ outputs: [],
253
+ stateMutability: "nonpayable",
254
+ type: "function",
255
+ },
256
+ {
257
+ inputs: [
258
+ {
259
+ internalType: "address",
260
+ name: "token_",
261
+ type: "address",
262
+ },
263
+ ],
264
+ name: "setSystemToken",
265
+ outputs: [],
266
+ stateMutability: "nonpayable",
267
+ type: "function",
268
+ },
269
+ {
270
+ inputs: [
271
+ {
272
+ internalType: "bytes4",
273
+ name: "interfaceId",
274
+ type: "bytes4",
275
+ },
276
+ ],
277
+ name: "supportsInterface",
278
+ outputs: [
279
+ {
280
+ internalType: "bool",
281
+ name: "",
282
+ type: "bool",
283
+ },
284
+ ],
285
+ stateMutability: "view",
286
+ type: "function",
287
+ },
288
+ ];
289
+ const _bytecode = "0x60808060405234601557610a74908161001b8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c908162c12699146107c257816301ffc9a71461076f575080630645e39d146106f45780631065baee146106cb57806315d24904146103eb5780632db8b607146106cb5780637e555c80146106a85780638955e33114610677578063adf499f51461050d578063c729505e14610414578063dae83c43146103eb578063e312d7f2146100e95763eb284bbf146100ad57600080fd5b346100e45760203660031901126100e4576001600160a01b036100ce6107f9565b1660018060a01b03196006541617600655600080f35b600080fd5b60a03660031901126100e4576100fd6107f9565b602435906044356064356001600160401b0381116100e457366023820112156100e4576101349036906024816004013591016109ec565b926084356001600160401b0381116100e457610154903690600401610a32565b926080604051916101648361096f565b6001600160a01b03168083526020830184905260408301859052606083018790529101938452600180546001600160a01b031916909117905560025560035581516001600160401b038111610316576101be60045461080f565b601f811161039c575b50602092601f8211600114610337576101fa9293829160009261032c575b50508160011b916000199060031b1c19161790565b6004555b5180516001600160401b0381116103165761021a60055461080f565b601f81116102d8575b50602091601f82116001146102745761025392600091836102695750508160011b916000199060031b1c19161790565b6005555b602060ff600054166040519015158152f35b0151905083806101e5565b601f198216926005600052806000209160005b8581106102c0575083600195106102a7575b505050811b01600555610257565b015160001960f88460031b161c19169055828080610299565b91926020600181928685015181550194019201610287565b6103069060056000526020600020601f840160051c8101916020851061030c575b601f0160051c0190610a50565b82610223565b90915081906102f9565b634e487b7160e01b600052604160045260246000fd5b0151905084806101e5565b601f198216936004600052806000209160005b868110610384575083600195961061036b575b505050811b016004556101fe565b015160001960f88460031b161c1916905583808061035d565b9192602060018192868501518155019401920161034a565b60046000526103e5907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c8101916020851061030c57601f0160051c0190610a50565b836101c7565b346100e45760003660031901126100e4576007546040516001600160a01b039091168152602090f35b346100e45760003660031901126100e457606060806040516104358161096f565b6000815260006020820152600060408201528280820152015260405161045a8161096f565b60018060a01b036001541681526002549060208101918252610509600354604083019081526104f66040516104998161049281610849565b038261098a565b60608501908152604051926104b8846104b1816108ea565b038561098a565b608086019384526040519687966020885260018060a01b0390511660208801525160408701525160608601525160a0608086015260c08501906109ab565b9051838203601f190160a08501526109ab565b0390f35b346100e45760403660031901126100e4576024356001600160401b0381116100e457602060031982360301126100e45760405190602082018281106001600160401b03821117610316576040528060040135906001600160401b0382116100e4570190366023830112156100e4576004820135916001600160401b038311610316578260051b90604051936105a5602084018661098a565b845260208401918101602401903682116100e45760248101925b8284106105cb57858552005b83356001600160401b0381116100e4576004908301016080601f1982360301126100e45760405191608083018381106001600160401b0382111761031657604052602082013560028110156100e457835260408201356001600160a01b03811681036100e45760208401526060820135926001600160401b0384116100e4576080602094936106608695863691840101610a32565b6040840152013560608201528152019301926105bf565b346100e45760203660031901126100e4576004358015158091036100e45760ff801960005416911617600055600080f35b346100e45760003660031901126100e457602060ff600054166040519015158152f35b346100e45760003660031901126100e4576006546040516001600160a01b039091168152602090f35b346100e45760003660031901126100e45760018060a01b03600154166002549061050960035461076160405161072d8161049281610849565b6040519261073e846104b1816108ea565b60405196879687526020870152604086015260a0606086015260a08501906109ab565b9083820360808501526109ab565b346100e45760203660031901126100e4576004359063ffffffff60e01b82168092036100e457602091631da32c4160e21b81149081156107b1575b5015158152f35b6301ffc9a760e01b149050836107aa565b346100e45760203660031901126100e4576001600160a01b036107e36107f9565b1660018060a01b03196007541617600755600080f35b600435906001600160a01b03821682036100e457565b90600182811c9216801561083f575b602083101461082957565b634e487b7160e01b600052602260045260246000fd5b91607f169161081e565b600454600092916108598261080f565b80825291600181169081156108ce5750600114610874575050565b600460009081529293509091907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8383106108b4575060209250010190565b6001816020929493945483858701015201910191906108a3565b9050602093945060ff929192191683830152151560051b010190565b600554600092916108fa8261080f565b80825291600181169081156108ce5750600114610915575050565b600560009081529293509091907f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b838310610955575060209250010190565b600181602092949394548385870101520191019190610944565b60a081019081106001600160401b0382111761031657604052565b90601f801991011681019081106001600160401b0382111761031657604052565b919082519283825260005b8481106109d7575050826000602080949584010152601f8019910116010190565b806020809284010151828286010152016109b6565b9291926001600160401b0382116103165760405191610a15601f8201601f19166020018461098a565b8294818452818301116100e4578281602093846000960137010152565b9080601f830112156100e457816020610a4d933591016109ec565b90565b818110610a5b575050565b60008155600101610a5056fea164736f6c634300081e000a";
290
+ const isSuperArgs = (xs) => xs.length > 1;
291
+ export class MockGovernance__factory extends ContractFactory {
292
+ constructor(...args) {
293
+ if (isSuperArgs(args)) {
294
+ super(...args);
295
+ }
296
+ else {
297
+ super(_abi, _bytecode, args[0]);
298
+ }
299
+ this.contractName = "MockGovernance";
300
+ }
301
+ getDeployTransaction(overrides) {
302
+ return super.getDeployTransaction(overrides || {});
303
+ }
304
+ deploy(overrides) {
305
+ return super.deploy(overrides || {});
306
+ }
307
+ connect(runner) {
308
+ return super.connect(runner);
309
+ }
310
+ static contractName;
311
+ contractName;
312
+ static bytecode = _bytecode;
313
+ static abi = _abi;
314
+ static createInterface() {
315
+ return new Interface(_abi);
316
+ }
317
+ static connect(address, runner) {
318
+ return new Contract(address, _abi, runner);
319
+ }
320
+ }