@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,472 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, ContractFactory, Interface, } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "string",
10
+ name: "name_",
11
+ type: "string",
12
+ },
13
+ {
14
+ internalType: "string",
15
+ name: "symbol_",
16
+ type: "string",
17
+ },
18
+ ],
19
+ stateMutability: "nonpayable",
20
+ type: "constructor",
21
+ },
22
+ {
23
+ inputs: [
24
+ {
25
+ internalType: "address",
26
+ name: "spender",
27
+ type: "address",
28
+ },
29
+ {
30
+ internalType: "uint256",
31
+ name: "allowance",
32
+ type: "uint256",
33
+ },
34
+ {
35
+ internalType: "uint256",
36
+ name: "needed",
37
+ type: "uint256",
38
+ },
39
+ ],
40
+ name: "ERC20InsufficientAllowance",
41
+ type: "error",
42
+ },
43
+ {
44
+ inputs: [
45
+ {
46
+ internalType: "address",
47
+ name: "sender",
48
+ type: "address",
49
+ },
50
+ {
51
+ internalType: "uint256",
52
+ name: "balance",
53
+ type: "uint256",
54
+ },
55
+ {
56
+ internalType: "uint256",
57
+ name: "needed",
58
+ type: "uint256",
59
+ },
60
+ ],
61
+ name: "ERC20InsufficientBalance",
62
+ type: "error",
63
+ },
64
+ {
65
+ inputs: [
66
+ {
67
+ internalType: "address",
68
+ name: "approver",
69
+ type: "address",
70
+ },
71
+ ],
72
+ name: "ERC20InvalidApprover",
73
+ type: "error",
74
+ },
75
+ {
76
+ inputs: [
77
+ {
78
+ internalType: "address",
79
+ name: "receiver",
80
+ type: "address",
81
+ },
82
+ ],
83
+ name: "ERC20InvalidReceiver",
84
+ type: "error",
85
+ },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "address",
90
+ name: "sender",
91
+ type: "address",
92
+ },
93
+ ],
94
+ name: "ERC20InvalidSender",
95
+ type: "error",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "address",
101
+ name: "spender",
102
+ type: "address",
103
+ },
104
+ ],
105
+ name: "ERC20InvalidSpender",
106
+ type: "error",
107
+ },
108
+ {
109
+ inputs: [
110
+ {
111
+ internalType: "address",
112
+ name: "owner",
113
+ type: "address",
114
+ },
115
+ ],
116
+ name: "OwnableInvalidOwner",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [
121
+ {
122
+ internalType: "address",
123
+ name: "account",
124
+ type: "address",
125
+ },
126
+ ],
127
+ name: "OwnableUnauthorizedAccount",
128
+ type: "error",
129
+ },
130
+ {
131
+ anonymous: false,
132
+ inputs: [
133
+ {
134
+ indexed: true,
135
+ internalType: "address",
136
+ name: "owner",
137
+ type: "address",
138
+ },
139
+ {
140
+ indexed: true,
141
+ internalType: "address",
142
+ name: "spender",
143
+ type: "address",
144
+ },
145
+ {
146
+ indexed: false,
147
+ internalType: "uint256",
148
+ name: "value",
149
+ type: "uint256",
150
+ },
151
+ ],
152
+ name: "Approval",
153
+ type: "event",
154
+ },
155
+ {
156
+ anonymous: false,
157
+ inputs: [
158
+ {
159
+ indexed: true,
160
+ internalType: "address",
161
+ name: "previousOwner",
162
+ type: "address",
163
+ },
164
+ {
165
+ indexed: true,
166
+ internalType: "address",
167
+ name: "newOwner",
168
+ type: "address",
169
+ },
170
+ ],
171
+ name: "OwnershipTransferred",
172
+ type: "event",
173
+ },
174
+ {
175
+ anonymous: false,
176
+ inputs: [
177
+ {
178
+ indexed: true,
179
+ internalType: "address",
180
+ name: "from",
181
+ type: "address",
182
+ },
183
+ {
184
+ indexed: true,
185
+ internalType: "address",
186
+ name: "to",
187
+ type: "address",
188
+ },
189
+ {
190
+ indexed: false,
191
+ internalType: "uint256",
192
+ name: "value",
193
+ type: "uint256",
194
+ },
195
+ ],
196
+ name: "Transfer",
197
+ type: "event",
198
+ },
199
+ {
200
+ inputs: [
201
+ {
202
+ internalType: "address",
203
+ name: "owner",
204
+ type: "address",
205
+ },
206
+ {
207
+ internalType: "address",
208
+ name: "spender",
209
+ type: "address",
210
+ },
211
+ ],
212
+ name: "allowance",
213
+ outputs: [
214
+ {
215
+ internalType: "uint256",
216
+ name: "",
217
+ type: "uint256",
218
+ },
219
+ ],
220
+ stateMutability: "view",
221
+ type: "function",
222
+ },
223
+ {
224
+ inputs: [
225
+ {
226
+ internalType: "address",
227
+ name: "spender",
228
+ type: "address",
229
+ },
230
+ {
231
+ internalType: "uint256",
232
+ name: "value",
233
+ type: "uint256",
234
+ },
235
+ ],
236
+ name: "approve",
237
+ outputs: [
238
+ {
239
+ internalType: "bool",
240
+ name: "",
241
+ type: "bool",
242
+ },
243
+ ],
244
+ stateMutability: "nonpayable",
245
+ type: "function",
246
+ },
247
+ {
248
+ inputs: [
249
+ {
250
+ internalType: "address",
251
+ name: "account",
252
+ type: "address",
253
+ },
254
+ ],
255
+ name: "balanceOf",
256
+ outputs: [
257
+ {
258
+ internalType: "uint256",
259
+ name: "",
260
+ type: "uint256",
261
+ },
262
+ ],
263
+ stateMutability: "view",
264
+ type: "function",
265
+ },
266
+ {
267
+ inputs: [
268
+ {
269
+ internalType: "address",
270
+ name: "to_",
271
+ type: "address",
272
+ },
273
+ {
274
+ internalType: "uint256",
275
+ name: "amount_",
276
+ type: "uint256",
277
+ },
278
+ ],
279
+ name: "burn",
280
+ outputs: [],
281
+ stateMutability: "nonpayable",
282
+ type: "function",
283
+ },
284
+ {
285
+ inputs: [],
286
+ name: "decimals",
287
+ outputs: [
288
+ {
289
+ internalType: "uint8",
290
+ name: "",
291
+ type: "uint8",
292
+ },
293
+ ],
294
+ stateMutability: "view",
295
+ type: "function",
296
+ },
297
+ {
298
+ inputs: [
299
+ {
300
+ internalType: "address",
301
+ name: "to_",
302
+ type: "address",
303
+ },
304
+ {
305
+ internalType: "uint256",
306
+ name: "amount_",
307
+ type: "uint256",
308
+ },
309
+ ],
310
+ name: "mint",
311
+ outputs: [],
312
+ stateMutability: "nonpayable",
313
+ type: "function",
314
+ },
315
+ {
316
+ inputs: [],
317
+ name: "name",
318
+ outputs: [
319
+ {
320
+ internalType: "string",
321
+ name: "",
322
+ type: "string",
323
+ },
324
+ ],
325
+ stateMutability: "view",
326
+ type: "function",
327
+ },
328
+ {
329
+ inputs: [],
330
+ name: "owner",
331
+ outputs: [
332
+ {
333
+ internalType: "address",
334
+ name: "",
335
+ type: "address",
336
+ },
337
+ ],
338
+ stateMutability: "view",
339
+ type: "function",
340
+ },
341
+ {
342
+ inputs: [],
343
+ name: "renounceOwnership",
344
+ outputs: [],
345
+ stateMutability: "nonpayable",
346
+ type: "function",
347
+ },
348
+ {
349
+ inputs: [],
350
+ name: "symbol",
351
+ outputs: [
352
+ {
353
+ internalType: "string",
354
+ name: "",
355
+ type: "string",
356
+ },
357
+ ],
358
+ stateMutability: "view",
359
+ type: "function",
360
+ },
361
+ {
362
+ inputs: [],
363
+ name: "totalSupply",
364
+ outputs: [
365
+ {
366
+ internalType: "uint256",
367
+ name: "",
368
+ type: "uint256",
369
+ },
370
+ ],
371
+ stateMutability: "view",
372
+ type: "function",
373
+ },
374
+ {
375
+ inputs: [
376
+ {
377
+ internalType: "address",
378
+ name: "to",
379
+ type: "address",
380
+ },
381
+ {
382
+ internalType: "uint256",
383
+ name: "value",
384
+ type: "uint256",
385
+ },
386
+ ],
387
+ name: "transfer",
388
+ outputs: [
389
+ {
390
+ internalType: "bool",
391
+ name: "",
392
+ type: "bool",
393
+ },
394
+ ],
395
+ stateMutability: "nonpayable",
396
+ type: "function",
397
+ },
398
+ {
399
+ inputs: [
400
+ {
401
+ internalType: "address",
402
+ name: "from",
403
+ type: "address",
404
+ },
405
+ {
406
+ internalType: "address",
407
+ name: "to",
408
+ type: "address",
409
+ },
410
+ {
411
+ internalType: "uint256",
412
+ name: "value",
413
+ type: "uint256",
414
+ },
415
+ ],
416
+ name: "transferFrom",
417
+ outputs: [
418
+ {
419
+ internalType: "bool",
420
+ name: "",
421
+ type: "bool",
422
+ },
423
+ ],
424
+ stateMutability: "nonpayable",
425
+ type: "function",
426
+ },
427
+ {
428
+ inputs: [
429
+ {
430
+ internalType: "address",
431
+ name: "newOwner",
432
+ type: "address",
433
+ },
434
+ ],
435
+ name: "transferOwnership",
436
+ outputs: [],
437
+ stateMutability: "nonpayable",
438
+ type: "function",
439
+ },
440
+ ];
441
+ const _bytecode = "0x60806040523461038557610ce7803803806100198161038a565b9283398101906040818303126103855780516001600160401b03811161038557826100459183016103af565b60208201519092906001600160401b0381116103855761006592016103af565b81516001600160401b03811161029057600354600181811c9116801561037b575b602082101461027057601f8111610316575b50602092601f82116001146102b157928192936000926102a6575b50508160011b916000199060031b1c1916176003555b80516001600160401b03811161029057600454600181811c91168015610286575b602082101461027057601f811161020b575b50602091601f82116001146101a75791819260009261019c575b50508160011b916000199060031b1c1916176004555b33156101865760058054336001600160a01b03198216811790925560405191906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a36108cc908161041b8239f35b631e4fbdf760e01b600052600060045260246000fd5b015190503880610116565b601f198216926004600052806000209160005b8581106101f3575083600195106101da575b505050811b0160045561012c565b015160001960f88460031b161c191690553880806101cc565b919260206001819286850151815501940192016101ba565b60046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c81019160208410610266575b601f0160051c01905b81811061025a57506100fc565b6000815560010161024d565b9091508190610244565b634e487b7160e01b600052602260045260246000fd5b90607f16906100ea565b634e487b7160e01b600052604160045260246000fd5b0151905038806100b3565b601f198216936003600052806000209160005b8681106102fe57508360019596106102e5575b505050811b016003556100c9565b015160001960f88460031b161c191690553880806102d7565b919260206001819286850151815501940192016102c4565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c81019160208410610371575b601f0160051c01905b8181106103655750610098565b60008155600101610358565b909150819061034f565b90607f1690610086565b600080fd5b6040519190601f01601f191682016001600160401b0381118382101761029057604052565b81601f82011215610385578051906001600160401b038211610290576103de601f8301601f191660200161038a565b92828452602083830101116103855760005b82811061040557505060206000918301015290565b806020809284010151828287010152016103f056fe608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146106a757508063095ea7b31461062157806318160ddd1461060357806323b872dd14610516578063313ce567146104fa57806340c10f191461045857806370a082311461041e578063715018a6146103c15780638da5cb5b1461039857806395d89b41146102775780639dc29fac146101ca578063a9059cbb14610199578063dd62ed3e146101485763f2fde38b146100b957600080fd5b34610143576020366003190112610143576100d26107c3565b6100da610876565b6001600160a01b0316801561012d57600580546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b34610143576040366003190112610143576101616107c3565b6101696107d9565b6001600160a01b039182166000908152600160209081526040808320949093168252928352819020549051908152f35b34610143576040366003190112610143576101bf6101b56107c3565b60243590336107ef565b602060405160018152f35b34610143576040366003190112610143576101e36107c3565b602435906101ef610876565b6001600160a01b0316908115610261576000908282528160205260408220548181106102495760208285936000805160206108a083398151915293869787528684520360408620558060025403600255604051908152a380f35b60649363391434e360e21b8452600452602452604452fd5b634b637e8f60e11b600052600060045260246000fd5b346101435760003660031901126101435760405160006004548060011c9060018116801561038e575b60208310811461037a5782855290811561035e5750600114610307575b50819003601f01601f191681019067ffffffffffffffff8211818310176102f1576102ed8291826040528261077a565b0390f35b634e487b7160e01b600052604160045260246000fd5b600460009081529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b828210610348575060209150820101826102bd565b6001816020925483858801015201910190610333565b90506020925060ff191682840152151560051b820101826102bd565b634e487b7160e01b84526022600452602484fd5b91607f16916102a0565b34610143576000366003190112610143576005546040516001600160a01b039091168152602090f35b34610143576000366003190112610143576103da610876565b600580546001600160a01b031981169091556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610143576020366003190112610143576001600160a01b0361043f6107c3565b1660005260006020526020604060002054604051908152f35b34610143576040366003190112610143576104716107c3565b6024359061047d610876565b6001600160a01b031680156104e457600254918083018093116104ce576020926002556000805160206108a0833981519152600093849284845283825260408420818154019055604051908152a380f35b634e487b7160e01b600052601160045260246000fd5b63ec442f0560e01b600052600060045260246000fd5b3461014357600036600319011261014357602060405160128152f35b346101435760603660031901126101435761052f6107c3565b6105376107d9565b6001600160a01b0382166000818152600160209081526040808320338452909152902054909260443592916000198110610577575b506101bf93506107ef565b8381106105e65784156105d05733156105ba576101bf946000526001602052604060002060018060a01b033316600052602052836040600020910390558461056c565b634a1406b160e11b600052600060045260246000fd5b63e602df0560e01b600052600060045260246000fd5b8390637dc7a0d960e11b6000523360045260245260445260646000fd5b34610143576000366003190112610143576020600254604051908152f35b346101435760403660031901126101435761063a6107c3565b6024359033156105d0576001600160a01b03169081156105ba57336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346101435760003660031901126101435760006003548060011c90600181168015610770575b60208310811461037a5782855290811561035e57506001146107195750819003601f01601f191681019067ffffffffffffffff8211818310176102f1576102ed8291826040528261077a565b600360009081529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82821061075a575060209150820101826102bd565b6001816020925483858801015201910190610745565b91607f16916106cd565b91909160208152825180602083015260005b8181106107ad575060409293506000838284010152601f8019910116010190565b806020809287010151604082860101520161078c565b600435906001600160a01b038216820361014357565b602435906001600160a01b038216820361014357565b6001600160a01b0316908115610261576001600160a01b03169182156104e457600082815280602052604081205482811061085c5791604082826000805160206108a0833981519152958760209652828652038282205586815280845220818154019055604051908152a3565b916064928463391434e360e21b8452600452602452604452fd5b6005546001600160a01b0316330361088a57565b63118cdaa760e01b6000523360045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa164736f6c634300081e000a";
442
+ const isSuperArgs = (xs) => xs.length > 1;
443
+ export class Token__factory extends ContractFactory {
444
+ constructor(...args) {
445
+ if (isSuperArgs(args)) {
446
+ super(...args);
447
+ }
448
+ else {
449
+ super(_abi, _bytecode, args[0]);
450
+ }
451
+ this.contractName = "Token";
452
+ }
453
+ getDeployTransaction(name_, symbol_, overrides) {
454
+ return super.getDeployTransaction(name_, symbol_, overrides || {});
455
+ }
456
+ deploy(name_, symbol_, overrides) {
457
+ return super.deploy(name_, symbol_, overrides || {});
458
+ }
459
+ connect(runner) {
460
+ return super.connect(runner);
461
+ }
462
+ static contractName;
463
+ contractName;
464
+ static bytecode = _bytecode;
465
+ static abi = _abi;
466
+ static createInterface() {
467
+ return new Interface(_abi);
468
+ }
469
+ static connect(address, runner) {
470
+ return new Contract(address, _abi, runner);
471
+ }
472
+ }
@@ -0,0 +1 @@
1
+ export { Token__factory } from "./Token__factory";
@@ -0,0 +1,5 @@
1
+ export * from "./constants";
2
+ export * from "./contracts/governance";
3
+ export * from "./contracts/slc-core";
4
+ export * from "./factories/contracts/governance";
5
+ export * from "./factories/contracts/slc-core";
@@ -0,0 +1,7 @@
1
+ export * from "./constants";
2
+ // Re-exports from contracts
3
+ export * from "./contracts/governance";
4
+ export * from "./contracts/slc-core";
5
+ // Re-exports from factories
6
+ export * from "./factories/contracts/governance";
7
+ export * from "./factories/contracts/slc-core";
package/package.json CHANGED
@@ -1,11 +1,18 @@
1
1
  {
2
2
  "name": "@web3dotorg/evm-slc-core-sdk",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "author": "<TBD>",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/web3dotorg/evm-slc-core.git"
8
8
  },
