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