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

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 +987 -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 +1740 -0
  62. package/lib.commonjs/factories/contracts/governance/Governance__factory.js +2286 -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 +987 -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 +1740 -0
  176. package/lib.esm/factories/contracts/governance/Governance__factory.js +2282 -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
@@ -1,373 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- Contract,
6
- ContractFactory,
7
- ContractTransactionResponse,
8
- Interface,
9
- } from "ethers";
10
- import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
11
- import type { NonPayableOverrides } from "../../../common";
12
- import type {
13
- SLCCore,
14
- SLCCoreInterface,
15
- } from "../../../contracts/slc-core/SLCCore";
16
-
17
- const _abi = [
18
- {
19
- inputs: [],
20
- stateMutability: "nonpayable",
21
- type: "constructor",
22
- },
23
- {
24
- inputs: [
25
- {
26
- internalType: "enum IGovernance.OperationType",
27
- name: "operation",
28
- type: "uint8",
29
- },
30
- {
31
- internalType: "address",
32
- name: "to",
33
- type: "address",
34
- },
35
- {
36
- internalType: "bytes",
37
- name: "data",
38
- type: "bytes",
39
- },
40
- {
41
- internalType: "uint256",
42
- name: "value",
43
- type: "uint256",
44
- },
45
- ],
46
- name: "FailedToExecuteArbitraryCall",
47
- type: "error",
48
- },
49
- {
50
- inputs: [],
51
- name: "InvalidInitialization",
52
- type: "error",
53
- },
54
- {
55
- inputs: [
56
- {
57
- internalType: "address",
58
- name: "sender",
59
- type: "address",
60
- },
61
- ],
62
- name: "NotGovernance",
63
- type: "error",
64
- },
65
- {
66
- inputs: [],
67
- name: "NotInitializing",
68
- type: "error",
69
- },
70
- {
71
- anonymous: false,
72
- inputs: [
73
- {
74
- indexed: false,
75
- internalType: "enum IGovernance.OperationType",
76
- name: "operation",
77
- type: "uint8",
78
- },
79
- {
80
- indexed: false,
81
- internalType: "address",
82
- name: "to",
83
- type: "address",
84
- },
85
- {
86
- indexed: false,
87
- internalType: "bytes",
88
- name: "data",
89
- type: "bytes",
90
- },
91
- {
92
- indexed: false,
93
- internalType: "uint256",
94
- name: "value",
95
- type: "uint256",
96
- },
97
- ],
98
- name: "ArbitraryExecute",
99
- type: "event",
100
- },
101
- {
102
- anonymous: false,
103
- inputs: [
104
- {
105
- indexed: false,
106
- internalType: "uint64",
107
- name: "version",
108
- type: "uint64",
109
- },
110
- ],
111
- name: "Initialized",
112
- type: "event",
113
- },
114
- {
115
- anonymous: false,
116
- inputs: [
117
- {
118
- indexed: true,
119
- internalType: "address",
120
- name: "creator",
121
- type: "address",
122
- },
123
- {
124
- indexed: false,
125
- internalType: "string",
126
- name: "legalDocumentLink",
127
- type: "string",
128
- },
129
- ],
130
- name: "SLCInitialized",
131
- type: "event",
132
- },
133
- {
134
- anonymous: false,
135
- inputs: [
136
- {
137
- indexed: true,
138
- internalType: "address",
139
- name: "requester",
140
- type: "address",
141
- },
142
- {
143
- indexed: true,
144
- internalType: "uint256",
145
- name: "serviceFee",
146
- type: "uint256",
147
- },
148
- {
149
- indexed: true,
150
- internalType: "uint256",
151
- name: "neutralsNumber",
152
- type: "uint256",
153
- },
154
- {
155
- indexed: false,
156
- internalType: "string",
157
- name: "additionalLink",
158
- type: "string",
159
- },
160
- ],
161
- name: "ServiceRequested",
162
- type: "event",
163
- },
164
- {
165
- inputs: [
166
- {
167
- internalType: "address",
168
- name: "creator_",
169
- type: "address",
170
- },
171
- {
172
- internalType: "address",
173
- name: "governance_",
174
- type: "address",
175
- },
176
- {
177
- internalType: "string",
178
- name: "legalDocumentLink_",
179
- type: "string",
180
- },
181
- {
182
- internalType: "bytes",
183
- name: "data_",
184
- type: "bytes",
185
- },
186
- ],
187
- name: "__SLCCore_init",
188
- outputs: [],
189
- stateMutability: "nonpayable",
190
- type: "function",
191
- },
192
- {
193
- inputs: [
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
- name: "arbitraryExecute",
216
- outputs: [
217
- {
218
- internalType: "bool",
219
- name: "success",
220
- type: "bool",
221
- },
222
- ],
223
- stateMutability: "nonpayable",
224
- type: "function",
225
- },
226
- {
227
- inputs: [],
228
- name: "getSLCCoreStorage",
229
- outputs: [
230
- {
231
- components: [
232
- {
233
- internalType: "contract IGovernance",
234
- name: "governance",
235
- type: "address",
236
- },
237
- {
238
- internalType: "address",
239
- name: "slcCreator",
240
- type: "address",
241
- },
242
- {
243
- internalType: "uint256",
244
- name: "slcCreationTimestamp",
245
- type: "uint256",
246
- },
247
- {
248
- internalType: "string",
249
- name: "legalDocumentLink",
250
- type: "string",
251
- },
252
- {
253
- internalType: "bytes",
254
- name: "data",
255
- type: "bytes",
256
- },
257
- ],
258
- internalType: "struct SLCCore.SLCCoreStorage",
259
- name: "",
260
- type: "tuple",
261
- },
262
- ],
263
- stateMutability: "pure",
264
- type: "function",
265
- },
266
- {
267
- inputs: [
268
- {
269
- internalType: "uint256",
270
- name: "serviceFee_",
271
- type: "uint256",
272
- },
273
- {
274
- internalType: "uint256",
275
- name: "neutralsNumber_",
276
- type: "uint256",
277
- },
278
- {
279
- internalType: "string",
280
- name: "additionalLink_",
281
- type: "string",
282
- },
283
- {
284
- internalType: "bytes",
285
- name: "data_",
286
- type: "bytes",
287
- },
288
- ],
289
- name: "requestService",
290
- outputs: [
291
- {
292
- internalType: "bool",
293
- name: "",
294
- type: "bool",
295
- },
296
- ],
297
- stateMutability: "payable",
298
- type: "function",
299
- },
300
- {
301
- inputs: [
302
- {
303
- internalType: "bytes4",
304
- name: "interfaceId",
305
- type: "bytes4",
306
- },
307
- ],
308
- name: "supportsInterface",
309
- outputs: [
310
- {
311
- internalType: "bool",
312
- name: "",
313
- type: "bool",
314
- },
315
- ],
316
- stateMutability: "view",
317
- type: "function",
318
- },
319
- {
320
- stateMutability: "payable",
321
- type: "receive",
322
- },
323
- ] as const;
324
-
325
- const _bytecode =
326
- "0x6080806040523460d2577ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460ff8160401c1660c1576002600160401b03196001600160401b03821601605c575b604051610dcc90816100d88239f35b6001600160401b0319166001600160401b039081177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a13880604d565b63f92ee8a960e01b60005260046000fd5b600080fdfe608080604052600436101561001d575b50361561001b57600080fd5b005b60003560e01c90816301ffc9a714610a77575080636df82bf4146107d6578063ddd1c18e1461066d578063e355396d146105915763fe1d464714610061573861000f565b3461058c57608036600319011261058c576004356001600160a01b0381169081900361058c5761008f610b38565b6044356001600160401b03811161058c576100ae903690600401610b0b565b92906064356001600160401b03811161058c576100cf903690600401610b0b565b949093600080516020610da0833981519152549460ff8660401c1615956001600160401b03811680159081610584575b600114908161057a575b159081610571575b506105605767ffffffffffffffff198116600117600080516020610da08339815191525586610533575b506001600160401b03831161043e57610162600080516020610d8083398151915254610b8a565b601f81116104e9575b50600083601f811160011461045f578061019b92600091610454575b508160011b916000199060031b1c19161790565b600080516020610d80833981519152555b6001600160401b03871161043e576101d2600080516020610d0083398151915254610b8a565b601f81116103e9575b50600090601f881160011461033b579680610231927f96649fbb2866456643455ff884bff57e7db72d6ee11afbb622e9a8eff9e6f21a979899600092610330575b50508160011b916000199060031b1c19161790565b600080516020610d00833981519152555b600080516020610d6083398151915280546001600160a01b03929092166001600160a01b03199283161790557ff304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708901805490911685179055427ff304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708902556040516020808252909283926102d392840191610bc4565b0390a26102dc57005b60ff60401b19600080516020610da08339815191525416600080516020610da0833981519152557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b01359050388061021c565b600080516020610d008339815191528252600080516020610d2083398151915291601f198916815b8181106103d1575091600193918a7f96649fbb2866456643455ff884bff57e7db72d6ee11afbb622e9a8eff9e6f21a999a9b94106103b7575b505050811b01600080516020610d0083398151915255610242565b0135600019600384901b60f8161c1916905538808061039c565b91936020600181928787013581550195019201610363565b600080516020610d0083398151915260005261042e90600080516020610d20833981519152601f8a0160051c81019160208b10610434575b601f0160051c0190610ce8565b386101db565b9091508190610421565b634e487b7160e01b600052604160045260246000fd5b905086013538610187565b50600080516020610d808339815191528152600080516020610d408339815191529084601f198116825b8181106104ce5750106104b4575b5050600183811b01600080516020610d80833981519152556101ac565b850135600019600386901b60f8161c191690553880610497565b88840135855560019094019360209384019388935001610489565b600080516020610d8083398151915260005261052d90600080516020610d40833981519152601f860160051c8101916020871061043457601f0160051c0190610ce8565b3861016b565b68ffffffffffffffffff19166801000000000000000117600080516020610da0833981519152553861013b565b63f92ee8a960e01b60005260046000fd5b90501538610111565b303b159150610109565b8891506100ff565b600080fd5b3461058c57608036600319011261058c57600435600281101561058c576105b6610b38565b604435916001600160401b03831161058c573660238401121561058c5782600401356001600160401b03811161043e57604051936105fe601f8301601f191660200186610b69565b818552366024838301011161058c57816000926024602093018388013785010152600080516020610d60833981519152546001600160a01b031633036106585760209261064e9260643592610c33565b6040519015158152f35b63988d1f0360e01b6000523360045260246000fd5b608036600319011261058c576024356004356044356001600160401b03811161058c5761069e903690600401610b0b565b9092606435906001600160401b03821161058c576020936106c6610768933690600401610b0b565b93908383897f85208b28331a2ddc87deba85d740779b245495ed55b9553c85a2297cb63d157c6040518b81528061070233948d8f840191610bc4565b0390a460018060a01b03600080516020610d60833981519152541694610756604051998a98899788976371896bf960e11b89523360048a01526024890152604488015260a0606488015260a4870191610bc4565b84810360031901608486015291610bc4565b039134905af19081156107ca5760009161078a575b6020826040519015158152f35b6020813d6020116107c2575b816107a360209383610b69565b810103126107be575180151581036107be579050602061077d565b5080fd5b3d9150610796565b6040513d6000823e3d90fd5b3461058c57600036600319011261058c57606060806040516107f781610b4e565b6000815260006020820152600060408201528280820152015260405161081c81610b4e565b600080516020610d60833981519152546001600160a01b0390811682527ff304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a7089015416602082019081527ff304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a70890254604080840191825251600080516020610d80833981519152549293928160006108ad83610b8a565b8083529260018116908115610a5857506001146109fd575b6108d192500382610b69565b60608301908152604051916000600080516020610d00833981519152546108f781610b8a565b80865290600181169081156109d95750600114610983575b509161096c916109258561097f96950385610b69565b608086019384526040519687966020885260018060a01b03905116602088015260018060a01b0390511660408701525160608601525160a0608086015260c0850190610aca565b9051838203601f190160a0850152610aca565b0390f35b600080516020610d0083398151915260009081529150600080516020610d208339815191525b8183106109bf575050830160200161096c61090f565b6001816020929493945483858a01015201910191906109a9565b60ff191660208088019190915291151560051b8601909101915061096c905061090f565b50600080516020610d8083398151915260009081529091600080516020610d408339815191525b818310610a3c5750509060206108d1928201016108c5565b6020919350806001915483858801015201910190918392610a24565b602092506108d194915060ff191682840152151560051b8201016108c5565b3461058c57602036600319011261058c576004359063ffffffff60e01b821680920361058c576020916301ffc9a760e01b8114908115610ab9575b5015158152f35b633e84f8e360e01b14905083610ab2565b919082519283825260005b848110610af6575050826000602080949584010152601f8019910116010190565b80602080928401015182828601015201610ad5565b9181601f8401121561058c578235916001600160401b03831161058c576020838186019501011161058c57565b602435906001600160a01b038216820361058c57565b60a081019081106001600160401b0382111761043e57604052565b90601f801991011681019081106001600160401b0382111761043e57604052565b90600182811c92168015610bba575b6020831014610ba457565b634e487b7160e01b600052602260045260246000fd5b91607f1691610b99565b908060209392818452848401376000828201840152601f01601f1916010190565b9493926002821015610c1d57606092610c1892875260018060a01b03166020870152608060408701526080860190610aca565b930152565b634e487b7160e01b600052602160045260246000fd5b9091939284511580610ce0575b610cd7576002821015610c1d5760018203610cc457600080865160208801865af4945b8515610ca2577f1c96d0d403ab5775272e1a820cb06f02ae5c0fc5fccb9d014c2bf9f045009172939291610c9d9160405194859485610be5565b0390a1565b90610cc091604051948594631cff564160e21b865260048601610be5565b0390fd5b60008086516020880184875af194610c63565b50600193505050565b508015610c40565b818110610cf3575050565b60008155600101610ce856fef304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708904593389ffcae5d5ac7abc8a7d0ded51b7fb0334335118eec3a8f8f41bf2879d65c394ce00b8f43a7a1e6b4be39eef6b85f5e64073751e9deb8caaec94b37d939ef304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708900f304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708903f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a164736f6c634300081e000a";
327
-
328
- type SLCCoreConstructorParams =
329
- | [signer?: Signer]
330
- | ConstructorParameters<typeof ContractFactory>;
331
-
332
- const isSuperArgs = (
333
- xs: SLCCoreConstructorParams
334
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
335
-
336
- export class SLCCore__factory extends ContractFactory {
337
- constructor(...args: SLCCoreConstructorParams) {
338
- if (isSuperArgs(args)) {
339
- super(...args);
340
- } else {
341
- super(_abi, _bytecode, args[0]);
342
- }
343
- this.contractName = "SLCCore";
344
- }
345
-
346
- override getDeployTransaction(
347
- overrides?: NonPayableOverrides & { from?: string }
348
- ): Promise<ContractDeployTransaction> {
349
- return super.getDeployTransaction(overrides || {});
350
- }
351
- override deploy(overrides?: NonPayableOverrides & { from?: string }) {
352
- return super.deploy(overrides || {}) as Promise<
353
- SLCCore & {
354
- deploymentTransaction(): ContractTransactionResponse;
355
- }
356
- >;
357
- }
358
- override connect(runner: ContractRunner | null): SLCCore__factory {
359
- return super.connect(runner) as SLCCore__factory;
360
- }
361
- static readonly contractName: "SLCCore";
362
-
363
- public readonly contractName: "SLCCore";
364
-
365
- static readonly bytecode = _bytecode;
366
- static readonly abi = _abi;
367
- static createInterface(): SLCCoreInterface {
368
- return new Interface(_abi) as SLCCoreInterface;
369
- }
370
- static connect(address: string, runner?: ContractRunner | null): SLCCore {
371
- return new Contract(address, _abi, runner) as unknown as SLCCore;
372
- }
373
- }