@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,394 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
+ export declare namespace MockNeutralsRegistry {
4
+ type NeutralsInfoStruct = {
5
+ selfStake: BigNumberish;
6
+ weight: BigNumberish;
7
+ delegatedStake: BigNumberish;
8
+ rewards: BigNumberish;
9
+ delegationShare: BigNumberish;
10
+ isActive: boolean;
11
+ isPaused: boolean;
12
+ externalLink: string;
13
+ };
14
+ type NeutralsInfoStructOutput = [
15
+ selfStake: bigint,
16
+ weight: bigint,
17
+ delegatedStake: bigint,
18
+ rewards: bigint,
19
+ delegationShare: bigint,
20
+ isActive: boolean,
21
+ isPaused: boolean,
22
+ externalLink: string
23
+ ] & {
24
+ selfStake: bigint;
25
+ weight: bigint;
26
+ delegatedStake: bigint;
27
+ rewards: bigint;
28
+ delegationShare: bigint;
29
+ isActive: boolean;
30
+ isPaused: boolean;
31
+ externalLink: string;
32
+ };
33
+ }
34
+ export interface MockNeutralsRegistryInterface extends Interface {
35
+ getFunction(nameOrSignature: "addNeutral" | "addNeutrals" | "clearNeutrals" | "distributeRewards" | "getActiveNeutrals" | "getNeutralInfo" | "getNeutralsCount" | "getNeutralsSlice" | "isNeutral" | "removeNeutral" | "setGovernance" | "setToken" | "slashNeutral" | "supportsInterface"): FunctionFragment;
36
+ getEvent(nameOrSignatureOrTopic: "DelegationWithdrawn" | "NeutralActivated" | "NeutralMovedToStandby" | "NeutralPaused" | "NeutralSlashed" | "NeutralStaked" | "NeutralUnpaused" | "NeutralUnstaked" | "RewardsClaimed" | "RewardsDistributed" | "WithdrawalAnnounced" | "WithdrawalCancelled"): EventFragment;
37
+ encodeFunctionData(functionFragment: "addNeutral", values: [AddressLike, string]): string;
38
+ encodeFunctionData(functionFragment: "addNeutrals", values: [AddressLike[]]): string;
39
+ encodeFunctionData(functionFragment: "clearNeutrals", values?: undefined): string;
40
+ encodeFunctionData(functionFragment: "distributeRewards", values: [AddressLike[], BigNumberish]): string;
41
+ encodeFunctionData(functionFragment: "getActiveNeutrals", values?: undefined): string;
42
+ encodeFunctionData(functionFragment: "getNeutralInfo", values: [AddressLike]): string;
43
+ encodeFunctionData(functionFragment: "getNeutralsCount", values?: undefined): string;
44
+ encodeFunctionData(functionFragment: "getNeutralsSlice", values: [BigNumberish]): string;
45
+ encodeFunctionData(functionFragment: "isNeutral", values: [AddressLike]): string;
46
+ encodeFunctionData(functionFragment: "removeNeutral", values: [AddressLike]): string;
47
+ encodeFunctionData(functionFragment: "setGovernance", values: [AddressLike]): string;
48
+ encodeFunctionData(functionFragment: "setToken", values: [AddressLike]): string;
49
+ encodeFunctionData(functionFragment: "slashNeutral", values: [AddressLike, BigNumberish]): string;
50
+ encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
51
+ decodeFunctionResult(functionFragment: "addNeutral", data: BytesLike): Result;
52
+ decodeFunctionResult(functionFragment: "addNeutrals", data: BytesLike): Result;
53
+ decodeFunctionResult(functionFragment: "clearNeutrals", data: BytesLike): Result;
54
+ decodeFunctionResult(functionFragment: "distributeRewards", data: BytesLike): Result;
55
+ decodeFunctionResult(functionFragment: "getActiveNeutrals", data: BytesLike): Result;
56
+ decodeFunctionResult(functionFragment: "getNeutralInfo", data: BytesLike): Result;
57
+ decodeFunctionResult(functionFragment: "getNeutralsCount", data: BytesLike): Result;
58
+ decodeFunctionResult(functionFragment: "getNeutralsSlice", data: BytesLike): Result;
59
+ decodeFunctionResult(functionFragment: "isNeutral", data: BytesLike): Result;
60
+ decodeFunctionResult(functionFragment: "removeNeutral", data: BytesLike): Result;
61
+ decodeFunctionResult(functionFragment: "setGovernance", data: BytesLike): Result;
62
+ decodeFunctionResult(functionFragment: "setToken", data: BytesLike): Result;
63
+ decodeFunctionResult(functionFragment: "slashNeutral", data: BytesLike): Result;
64
+ decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
65
+ }
66
+ export declare namespace DelegationWithdrawnEvent {
67
+ type InputTuple = [
68
+ delegator: AddressLike,
69
+ neutral: AddressLike,
70
+ amount: BigNumberish
71
+ ];
72
+ type OutputTuple = [
73
+ delegator: string,
74
+ neutral: string,
75
+ amount: bigint
76
+ ];
77
+ interface OutputObject {
78
+ delegator: string;
79
+ neutral: string;
80
+ amount: bigint;
81
+ }
82
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
83
+ type Filter = TypedDeferredTopicFilter<Event>;
84
+ type Log = TypedEventLog<Event>;
85
+ type LogDescription = TypedLogDescription<Event>;
86
+ }
87
+ export declare namespace NeutralActivatedEvent {
88
+ type InputTuple = [neutral: AddressLike, stake: BigNumberish];
89
+ type OutputTuple = [neutral: string, stake: bigint];
90
+ interface OutputObject {
91
+ neutral: string;
92
+ stake: bigint;
93
+ }
94
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
95
+ type Filter = TypedDeferredTopicFilter<Event>;
96
+ type Log = TypedEventLog<Event>;
97
+ type LogDescription = TypedLogDescription<Event>;
98
+ }
99
+ export declare namespace NeutralMovedToStandbyEvent {
100
+ type InputTuple = [neutral: AddressLike];
101
+ type OutputTuple = [neutral: string];
102
+ interface OutputObject {
103
+ neutral: string;
104
+ }
105
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
106
+ type Filter = TypedDeferredTopicFilter<Event>;
107
+ type Log = TypedEventLog<Event>;
108
+ type LogDescription = TypedLogDescription<Event>;
109
+ }
110
+ export declare namespace NeutralPausedEvent {
111
+ type InputTuple = [neutral: AddressLike];
112
+ type OutputTuple = [neutral: string];
113
+ interface OutputObject {
114
+ neutral: string;
115
+ }
116
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
117
+ type Filter = TypedDeferredTopicFilter<Event>;
118
+ type Log = TypedEventLog<Event>;
119
+ type LogDescription = TypedLogDescription<Event>;
120
+ }
121
+ export declare namespace NeutralSlashedEvent {
122
+ type InputTuple = [
123
+ neutral: AddressLike,
124
+ amount: BigNumberish,
125
+ recipient: AddressLike
126
+ ];
127
+ type OutputTuple = [
128
+ neutral: string,
129
+ amount: bigint,
130
+ recipient: string
131
+ ];
132
+ interface OutputObject {
133
+ neutral: string;
134
+ amount: bigint;
135
+ recipient: string;
136
+ }
137
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
138
+ type Filter = TypedDeferredTopicFilter<Event>;
139
+ type Log = TypedEventLog<Event>;
140
+ type LogDescription = TypedLogDescription<Event>;
141
+ }
142
+ export declare namespace NeutralStakedEvent {
143
+ type InputTuple = [
144
+ neutral: AddressLike,
145
+ amount: BigNumberish,
146
+ totalStake: BigNumberish
147
+ ];
148
+ type OutputTuple = [
149
+ neutral: string,
150
+ amount: bigint,
151
+ totalStake: bigint
152
+ ];
153
+ interface OutputObject {
154
+ neutral: string;
155
+ amount: bigint;
156
+ totalStake: bigint;
157
+ }
158
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
159
+ type Filter = TypedDeferredTopicFilter<Event>;
160
+ type Log = TypedEventLog<Event>;
161
+ type LogDescription = TypedLogDescription<Event>;
162
+ }
163
+ export declare namespace NeutralUnpausedEvent {
164
+ type InputTuple = [neutral: AddressLike];
165
+ type OutputTuple = [neutral: string];
166
+ interface OutputObject {
167
+ neutral: string;
168
+ }
169
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
170
+ type Filter = TypedDeferredTopicFilter<Event>;
171
+ type Log = TypedEventLog<Event>;
172
+ type LogDescription = TypedLogDescription<Event>;
173
+ }
174
+ export declare namespace NeutralUnstakedEvent {
175
+ type InputTuple = [
176
+ neutral: AddressLike,
177
+ amount: BigNumberish,
178
+ remainingStake: BigNumberish
179
+ ];
180
+ type OutputTuple = [
181
+ neutral: string,
182
+ amount: bigint,
183
+ remainingStake: bigint
184
+ ];
185
+ interface OutputObject {
186
+ neutral: string;
187
+ amount: bigint;
188
+ remainingStake: bigint;
189
+ }
190
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
191
+ type Filter = TypedDeferredTopicFilter<Event>;
192
+ type Log = TypedEventLog<Event>;
193
+ type LogDescription = TypedLogDescription<Event>;
194
+ }
195
+ export declare namespace RewardsClaimedEvent {
196
+ type InputTuple = [neutral: AddressLike, amount: BigNumberish];
197
+ type OutputTuple = [neutral: string, amount: bigint];
198
+ interface OutputObject {
199
+ neutral: string;
200
+ amount: bigint;
201
+ }
202
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
203
+ type Filter = TypedDeferredTopicFilter<Event>;
204
+ type Log = TypedEventLog<Event>;
205
+ type LogDescription = TypedLogDescription<Event>;
206
+ }
207
+ export declare namespace RewardsDistributedEvent {
208
+ type InputTuple = [
209
+ selectedNeutrals: AddressLike[],
210
+ totalAmount: BigNumberish
211
+ ];
212
+ type OutputTuple = [selectedNeutrals: string[], totalAmount: bigint];
213
+ interface OutputObject {
214
+ selectedNeutrals: string[];
215
+ totalAmount: bigint;
216
+ }
217
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
218
+ type Filter = TypedDeferredTopicFilter<Event>;
219
+ type Log = TypedEventLog<Event>;
220
+ type LogDescription = TypedLogDescription<Event>;
221
+ }
222
+ export declare namespace WithdrawalAnnouncedEvent {
223
+ type InputTuple = [
224
+ neutral: AddressLike,
225
+ amount: BigNumberish,
226
+ availableAt: BigNumberish
227
+ ];
228
+ type OutputTuple = [
229
+ neutral: string,
230
+ amount: bigint,
231
+ availableAt: bigint
232
+ ];
233
+ interface OutputObject {
234
+ neutral: string;
235
+ amount: bigint;
236
+ availableAt: bigint;
237
+ }
238
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
239
+ type Filter = TypedDeferredTopicFilter<Event>;
240
+ type Log = TypedEventLog<Event>;
241
+ type LogDescription = TypedLogDescription<Event>;
242
+ }
243
+ export declare namespace WithdrawalCancelledEvent {
244
+ type InputTuple = [neutral: AddressLike, amount: BigNumberish];
245
+ type OutputTuple = [neutral: string, amount: bigint];
246
+ interface OutputObject {
247
+ neutral: string;
248
+ amount: bigint;
249
+ }
250
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
251
+ type Filter = TypedDeferredTopicFilter<Event>;
252
+ type Log = TypedEventLog<Event>;
253
+ type LogDescription = TypedLogDescription<Event>;
254
+ }
255
+ export interface MockNeutralsRegistry extends BaseContract {
256
+ contractName: "MockNeutralsRegistry";
257
+ connect(runner?: ContractRunner | null): MockNeutralsRegistry;
258
+ waitForDeployment(): Promise<this>;
259
+ interface: MockNeutralsRegistryInterface;
260
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
261
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
262
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
263
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
264
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
265
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
266
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
267
+ listeners(eventName?: string): Promise<Array<Listener>>;
268
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
269
+ addNeutral: TypedContractMethod<[
270
+ neutral_: AddressLike,
271
+ externalLink_: string
272
+ ], [
273
+ void
274
+ ], "nonpayable">;
275
+ addNeutrals: TypedContractMethod<[
276
+ neutrals_: AddressLike[]
277
+ ], [
278
+ void
279
+ ], "nonpayable">;
280
+ clearNeutrals: TypedContractMethod<[], [void], "nonpayable">;
281
+ distributeRewards: TypedContractMethod<[
282
+ selectedNeutrals_: AddressLike[],
283
+ amount_: BigNumberish
284
+ ], [
285
+ void
286
+ ], "nonpayable">;
287
+ getActiveNeutrals: TypedContractMethod<[], [string[]], "view">;
288
+ getNeutralInfo: TypedContractMethod<[
289
+ candidate_: AddressLike
290
+ ], [
291
+ MockNeutralsRegistry.NeutralsInfoStructOutput
292
+ ], "view">;
293
+ getNeutralsCount: TypedContractMethod<[], [bigint], "view">;
294
+ getNeutralsSlice: TypedContractMethod<[
295
+ number_: BigNumberish
296
+ ], [
297
+ string[]
298
+ ], "view">;
299
+ isNeutral: TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
300
+ removeNeutral: TypedContractMethod<[
301
+ neutral_: AddressLike
302
+ ], [
303
+ void
304
+ ], "nonpayable">;
305
+ setGovernance: TypedContractMethod<[
306
+ governance_: AddressLike
307
+ ], [
308
+ void
309
+ ], "nonpayable">;
310
+ setToken: TypedContractMethod<[token_: AddressLike], [void], "nonpayable">;
311
+ slashNeutral: TypedContractMethod<[
312
+ neutral_: AddressLike,
313
+ amount_: BigNumberish
314
+ ], [
315
+ void
316
+ ], "nonpayable">;
317
+ supportsInterface: TypedContractMethod<[
318
+ interfaceId: BytesLike
319
+ ], [
320
+ boolean
321
+ ], "view">;
322
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
323
+ getFunction(nameOrSignature: "addNeutral"): TypedContractMethod<[
324
+ neutral_: AddressLike,
325
+ externalLink_: string
326
+ ], [
327
+ void
328
+ ], "nonpayable">;
329
+ getFunction(nameOrSignature: "addNeutrals"): TypedContractMethod<[neutrals_: AddressLike[]], [void], "nonpayable">;
330
+ getFunction(nameOrSignature: "clearNeutrals"): TypedContractMethod<[], [void], "nonpayable">;
331
+ getFunction(nameOrSignature: "distributeRewards"): TypedContractMethod<[
332
+ selectedNeutrals_: AddressLike[],
333
+ amount_: BigNumberish
334
+ ], [
335
+ void
336
+ ], "nonpayable">;
337
+ getFunction(nameOrSignature: "getActiveNeutrals"): TypedContractMethod<[], [string[]], "view">;
338
+ getFunction(nameOrSignature: "getNeutralInfo"): TypedContractMethod<[
339
+ candidate_: AddressLike
340
+ ], [
341
+ MockNeutralsRegistry.NeutralsInfoStructOutput
342
+ ], "view">;
343
+ getFunction(nameOrSignature: "getNeutralsCount"): TypedContractMethod<[], [bigint], "view">;
344
+ getFunction(nameOrSignature: "getNeutralsSlice"): TypedContractMethod<[number_: BigNumberish], [string[]], "view">;
345
+ getFunction(nameOrSignature: "isNeutral"): TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
346
+ getFunction(nameOrSignature: "removeNeutral"): TypedContractMethod<[neutral_: AddressLike], [void], "nonpayable">;
347
+ getFunction(nameOrSignature: "setGovernance"): TypedContractMethod<[governance_: AddressLike], [void], "nonpayable">;
348
+ getFunction(nameOrSignature: "setToken"): TypedContractMethod<[token_: AddressLike], [void], "nonpayable">;
349
+ getFunction(nameOrSignature: "slashNeutral"): TypedContractMethod<[
350
+ neutral_: AddressLike,
351
+ amount_: BigNumberish
352
+ ], [
353
+ void
354
+ ], "nonpayable">;
355
+ getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
356
+ getEvent(key: "DelegationWithdrawn"): TypedContractEvent<DelegationWithdrawnEvent.InputTuple, DelegationWithdrawnEvent.OutputTuple, DelegationWithdrawnEvent.OutputObject>;
357
+ getEvent(key: "NeutralActivated"): TypedContractEvent<NeutralActivatedEvent.InputTuple, NeutralActivatedEvent.OutputTuple, NeutralActivatedEvent.OutputObject>;
358
+ getEvent(key: "NeutralMovedToStandby"): TypedContractEvent<NeutralMovedToStandbyEvent.InputTuple, NeutralMovedToStandbyEvent.OutputTuple, NeutralMovedToStandbyEvent.OutputObject>;
359
+ getEvent(key: "NeutralPaused"): TypedContractEvent<NeutralPausedEvent.InputTuple, NeutralPausedEvent.OutputTuple, NeutralPausedEvent.OutputObject>;
360
+ getEvent(key: "NeutralSlashed"): TypedContractEvent<NeutralSlashedEvent.InputTuple, NeutralSlashedEvent.OutputTuple, NeutralSlashedEvent.OutputObject>;
361
+ getEvent(key: "NeutralStaked"): TypedContractEvent<NeutralStakedEvent.InputTuple, NeutralStakedEvent.OutputTuple, NeutralStakedEvent.OutputObject>;
362
+ getEvent(key: "NeutralUnpaused"): TypedContractEvent<NeutralUnpausedEvent.InputTuple, NeutralUnpausedEvent.OutputTuple, NeutralUnpausedEvent.OutputObject>;
363
+ getEvent(key: "NeutralUnstaked"): TypedContractEvent<NeutralUnstakedEvent.InputTuple, NeutralUnstakedEvent.OutputTuple, NeutralUnstakedEvent.OutputObject>;
364
+ getEvent(key: "RewardsClaimed"): TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
365
+ getEvent(key: "RewardsDistributed"): TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
366
+ getEvent(key: "WithdrawalAnnounced"): TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
367
+ getEvent(key: "WithdrawalCancelled"): TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
368
+ filters: {
369
+ "DelegationWithdrawn(address,address,uint256)": TypedContractEvent<DelegationWithdrawnEvent.InputTuple, DelegationWithdrawnEvent.OutputTuple, DelegationWithdrawnEvent.OutputObject>;
370
+ DelegationWithdrawn: TypedContractEvent<DelegationWithdrawnEvent.InputTuple, DelegationWithdrawnEvent.OutputTuple, DelegationWithdrawnEvent.OutputObject>;
371
+ "NeutralActivated(address,uint256)": TypedContractEvent<NeutralActivatedEvent.InputTuple, NeutralActivatedEvent.OutputTuple, NeutralActivatedEvent.OutputObject>;
372
+ NeutralActivated: TypedContractEvent<NeutralActivatedEvent.InputTuple, NeutralActivatedEvent.OutputTuple, NeutralActivatedEvent.OutputObject>;
373
+ "NeutralMovedToStandby(address)": TypedContractEvent<NeutralMovedToStandbyEvent.InputTuple, NeutralMovedToStandbyEvent.OutputTuple, NeutralMovedToStandbyEvent.OutputObject>;
374
+ NeutralMovedToStandby: TypedContractEvent<NeutralMovedToStandbyEvent.InputTuple, NeutralMovedToStandbyEvent.OutputTuple, NeutralMovedToStandbyEvent.OutputObject>;
375
+ "NeutralPaused(address)": TypedContractEvent<NeutralPausedEvent.InputTuple, NeutralPausedEvent.OutputTuple, NeutralPausedEvent.OutputObject>;
376
+ NeutralPaused: TypedContractEvent<NeutralPausedEvent.InputTuple, NeutralPausedEvent.OutputTuple, NeutralPausedEvent.OutputObject>;
377
+ "NeutralSlashed(address,uint256,address)": TypedContractEvent<NeutralSlashedEvent.InputTuple, NeutralSlashedEvent.OutputTuple, NeutralSlashedEvent.OutputObject>;
378
+ NeutralSlashed: TypedContractEvent<NeutralSlashedEvent.InputTuple, NeutralSlashedEvent.OutputTuple, NeutralSlashedEvent.OutputObject>;
379
+ "NeutralStaked(address,uint256,uint256)": TypedContractEvent<NeutralStakedEvent.InputTuple, NeutralStakedEvent.OutputTuple, NeutralStakedEvent.OutputObject>;
380
+ NeutralStaked: TypedContractEvent<NeutralStakedEvent.InputTuple, NeutralStakedEvent.OutputTuple, NeutralStakedEvent.OutputObject>;
381
+ "NeutralUnpaused(address)": TypedContractEvent<NeutralUnpausedEvent.InputTuple, NeutralUnpausedEvent.OutputTuple, NeutralUnpausedEvent.OutputObject>;
382
+ NeutralUnpaused: TypedContractEvent<NeutralUnpausedEvent.InputTuple, NeutralUnpausedEvent.OutputTuple, NeutralUnpausedEvent.OutputObject>;
383
+ "NeutralUnstaked(address,uint256,uint256)": TypedContractEvent<NeutralUnstakedEvent.InputTuple, NeutralUnstakedEvent.OutputTuple, NeutralUnstakedEvent.OutputObject>;
384
+ NeutralUnstaked: TypedContractEvent<NeutralUnstakedEvent.InputTuple, NeutralUnstakedEvent.OutputTuple, NeutralUnstakedEvent.OutputObject>;
385
+ "RewardsClaimed(address,uint256)": TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
386
+ RewardsClaimed: TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
387
+ "RewardsDistributed(address[],uint256)": TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
388
+ RewardsDistributed: TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
389
+ "WithdrawalAnnounced(address,uint256,uint256)": TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
390
+ WithdrawalAnnounced: TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
391
+ "WithdrawalCancelled(address,uint256)": TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
392
+ WithdrawalCancelled: TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
393
+ };
394
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,38 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
3
+ export interface SimpleContractInterface extends Interface {
4
+ getFunction(nameOrSignature: "getValue" | "setValue" | "value"): FunctionFragment;
5
+ encodeFunctionData(functionFragment: "getValue", values?: undefined): string;
6
+ encodeFunctionData(functionFragment: "setValue", values: [BigNumberish]): string;
7
+ encodeFunctionData(functionFragment: "value", values?: undefined): string;
8
+ decodeFunctionResult(functionFragment: "getValue", data: BytesLike): Result;
9
+ decodeFunctionResult(functionFragment: "setValue", data: BytesLike): Result;
10
+ decodeFunctionResult(functionFragment: "value", data: BytesLike): Result;
11
+ }
12
+ export interface SimpleContract extends BaseContract {
13
+ contractName: "SimpleContract";
14
+ connect(runner?: ContractRunner | null): SimpleContract;
15
+ waitForDeployment(): Promise<this>;
16
+ interface: SimpleContractInterface;
17
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
18
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
19
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
20
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
21
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
22
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
23
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
24
+ listeners(eventName?: string): Promise<Array<Listener>>;
25
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
26
+ getValue: TypedContractMethod<[], [bigint], "view">;
27
+ setValue: TypedContractMethod<[
28
+ newValue_: BigNumberish
29
+ ], [
30
+ void
31
+ ], "nonpayable">;
32
+ value: TypedContractMethod<[], [bigint], "view">;
33
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
34
+ getFunction(nameOrSignature: "getValue"): TypedContractMethod<[], [bigint], "view">;
35
+ getFunction(nameOrSignature: "setValue"): TypedContractMethod<[newValue_: BigNumberish], [void], "nonpayable">;
36
+ getFunction(nameOrSignature: "value"): TypedContractMethod<[], [bigint], "view">;
37
+ filters: {};
38
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,174 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
+ export interface WrappedTokenInterface extends Interface {
4
+ getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "burn" | "decimals" | "deposit" | "mint" | "name" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
6
+ encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
7
+ encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
8
+ encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
9
+ encodeFunctionData(functionFragment: "burn", values: [AddressLike, BigNumberish]): string;
10
+ encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
11
+ encodeFunctionData(functionFragment: "deposit", values?: undefined): string;
12
+ encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
13
+ encodeFunctionData(functionFragment: "name", values?: undefined): string;
14
+ encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
15
+ encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
16
+ encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
17
+ encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
18
+ decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
19
+ decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
20
+ decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
21
+ decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
22
+ decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
23
+ decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
24
+ decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
25
+ decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
26
+ decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
27
+ decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
28
+ decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
29
+ decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
30
+ }
31
+ export declare namespace ApprovalEvent {
32
+ type InputTuple = [
33
+ owner: AddressLike,
34
+ spender: AddressLike,
35
+ value: BigNumberish
36
+ ];
37
+ type OutputTuple = [owner: string, spender: string, value: bigint];
38
+ interface OutputObject {
39
+ owner: string;
40
+ spender: string;
41
+ value: bigint;
42
+ }
43
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
44
+ type Filter = TypedDeferredTopicFilter<Event>;
45
+ type Log = TypedEventLog<Event>;
46
+ type LogDescription = TypedLogDescription<Event>;
47
+ }
48
+ export declare namespace TransferEvent {
49
+ type InputTuple = [
50
+ from: AddressLike,
51
+ to: AddressLike,
52
+ value: BigNumberish
53
+ ];
54
+ type OutputTuple = [from: string, to: string, value: bigint];
55
+ interface OutputObject {
56
+ from: string;
57
+ to: string;
58
+ value: bigint;
59
+ }
60
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
61
+ type Filter = TypedDeferredTopicFilter<Event>;
62
+ type Log = TypedEventLog<Event>;
63
+ type LogDescription = TypedLogDescription<Event>;
64
+ }
65
+ export interface WrappedToken extends BaseContract {
66
+ contractName: "WrappedToken";
67
+ connect(runner?: ContractRunner | null): WrappedToken;
68
+ waitForDeployment(): Promise<this>;
69
+ interface: WrappedTokenInterface;
70
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
71
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
72
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
73
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
74
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
75
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
76
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
77
+ listeners(eventName?: string): Promise<Array<Listener>>;
78
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
79
+ allowance: TypedContractMethod<[
80
+ owner: AddressLike,
81
+ spender: AddressLike
82
+ ], [
83
+ bigint
84
+ ], "view">;
85
+ approve: TypedContractMethod<[
86
+ spender: AddressLike,
87
+ value: BigNumberish
88
+ ], [
89
+ boolean
90
+ ], "nonpayable">;
91
+ balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
92
+ burn: TypedContractMethod<[
93
+ to_: AddressLike,
94
+ amount_: BigNumberish
95
+ ], [
96
+ void
97
+ ], "nonpayable">;
98
+ decimals: TypedContractMethod<[], [bigint], "view">;
99
+ deposit: TypedContractMethod<[], [boolean], "payable">;
100
+ mint: TypedContractMethod<[
101
+ to_: AddressLike,
102
+ amount_: BigNumberish
103
+ ], [
104
+ void
105
+ ], "nonpayable">;
106
+ name: TypedContractMethod<[], [string], "view">;
107
+ symbol: TypedContractMethod<[], [string], "view">;
108
+ totalSupply: TypedContractMethod<[], [bigint], "view">;
109
+ transfer: TypedContractMethod<[
110
+ to: AddressLike,
111
+ value: BigNumberish
112
+ ], [
113
+ boolean
114
+ ], "nonpayable">;
115
+ transferFrom: TypedContractMethod<[
116
+ from: AddressLike,
117
+ to: AddressLike,
118
+ value: BigNumberish
119
+ ], [
120
+ boolean
121
+ ], "nonpayable">;
122
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
123
+ getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
124
+ owner: AddressLike,
125
+ spender: AddressLike
126
+ ], [
127
+ bigint
128
+ ], "view">;
129
+ getFunction(nameOrSignature: "approve"): TypedContractMethod<[
130
+ spender: AddressLike,
131
+ value: BigNumberish
132
+ ], [
133
+ boolean
134
+ ], "nonpayable">;
135
+ getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
136
+ getFunction(nameOrSignature: "burn"): TypedContractMethod<[
137
+ to_: AddressLike,
138
+ amount_: BigNumberish
139
+ ], [
140
+ void
141
+ ], "nonpayable">;
142
+ getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
143
+ getFunction(nameOrSignature: "deposit"): TypedContractMethod<[], [boolean], "payable">;
144
+ getFunction(nameOrSignature: "mint"): TypedContractMethod<[
145
+ to_: AddressLike,
146
+ amount_: BigNumberish
147
+ ], [
148
+ void
149
+ ], "nonpayable">;
150
+ getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
151
+ getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
152
+ getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
153
+ getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
154
+ to: AddressLike,
155
+ value: BigNumberish
156
+ ], [
157
+ boolean
158
+ ], "nonpayable">;
159
+ getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
160
+ from: AddressLike,
161
+ to: AddressLike,
162
+ value: BigNumberish
163
+ ], [
164
+ boolean
165
+ ], "nonpayable">;
166
+ getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
167
+ getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
168
+ filters: {
169
+ "Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
170
+ Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
171
+ "Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
172
+ Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
173
+ };
174
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
1
  export type { MockGovernance } from "./MockGovernance";
5
2
  export type { MockNeutralsRegistry } from "./MockNeutralsRegistry";
6
3
  export type { SimpleContract } from "./SimpleContract";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });