@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,400 @@
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
+ stateMutability: "nonpayable",
9
+ type: "constructor",
10
+ },
11
+ {
12
+ inputs: [
13
+ {
14
+ internalType: "address",
15
+ name: "spender",
16
+ type: "address",
17
+ },
18
+ {
19
+ internalType: "uint256",
20
+ name: "allowance",
21
+ type: "uint256",
22
+ },
23
+ {
24
+ internalType: "uint256",
25
+ name: "needed",
26
+ type: "uint256",
27
+ },
28
+ ],
29
+ name: "ERC20InsufficientAllowance",
30
+ type: "error",
31
+ },
32
+ {
33
+ inputs: [
34
+ {
35
+ internalType: "address",
36
+ name: "sender",
37
+ type: "address",
38
+ },
39
+ {
40
+ internalType: "uint256",
41
+ name: "balance",
42
+ type: "uint256",
43
+ },
44
+ {
45
+ internalType: "uint256",
46
+ name: "needed",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ name: "ERC20InsufficientBalance",
51
+ type: "error",
52
+ },
53
+ {
54
+ inputs: [
55
+ {
56
+ internalType: "address",
57
+ name: "approver",
58
+ type: "address",
59
+ },
60
+ ],
61
+ name: "ERC20InvalidApprover",
62
+ type: "error",
63
+ },
64
+ {
65
+ inputs: [
66
+ {
67
+ internalType: "address",
68
+ name: "receiver",
69
+ type: "address",
70
+ },
71
+ ],
72
+ name: "ERC20InvalidReceiver",
73
+ type: "error",
74
+ },
75
+ {
76
+ inputs: [
77
+ {
78
+ internalType: "address",
79
+ name: "sender",
80
+ type: "address",
81
+ },
82
+ ],
83
+ name: "ERC20InvalidSender",
84
+ type: "error",
85
+ },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "address",
90
+ name: "spender",
91
+ type: "address",
92
+ },
93
+ ],
94
+ name: "ERC20InvalidSpender",
95
+ type: "error",
96
+ },
97
+ {
98
+ anonymous: false,
99
+ inputs: [
100
+ {
101
+ indexed: true,
102
+ internalType: "address",
103
+ name: "owner",
104
+ type: "address",
105
+ },
106
+ {
107
+ indexed: true,
108
+ internalType: "address",
109
+ name: "spender",
110
+ type: "address",
111
+ },
112
+ {
113
+ indexed: false,
114
+ internalType: "uint256",
115
+ name: "value",
116
+ type: "uint256",
117
+ },
118
+ ],
119
+ name: "Approval",
120
+ type: "event",
121
+ },
122
+ {
123
+ anonymous: false,
124
+ inputs: [
125
+ {
126
+ indexed: true,
127
+ internalType: "address",
128
+ name: "from",
129
+ type: "address",
130
+ },
131
+ {
132
+ indexed: true,
133
+ internalType: "address",
134
+ name: "to",
135
+ type: "address",
136
+ },
137
+ {
138
+ indexed: false,
139
+ internalType: "uint256",
140
+ name: "value",
141
+ type: "uint256",
142
+ },
143
+ ],
144
+ name: "Transfer",
145
+ type: "event",
146
+ },
147
+ {
148
+ inputs: [
149
+ {
150
+ internalType: "address",
151
+ name: "owner",
152
+ type: "address",
153
+ },
154
+ {
155
+ internalType: "address",
156
+ name: "spender",
157
+ type: "address",
158
+ },
159
+ ],
160
+ name: "allowance",
161
+ outputs: [
162
+ {
163
+ internalType: "uint256",
164
+ name: "",
165
+ type: "uint256",
166
+ },
167
+ ],
168
+ stateMutability: "view",
169
+ type: "function",
170
+ },
171
+ {
172
+ inputs: [
173
+ {
174
+ internalType: "address",
175
+ name: "spender",
176
+ type: "address",
177
+ },
178
+ {
179
+ internalType: "uint256",
180
+ name: "value",
181
+ type: "uint256",
182
+ },
183
+ ],
184
+ name: "approve",
185
+ outputs: [
186
+ {
187
+ internalType: "bool",
188
+ name: "",
189
+ type: "bool",
190
+ },
191
+ ],
192
+ stateMutability: "nonpayable",
193
+ type: "function",
194
+ },
195
+ {
196
+ inputs: [
197
+ {
198
+ internalType: "address",
199
+ name: "account",
200
+ type: "address",
201
+ },
202
+ ],
203
+ name: "balanceOf",
204
+ outputs: [
205
+ {
206
+ internalType: "uint256",
207
+ name: "",
208
+ type: "uint256",
209
+ },
210
+ ],
211
+ stateMutability: "view",
212
+ type: "function",
213
+ },
214
+ {
215
+ inputs: [
216
+ {
217
+ internalType: "address",
218
+ name: "to_",
219
+ type: "address",
220
+ },
221
+ {
222
+ internalType: "uint256",
223
+ name: "amount_",
224
+ type: "uint256",
225
+ },
226
+ ],
227
+ name: "burn",
228
+ outputs: [],
229
+ stateMutability: "nonpayable",
230
+ type: "function",
231
+ },
232
+ {
233
+ inputs: [],
234
+ name: "decimals",
235
+ outputs: [
236
+ {
237
+ internalType: "uint8",
238
+ name: "",
239
+ type: "uint8",
240
+ },
241
+ ],
242
+ stateMutability: "view",
243
+ type: "function",
244
+ },
245
+ {
246
+ inputs: [],
247
+ name: "deposit",
248
+ outputs: [
249
+ {
250
+ internalType: "bool",
251
+ name: "",
252
+ type: "bool",
253
+ },
254
+ ],
255
+ stateMutability: "payable",
256
+ type: "function",
257
+ },
258
+ {
259
+ inputs: [
260
+ {
261
+ internalType: "address",
262
+ name: "to_",
263
+ type: "address",
264
+ },
265
+ {
266
+ internalType: "uint256",
267
+ name: "amount_",
268
+ type: "uint256",
269
+ },
270
+ ],
271
+ name: "mint",
272
+ outputs: [],
273
+ stateMutability: "nonpayable",
274
+ type: "function",
275
+ },
276
+ {
277
+ inputs: [],
278
+ name: "name",
279
+ outputs: [
280
+ {
281
+ internalType: "string",
282
+ name: "",
283
+ type: "string",
284
+ },
285
+ ],
286
+ stateMutability: "view",
287
+ type: "function",
288
+ },
289
+ {
290
+ inputs: [],
291
+ name: "symbol",
292
+ outputs: [
293
+ {
294
+ internalType: "string",
295
+ name: "",
296
+ type: "string",
297
+ },
298
+ ],
299
+ stateMutability: "view",
300
+ type: "function",
301
+ },
302
+ {
303
+ inputs: [],
304
+ name: "totalSupply",
305
+ outputs: [
306
+ {
307
+ internalType: "uint256",
308
+ name: "",
309
+ type: "uint256",
310
+ },
311
+ ],
312
+ stateMutability: "view",
313
+ type: "function",
314
+ },
315
+ {
316
+ inputs: [
317
+ {
318
+ internalType: "address",
319
+ name: "to",
320
+ type: "address",
321
+ },
322
+ {
323
+ internalType: "uint256",
324
+ name: "value",
325
+ type: "uint256",
326
+ },
327
+ ],
328
+ name: "transfer",
329
+ outputs: [
330
+ {
331
+ internalType: "bool",
332
+ name: "",
333
+ type: "bool",
334
+ },
335
+ ],
336
+ stateMutability: "nonpayable",
337
+ type: "function",
338
+ },
339
+ {
340
+ inputs: [
341
+ {
342
+ internalType: "address",
343
+ name: "from",
344
+ type: "address",
345
+ },
346
+ {
347
+ internalType: "address",
348
+ name: "to",
349
+ type: "address",
350
+ },
351
+ {
352
+ internalType: "uint256",
353
+ name: "value",
354
+ type: "uint256",
355
+ },
356
+ ],
357
+ name: "transferFrom",
358
+ outputs: [
359
+ {
360
+ internalType: "bool",
361
+ name: "",
362
+ type: "bool",
363
+ },
364
+ ],
365
+ stateMutability: "nonpayable",
366
+ type: "function",
367
+ },
368
+ ];
369
+ const _bytecode = "0x60806040523461032f57604080519081016001600160401b0381118282101761023a576040908152601282527126b7b1b5902bb930b83832b2102a37b5b2b760711b602083015280519081016001600160401b0381118282101761023a57604052600381526213559560ea1b602082015281516001600160401b03811161023a57600354600181811c91168015610325575b602082101461021a57601f81116102c0575b50602092601f821160011461025b5792819293600092610250575b50508160011b916000199060031b1c1916176003555b80516001600160401b03811161023a57600454600181811c91168015610230575b602082101461021a57601f81116101b5575b50602091601f821160011461015157918192600092610146575b50508160011b916000199060031b1c1916176004555b6040516107b090816103358239f35b015190503880610121565b601f198216926004600052806000209160005b85811061019d57508360019510610184575b505050811b01600455610137565b015160001960f88460031b161c19169055388080610176565b91926020600181928685015181550194019201610164565b60046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c81019160208410610210575b601f0160051c01905b8181106102045750610107565b600081556001016101f7565b90915081906101ee565b634e487b7160e01b600052602260045260246000fd5b90607f16906100f5565b634e487b7160e01b600052604160045260246000fd5b0151905038806100be565b601f198216936003600052806000209160005b8681106102a8575083600195961061028f575b505050811b016003556100d4565b015160001960f88460031b161c19169055388080610281565b9192602060018192868501518155019401920161026e565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c8101916020841061031b575b601f0160051c01905b81811061030f57506100a3565b60008155600101610302565b90915081906102f9565b90607f1690610091565b600080fdfe608080604052600436101561001357600080fd5b60003560e01c90816306fdde031461053e57508063095ea7b3146104b857806318160ddd1461049a57806323b872dd146103ad578063313ce5671461039157806340c10f191461035a57806370a082311461032057806395d89b41146101ff5780639dc29fac1461015c578063a9059cbb14610136578063d0e30db0146100f95763dd62ed3e146100a357600080fd5b346100f45760403660031901126100f4576100bc61065a565b6100c4610670565b6001600160a01b039182166000908152600160209081526040808320949093168252928352819020549051908152f35b600080fd5b60003660031901126100f457331561012057610115343361070d565b602060405160018152f35b63ec442f0560e01b600052600060045260246000fd5b346100f45760403660031901126100f45761011561015261065a565b6024359033610686565b346100f45760403660031901126100f45761017561065a565b6001600160a01b031660243581156101e9576000908282528160205260408220548181106101d157602082859360008051602061078483398151915293869787528684520360408620558060025403600255604051908152a380f35b60649363391434e360e21b8452600452602452604452fd5b634b637e8f60e11b600052600060045260246000fd5b346100f45760003660031901126100f45760405160006004548060011c90600181168015610316575b602083108114610302578285529081156102e6575060011461028f575b50819003601f01601f191681019067ffffffffffffffff8211818310176102795761027582918260405282610611565b0390f35b634e487b7160e01b600052604160045260246000fd5b600460009081529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8282106102d057506020915082010182610245565b60018160209254838588010152019101906102bb565b90506020925060ff191682840152151560051b82010182610245565b634e487b7160e01b84526022600452602484fd5b91607f1691610228565b346100f45760203660031901126100f4576001600160a01b0361034161065a565b1660005260006020526020604060002054604051908152f35b346100f45760403660031901126100f45761037361065a565b6001600160a01b038116156101205761038f906024359061070d565b005b346100f45760003660031901126100f457602060405160128152f35b346100f45760603660031901126100f4576103c661065a565b6103ce610670565b6001600160a01b038216600081815260016020908152604080832033845290915290205490926044359291600019811061040e575b506101159350610686565b83811061047d57841561046757331561045157610115946000526001602052604060002060018060a01b0333166000526020528360406000209103905584610403565b634a1406b160e11b600052600060045260246000fd5b63e602df0560e01b600052600060045260246000fd5b8390637dc7a0d960e11b6000523360045260245260445260646000fd5b346100f45760003660031901126100f4576020600254604051908152f35b346100f45760403660031901126100f4576104d161065a565b602435903315610467576001600160a01b031690811561045157336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346100f45760003660031901126100f45760006003548060011c90600181168015610607575b602083108114610302578285529081156102e657506001146105b05750819003601f01601f191681019067ffffffffffffffff8211818310176102795761027582918260405282610611565b600360009081529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b8282106105f157506020915082010182610245565b60018160209254838588010152019101906105dc565b91607f1691610564565b91909160208152825180602083015260005b818110610644575060409293506000838284010152601f8019910116010190565b8060208092870101516040828601015201610623565b600435906001600160a01b03821682036100f457565b602435906001600160a01b03821682036100f457565b6001600160a01b03169081156101e9576001600160a01b03169182156101205760008281528060205260408120548281106106f3579160408282600080516020610784833981519152958760209652828652038282205586815280845220818154019055604051908152a3565b916064928463391434e360e21b8452600452602452604452fd5b6002549082820180921161076d576002919091556001600160a01b03169060009060008051602061078483398151915290602090846107585780600254036002555b604051908152a3565b8484528382526040842081815401905561074f565b634e487b7160e01b600052601160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa164736f6c634300081e000a";
370
+ const isSuperArgs = (xs) => xs.length > 1;
371
+ export class WrappedToken__factory extends ContractFactory {
372
+ constructor(...args) {
373
+ if (isSuperArgs(args)) {
374
+ super(...args);
375
+ }
376
+ else {
377
+ super(_abi, _bytecode, args[0]);
378
+ }
379
+ this.contractName = "WrappedToken";
380
+ }
381
+ getDeployTransaction(overrides) {
382
+ return super.getDeployTransaction(overrides || {});
383
+ }
384
+ deploy(overrides) {
385
+ return super.deploy(overrides || {});
386
+ }
387
+ connect(runner) {
388
+ return super.connect(runner);
389
+ }
390
+ static contractName;
391
+ contractName;
392
+ static bytecode = _bytecode;
393
+ static abi = _abi;
394
+ static createInterface() {
395
+ return new Interface(_abi);
396
+ }
397
+ static connect(address, runner) {
398
+ return new Contract(address, _abi, runner);
399
+ }
400
+ }
@@ -0,0 +1,4 @@
1
+ export { MockGovernance__factory } from "./MockGovernance__factory";
2
+ export { MockNeutralsRegistry__factory } from "./MockNeutralsRegistry__factory";
3
+ export { SimpleContract__factory } from "./SimpleContract__factory";
4
+ export { WrappedToken__factory } from "./WrappedToken__factory";