@web3dotorg/evm-slc-core-sdk 0.3.6 → 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 -2328
  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,691 @@
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: "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: "neutral_",
407
+ type: "address",
408
+ },
409
+ {
410
+ internalType: "string",
411
+ name: "externalLink_",
412
+ type: "string",
413
+ },
414
+ ],
415
+ name: "addNeutral",
416
+ outputs: [],
417
+ stateMutability: "nonpayable",
418
+ type: "function",
419
+ },
420
+ {
421
+ inputs: [
422
+ {
423
+ internalType: "address[]",
424
+ name: "neutrals_",
425
+ type: "address[]",
426
+ },
427
+ ],
428
+ name: "addNeutrals",
429
+ outputs: [],
430
+ stateMutability: "nonpayable",
431
+ type: "function",
432
+ },
433
+ {
434
+ inputs: [],
435
+ name: "clearNeutrals",
436
+ outputs: [],
437
+ stateMutability: "nonpayable",
438
+ type: "function",
439
+ },
440
+ {
441
+ inputs: [
442
+ {
443
+ internalType: "address[]",
444
+ name: "selectedNeutrals_",
445
+ type: "address[]",
446
+ },
447
+ {
448
+ internalType: "uint256",
449
+ name: "amount_",
450
+ type: "uint256",
451
+ },
452
+ ],
453
+ name: "distributeRewards",
454
+ outputs: [],
455
+ stateMutability: "nonpayable",
456
+ type: "function",
457
+ },
458
+ {
459
+ inputs: [],
460
+ name: "getActiveNeutrals",
461
+ outputs: [
462
+ {
463
+ internalType: "address[]",
464
+ name: "",
465
+ type: "address[]",
466
+ },
467
+ ],
468
+ stateMutability: "view",
469
+ type: "function",
470
+ },
471
+ {
472
+ inputs: [
473
+ {
474
+ internalType: "address",
475
+ name: "candidate_",
476
+ type: "address",
477
+ },
478
+ ],
479
+ name: "getNeutralInfo",
480
+ outputs: [
481
+ {
482
+ components: [
483
+ {
484
+ internalType: "uint256",
485
+ name: "selfStake",
486
+ type: "uint256",
487
+ },
488
+ {
489
+ internalType: "uint256",
490
+ name: "weight",
491
+ type: "uint256",
492
+ },
493
+ {
494
+ internalType: "uint256",
495
+ name: "delegatedStake",
496
+ type: "uint256",
497
+ },
498
+ {
499
+ internalType: "uint256",
500
+ name: "rewards",
501
+ type: "uint256",
502
+ },
503
+ {
504
+ internalType: "uint256",
505
+ name: "delegationShare",
506
+ type: "uint256",
507
+ },
508
+ {
509
+ internalType: "bool",
510
+ name: "isActive",
511
+ type: "bool",
512
+ },
513
+ {
514
+ internalType: "bool",
515
+ name: "isPaused",
516
+ type: "bool",
517
+ },
518
+ {
519
+ internalType: "string",
520
+ name: "externalLink",
521
+ type: "string",
522
+ },
523
+ ],
524
+ internalType: "struct MockNeutralsRegistry.NeutralsInfo",
525
+ name: "",
526
+ type: "tuple",
527
+ },
528
+ ],
529
+ stateMutability: "view",
530
+ type: "function",
531
+ },
532
+ {
533
+ inputs: [],
534
+ name: "getNeutralsCount",
535
+ outputs: [
536
+ {
537
+ internalType: "uint256",
538
+ name: "",
539
+ type: "uint256",
540
+ },
541
+ ],
542
+ stateMutability: "view",
543
+ type: "function",
544
+ },
545
+ {
546
+ inputs: [
547
+ {
548
+ internalType: "uint256",
549
+ name: "number_",
550
+ type: "uint256",
551
+ },
552
+ ],
553
+ name: "getNeutralsSlice",
554
+ outputs: [
555
+ {
556
+ internalType: "address[]",
557
+ name: "",
558
+ type: "address[]",
559
+ },
560
+ ],
561
+ stateMutability: "view",
562
+ type: "function",
563
+ },
564
+ {
565
+ inputs: [
566
+ {
567
+ internalType: "address",
568
+ name: "candidate_",
569
+ type: "address",
570
+ },
571
+ ],
572
+ name: "isNeutral",
573
+ outputs: [
574
+ {
575
+ internalType: "bool",
576
+ name: "",
577
+ type: "bool",
578
+ },
579
+ ],
580
+ stateMutability: "view",
581
+ type: "function",
582
+ },
583
+ {
584
+ inputs: [
585
+ {
586
+ internalType: "address",
587
+ name: "neutral_",
588
+ type: "address",
589
+ },
590
+ ],
591
+ name: "removeNeutral",
592
+ outputs: [],
593
+ stateMutability: "nonpayable",
594
+ type: "function",
595
+ },
596
+ {
597
+ inputs: [
598
+ {
599
+ internalType: "address",
600
+ name: "governance_",
601
+ type: "address",
602
+ },
603
+ ],
604
+ name: "setGovernance",
605
+ outputs: [],
606
+ stateMutability: "nonpayable",
607
+ type: "function",
608
+ },
609
+ {
610
+ inputs: [
611
+ {
612
+ internalType: "address",
613
+ name: "token_",
614
+ type: "address",
615
+ },
616
+ ],
617
+ name: "setToken",
618
+ outputs: [],
619
+ stateMutability: "nonpayable",
620
+ type: "function",
621
+ },
622
+ {
623
+ inputs: [
624
+ {
625
+ internalType: "address",
626
+ name: "neutral_",
627
+ type: "address",
628
+ },
629
+ {
630
+ internalType: "uint256",
631
+ name: "amount_",
632
+ type: "uint256",
633
+ },
634
+ ],
635
+ name: "slashNeutral",
636
+ outputs: [],
637
+ stateMutability: "nonpayable",
638
+ type: "function",
639
+ },
640
+ {
641
+ inputs: [
642
+ {
643
+ internalType: "bytes4",
644
+ name: "interfaceId",
645
+ type: "bytes4",
646
+ },
647
+ ],
648
+ name: "supportsInterface",
649
+ outputs: [
650
+ {
651
+ internalType: "bool",
652
+ name: "",
653
+ type: "bool",
654
+ },
655
+ ],
656
+ stateMutability: "pure",
657
+ type: "function",
658
+ },
659
+ ];
660
+ const _bytecode = "0x6080806040523460155761100c908161001b8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a714610c075750806308d8812214610b8e5780630c75325914610905578063144fa6d7146108ce5780633f01c77e146108b05780634b33e582146106aa5780636cd08a931461066b57806387fb530a146105bc578063ab033ea914610585578063dcf2fc39146104bf578063e665169b1461049e578063ed3f77cb14610175578063f4deaca31461015a5763fac8a8c4146100b957600080fd5b34610155576020366003190112610155576002546004358082101561014e57505b6100e381610d04565b906100f16040519283610ce3565b808252601f1961010082610d04565b0136602084013760005b818110610123576040518061011f8582610c5a565b0390f35b8061012f600192610d1b565b838060a01b0391549060031b1c166101478286610fcb565b520161010a565b90506100da565b600080fd5b3461015557604036600319011261015557610173610c9d565b005b34610155576020366003190112610155576004356001600160401b0381116101555736602382011215610155578060040135906101b182610d04565b916101bf6040519384610ce3565b8083526024602084019160051b8301019136831161015557602401905b828210610486578360005b8151811015610173576001600160a01b036102028284610fcb565b5116600052600360205260ff6040600020541615610439575b60405161022781610cc7565b6000815260066020820191600083526040810160008152606082019060008252608083016000815260a08401926001845260c085019260008452604097885198610271818b610ce3565b60168a5275687474703a2f2f746573742e6e65757472616c2e6d6560501b60208b015260e08801998a526001600160a01b036102ad8c8e610fcb565b51166000526004602052600020965187555160018701555160028601555160038501555160048401556102f36005840192511515839060ff801983541691151516179055565b51151561ff0082549160081b169061ff0019161790550190518051906001600160401b038211610423576103278354610dbe565b601f81116103e6575b50602090601f831160011461037b579180610367926001969594600092610370575b50508160011b916000199060031b1c19161790565b90555b016101e7565b015190508780610352565b90601f1983169184600052816000209260005b8181106103ce5750916001969594929183889593106103b5575b505050811b01905561036a565b015160001960f88460031b161c191690558680806103a8565b9293602060018192878601518155019501930161038e565b61041390846000526020600020601f850160051c81019160208610610419575b601f0160051c0190610df8565b85610330565b9091508190610406565b634e487b7160e01b600052604160045260246000fd5b6104556001600160a01b0361044e8385610fcb565b5116610d4c565b6001600160a01b036104678284610fcb565b511660005260036020526040600020600160ff1982541617905561021b565b6020809161049384610cb3565b8152019101906101dc565b34610155576020366003190112610155576101736104ba610c9d565b610e89565b34610155576040366003190112610155576004356001600160401b03811161015557366023820112156101555780600401356001600160401b038111610155573660248260051b8401011161015557604051908060408301604084525260246060830193019060005b81811061055f5760243560208501527f4c7cb22838e004dd47d1cb8aabab908f17a2851609c953fb7547c066d5e41acf84860385a1005b909193602080600192838060a01b0361057789610cb3565b168152019501929101610528565b34610155576020366003190112610155576001600160a01b036105a6610c9d565b1660018060a01b03196000541617600055600080f35b346101555760003660031901126101555760005b60025481101561063b57806105e6600192610d1b565b838060a01b0391549060031b1c166000526003602052604060002060ff19815416905561061281610d1b565b838060a01b0391549060031b1c1660005260046020526106356040600020610e0f565b016105d0565b60025460006002558061064a57005b600260005261017390600080516020610fe083398151915290810190610df8565b34610155576020366003190112610155576001600160a01b0361068c610c9d565b166000526003602052602060ff604060002054166040519015158152f35b34610155576020366003190112610155576106c3610c9d565b606060e06040516106d381610cc7565b60008152600060208201526000604082015260008382015260006080820152600060a0820152600060c0820152015260018060a01b0316600052600460205260406000206040519061072482610cc7565b80548252600181015490602083019182526002810154906040840191825260038101546060850190815260048201549060808601918252600583015493600660a088019460ff87161515865260ff60c08a019760081c161515875201956040519687600082549261079484610dbe565b808452936001811690811561088e5750600114610848575b506107b992500388610ce3565b60e0880196875260405197602089525160208901525160408801525160608701525160808601525160a085015251151560c084015251151560e08301525161010080830152818151918261012083015260005b83811061082f575050816000610140809484010152601f80199101168101030190f35b602082820181015161014087840101528593500161080c565b90506000929192526020600020906000915b8183106108735750509060206107b9928201018b6107ac565b8060209294838560019454920101520191019091899261085a565b9050602092506107b994915060ff191682840152151560051b8201018b6107ac565b34610155576000366003190112610155576020600254604051908152f35b34610155576020366003190112610155576001600160a01b036108ef610c9d565b1660018060a01b03196001541617600155600080f35b346101555760403660031901126101555761091e610c9d565b6024356001600160401b0381116101555736602382011215610155578060040135916001600160401b038311610155573660248484010111610155576001600160a01b03811660008181526003602052604090205490919060ff1615610b66575b506040519061098d82610cc7565b600082526020820190600082526040830160008152606084016000815260808501916000835260a08601946001865260c087019460008652601f19601f8b0116602001986040519a6109e08c9b8c610ce3565b808b528060009b60248d940190602001378b016020015260e08801998a528852600460205260408820965187555160018701555160028601555160038501555160048401556005830191511515610a4390839060ff801983541691151516179055565b51151581549060081b61ff00169061ff00191617905560060191519182516001600160401b038111610b5257610a798254610dbe565b601f8111610b22575b506020601f8211600114610ac35781908495610ab3949592610ab85750508160011b916000199060031b1c19161790565b905580f35b015190508580610352565b82845280842090601f198316855b818110610b0a57509583600195969710610af1575b505050811b01905580f35b015160001960f88460031b161c19169055848080610ae6565b9192602060018192868b015181550194019201610ad1565b610b4c9083855260208520601f840160051c8101916020851061041957601f0160051c0190610df8565b84610a82565b634e487b7160e01b83526041600452602483fd5b610b6f90610d4c565b8060005260036020526040600020600160ff198254161790558361097f565b34610155576000366003190112610155576040516002805480835260009182526020830191600080516020610fe083398151915291905b818110610be85761011f85610bdc81870382610ce3565b60405191829182610c5a565b82546001600160a01b0316845260209093019260019283019201610bc5565b34610155576020366003190112610155576004359063ffffffff60e01b821680920361015557602091638135b5b360e01b8114908115610c49575b5015158152f35b6301ffc9a760e01b14905083610c42565b602060408183019282815284518094520192019060005b818110610c7e5750505090565b82516001600160a01b0316845260209384019390920191600101610c71565b600435906001600160a01b038216820361015557565b35906001600160a01b038216820361015557565b61010081019081106001600160401b0382111761042357604052565b90601f801991011681019081106001600160401b0382111761042357604052565b6001600160401b0381116104235760051b60200190565b600254811015610d3657600260005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b6002549190600160401b8310156104235760018301600255600092600254811015610daa576002909352600080516020610fe083398151915290920180546001600160a01b0319166001600160a01b0390931692909217909155565b565b634e487b7160e01b84526032600452602484fd5b90600182811c92168015610dee575b6020831014610dd857565b634e487b7160e01b600052602260045260246000fd5b91607f1691610dcd565b818110610e03575050565b60008155600101610df8565b60069060008155600060018201556000600282015560006003820155600060048201556000600582015501610e448154610dbe565b9081610e4e575050565b81601f60009311600114610e60575055565b81835260208320610e7c91601f0160051c810190600101610df8565b8082528160208120915555565b6001600160a01b031660008181526003602052604090205460ff1615610fc8576002549060005b828110610ee6575b508091506000526003602052604060002060ff1981541690556000526004602052610da86040600020610e0f565b81610ef082610d1b565b905460039190911b1c6001600160a01b031614610f0f57600101610eb0565b9091600019810191908211610fb257610f45610f2d610f6993610d1b565b905460039190911b1c6001600160a01b031691610d1b565b81546001600160a01b0393841660039290921b91821b9390911b1916919091179055565b6002548015610f9c5760001901610f7f81610d1b565b81549060018060a01b039060031b1b191690556002558038610eb8565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b50565b8051821015610d365760209160051b01019056fe405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acea164736f6c634300081e000a";
661
+ const isSuperArgs = (xs) => xs.length > 1;
662
+ export class MockNeutralsRegistry__factory extends ContractFactory {
663
+ constructor(...args) {
664
+ if (isSuperArgs(args)) {
665
+ super(...args);
666
+ }
667
+ else {
668
+ super(_abi, _bytecode, args[0]);
669
+ }
670
+ this.contractName = "MockNeutralsRegistry";
671
+ }
672
+ getDeployTransaction(overrides) {
673
+ return super.getDeployTransaction(overrides || {});
674
+ }
675
+ deploy(overrides) {
676
+ return super.deploy(overrides || {});
677
+ }
678
+ connect(runner) {
679
+ return super.connect(runner);
680
+ }
681
+ static contractName;
682
+ contractName;
683
+ static bytecode = _bytecode;
684
+ static abi = _abi;
685
+ static createInterface() {
686
+ return new Interface(_abi);
687
+ }
688
+ static connect(address, runner) {
689
+ return new Contract(address, _abi, runner);
690
+ }
691
+ }