@superfluid-finance/sdk-core 0.5.7-dev.e18f4b3.0 → 0.5.7

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 (301) hide show
  1. package/CHANGELOG.md +13 -3
  2. package/dist/index.umd.js +51700 -10272
  3. package/dist/main/BatchCall.d.ts.map +1 -1
  4. package/dist/main/BatchCall.js +3 -3
  5. package/dist/main/BatchCall.js.map +1 -1
  6. package/dist/main/ConstantFlowAgreementV1.d.ts +17 -6
  7. package/dist/main/ConstantFlowAgreementV1.d.ts.map +1 -1
  8. package/dist/main/ConstantFlowAgreementV1.js +51 -16
  9. package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
  10. package/dist/main/ERC20Token.d.ts +1 -1
  11. package/dist/main/ERC20Token.d.ts.map +1 -1
  12. package/dist/main/ERC20Token.js +2 -2
  13. package/dist/main/ERC20Token.js.map +1 -1
  14. package/dist/main/Framework.d.ts.map +1 -1
  15. package/dist/main/Framework.js +12 -15
  16. package/dist/main/Framework.js.map +1 -1
  17. package/dist/main/Governance.d.ts +2 -2
  18. package/dist/main/Governance.d.ts.map +1 -1
  19. package/dist/main/Governance.js +3 -6
  20. package/dist/main/Governance.js.map +1 -1
  21. package/dist/main/Host.d.ts +1 -1
  22. package/dist/main/Host.d.ts.map +1 -1
  23. package/dist/main/Host.js +2 -2
  24. package/dist/main/Host.js.map +1 -1
  25. package/dist/main/InstantDistributionAgreementV1.d.ts +3 -4
  26. package/dist/main/InstantDistributionAgreementV1.d.ts.map +1 -1
  27. package/dist/main/InstantDistributionAgreementV1.js +13 -14
  28. package/dist/main/InstantDistributionAgreementV1.js.map +1 -1
  29. package/dist/main/Operation.d.ts +3 -1
  30. package/dist/main/Operation.d.ts.map +1 -1
  31. package/dist/main/Operation.js +7 -3
  32. package/dist/main/Operation.js.map +1 -1
  33. package/dist/main/Query.d.ts +2 -2
  34. package/dist/main/Query.d.ts.map +1 -1
  35. package/dist/main/Query.js.map +1 -1
  36. package/dist/main/SuperToken.d.ts +1 -5
  37. package/dist/main/SuperToken.d.ts.map +1 -1
  38. package/dist/main/SuperToken.js +7 -15
  39. package/dist/main/SuperToken.js.map +1 -1
  40. package/dist/main/defaultSubgraphReleaseTag.json +1 -1
  41. package/dist/main/index.d.ts +1 -0
  42. package/dist/main/index.d.ts.map +1 -1
  43. package/dist/main/index.js +1 -0
  44. package/dist/main/index.js.map +1 -1
  45. package/dist/main/interfaces.d.ts +18 -18
  46. package/dist/main/interfaces.d.ts.map +1 -1
  47. package/dist/main/utils.d.ts +14 -7
  48. package/dist/main/utils.d.ts.map +1 -1
  49. package/dist/main/utils.js +17 -1
  50. package/dist/main/utils.js.map +1 -1
  51. package/dist/module/BatchCall.d.ts.map +1 -1
  52. package/dist/module/BatchCall.js +3 -3
  53. package/dist/module/BatchCall.js.map +1 -1
  54. package/dist/module/ConstantFlowAgreementV1.d.ts +17 -6
  55. package/dist/module/ConstantFlowAgreementV1.d.ts.map +1 -1
  56. package/dist/module/ConstantFlowAgreementV1.js +51 -16
  57. package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
  58. package/dist/module/ERC20Token.d.ts +1 -1
  59. package/dist/module/ERC20Token.d.ts.map +1 -1
  60. package/dist/module/ERC20Token.js +2 -2
  61. package/dist/module/ERC20Token.js.map +1 -1
  62. package/dist/module/Framework.d.ts.map +1 -1
  63. package/dist/module/Framework.js +12 -15
  64. package/dist/module/Framework.js.map +1 -1
  65. package/dist/module/Governance.d.ts +2 -2
  66. package/dist/module/Governance.d.ts.map +1 -1
  67. package/dist/module/Governance.js +3 -3
  68. package/dist/module/Governance.js.map +1 -1
  69. package/dist/module/Host.d.ts +1 -1
  70. package/dist/module/Host.d.ts.map +1 -1
  71. package/dist/module/Host.js +2 -2
  72. package/dist/module/Host.js.map +1 -1
  73. package/dist/module/InstantDistributionAgreementV1.d.ts +3 -4
  74. package/dist/module/InstantDistributionAgreementV1.d.ts.map +1 -1
  75. package/dist/module/InstantDistributionAgreementV1.js +13 -14
  76. package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
  77. package/dist/module/Operation.d.ts +3 -1
  78. package/dist/module/Operation.d.ts.map +1 -1
  79. package/dist/module/Operation.js +7 -3
  80. package/dist/module/Operation.js.map +1 -1
  81. package/dist/module/Query.d.ts +2 -2
  82. package/dist/module/Query.d.ts.map +1 -1
  83. package/dist/module/Query.js.map +1 -1
  84. package/dist/module/SuperToken.d.ts +1 -5
  85. package/dist/module/SuperToken.d.ts.map +1 -1
  86. package/dist/module/SuperToken.js +7 -15
  87. package/dist/module/SuperToken.js.map +1 -1
  88. package/dist/module/defaultSubgraphReleaseTag.json +1 -1
  89. package/dist/module/index.d.ts +1 -0
  90. package/dist/module/index.d.ts.map +1 -1
  91. package/dist/module/index.js +1 -0
  92. package/dist/module/index.js.map +1 -1
  93. package/dist/module/interfaces.d.ts +18 -18
  94. package/dist/module/interfaces.d.ts.map +1 -1
  95. package/dist/module/utils.d.ts +14 -7
  96. package/dist/module/utils.d.ts.map +1 -1
  97. package/dist/module/utils.js +15 -0
  98. package/dist/module/utils.js.map +1 -1
  99. package/package.json +4 -6
  100. package/dist/main/abi/ERC20WithTokenInfo.json +0 -224
  101. package/dist/main/abi/IConstantFlowAgreementV1.json +0 -860
  102. package/dist/main/abi/IInstantDistributionAgreementV1.json +0 -950
  103. package/dist/main/abi/IResolver.json +0 -58
  104. package/dist/main/abi/ISETH.json +0 -1629
  105. package/dist/main/abi/SuperToken.json +0 -1751
  106. package/dist/main/abi/Superfluid.json +0 -1324
  107. package/dist/main/abi/SuperfluidGovernanceII.json +0 -1085
  108. package/dist/main/abi/SuperfluidLoader.json +0 -54
  109. package/dist/main/typechain/ERC20WithTokenInfo.d.ts +0 -167
  110. package/dist/main/typechain/ERC20WithTokenInfo.d.ts.map +0 -1
  111. package/dist/main/typechain/ERC20WithTokenInfo.js +0 -3
  112. package/dist/main/typechain/ERC20WithTokenInfo.js.map +0 -1
  113. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts +0 -574
  114. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts.map +0 -1
  115. package/dist/main/typechain/IConstantFlowAgreementV1.js +0 -3
  116. package/dist/main/typechain/IConstantFlowAgreementV1.js.map +0 -1
  117. package/dist/main/typechain/IInstantDistributionAgreementV1.d.ts +0 -641
  118. package/dist/main/typechain/IInstantDistributionAgreementV1.d.ts.map +0 -1
  119. package/dist/main/typechain/IInstantDistributionAgreementV1.js +0 -3
  120. package/dist/main/typechain/IInstantDistributionAgreementV1.js.map +0 -1
  121. package/dist/main/typechain/IResolver.d.ts +0 -71
  122. package/dist/main/typechain/IResolver.d.ts.map +0 -1
  123. package/dist/main/typechain/IResolver.js +0 -3
  124. package/dist/main/typechain/IResolver.js.map +0 -1
  125. package/dist/main/typechain/ISETH.d.ts +0 -1150
  126. package/dist/main/typechain/ISETH.d.ts.map +0 -1
  127. package/dist/main/typechain/ISETH.js +0 -3
  128. package/dist/main/typechain/ISETH.js.map +0 -1
  129. package/dist/main/typechain/SuperToken.d.ts +0 -1170
  130. package/dist/main/typechain/SuperToken.d.ts.map +0 -1
  131. package/dist/main/typechain/SuperToken.js +0 -3
  132. package/dist/main/typechain/SuperToken.js.map +0 -1
  133. package/dist/main/typechain/Superfluid.d.ts +0 -849
  134. package/dist/main/typechain/Superfluid.d.ts.map +0 -1
  135. package/dist/main/typechain/Superfluid.js +0 -3
  136. package/dist/main/typechain/Superfluid.js.map +0 -1
  137. package/dist/main/typechain/SuperfluidGovernanceII.d.ts +0 -797
  138. package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +0 -1
  139. package/dist/main/typechain/SuperfluidGovernanceII.js +0 -3
  140. package/dist/main/typechain/SuperfluidGovernanceII.js.map +0 -1
  141. package/dist/main/typechain/SuperfluidLoader.d.ts +0 -61
  142. package/dist/main/typechain/SuperfluidLoader.d.ts.map +0 -1
  143. package/dist/main/typechain/SuperfluidLoader.js +0 -3
  144. package/dist/main/typechain/SuperfluidLoader.js.map +0 -1
  145. package/dist/main/typechain/TestToken.d.ts +0 -223
  146. package/dist/main/typechain/TestToken.d.ts.map +0 -1
  147. package/dist/main/typechain/TestToken.js +0 -3
  148. package/dist/main/typechain/TestToken.js.map +0 -1
  149. package/dist/main/typechain/common.d.ts +0 -23
  150. package/dist/main/typechain/common.d.ts.map +0 -1
  151. package/dist/main/typechain/common.js +0 -3
  152. package/dist/main/typechain/common.js.map +0 -1
  153. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.d.ts +0 -36
  154. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.d.ts.map +0 -1
  155. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.js +0 -242
  156. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.js.map +0 -1
  157. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +0 -43
  158. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +0 -1
  159. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +0 -878
  160. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +0 -1
  161. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +0 -43
  162. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +0 -1
  163. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js +0 -968
  164. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +0 -1
  165. package/dist/main/typechain/factories/IResolver__factory.d.ts +0 -36
  166. package/dist/main/typechain/factories/IResolver__factory.d.ts.map +0 -1
  167. package/dist/main/typechain/factories/IResolver__factory.js +0 -76
  168. package/dist/main/typechain/factories/IResolver__factory.js.map +0 -1
  169. package/dist/main/typechain/factories/ISETH__factory.d.ts +0 -43
  170. package/dist/main/typechain/factories/ISETH__factory.d.ts.map +0 -1
  171. package/dist/main/typechain/factories/ISETH__factory.js +0 -1647
  172. package/dist/main/typechain/factories/ISETH__factory.js.map +0 -1
  173. package/dist/main/typechain/factories/SuperToken__factory.d.ts +0 -58
  174. package/dist/main/typechain/factories/SuperToken__factory.d.ts.map +0 -1
  175. package/dist/main/typechain/factories/SuperToken__factory.js +0 -1769
  176. package/dist/main/typechain/factories/SuperToken__factory.js.map +0 -1
  177. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts +0 -47
  178. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +0 -1
  179. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +0 -1103
  180. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +0 -1
  181. package/dist/main/typechain/factories/SuperfluidLoader__factory.d.ts +0 -38
  182. package/dist/main/typechain/factories/SuperfluidLoader__factory.d.ts.map +0 -1
  183. package/dist/main/typechain/factories/SuperfluidLoader__factory.js +0 -72
  184. package/dist/main/typechain/factories/SuperfluidLoader__factory.js.map +0 -1
  185. package/dist/main/typechain/factories/Superfluid__factory.d.ts +0 -94
  186. package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +0 -1
  187. package/dist/main/typechain/factories/Superfluid__factory.js +0 -1342
  188. package/dist/main/typechain/factories/Superfluid__factory.js.map +0 -1
  189. package/dist/main/typechain/factories/TestToken__factory.d.ts +0 -47
  190. package/dist/main/typechain/factories/TestToken__factory.d.ts.map +0 -1
  191. package/dist/main/typechain/factories/TestToken__factory.js +0 -348
  192. package/dist/main/typechain/factories/TestToken__factory.js.map +0 -1
  193. package/dist/main/typechain/factories/index.d.ts +0 -11
  194. package/dist/main/typechain/factories/index.d.ts.map +0 -1
  195. package/dist/main/typechain/factories/index.js +0 -27
  196. package/dist/main/typechain/factories/index.js.map +0 -1
  197. package/dist/main/typechain/index.d.ts +0 -22
  198. package/dist/main/typechain/index.d.ts.map +0 -1
  199. package/dist/main/typechain/index.js +0 -48
  200. package/dist/main/typechain/index.js.map +0 -1
  201. package/dist/module/abi/ERC20WithTokenInfo.json +0 -224
  202. package/dist/module/abi/IConstantFlowAgreementV1.json +0 -860
  203. package/dist/module/abi/IInstantDistributionAgreementV1.json +0 -950
  204. package/dist/module/abi/IResolver.json +0 -58
  205. package/dist/module/abi/ISETH.json +0 -1629
  206. package/dist/module/abi/SuperToken.json +0 -1751
  207. package/dist/module/abi/Superfluid.json +0 -1324
  208. package/dist/module/abi/SuperfluidGovernanceII.json +0 -1085
  209. package/dist/module/abi/SuperfluidLoader.json +0 -54
  210. package/dist/module/typechain/ERC20WithTokenInfo.d.ts +0 -167
  211. package/dist/module/typechain/ERC20WithTokenInfo.d.ts.map +0 -1
  212. package/dist/module/typechain/ERC20WithTokenInfo.js +0 -2
  213. package/dist/module/typechain/ERC20WithTokenInfo.js.map +0 -1
  214. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts +0 -574
  215. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts.map +0 -1
  216. package/dist/module/typechain/IConstantFlowAgreementV1.js +0 -2
  217. package/dist/module/typechain/IConstantFlowAgreementV1.js.map +0 -1
  218. package/dist/module/typechain/IInstantDistributionAgreementV1.d.ts +0 -641
  219. package/dist/module/typechain/IInstantDistributionAgreementV1.d.ts.map +0 -1
  220. package/dist/module/typechain/IInstantDistributionAgreementV1.js +0 -2
  221. package/dist/module/typechain/IInstantDistributionAgreementV1.js.map +0 -1
  222. package/dist/module/typechain/IResolver.d.ts +0 -71
  223. package/dist/module/typechain/IResolver.d.ts.map +0 -1
  224. package/dist/module/typechain/IResolver.js +0 -2
  225. package/dist/module/typechain/IResolver.js.map +0 -1
  226. package/dist/module/typechain/ISETH.d.ts +0 -1150
  227. package/dist/module/typechain/ISETH.d.ts.map +0 -1
  228. package/dist/module/typechain/ISETH.js +0 -2
  229. package/dist/module/typechain/ISETH.js.map +0 -1
  230. package/dist/module/typechain/SuperToken.d.ts +0 -1170
  231. package/dist/module/typechain/SuperToken.d.ts.map +0 -1
  232. package/dist/module/typechain/SuperToken.js +0 -2
  233. package/dist/module/typechain/SuperToken.js.map +0 -1
  234. package/dist/module/typechain/Superfluid.d.ts +0 -849
  235. package/dist/module/typechain/Superfluid.d.ts.map +0 -1
  236. package/dist/module/typechain/Superfluid.js +0 -2
  237. package/dist/module/typechain/Superfluid.js.map +0 -1
  238. package/dist/module/typechain/SuperfluidGovernanceII.d.ts +0 -797
  239. package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +0 -1
  240. package/dist/module/typechain/SuperfluidGovernanceII.js +0 -2
  241. package/dist/module/typechain/SuperfluidGovernanceII.js.map +0 -1
  242. package/dist/module/typechain/SuperfluidLoader.d.ts +0 -61
  243. package/dist/module/typechain/SuperfluidLoader.d.ts.map +0 -1
  244. package/dist/module/typechain/SuperfluidLoader.js +0 -2
  245. package/dist/module/typechain/SuperfluidLoader.js.map +0 -1
  246. package/dist/module/typechain/TestToken.d.ts +0 -223
  247. package/dist/module/typechain/TestToken.d.ts.map +0 -1
  248. package/dist/module/typechain/TestToken.js +0 -2
  249. package/dist/module/typechain/TestToken.js.map +0 -1
  250. package/dist/module/typechain/common.d.ts +0 -23
  251. package/dist/module/typechain/common.d.ts.map +0 -1
  252. package/dist/module/typechain/common.js +0 -2
  253. package/dist/module/typechain/common.js.map +0 -1
  254. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.d.ts +0 -36
  255. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.d.ts.map +0 -1
  256. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.js +0 -238
  257. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.js.map +0 -1
  258. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +0 -43
  259. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +0 -1
  260. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +0 -874
  261. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +0 -1
  262. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +0 -43
  263. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +0 -1
  264. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js +0 -964
  265. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +0 -1
  266. package/dist/module/typechain/factories/IResolver__factory.d.ts +0 -36
  267. package/dist/module/typechain/factories/IResolver__factory.d.ts.map +0 -1
  268. package/dist/module/typechain/factories/IResolver__factory.js +0 -72
  269. package/dist/module/typechain/factories/IResolver__factory.js.map +0 -1
  270. package/dist/module/typechain/factories/ISETH__factory.d.ts +0 -43
  271. package/dist/module/typechain/factories/ISETH__factory.d.ts.map +0 -1
  272. package/dist/module/typechain/factories/ISETH__factory.js +0 -1643
  273. package/dist/module/typechain/factories/ISETH__factory.js.map +0 -1
  274. package/dist/module/typechain/factories/SuperToken__factory.d.ts +0 -58
  275. package/dist/module/typechain/factories/SuperToken__factory.d.ts.map +0 -1
  276. package/dist/module/typechain/factories/SuperToken__factory.js +0 -1765
  277. package/dist/module/typechain/factories/SuperToken__factory.js.map +0 -1
  278. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts +0 -47
  279. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +0 -1
  280. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +0 -1099
  281. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +0 -1
  282. package/dist/module/typechain/factories/SuperfluidLoader__factory.d.ts +0 -38
  283. package/dist/module/typechain/factories/SuperfluidLoader__factory.d.ts.map +0 -1
  284. package/dist/module/typechain/factories/SuperfluidLoader__factory.js +0 -68
  285. package/dist/module/typechain/factories/SuperfluidLoader__factory.js.map +0 -1
  286. package/dist/module/typechain/factories/Superfluid__factory.d.ts +0 -94
  287. package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +0 -1
  288. package/dist/module/typechain/factories/Superfluid__factory.js +0 -1338
  289. package/dist/module/typechain/factories/Superfluid__factory.js.map +0 -1
  290. package/dist/module/typechain/factories/TestToken__factory.d.ts +0 -47
  291. package/dist/module/typechain/factories/TestToken__factory.d.ts.map +0 -1
  292. package/dist/module/typechain/factories/TestToken__factory.js +0 -344
  293. package/dist/module/typechain/factories/TestToken__factory.js.map +0 -1
  294. package/dist/module/typechain/factories/index.d.ts +0 -11
  295. package/dist/module/typechain/factories/index.d.ts.map +0 -1
  296. package/dist/module/typechain/factories/index.js +0 -14
  297. package/dist/module/typechain/factories/index.js.map +0 -1
  298. package/dist/module/typechain/index.d.ts +0 -22
  299. package/dist/module/typechain/index.d.ts.map +0 -1
  300. package/dist/module/typechain/index.js +0 -12
  301. package/dist/module/typechain/index.js.map +0 -1
