@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
@@ -0,0 +1,521 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.INeutralsRegistry__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "delegator",
14
+ type: "address",
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "neutral",
19
+ type: "address",
20
+ },
21
+ {
22
+ internalType: "uint256",
23
+ name: "requested",
24
+ type: "uint256",
25
+ },
26
+ {
27
+ internalType: "uint256",
28
+ name: "availible",
29
+ type: "uint256",
30
+ },
31
+ ],
32
+ name: "InsufficientDelegationAmount",
33
+ type: "error",
34
+ },
35
+ {
36
+ inputs: [
37
+ {
38
+ internalType: "uint256",
39
+ name: "amount",
40
+ type: "uint256",
41
+ },
42
+ ],
43
+ name: "InvalidDelegationAmount",
44
+ type: "error",
45
+ },
46
+ {
47
+ inputs: [
48
+ {
49
+ internalType: "uint256",
50
+ name: "requestedDelegation",
51
+ type: "uint256",
52
+ },
53
+ {
54
+ internalType: "uint256",
55
+ name: "currentDelegatedStake",
56
+ type: "uint256",
57
+ },
58
+ {
59
+ internalType: "uint256",
60
+ name: "maxPossibleDelegatedStake",
61
+ type: "uint256",
62
+ },
63
+ ],
64
+ name: "MaxDelegationAmplificationConstraintViolated",
65
+ type: "error",
66
+ },
67
+ {
68
+ inputs: [
69
+ {
70
+ internalType: "address",
71
+ name: "neutral",
72
+ type: "address",
73
+ },
74
+ ],
75
+ name: "NeutralAlreadyPaused",
76
+ type: "error",
77
+ },
78
+ {
79
+ inputs: [
80
+ {
81
+ internalType: "address",
82
+ name: "subject",
83
+ type: "address",
84
+ },
85
+ ],
86
+ name: "NeutralCannotDelegateToHimself",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [
91
+ {
92
+ internalType: "address",
93
+ name: "neutral",
94
+ type: "address",
95
+ },
96
+ ],
97
+ name: "NeutralHasNoStake",
98
+ type: "error",
99
+ },
100
+ {
101
+ inputs: [
102
+ {
103
+ internalType: "address",
104
+ name: "neutral",
105
+ type: "address",
106
+ },
107
+ ],
108
+ name: "NeutralNotPaused",
109
+ type: "error",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "address",
115
+ name: "subject",
116
+ type: "address",
117
+ },
118
+ ],
119
+ name: "NoWithdrawalAnnouncement",
120
+ type: "error",
121
+ },
122
+ {
123
+ inputs: [
124
+ {
125
+ internalType: "uint256",
126
+ name: "providedNumber",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ internalType: "uint256",
131
+ name: "activeNeutralsCount",
132
+ type: "uint256",
133
+ },
134
+ ],
135
+ name: "SelectedNeutralsNumberOutOfRange",
136
+ type: "error",
137
+ },
138
+ {
139
+ inputs: [
140
+ {
141
+ internalType: "address",
142
+ name: "subject",
143
+ type: "address",
144
+ },
145
+ ],
146
+ name: "WithdrawalAlreadyAnnounced",
147
+ type: "error",
148
+ },
149
+ {
150
+ inputs: [
151
+ {
152
+ internalType: "address",
153
+ name: "subject",
154
+ type: "address",
155
+ },
156
+ {
157
+ internalType: "uint256",
158
+ name: "availableAt",
159
+ type: "uint256",
160
+ },
161
+ ],
162
+ name: "WithdrawalNotReady",
163
+ type: "error",
164
+ },
165
+ {
166
+ anonymous: false,
167
+ inputs: [
168
+ {
169
+ indexed: false,
170
+ internalType: "address",
171
+ name: "delegator",
172
+ type: "address",
173
+ },
174
+ {
175
+ indexed: false,
176
+ internalType: "address",
177
+ name: "neutral",
178
+ type: "address",
179
+ },
180
+ {
181
+ indexed: false,
182
+ internalType: "uint256",
183
+ name: "amount",
184
+ type: "uint256",
185
+ },
186
+ ],
187
+ name: "DelegationWithdrawn",
188
+ type: "event",
189
+ },
190
+ {
191
+ anonymous: false,
192
+ inputs: [
193
+ {
194
+ indexed: true,
195
+ internalType: "address",
196
+ name: "neutral",
197
+ type: "address",
198
+ },
199
+ {
200
+ indexed: false,
201
+ internalType: "uint256",
202
+ name: "stake",
203
+ type: "uint256",
204
+ },
205
+ ],
206
+ name: "NeutralActivated",
207
+ type: "event",
208
+ },
209
+ {
210
+ anonymous: false,
211
+ inputs: [
212
+ {
213
+ indexed: true,
214
+ internalType: "address",
215
+ name: "neutral",
216
+ type: "address",
217
+ },
218
+ ],
219
+ name: "NeutralMovedToStandby",
220
+ type: "event",
221
+ },
222
+ {
223
+ anonymous: false,
224
+ inputs: [
225
+ {
226
+ indexed: true,
227
+ internalType: "address",
228
+ name: "neutral",
229
+ type: "address",
230
+ },
231
+ ],
232
+ name: "NeutralPaused",
233
+ type: "event",
234
+ },
235
+ {
236
+ anonymous: false,
237
+ inputs: [
238
+ {
239
+ indexed: true,
240
+ internalType: "address",
241
+ name: "neutral",
242
+ type: "address",
243
+ },
244
+ {
245
+ indexed: false,
246
+ internalType: "uint256",
247
+ name: "amount",
248
+ type: "uint256",
249
+ },
250
+ {
251
+ indexed: false,
252
+ internalType: "address",
253
+ name: "recipient",
254
+ type: "address",
255
+ },
256
+ ],
257
+ name: "NeutralSlashed",
258
+ type: "event",
259
+ },
260
+ {
261
+ anonymous: false,
262
+ inputs: [
263
+ {
264
+ indexed: true,
265
+ internalType: "address",
266
+ name: "neutral",
267
+ type: "address",
268
+ },
269
+ {
270
+ indexed: false,
271
+ internalType: "uint256",
272
+ name: "amount",
273
+ type: "uint256",
274
+ },
275
+ {
276
+ indexed: false,
277
+ internalType: "uint256",
278
+ name: "totalStake",
279
+ type: "uint256",
280
+ },
281
+ ],
282
+ name: "NeutralStaked",
283
+ type: "event",
284
+ },
285
+ {
286
+ anonymous: false,
287
+ inputs: [
288
+ {
289
+ indexed: true,
290
+ internalType: "address",
291
+ name: "neutral",
292
+ type: "address",
293
+ },
294
+ ],
295
+ name: "NeutralUnpaused",
296
+ type: "event",
297
+ },
298
+ {
299
+ anonymous: false,
300
+ inputs: [
301
+ {
302
+ indexed: true,
303
+ internalType: "address",
304
+ name: "neutral",
305
+ type: "address",
306
+ },
307
+ {
308
+ indexed: false,
309
+ internalType: "uint256",
310
+ name: "amount",
311
+ type: "uint256",
312
+ },
313
+ {
314
+ indexed: false,
315
+ internalType: "uint256",
316
+ name: "remainingStake",
317
+ type: "uint256",
318
+ },
319
+ ],
320
+ name: "NeutralUnstaked",
321
+ type: "event",
322
+ },
323
+ {
324
+ anonymous: false,
325
+ inputs: [
326
+ {
327
+ indexed: true,
328
+ internalType: "address",
329
+ name: "neutral",
330
+ type: "address",
331
+ },
332
+ {
333
+ indexed: false,
334
+ internalType: "uint256",
335
+ name: "amount",
336
+ type: "uint256",
337
+ },
338
+ ],
339
+ name: "RewardsClaimed",
340
+ type: "event",
341
+ },
342
+ {
343
+ anonymous: false,
344
+ inputs: [
345
+ {
346
+ indexed: false,
347
+ internalType: "address[]",
348
+ name: "selectedNeutrals",
349
+ type: "address[]",
350
+ },
351
+ {
352
+ indexed: false,
353
+ internalType: "uint256",
354
+ name: "totalAmount",
355
+ type: "uint256",
356
+ },
357
+ ],
358
+ name: "RewardsDistributed",
359
+ type: "event",
360
+ },
361
+ {
362
+ anonymous: false,
363
+ inputs: [
364
+ {
365
+ indexed: true,
366
+ internalType: "address",
367
+ name: "neutral",
368
+ type: "address",
369
+ },
370
+ {
371
+ indexed: false,
372
+ internalType: "uint256",
373
+ name: "amount",
374
+ type: "uint256",
375
+ },
376
+ {
377
+ indexed: false,
378
+ internalType: "uint256",
379
+ name: "availableAt",
380
+ type: "uint256",
381
+ },
382
+ ],
383
+ name: "WithdrawalAnnounced",
384
+ type: "event",
385
+ },
386
+ {
387
+ anonymous: false,
388
+ inputs: [
389
+ {
390
+ indexed: true,
391
+ internalType: "address",
392
+ name: "neutral",
393
+ type: "address",
394
+ },
395
+ {
396
+ indexed: false,
397
+ internalType: "uint256",
398
+ name: "amount",
399
+ type: "uint256",
400
+ },
401
+ ],
402
+ name: "WithdrawalCancelled",
403
+ type: "event",
404
+ },
405
+ {
406
+ inputs: [
407
+ {
408
+ internalType: "address[]",
409
+ name: "selectedNeutrals_",
410
+ type: "address[]",
411
+ },
412
+ {
413
+ internalType: "uint256",
414
+ name: "amount_",
415
+ type: "uint256",
416
+ },
417
+ ],
418
+ name: "distributeRewards",
419
+ outputs: [],
420
+ stateMutability: "nonpayable",
421
+ type: "function",
422
+ },
423
+ {
424
+ inputs: [],
425
+ name: "getNeutralsCount",
426
+ outputs: [
427
+ {
428
+ internalType: "uint256",
429
+ name: "",
430
+ type: "uint256",
431
+ },
432
+ ],
433
+ stateMutability: "view",
434
+ type: "function",
435
+ },
436
+ {
437
+ inputs: [
438
+ {
439
+ internalType: "uint256",
440
+ name: "number_",
441
+ type: "uint256",
442
+ },
443
+ ],
444
+ name: "getNeutralsSlice",
445
+ outputs: [
446
+ {
447
+ internalType: "address[]",
448
+ name: "",
449
+ type: "address[]",
450
+ },
451
+ ],
452
+ stateMutability: "view",
453
+ type: "function",
454
+ },
455
+ {
456
+ inputs: [
457
+ {
458
+ internalType: "address",
459
+ name: "candidate_",
460
+ type: "address",
461
+ },
462
+ ],
463
+ name: "isNeutral",
464
+ outputs: [
465
+ {
466
+ internalType: "bool",
467
+ name: "",
468
+ type: "bool",
469
+ },
470
+ ],
471
+ stateMutability: "view",
472
+ type: "function",
473
+ },
474
+ {
475
+ inputs: [
476
+ {
477
+ internalType: "address",
478
+ name: "neutral_",
479
+ type: "address",
480
+ },
481
+ {
482
+ internalType: "uint256",
483
+ name: "amount_",
484
+ type: "uint256",
485
+ },
486
+ ],
487
+ name: "slashNeutral",
488
+ outputs: [],
489
+ stateMutability: "nonpayable",
490
+ type: "function",
491
+ },
492
+ {
493
+ inputs: [
494
+ {
495
+ internalType: "bytes4",
496
+ name: "interfaceId",
497
+ type: "bytes4",
498
+ },
499
+ ],
500
+ name: "supportsInterface",
501
+ outputs: [
502
+ {
503
+ internalType: "bool",
504
+ name: "",
505
+ type: "bool",
506
+ },
507
+ ],
508
+ stateMutability: "view",
509
+ type: "function",
510
+ },
511
+ ];
512
+ class INeutralsRegistry__factory {
513
+ static abi = _abi;
514
+ static createInterface() {
515
+ return new ethers_1.Interface(_abi);
516
+ }
517
+ static connect(address, runner) {
518
+ return new ethers_1.Contract(address, _abi, runner);
519
+ }
520
+ }
521
+ exports.INeutralsRegistry__factory = INeutralsRegistry__factory;
@@ -0,0 +1,63 @@
1
+ import { type ContractRunner } from "ethers";
2
+ import type { IQParameters, IQParametersInterface } from "../../../contracts/interfaces/IQParameters";
3
+ export declare class IQParameters__factory {
4
+ static readonly abi: readonly [{
5
+ readonly inputs: readonly [{
6
+ readonly internalType: "string";
7
+ readonly name: "_key";
8
+ readonly type: "string";
9
+ }];
10
+ readonly name: "getAddr";
11
+ readonly outputs: readonly [{
12
+ readonly internalType: "address";
13
+ readonly name: "";
14
+ readonly type: "address";
15
+ }];
16
+ readonly stateMutability: "view";
17
+ readonly type: "function";
18
+ }, {
19
+ readonly inputs: readonly [{
20
+ readonly internalType: "string";
21
+ readonly name: "_key";
22
+ readonly type: "string";
23
+ }];
24
+ readonly name: "getBytes32";
25
+ readonly outputs: readonly [{
26
+ readonly internalType: "bytes32";
27
+ readonly name: "";
28
+ readonly type: "bytes32";
29
+ }];
30
+ readonly stateMutability: "view";
31
+ readonly type: "function";
32
+ }, {
33
+ readonly inputs: readonly [{
34
+ readonly internalType: "string";
35
+ readonly name: "_key";
36
+ readonly type: "string";
37
+ }];
38
+ readonly name: "getString";
39
+ readonly outputs: readonly [{
40
+ readonly internalType: "string";
41
+ readonly name: "";
42
+ readonly type: "string";
43
+ }];
44
+ readonly stateMutability: "view";
45
+ readonly type: "function";
46
+ }, {
47
+ readonly inputs: readonly [{
48
+ readonly internalType: "string";
49
+ readonly name: "_key";
50
+ readonly type: "string";
51
+ }];
52
+ readonly name: "getUint";
53
+ readonly outputs: readonly [{
54
+ readonly internalType: "uint256";
55
+ readonly name: "";
56
+ readonly type: "uint256";
57
+ }];
58
+ readonly stateMutability: "view";
59
+ readonly type: "function";
60
+ }];
61
+ static createInterface(): IQParametersInterface;
62
+ static connect(address: string, runner?: ContractRunner | null): IQParameters;
63
+ }
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IQParameters__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "string",
13
+ name: "_key",
14
+ type: "string",
15
+ },
16
+ ],
17
+ name: "getAddr",
18
+ outputs: [
19
+ {
20
+ internalType: "address",
21
+ name: "",
22
+ type: "address",
23
+ },
24
+ ],
25
+ stateMutability: "view",
26
+ type: "function",
27
+ },
28
+ {
29
+ inputs: [
30
+ {
31
+ internalType: "string",
32
+ name: "_key",
33
+ type: "string",
34
+ },
35
+ ],
36
+ name: "getBytes32",
37
+ outputs: [
38
+ {
39
+ internalType: "bytes32",
40
+ name: "",
41
+ type: "bytes32",
42
+ },
43
+ ],
44
+ stateMutability: "view",
45
+ type: "function",
46
+ },
47
+ {
48
+ inputs: [
49
+ {
50
+ internalType: "string",
51
+ name: "_key",
52
+ type: "string",
53
+ },
54
+ ],
55
+ name: "getString",
56
+ outputs: [
57
+ {
58
+ internalType: "string",
59
+ name: "",
60
+ type: "string",
61
+ },
62
+ ],
63
+ stateMutability: "view",
64
+ type: "function",
65
+ },
66
+ {
67
+ inputs: [
68
+ {
69
+ internalType: "string",
70
+ name: "_key",
71
+ type: "string",
72
+ },
73
+ ],
74
+ name: "getUint",
75
+ outputs: [
76
+ {
77
+ internalType: "uint256",
78
+ name: "",
79
+ type: "uint256",
80
+ },
81
+ ],
82
+ stateMutability: "view",
83
+ type: "function",
84
+ },
85
+ ];
86
+ class IQParameters__factory {
87
+ static abi = _abi;
88
+ static createInterface() {
89
+ return new ethers_1.Interface(_abi);
90
+ }
91
+ static connect(address, runner) {
92
+ return new ethers_1.Contract(address, _abi, runner);
93
+ }
94
+ }
95
+ exports.IQParameters__factory = IQParameters__factory;