9
+ "main": "./lib.commonjs/index.js",
10
+ "module": "./lib.esm/index.js",
11
+ "files": [
12
+ "lib.commonjs",
13
+ "lib.esm",
14
+ "!**/*.tsbuildinfo"
15
+ ],
9
16
  "homepage": "https://github.com/web3dotorg/evm-slc-core#readme",
10
17
  "bugs": {
11
18
  "url": "https://github.com/web3dotorg/evm-slc-core/issues"
@@ -15,9 +22,9 @@
15
22
  "tag": "latest"
16
23
  },
17
24
  "keywords": [
18
- "solidity",
19
25
  "smart-contracts",
20
- "web3"
26
+ "web3",
27
+ "sdk"
21
28
  ],
22
29
  "dependencies": {
23
30
  "ethers": "^6.15.0"
package/common.ts DELETED
@@ -1,131 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type {
5
- FunctionFragment,
6
- Typed,
7
- EventFragment,
8
- ContractTransaction,
9
- ContractTransactionResponse,
10
- DeferredTopicFilter,
11
- EventLog,
12
- TransactionRequest,
13
- LogDescription,
14
- } from "ethers";
15
-
16
- export interface TypedDeferredTopicFilter<_TCEvent extends TypedContractEvent>
17
- extends DeferredTopicFilter {}
18
-
19
- export interface TypedContractEvent<
20
- InputTuple extends Array<any> = any,
21
- OutputTuple extends Array<any> = any,
22
- OutputObject = any
23
- > {
24
- (...args: Partial<InputTuple>): TypedDeferredTopicFilter<
25
- TypedContractEvent<InputTuple, OutputTuple, OutputObject>
26
- >;
27
- name: string;
28
- fragment: EventFragment;
29
- getFragment(...args: Partial<InputTuple>): EventFragment;
30
- }
31
-
32
- type __TypechainAOutputTuple<T> = T extends TypedContractEvent<
33
- infer _U,
34
- infer W
35
- >
36
- ? W
37
- : never;
38
- type __TypechainOutputObject<T> = T extends TypedContractEvent<
39
- infer _U,
40
- infer _W,
41
- infer V
42
- >
43
- ? V
44
- : never;
45
-
46
- export interface TypedEventLog<TCEvent extends TypedContractEvent>
47
- extends Omit<EventLog, "args"> {
48
- args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
49
- }
50
-
51
- export interface TypedLogDescription<TCEvent extends TypedContractEvent>
52
- extends Omit<LogDescription, "args"> {
53
- args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
54
- }
55
-
56
- export type TypedListener<TCEvent extends TypedContractEvent> = (
57
- ...listenerArg: [
58
- ...__TypechainAOutputTuple<TCEvent>,
59
- TypedEventLog<TCEvent>,
60
- ...undefined[]
61
- ]
62
- ) => void;
63
-
64
- export type MinEthersFactory<C, ARGS> = {
65
- deploy(...a: ARGS[]): Promise<C>;
66
- };
67
-
68
- export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<
69
- infer C,
70
- any
71
- >
72
- ? C
73
- : never;
74
- export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any>
75
- ? Parameters<F["deploy"]>
76
- : never;
77
-
78
- export type StateMutability = "nonpayable" | "payable" | "view";
79
-
80
- export type BaseOverrides = Omit<TransactionRequest, "to" | "data">;
81
- export type NonPayableOverrides = Omit<
82
- BaseOverrides,
83
- "value" | "blockTag" | "enableCcipRead"
84
- >;
85
- export type PayableOverrides = Omit<
86
- BaseOverrides,
87
- "blockTag" | "enableCcipRead"
88
- >;
89
- export type ViewOverrides = Omit<TransactionRequest, "to" | "data">;
90
- export type Overrides<S extends StateMutability> = S extends "nonpayable"
91
- ? NonPayableOverrides
92
- : S extends "payable"
93
- ? PayableOverrides
94
- : ViewOverrides;
95
-
96
- export type PostfixOverrides<A extends Array<any>, S extends StateMutability> =
97
- | A
98
- | [...A, Overrides<S>];
99
- export type ContractMethodArgs<
100
- A extends Array<any>,
101
- S extends StateMutability
102
- > = PostfixOverrides<{ [I in keyof A]-?: A[I] | Typed }, S>;
103
-
104
- export type DefaultReturnType<R> = R extends Array<any> ? R[0] : R;
105
-
106
- // export interface ContractMethod<A extends Array<any> = Array<any>, R = any, D extends R | ContractTransactionResponse = R | ContractTransactionResponse> {
107
- export interface TypedContractMethod<
108
- A extends Array<any> = Array<any>,
109
- R = any,
110
- S extends StateMutability = "payable"
111
- > {
112
- (...args: ContractMethodArgs<A, S>): S extends "view"
113
- ? Promise<DefaultReturnType<R>>
114
- : Promise<ContractTransactionResponse>;
115
-
116
- name: string;
117
-
118
- fragment: FunctionFragment;
119
-
120
- getFragment(...args: ContractMethodArgs<A, S>): FunctionFragment;
121
-
122
- populateTransaction(
123
- ...args: ContractMethodArgs<A, S>
124
- ): Promise<ContractTransaction>;
125
- staticCall(
126
- ...args: ContractMethodArgs<A, "view">
127
- ): Promise<DefaultReturnType<R>>;
128
- send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
129
- estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
130
- staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
131
- }
package/constants.ts DELETED
@@ -1,34 +0,0 @@
1
- // Q Parameters
2
-
3
- // ExecutorRegistry
4
- export const MAX_ACTIVE_EXECUTORS_PARAM_NAME: string = "slc.executors.maxActiveExecutors";
5
- export const EXECUTORS_WITHDRAWAL_PERIOD_PARAM_NAME: string = "slc.executors.withdrawalPeriod";
6
- export const EXECUTORS_SLASHING_RECIPIENT_PARAM_NAME: string = "slc.executors.slashingRecipient";
7
- export const EXECUTOR_MINIMUM_STAKE_PARAM_NAME: string = "slc.executors.minimumStake";
8
-
9
- // Governance
10
- export const VOTING_DELAY_PARAM_NAME: string = "slc.governance.votingDelay";
11
- export const NEUTRALS_VOTING_PERIOD_PARAM_NAME: string = "slc.governance.neutralsVotingPeriod";
12
- export const EXECUTORS_VOTING_PERIOD_PARAM_NAME: string = "slc.governance.executorsVotingPeriod";
13
- export const NEUTRALS_THRESHOLD_PARAM_NAME: string = "slc.governance.neutralsThreshold";
14
- export const EXECUTORS_THRESHOLD_PARAM_NAME: string = "slc.governance.executorsThreshold";
15
- export const EXECUTORS_SHARE_PARAM_NAME: string = "slc.governance.executorsShare";
16
- export const NEUTRALS_SHARE_PARAM_NAME: string = "slc.governance.neutralsShare";
17
- export const TREASURY_SHARE_PARAM_NAME: string = "slc.governance.treasuryShare";
18
- export const MIN_SERVICE_FEE_PARAM_NAME: string = "slc.governance.minServiceFee";
19
- export const DEFAULT_GOVERNANCE_PARAM_NAME: string = "slc.governance.defaultGovernance";
20
-
21
- // NeutralRegistry
22
- export const MAX_ACTIVE_NEUTRALS_PARAM_NAME: string = "slc.neutrals.maxActiveNeutrals";
23
- export const MAX_DELEGATION_AMPLIFICATION_PARAM_NAME: string = "slc.neutrals.maxDelegationAmplification";
24
- export const NEUTRAL_MINIMUM_STAKE_PARAM_NAME: string = "slc.neutrals.minimumStake";
25
- export const NEUTRALS_WITHDRAWAL_PERIOD_PARAM_NAME: string = "slc.neutrals.neutralsWithdrawalPeriod";
26
- export const DELEGATORS_WITHDRAWAL_PERIOD_PARAM_NAME: string = "slc.neutrals.delegatorsWithdrawalPeriod";
27
- export const NEUTRALS_SLASHING_RECIPIENT_PARAM_NAME: string = "slc.neutrals.slashingRecipient";
28
-
29
- // General
30
- export const DAOSLC_PARAM_NAME: string = "slc.general.daoSLC";
31
- export const TREASURY_ADDRESS_PARAM_NAME: string = "slc.general.treasuryAddress";
32
-
33
- // Other
34
- export const MAX_BASIS_POINTS = 100_00n;