@@ -1,1103 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.SuperfluidGovernanceII__factory = void 0;
7
- const ethers_1 = require("ethers");
8
- const _abi = [
9
- {
10
- inputs: [
11
- {
12
- internalType: "uint256",
13
- name: "_code",
14
- type: "uint256",
15
- },
16
- ],
17
- name: "MUST_BE_CONTRACT",
18
- type: "error",
19
- },
20
- {
21
- inputs: [],
22
- name: "SF_GOV_ARRAYS_NOT_SAME_LENGTH",
23
- type: "error",
24
- },
25
- {
26
- inputs: [],
27
- name: "SF_GOV_II_ONLY_OWNER",
28
- type: "error",
29
- },
30
- {
31
- inputs: [],
32
- name: "SF_GOV_INVALID_LIQUIDATION_OR_PATRICIAN_PERIOD",
33
- type: "error",
34
- },
35
- {
36
- anonymous: false,
37
- inputs: [
38
- {
39
- indexed: true,
40
- internalType: "contract ISuperfluid",
41
- name: "host",
42
- type: "address",
43
- },
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "factory",
48
- type: "address",
49
- },
50
- {
51
- indexed: false,
52
- internalType: "bool",
53
- name: "authorized",
54
- type: "bool",
55
- },
56
- ],
57
- name: "AppFactoryAuthorizationChanged",
58
- type: "event",
59
- },
60
- {
61
- anonymous: false,
62
- inputs: [
63
- {
64
- indexed: true,
65
- internalType: "contract ISuperfluid",
66
- name: "host",
67
- type: "address",
68
- },
69
- {
70
- indexed: true,
71
- internalType: "address",
72
- name: "deployer",
73
- type: "address",
74
- },
75
- {
76
- indexed: false,
77
- internalType: "string",
78
- name: "appRegistrationKey",
79
- type: "string",
80
- },
81
- {
82
- indexed: false,
83
- internalType: "uint256",
84
- name: "expirationTs",
85
- type: "uint256",
86
- },
87
- ],
88
- name: "AppRegistrationKeyChanged",
89
- type: "event",
90
- },
91
- {
92
- anonymous: false,
93
- inputs: [
94
- {
95
- indexed: true,
96
- internalType: "contract ISuperfluid",
97
- name: "host",
98
- type: "address",
99
- },
100
- {
101
- indexed: true,
102
- internalType: "contract ISuperfluidToken",
103
- name: "superToken",
104
- type: "address",
105
- },
106
- {
107
- indexed: false,
108
- internalType: "bool",
109
- name: "isKeySet",
110
- type: "bool",
111
- },
112
- {
113
- indexed: false,
114
- internalType: "uint256",
115
- name: "liquidationPeriod",
116
- type: "uint256",
117
- },
118
- ],
119
- name: "CFAv1LiquidationPeriodChanged",
120
- type: "event",
121
- },
122
- {
123
- anonymous: false,
124
- inputs: [
125
- {
126
- indexed: false,
127
- internalType: "bytes32",
128
- name: "uuid",
129
- type: "bytes32",
130
- },
131
- {
132
- indexed: false,
133
- internalType: "address",
134
- name: "codeAddress",
135
- type: "address",
136
- },
137
- ],
138
- name: "CodeUpdated",
139
- type: "event",
140
- },
141
- {
142
- anonymous: false,
143
- inputs: [
144
- {
145
- indexed: true,
146
- internalType: "contract ISuperfluid",
147
- name: "host",
148
- type: "address",
149
- },
150
- {
151
- indexed: true,
152
- internalType: "contract ISuperfluidToken",
153
- name: "superToken",
154
- type: "address",
155
- },
156
- {
157
- indexed: false,
158
- internalType: "bytes32",
159
- name: "key",
160
- type: "bytes32",
161
- },
162
- {
163
- indexed: false,
164
- internalType: "bool",
165
- name: "isKeySet",
166
- type: "bool",
167
- },
168
- {
169
- indexed: false,
170
- internalType: "uint256",
171
- name: "value",
172
- type: "uint256",
173
- },
174
- ],
175
- name: "ConfigChanged",
176
- type: "event",
177
- },
178
- {
179
- anonymous: false,
180
- inputs: [
181
- {
182
- indexed: false,
183
- internalType: "uint8",
184
- name: "version",
185
- type: "uint8",
186
- },
187
- ],
188
- name: "Initialized",
189
- type: "event",
190
- },
191
- {
192
- anonymous: false,
193
- inputs: [
194
- {
195
- indexed: true,
196
- internalType: "address",
197
- name: "previousOwner",
198
- type: "address",
199
- },
200
- {
201
- indexed: true,
202
- internalType: "address",
203
- name: "newOwner",
204
- type: "address",
205
- },
206
- ],
207
- name: "OwnershipTransferred",
208
- type: "event",
209
- },
210
- {
211
- anonymous: false,
212
- inputs: [
213
- {
214
- indexed: true,
215
- internalType: "contract ISuperfluid",
216
- name: "host",
217
- type: "address",
218
- },
219
- {
220
- indexed: true,
221
- internalType: "contract ISuperfluidToken",
222
- name: "superToken",
223
- type: "address",
224
- },
225
- {
226
- indexed: false,
227
- internalType: "bool",
228
- name: "isKeySet",
229
- type: "bool",
230
- },
231
- {
232
- indexed: false,
233
- internalType: "uint256",
234
- name: "liquidationPeriod",
235
- type: "uint256",
236
- },
237
- {
238
- indexed: false,
239
- internalType: "uint256",
240
- name: "patricianPeriod",
241
- type: "uint256",
242
- },
243
- ],
244
- name: "PPPConfigurationChanged",
245
- type: "event",
246
- },
247
- {
248
- anonymous: false,
249
- inputs: [
250
- {
251
- indexed: true,
252
- internalType: "contract ISuperfluid",
253
- name: "host",
254
- type: "address",
255
- },
256
- {
257
- indexed: true,
258
- internalType: "contract ISuperfluidToken",
259
- name: "superToken",
260
- type: "address",
261
- },
262
- {
263
- indexed: false,
264
- internalType: "bool",
265
- name: "isKeySet",
266
- type: "bool",
267
- },
268
- {
269
- indexed: false,
270
- internalType: "address",
271
- name: "rewardAddress",
272
- type: "address",
273
- },
274
- ],
275
- name: "RewardAddressChanged",
276
- type: "event",
277
- },
278
- {
279
- anonymous: false,
280
- inputs: [
281
- {
282
- indexed: true,
283
- internalType: "contract ISuperfluid",
284
- name: "host",
285
- type: "address",
286
- },
287
- {
288
- indexed: true,
289
- internalType: "contract ISuperfluidToken",
290
- name: "superToken",
291
- type: "address",
292
- },
293
- {
294
- indexed: false,
295
- internalType: "bool",
296
- name: "isKeySet",
297
- type: "bool",
298
- },
299
- {
300
- indexed: false,
301
- internalType: "uint256",
302
- name: "minimumDeposit",
303
- type: "uint256",
304
- },
305
- ],
306
- name: "SuperTokenMinimumDepositChanged",
307
- type: "event",
308
- },
309
- {
310
- anonymous: false,
311
- inputs: [
312
- {
313
- indexed: true,
314
- internalType: "contract ISuperfluid",
315
- name: "host",
316
- type: "address",
317
- },
318
- {
319
- indexed: true,
320
- internalType: "contract ISuperfluidToken",
321
- name: "superToken",
322
- type: "address",
323
- },
324
- {
325
- indexed: false,
326
- internalType: "bool",
327
- name: "isKeySet",
328
- type: "bool",
329
- },
330
- {
331
- indexed: false,
332
- internalType: "address",
333
- name: "forwarder",
334
- type: "address",
335
- },
336
- {
337
- indexed: false,
338
- internalType: "bool",
339
- name: "enabled",
340
- type: "bool",
341
- },
342
- ],
343
- name: "TrustedForwarderChanged",
344
- type: "event",
345
- },
346
- {
347
- inputs: [
348
- {
349
- internalType: "contract ISuperfluid",
350
- name: "host",
351
- type: "address",
352
- },
353
- {
354
- internalType: "address",
355
- name: "factory",
356
- type: "address",
357
- },
358
- ],
359
- name: "authorizeAppFactory",
360
- outputs: [],
361
- stateMutability: "nonpayable",
362
- type: "function",
363
- },
364
- {
365
- inputs: [
366
- {
367
- internalType: "contract ISuperfluid",
368
- name: "host",
369
- type: "address",
370
- },
371
- {
372
- internalType: "contract ISuperToken[]",
373
- name: "tokens",
374
- type: "address[]",
375
- },
376
- ],
377
- name: "batchUpdateSuperTokenLogic",
378
- outputs: [],
379
- stateMutability: "nonpayable",
380
- type: "function",
381
- },
382
- {
383
- inputs: [
384
- {
385
- internalType: "contract ISuperfluid",
386
- name: "host",
387
- type: "address",
388
- },
389
- {
390
- internalType: "contract ISuperToken[]",
391
- name: "tokens",
392
- type: "address[]",
393
- },
394
- {
395
- internalType: "uint256[]",
396
- name: "minimumDeposits",
397
- type: "uint256[]",
398
- },
399
- ],
400
- name: "batchUpdateSuperTokenMinimumDeposit",
401
- outputs: [],
402
- stateMutability: "nonpayable",
403
- type: "function",
404
- },
405
- {
406
- inputs: [],
407
- name: "castrate",
408
- outputs: [],
409
- stateMutability: "nonpayable",
410
- type: "function",
411
- },
412
- {
413
- inputs: [
414
- {
415
- internalType: "contract ISuperfluid",
416
- name: "host",
417
- type: "address",
418
- },
419
- {
420
- internalType: "address",
421
- name: "deployer",
422
- type: "address",
423
- },
424
- {
425
- internalType: "string",
426
- name: "registrationKey",
427
- type: "string",
428
- },
429
- ],
430
- name: "clearAppRegistrationKey",
431
- outputs: [],
432
- stateMutability: "nonpayable",
433
- type: "function",
434
- },
435
- {
436
- inputs: [
437
- {
438
- internalType: "contract ISuperfluid",
439
- name: "host",
440
- type: "address",
441
- },
442
- {
443
- internalType: "contract ISuperfluidToken",
444
- name: "superToken",
445
- type: "address",
446
- },
447
- {
448
- internalType: "bytes32",
449
- name: "key",
450
- type: "bytes32",
451
- },
452
- ],
453
- name: "clearConfig",
454
- outputs: [],
455
- stateMutability: "nonpayable",
456
- type: "function",
457
- },
458
- {
459
- inputs: [
460
- {
461
- internalType: "contract ISuperfluid",
462
- name: "host",
463
- type: "address",
464
- },
465
- {
466
- internalType: "contract ISuperfluidToken",
467
- name: "superToken",
468
- type: "address",
469
- },
470
- ],
471
- name: "clearPPPConfig",
472
- outputs: [],
473
- stateMutability: "nonpayable",
474
- type: "function",
475
- },
476
- {
477
- inputs: [
478
- {
479
- internalType: "contract ISuperfluid",
480
- name: "host",
481
- type: "address",
482
- },
483
- {
484
- internalType: "contract ISuperfluidToken",
485
- name: "superToken",
486
- type: "address",
487
- },
488
- ],
489
- name: "clearRewardAddress",
490
- outputs: [],
491
- stateMutability: "nonpayable",
492
- type: "function",
493
- },
494
- {
495
- inputs: [
496
- {
497
- internalType: "contract ISuperfluid",
498
- name: "host",
499
- type: "address",
500
- },
501
- {
502
- internalType: "contract ISuperToken",
503
- name: "superToken",
504
- type: "address",
505
- },
506
- ],
507
- name: "clearSuperTokenMinimumDeposit",
508
- outputs: [],
509
- stateMutability: "nonpayable",
510
- type: "function",
511
- },
512
- {
513
- inputs: [
514
- {
515
- internalType: "contract ISuperfluid",
516
- name: "host",
517
- type: "address",
518
- },
519
- {
520
- internalType: "contract ISuperfluidToken",
521
- name: "superToken",
522
- type: "address",
523
- },
524
- {
525
- internalType: "address",
526
- name: "forwarder",
527
- type: "address",
528
- },
529
- ],
530
- name: "disableTrustedForwarder",
531
- outputs: [],
532
- stateMutability: "nonpayable",
533
- type: "function",
534
- },
535
- {
536
- inputs: [
537
- {
538
- internalType: "contract ISuperfluid",
539
- name: "host",
540
- type: "address",
541
- },
542
- {
543
- internalType: "contract ISuperfluidToken",
544
- name: "superToken",
545
- type: "address",
546
- },
547
- {
548
- internalType: "address",
549
- name: "forwarder",
550
- type: "address",
551
- },
552
- ],
553
- name: "enableTrustedForwarder",
554
- outputs: [],
555
- stateMutability: "nonpayable",
556
- type: "function",
557
- },
558
- {
559
- inputs: [],
560
- name: "getCodeAddress",
561
- outputs: [
562
- {
563
- internalType: "address",
564
- name: "codeAddress",
565
- type: "address",
566
- },
567
- ],
568
- stateMutability: "view",
569
- type: "function",
570
- },
571
- {
572
- inputs: [
573
- {
574
- internalType: "contract ISuperfluid",
575
- name: "host",
576
- type: "address",
577
- },
578
- {
579
- internalType: "contract ISuperfluidToken",
580
- name: "superToken",
581
- type: "address",
582
- },
583
- {
584
- internalType: "bytes32",
585
- name: "key",
586
- type: "bytes32",
587
- },
588
- ],
589
- name: "getConfigAsAddress",
590
- outputs: [
591
- {
592
- internalType: "address",
593
- name: "value",
594
- type: "address",
595
- },
596
- ],
597
- stateMutability: "view",
598
- type: "function",
599
- },
600
- {
601
- inputs: [
602
- {
603
- internalType: "contract ISuperfluid",
604
- name: "host",
605
- type: "address",
606
- },
607
- {
608
- internalType: "contract ISuperfluidToken",
609
- name: "superToken",
610
- type: "address",
611
- },
612
- {
613
- internalType: "bytes32",
614
- name: "key",
615
- type: "bytes32",
616
- },
617
- ],
618
- name: "getConfigAsUint256",
619
- outputs: [
620
- {
621
- internalType: "uint256",
622
- name: "period",
623
- type: "uint256",
624
- },
625
- ],
626
- stateMutability: "view",
627
- type: "function",
628
- },
629
- {
630
- inputs: [
631
- {
632
- internalType: "contract ISuperfluid",
633
- name: "host",
634
- type: "address",
635
- },
636
- {
637
- internalType: "contract ISuperfluidToken",
638
- name: "superToken",
639
- type: "address",
640
- },
641
- ],
642
- name: "getPPPConfig",
643
- outputs: [
644
- {
645
- internalType: "uint256",
646
- name: "liquidationPeriod",
647
- type: "uint256",
648
- },
649
- {
650
- internalType: "uint256",
651
- name: "patricianPeriod",
652
- type: "uint256",
653
- },
654
- ],
655
- stateMutability: "view",
656
- type: "function",
657
- },
658
- {
659
- inputs: [
660
- {
661
- internalType: "contract ISuperfluid",
662
- name: "host",
663
- type: "address",
664
- },
665
- {
666
- internalType: "contract ISuperfluidToken",
667
- name: "superToken",
668
- type: "address",
669
- },
670
- ],
671
- name: "getRewardAddress",
672
- outputs: [
673
- {
674
- internalType: "address",
675
- name: "",
676
- type: "address",
677
- },
678
- ],
679
- stateMutability: "view",
680
- type: "function",
681
- },
682
- {
683
- inputs: [
684
- {
685
- internalType: "contract ISuperfluid",
686
- name: "host",
687
- type: "address",
688
- },
689
- {
690
- internalType: "contract ISuperfluidToken",
691
- name: "superToken",
692
- type: "address",
693
- },
694
- ],
695
- name: "getSuperTokenMinimumDeposit",
696
- outputs: [
697
- {
698
- internalType: "uint256",
699
- name: "value",
700
- type: "uint256",
701
- },
702
- ],
703
- stateMutability: "view",
704
- type: "function",
705
- },
706
- {
707
- inputs: [
708
- {
709
- internalType: "contract ISuperfluid",
710
- name: "host",
711
- type: "address",
712
- },
713
- {
714
- internalType: "address",
715
- name: "factory",
716
- type: "address",
717
- },
718
- ],
719
- name: "isAuthorizedAppFactory",
720
- outputs: [
721
- {
722
- internalType: "bool",
723
- name: "",
724
- type: "bool",
725
- },
726
- ],
727
- stateMutability: "view",
728
- type: "function",
729
- },
730
- {
731
- inputs: [
732
- {
733
- internalType: "contract ISuperfluid",
734
- name: "host",
735
- type: "address",
736
- },
737
- {
738
- internalType: "contract ISuperfluidToken",
739
- name: "superToken",
740
- type: "address",
741
- },
742
- {
743
- internalType: "address",
744
- name: "forwarder",
745
- type: "address",
746
- },
747
- ],
748
- name: "isTrustedForwarder",
749
- outputs: [
750
- {
751
- internalType: "bool",
752
- name: "",
753
- type: "bool",
754
- },
755
- ],
756
- stateMutability: "view",
757
- type: "function",
758
- },
759
- {
760
- inputs: [],
761
- name: "owner",
762
- outputs: [
763
- {
764
- internalType: "address",
765
- name: "",
766
- type: "address",
767
- },
768
- ],
769
- stateMutability: "view",
770
- type: "function",
771
- },
772
- {
773
- inputs: [
774
- {
775
- internalType: "contract ISuperfluid",
776
- name: "host",
777
- type: "address",
778
- },
779
- {
780
- internalType: "address",
781
- name: "agreementClass",
782
- type: "address",
783
- },
784
- ],
785
- name: "registerAgreementClass",
786
- outputs: [],
787
- stateMutability: "nonpayable",
788
- type: "function",
789
- },
790
- {
791
- inputs: [],
792
- name: "renounceOwnership",
793
- outputs: [],
794
- stateMutability: "nonpayable",
795
- type: "function",
796
- },
797
- {
798
- inputs: [
799
- {
800
- internalType: "contract ISuperfluid",
801
- name: "host",
802
- type: "address",
803
- },
804
- {
805
- internalType: "address",
806
- name: "newGov",
807
- type: "address",
808
- },
809
- ],
810
- name: "replaceGovernance",
811
- outputs: [],
812
- stateMutability: "nonpayable",
813
- type: "function",
814
- },
815
- {
816
- inputs: [
817
- {
818
- internalType: "contract ISuperfluid",
819
- name: "host",
820
- type: "address",
821
- },
822
- {
823
- internalType: "address",
824
- name: "deployer",
825
- type: "address",
826
- },
827
- {
828
- internalType: "string",
829
- name: "registrationKey",
830
- type: "string",
831
- },
832
- {
833
- internalType: "uint256",
834
- name: "expirationTs",
835
- type: "uint256",
836
- },
837
- ],
838
- name: "setAppRegistrationKey",
839
- outputs: [],
840
- stateMutability: "nonpayable",
841
- type: "function",
842
- },
843
- {
844
- inputs: [
845
- {
846
- internalType: "contract ISuperfluid",
847
- name: "host",
848
- type: "address",
849
- },
850
- {
851
- internalType: "contract ISuperfluidToken",
852
- name: "superToken",
853
- type: "address",
854
- },
855
- {
856
- internalType: "bytes32",
857
- name: "key",
858
- type: "bytes32",
859
- },
860
- {
861
- internalType: "address",
862
- name: "value",
863
- type: "address",
864
- },
865
- ],
866
- name: "setConfig",
867
- outputs: [],
868
- stateMutability: "nonpayable",
869
- type: "function",
870
- },
871
- {
872
- inputs: [
873
- {
874
- internalType: "contract ISuperfluid",
875
- name: "host",
876
- type: "address",
877
- },
878
- {
879
- internalType: "contract ISuperfluidToken",
880
- name: "superToken",
881
- type: "address",
882
- },
883
- {
884
- internalType: "bytes32",
885
- name: "key",
886
- type: "bytes32",
887
- },
888
- {
889
- internalType: "uint256",
890
- name: "value",
891
- type: "uint256",
892
- },
893
- ],
894
- name: "setConfig",
895
- outputs: [],
896
- stateMutability: "nonpayable",
897
- type: "function",
898
- },
899
- {
900
- inputs: [
901
- {
902
- internalType: "contract ISuperfluid",
903
- name: "host",
904
- type: "address",
905
- },
906
- {
907
- internalType: "contract ISuperfluidToken",
908
- name: "superToken",
909
- type: "address",
910
- },
911
- {
912
- internalType: "uint256",
913
- name: "liquidationPeriod",
914
- type: "uint256",
915
- },
916
- {
917
- internalType: "uint256",
918
- name: "patricianPeriod",
919
- type: "uint256",
920
- },
921
- ],
922
- name: "setPPPConfig",
923
- outputs: [],
924
- stateMutability: "nonpayable",
925
- type: "function",
926
- },
927
- {
928
- inputs: [
929
- {
930
- internalType: "contract ISuperfluid",
931
- name: "host",
932
- type: "address",
933
- },
934
- {
935
- internalType: "contract ISuperfluidToken",
936
- name: "superToken",
937
- type: "address",
938
- },
939
- {
940
- internalType: "address",
941
- name: "rewardAddress",
942
- type: "address",
943
- },
944
- ],
945
- name: "setRewardAddress",
946
- outputs: [],
947
- stateMutability: "nonpayable",
948
- type: "function",
949
- },
950
- {
951
- inputs: [
952
- {
953
- internalType: "contract ISuperfluid",
954
- name: "host",
955
- type: "address",
956
- },
957
- {
958
- internalType: "contract ISuperfluidToken",
959
- name: "superToken",
960
- type: "address",
961
- },
962
- {
963
- internalType: "uint256",
964
- name: "value",
965
- type: "uint256",
966
- },
967
- ],
968
- name: "setSuperTokenMinimumDeposit",
969
- outputs: [],
970
- stateMutability: "nonpayable",
971
- type: "function",
972
- },
973
- {
974
- inputs: [
975
- {
976
- internalType: "address",
977
- name: "newOwner",
978
- type: "address",
979
- },
980
- ],
981
- name: "transferOwnership",
982
- outputs: [],
983
- stateMutability: "nonpayable",
984
- type: "function",
985
- },
986
- {
987
- inputs: [
988
- {
989
- internalType: "contract ISuperfluid",
990
- name: "host",
991
- type: "address",
992
- },
993
- {
994
- internalType: "address",
995
- name: "factory",
996
- type: "address",
997
- },
998
- ],
999
- name: "unauthorizeAppFactory",
1000
- outputs: [],
1001
- stateMutability: "nonpayable",
1002
- type: "function",
1003
- },
1004
- {
1005
- inputs: [
1006
- {
1007
- internalType: "contract ISuperfluid",
1008
- name: "host",
1009
- type: "address",
1010
- },
1011
- {
1012
- internalType: "address",
1013
- name: "hostNewLogic",
1014
- type: "address",
1015
- },
1016
- {
1017
- internalType: "address[]",
1018
- name: "agreementClassNewLogics",
1019
- type: "address[]",
1020
- },
1021
- {
1022
- internalType: "address",
1023
- name: "superTokenFactoryNewLogic",
1024
- type: "address",
1025
- },
1026
- ],
1027
- name: "updateContracts",
1028
- outputs: [],
1029
- stateMutability: "nonpayable",
1030
- type: "function",
1031
- },
1032
- {
1033
- inputs: [
1034
- {
1035
- internalType: "contract ISuperfluid",
1036
- name: "host",
1037
- type: "address",
1038
- },
1039
- {
1040
- internalType: "address",
1041
- name: "deployer",
1042
- type: "address",
1043
- },
1044
- {
1045
- internalType: "string",
1046
- name: "registrationKey",
1047
- type: "string",
1048
- },
1049
- ],
1050
- name: "verifyAppRegistrationKey",
1051
- outputs: [
1052
- {
1053
- internalType: "bool",
1054
- name: "validNow",
1055
- type: "bool",
1056
- },
1057
- {
1058
- internalType: "uint256",
1059
- name: "expirationTs",
1060
- type: "uint256",
1061
- },
1062
- ],
1063
- stateMutability: "view",
1064
- type: "function",
1065
- },
1066
- {
1067
- inputs: [],
1068
- name: "proxiableUUID",
1069
- outputs: [
1070
- {
1071
- internalType: "bytes32",
1072
- name: "",
1073
- type: "bytes32",
1074
- },
1075
- ],
1076
- stateMutability: "pure",
1077
- type: "function",
1078
- },
1079
- {
1080
- inputs: [
1081
- {
1082
- internalType: "address",
1083
- name: "newAddress",
1084
- type: "address",
1085
- },
1086
- ],
1087
- name: "updateCode",
1088
- outputs: [],
1089
- stateMutability: "nonpayable",
1090
- type: "function",
1091
- },
1092
- ];
1093
- class SuperfluidGovernanceII__factory {
1094
- static createInterface() {
1095
- return new ethers_1.utils.Interface(_abi);
1096
- }
1097
- static connect(address, signerOrProvider) {
1098
- return new ethers_1.Contract(address, _abi, signerOrProvider);
1099
- }
1100
- }
1101
- exports.SuperfluidGovernanceII__factory = SuperfluidGovernanceII__factory;
1102
- SuperfluidGovernanceII__factory.abi = _abi;
1103
- //# sourceMappingURL=SuperfluidGovernanceII__factory.js.map