@superfluid-finance/sdk-core 0.5.7-dev.eef6e1f.0 → 0.5.8-dev.1790309.0

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 (315) hide show
  1. package/CHANGELOG.md +13 -1
  2. package/dist/index.umd.js +51687 -10198
  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 +6 -3
  30. package/dist/main/Operation.d.ts.map +1 -1
  31. package/dist/main/Operation.js +25 -6
  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/index.d.ts +1 -0
  41. package/dist/main/index.d.ts.map +1 -1
  42. package/dist/main/index.js +1 -0
  43. package/dist/main/index.js.map +1 -1
  44. package/dist/main/interfaces.d.ts +18 -18
  45. package/dist/main/interfaces.d.ts.map +1 -1
  46. package/dist/main/utils.d.ts +14 -7
  47. package/dist/main/utils.d.ts.map +1 -1
  48. package/dist/main/utils.js +17 -1
  49. package/dist/main/utils.js.map +1 -1
  50. package/dist/module/BatchCall.d.ts.map +1 -1
  51. package/dist/module/BatchCall.js +3 -3
  52. package/dist/module/BatchCall.js.map +1 -1
  53. package/dist/module/ConstantFlowAgreementV1.d.ts +17 -6
  54. package/dist/module/ConstantFlowAgreementV1.d.ts.map +1 -1
  55. package/dist/module/ConstantFlowAgreementV1.js +51 -16
  56. package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
  57. package/dist/module/ERC20Token.d.ts +1 -1
  58. package/dist/module/ERC20Token.d.ts.map +1 -1
  59. package/dist/module/ERC20Token.js +2 -2
  60. package/dist/module/ERC20Token.js.map +1 -1
  61. package/dist/module/Framework.d.ts.map +1 -1
  62. package/dist/module/Framework.js +12 -15
  63. package/dist/module/Framework.js.map +1 -1
  64. package/dist/module/Governance.d.ts +2 -2
  65. package/dist/module/Governance.d.ts.map +1 -1
  66. package/dist/module/Governance.js +3 -3
  67. package/dist/module/Governance.js.map +1 -1
  68. package/dist/module/Host.d.ts +1 -1
  69. package/dist/module/Host.d.ts.map +1 -1
  70. package/dist/module/Host.js +2 -2
  71. package/dist/module/Host.js.map +1 -1
  72. package/dist/module/InstantDistributionAgreementV1.d.ts +3 -4
  73. package/dist/module/InstantDistributionAgreementV1.d.ts.map +1 -1
  74. package/dist/module/InstantDistributionAgreementV1.js +13 -14
  75. package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
  76. package/dist/module/Operation.d.ts +6 -3
  77. package/dist/module/Operation.d.ts.map +1 -1
  78. package/dist/module/Operation.js +25 -6
  79. package/dist/module/Operation.js.map +1 -1
  80. package/dist/module/Query.d.ts +2 -2
  81. package/dist/module/Query.d.ts.map +1 -1
  82. package/dist/module/Query.js.map +1 -1
  83. package/dist/module/SuperToken.d.ts +1 -5
  84. package/dist/module/SuperToken.d.ts.map +1 -1
  85. package/dist/module/SuperToken.js +7 -15
  86. package/dist/module/SuperToken.js.map +1 -1
  87. package/dist/module/index.d.ts +1 -0
  88. package/dist/module/index.d.ts.map +1 -1
  89. package/dist/module/index.js +1 -0
  90. package/dist/module/index.js.map +1 -1
  91. package/dist/module/interfaces.d.ts +18 -18
  92. package/dist/module/interfaces.d.ts.map +1 -1
  93. package/dist/module/utils.d.ts +14 -7
  94. package/dist/module/utils.d.ts.map +1 -1
  95. package/dist/module/utils.js +15 -0
  96. package/dist/module/utils.js.map +1 -1
  97. package/package.json +4 -6
  98. package/dist/main/abi/ERC20WithTokenInfo.json +0 -224
  99. package/dist/main/abi/IConstantFlowAgreementV1.json +0 -860
  100. package/dist/main/abi/IInstantDistributionAgreementV1.json +0 -950
  101. package/dist/main/abi/IResolver.json +0 -58
  102. package/dist/main/abi/ISETH.json +0 -1629
  103. package/dist/main/abi/SuperToken.json +0 -1751
  104. package/dist/main/abi/Superfluid.json +0 -1324
  105. package/dist/main/abi/SuperfluidGovernanceII.json +0 -1085
  106. package/dist/main/abi/SuperfluidLoader.json +0 -54
  107. package/dist/main/typechain/ERC20WithTokenInfo.d.ts +0 -167
  108. package/dist/main/typechain/ERC20WithTokenInfo.d.ts.map +0 -1
  109. package/dist/main/typechain/ERC20WithTokenInfo.js +0 -3
  110. package/dist/main/typechain/ERC20WithTokenInfo.js.map +0 -1
  111. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts +0 -574
  112. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts.map +0 -1
  113. package/dist/main/typechain/IConstantFlowAgreementV1.js +0 -3
  114. package/dist/main/typechain/IConstantFlowAgreementV1.js.map +0 -1
  115. package/dist/main/typechain/IInstantDistributionAgreementV1.d.ts +0 -641
  116. package/dist/main/typechain/IInstantDistributionAgreementV1.d.ts.map +0 -1
  117. package/dist/main/typechain/IInstantDistributionAgreementV1.js +0 -3
  118. package/dist/main/typechain/IInstantDistributionAgreementV1.js.map +0 -1
  119. package/dist/main/typechain/IResolver.d.ts +0 -71
  120. package/dist/main/typechain/IResolver.d.ts.map +0 -1
  121. package/dist/main/typechain/IResolver.js +0 -3
  122. package/dist/main/typechain/IResolver.js.map +0 -1
  123. package/dist/main/typechain/ISETH.d.ts +0 -1150
  124. package/dist/main/typechain/ISETH.d.ts.map +0 -1
  125. package/dist/main/typechain/ISETH.js +0 -3
  126. package/dist/main/typechain/ISETH.js.map +0 -1
  127. package/dist/main/typechain/SuperToken.d.ts +0 -1170
  128. package/dist/main/typechain/SuperToken.d.ts.map +0 -1
  129. package/dist/main/typechain/SuperToken.js +0 -3
  130. package/dist/main/typechain/SuperToken.js.map +0 -1
  131. package/dist/main/typechain/Superfluid.d.ts +0 -849
  132. package/dist/main/typechain/Superfluid.d.ts.map +0 -1
  133. package/dist/main/typechain/Superfluid.js +0 -3
  134. package/dist/main/typechain/Superfluid.js.map +0 -1
  135. package/dist/main/typechain/SuperfluidFrameworkDeployer.d.ts +0 -180
  136. package/dist/main/typechain/SuperfluidFrameworkDeployer.d.ts.map +0 -1
  137. package/dist/main/typechain/SuperfluidFrameworkDeployer.js +0 -3
  138. package/dist/main/typechain/SuperfluidFrameworkDeployer.js.map +0 -1
  139. package/dist/main/typechain/SuperfluidGovernanceII.d.ts +0 -797
  140. package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +0 -1
  141. package/dist/main/typechain/SuperfluidGovernanceII.js +0 -3
  142. package/dist/main/typechain/SuperfluidGovernanceII.js.map +0 -1
  143. package/dist/main/typechain/SuperfluidLoader.d.ts +0 -61
  144. package/dist/main/typechain/SuperfluidLoader.d.ts.map +0 -1
  145. package/dist/main/typechain/SuperfluidLoader.js +0 -3
  146. package/dist/main/typechain/SuperfluidLoader.js.map +0 -1
  147. package/dist/main/typechain/TestToken.d.ts +0 -215
  148. package/dist/main/typechain/TestToken.d.ts.map +0 -1
  149. package/dist/main/typechain/TestToken.js +0 -3
  150. package/dist/main/typechain/TestToken.js.map +0 -1
  151. package/dist/main/typechain/common.d.ts +0 -23
  152. package/dist/main/typechain/common.d.ts.map +0 -1
  153. package/dist/main/typechain/common.js +0 -3
  154. package/dist/main/typechain/common.js.map +0 -1
  155. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.d.ts +0 -36
  156. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.d.ts.map +0 -1
  157. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.js +0 -242
  158. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.js.map +0 -1
  159. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +0 -43
  160. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +0 -1
  161. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +0 -878
  162. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +0 -1
  163. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +0 -43
  164. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +0 -1
  165. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js +0 -968
  166. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +0 -1
  167. package/dist/main/typechain/factories/IResolver__factory.d.ts +0 -36
  168. package/dist/main/typechain/factories/IResolver__factory.d.ts.map +0 -1
  169. package/dist/main/typechain/factories/IResolver__factory.js +0 -76
  170. package/dist/main/typechain/factories/IResolver__factory.js.map +0 -1
  171. package/dist/main/typechain/factories/ISETH__factory.d.ts +0 -43
  172. package/dist/main/typechain/factories/ISETH__factory.d.ts.map +0 -1
  173. package/dist/main/typechain/factories/ISETH__factory.js +0 -1647
  174. package/dist/main/typechain/factories/ISETH__factory.js.map +0 -1
  175. package/dist/main/typechain/factories/SuperToken__factory.d.ts +0 -58
  176. package/dist/main/typechain/factories/SuperToken__factory.d.ts.map +0 -1
  177. package/dist/main/typechain/factories/SuperToken__factory.js +0 -1769
  178. package/dist/main/typechain/factories/SuperToken__factory.js.map +0 -1
  179. package/dist/main/typechain/factories/SuperfluidFrameworkDeployer__factory.d.ts +0 -54
  180. package/dist/main/typechain/factories/SuperfluidFrameworkDeployer__factory.d.ts.map +0 -1
  181. package/dist/main/typechain/factories/SuperfluidFrameworkDeployer__factory.js +0 -227
  182. package/dist/main/typechain/factories/SuperfluidFrameworkDeployer__factory.js.map +0 -1
  183. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts +0 -47
  184. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +0 -1
  185. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +0 -1103
  186. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +0 -1
  187. package/dist/main/typechain/factories/SuperfluidLoader__factory.d.ts +0 -38
  188. package/dist/main/typechain/factories/SuperfluidLoader__factory.d.ts.map +0 -1
  189. package/dist/main/typechain/factories/SuperfluidLoader__factory.js +0 -72
  190. package/dist/main/typechain/factories/SuperfluidLoader__factory.js.map +0 -1
  191. package/dist/main/typechain/factories/Superfluid__factory.d.ts +0 -94
  192. package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +0 -1
  193. package/dist/main/typechain/factories/Superfluid__factory.js +0 -1342
  194. package/dist/main/typechain/factories/Superfluid__factory.js.map +0 -1
  195. package/dist/main/typechain/factories/TestToken__factory.d.ts +0 -47
  196. package/dist/main/typechain/factories/TestToken__factory.d.ts.map +0 -1
  197. package/dist/main/typechain/factories/TestToken__factory.js +0 -340
  198. package/dist/main/typechain/factories/TestToken__factory.js.map +0 -1
  199. package/dist/main/typechain/factories/index.d.ts +0 -12
  200. package/dist/main/typechain/factories/index.d.ts.map +0 -1
  201. package/dist/main/typechain/factories/index.js +0 -29
  202. package/dist/main/typechain/factories/index.js.map +0 -1
  203. package/dist/main/typechain/index.d.ts +0 -24
  204. package/dist/main/typechain/index.d.ts.map +0 -1
  205. package/dist/main/typechain/index.js +0 -50
  206. package/dist/main/typechain/index.js.map +0 -1
  207. package/dist/module/abi/ERC20WithTokenInfo.json +0 -224
  208. package/dist/module/abi/IConstantFlowAgreementV1.json +0 -860
  209. package/dist/module/abi/IInstantDistributionAgreementV1.json +0 -950
  210. package/dist/module/abi/IResolver.json +0 -58
  211. package/dist/module/abi/ISETH.json +0 -1629
  212. package/dist/module/abi/SuperToken.json +0 -1751
  213. package/dist/module/abi/Superfluid.json +0 -1324
  214. package/dist/module/abi/SuperfluidGovernanceII.json +0 -1085
  215. package/dist/module/abi/SuperfluidLoader.json +0 -54
  216. package/dist/module/typechain/ERC20WithTokenInfo.d.ts +0 -167
  217. package/dist/module/typechain/ERC20WithTokenInfo.d.ts.map +0 -1
  218. package/dist/module/typechain/ERC20WithTokenInfo.js +0 -2
  219. package/dist/module/typechain/ERC20WithTokenInfo.js.map +0 -1
  220. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts +0 -574
  221. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts.map +0 -1
  222. package/dist/module/typechain/IConstantFlowAgreementV1.js +0 -2
  223. package/dist/module/typechain/IConstantFlowAgreementV1.js.map +0 -1
  224. package/dist/module/typechain/IInstantDistributionAgreementV1.d.ts +0 -641
  225. package/dist/module/typechain/IInstantDistributionAgreementV1.d.ts.map +0 -1
  226. package/dist/module/typechain/IInstantDistributionAgreementV1.js +0 -2
  227. package/dist/module/typechain/IInstantDistributionAgreementV1.js.map +0 -1
  228. package/dist/module/typechain/IResolver.d.ts +0 -71
  229. package/dist/module/typechain/IResolver.d.ts.map +0 -1
  230. package/dist/module/typechain/IResolver.js +0 -2
  231. package/dist/module/typechain/IResolver.js.map +0 -1
  232. package/dist/module/typechain/ISETH.d.ts +0 -1150
  233. package/dist/module/typechain/ISETH.d.ts.map +0 -1
  234. package/dist/module/typechain/ISETH.js +0 -2
  235. package/dist/module/typechain/ISETH.js.map +0 -1
  236. package/dist/module/typechain/SuperToken.d.ts +0 -1170
  237. package/dist/module/typechain/SuperToken.d.ts.map +0 -1
  238. package/dist/module/typechain/SuperToken.js +0 -2
  239. package/dist/module/typechain/SuperToken.js.map +0 -1
  240. package/dist/module/typechain/Superfluid.d.ts +0 -849
  241. package/dist/module/typechain/Superfluid.d.ts.map +0 -1
  242. package/dist/module/typechain/Superfluid.js +0 -2
  243. package/dist/module/typechain/Superfluid.js.map +0 -1
  244. package/dist/module/typechain/SuperfluidFrameworkDeployer.d.ts +0 -180
  245. package/dist/module/typechain/SuperfluidFrameworkDeployer.d.ts.map +0 -1
  246. package/dist/module/typechain/SuperfluidFrameworkDeployer.js +0 -2
  247. package/dist/module/typechain/SuperfluidFrameworkDeployer.js.map +0 -1
  248. package/dist/module/typechain/SuperfluidGovernanceII.d.ts +0 -797
  249. package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +0 -1
  250. package/dist/module/typechain/SuperfluidGovernanceII.js +0 -2
  251. package/dist/module/typechain/SuperfluidGovernanceII.js.map +0 -1
  252. package/dist/module/typechain/SuperfluidLoader.d.ts +0 -61
  253. package/dist/module/typechain/SuperfluidLoader.d.ts.map +0 -1
  254. package/dist/module/typechain/SuperfluidLoader.js +0 -2
  255. package/dist/module/typechain/SuperfluidLoader.js.map +0 -1
  256. package/dist/module/typechain/TestToken.d.ts +0 -215
  257. package/dist/module/typechain/TestToken.d.ts.map +0 -1
  258. package/dist/module/typechain/TestToken.js +0 -2
  259. package/dist/module/typechain/TestToken.js.map +0 -1
  260. package/dist/module/typechain/common.d.ts +0 -23
  261. package/dist/module/typechain/common.d.ts.map +0 -1
  262. package/dist/module/typechain/common.js +0 -2
  263. package/dist/module/typechain/common.js.map +0 -1
  264. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.d.ts +0 -36
  265. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.d.ts.map +0 -1
  266. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.js +0 -238
  267. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.js.map +0 -1
  268. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +0 -43
  269. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +0 -1
  270. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +0 -874
  271. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +0 -1
  272. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +0 -43
  273. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +0 -1
  274. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js +0 -964
  275. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +0 -1
  276. package/dist/module/typechain/factories/IResolver__factory.d.ts +0 -36
  277. package/dist/module/typechain/factories/IResolver__factory.d.ts.map +0 -1
  278. package/dist/module/typechain/factories/IResolver__factory.js +0 -72
  279. package/dist/module/typechain/factories/IResolver__factory.js.map +0 -1
  280. package/dist/module/typechain/factories/ISETH__factory.d.ts +0 -43
  281. package/dist/module/typechain/factories/ISETH__factory.d.ts.map +0 -1
  282. package/dist/module/typechain/factories/ISETH__factory.js +0 -1643
  283. package/dist/module/typechain/factories/ISETH__factory.js.map +0 -1
  284. package/dist/module/typechain/factories/SuperToken__factory.d.ts +0 -58
  285. package/dist/module/typechain/factories/SuperToken__factory.d.ts.map +0 -1
  286. package/dist/module/typechain/factories/SuperToken__factory.js +0 -1765
  287. package/dist/module/typechain/factories/SuperToken__factory.js.map +0 -1
  288. package/dist/module/typechain/factories/SuperfluidFrameworkDeployer__factory.d.ts +0 -54
  289. package/dist/module/typechain/factories/SuperfluidFrameworkDeployer__factory.d.ts.map +0 -1
  290. package/dist/module/typechain/factories/SuperfluidFrameworkDeployer__factory.js +0 -223
  291. package/dist/module/typechain/factories/SuperfluidFrameworkDeployer__factory.js.map +0 -1
  292. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts +0 -47
  293. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +0 -1
  294. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +0 -1099
  295. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +0 -1
  296. package/dist/module/typechain/factories/SuperfluidLoader__factory.d.ts +0 -38
  297. package/dist/module/typechain/factories/SuperfluidLoader__factory.d.ts.map +0 -1
  298. package/dist/module/typechain/factories/SuperfluidLoader__factory.js +0 -68
  299. package/dist/module/typechain/factories/SuperfluidLoader__factory.js.map +0 -1
  300. package/dist/module/typechain/factories/Superfluid__factory.d.ts +0 -94
  301. package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +0 -1
  302. package/dist/module/typechain/factories/Superfluid__factory.js +0 -1338
  303. package/dist/module/typechain/factories/Superfluid__factory.js.map +0 -1
  304. package/dist/module/typechain/factories/TestToken__factory.d.ts +0 -47
  305. package/dist/module/typechain/factories/TestToken__factory.d.ts.map +0 -1
  306. package/dist/module/typechain/factories/TestToken__factory.js +0 -336
  307. package/dist/module/typechain/factories/TestToken__factory.js.map +0 -1
  308. package/dist/module/typechain/factories/index.d.ts +0 -12
  309. package/dist/module/typechain/factories/index.d.ts.map +0 -1
  310. package/dist/module/typechain/factories/index.js +0 -15
  311. package/dist/module/typechain/factories/index.js.map +0 -1
  312. package/dist/module/typechain/index.d.ts +0 -24
  313. package/dist/module/typechain/index.d.ts.map +0 -1
  314. package/dist/module/typechain/index.js +0 -13
  315. package/dist/module/typechain/index.js.map +0 -1
@@ -1,968 +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.IInstantDistributionAgreementV1__factory = void 0;
7
- const ethers_1 = require("ethers");
8
- const _abi = [
9
- {
10
- inputs: [],
11
- name: "IDA_INDEX_SHOULD_GROW",
12
- type: "error",
13
- },
14
- {
15
- inputs: [],
16
- name: "IDA_OPERATION_NOT_ALLOWED",
17
- type: "error",
18
- },
19
- {
20
- anonymous: false,
21
- inputs: [
22
- {
23
- indexed: true,
24
- internalType: "contract ISuperfluidToken",
25
- name: "token",
26
- type: "address",
27
- },
28
- {
29
- indexed: true,
30
- internalType: "address",
31
- name: "publisher",
32
- type: "address",
33
- },
34
- {
35
- indexed: true,
36
- internalType: "uint32",
37
- name: "indexId",
38
- type: "uint32",
39
- },
40
- {
41
- indexed: false,
42
- internalType: "bytes",
43
- name: "userData",
44
- type: "bytes",
45
- },
46
- ],
47
- name: "IndexCreated",
48
- type: "event",
49
- },
50
- {
51
- anonymous: false,
52
- inputs: [
53
- {
54
- indexed: true,
55
- internalType: "contract ISuperfluidToken",
56
- name: "token",
57
- type: "address",
58
- },
59
- {
60
- indexed: true,
61
- internalType: "address",
62
- name: "publisher",
63
- type: "address",
64
- },
65
- {
66
- indexed: true,
67
- internalType: "uint32",
68
- name: "indexId",
69
- type: "uint32",
70
- },
71
- {
72
- indexed: false,
73
- internalType: "address",
74
- name: "subscriber",
75
- type: "address",
76
- },
77
- {
78
- indexed: false,
79
- internalType: "uint256",
80
- name: "amount",
81
- type: "uint256",
82
- },
83
- ],
84
- name: "IndexDistributionClaimed",
85
- type: "event",
86
- },
87
- {
88
- anonymous: false,
89
- inputs: [
90
- {
91
- indexed: true,
92
- internalType: "contract ISuperfluidToken",
93
- name: "token",
94
- type: "address",
95
- },
96
- {
97
- indexed: true,
98
- internalType: "address",
99
- name: "publisher",
100
- type: "address",
101
- },
102
- {
103
- indexed: true,
104
- internalType: "uint32",
105
- name: "indexId",
106
- type: "uint32",
107
- },
108
- {
109
- indexed: false,
110
- internalType: "address",
111
- name: "subscriber",
112
- type: "address",
113
- },
114
- {
115
- indexed: false,
116
- internalType: "bytes",
117
- name: "userData",
118
- type: "bytes",
119
- },
120
- ],
121
- name: "IndexSubscribed",
122
- type: "event",
123
- },
124
- {
125
- anonymous: false,
126
- inputs: [
127
- {
128
- indexed: true,
129
- internalType: "contract ISuperfluidToken",
130
- name: "token",
131
- type: "address",
132
- },
133
- {
134
- indexed: true,
135
- internalType: "address",
136
- name: "publisher",
137
- type: "address",
138
- },
139
- {
140
- indexed: true,
141
- internalType: "uint32",
142
- name: "indexId",
143
- type: "uint32",
144
- },
145
- {
146
- indexed: false,
147
- internalType: "address",
148
- name: "subscriber",
149
- type: "address",
150
- },
151
- {
152
- indexed: false,
153
- internalType: "uint128",
154
- name: "units",
155
- type: "uint128",
156
- },
157
- {
158
- indexed: false,
159
- internalType: "bytes",
160
- name: "userData",
161
- type: "bytes",
162
- },
163
- ],
164
- name: "IndexUnitsUpdated",
165
- type: "event",
166
- },
167
- {
168
- anonymous: false,
169
- inputs: [
170
- {
171
- indexed: true,
172
- internalType: "contract ISuperfluidToken",
173
- name: "token",
174
- type: "address",
175
- },
176
- {
177
- indexed: true,
178
- internalType: "address",
179
- name: "publisher",
180
- type: "address",
181
- },
182
- {
183
- indexed: true,
184
- internalType: "uint32",
185
- name: "indexId",
186
- type: "uint32",
187
- },
188
- {
189
- indexed: false,
190
- internalType: "address",
191
- name: "subscriber",
192
- type: "address",
193
- },
194
- {
195
- indexed: false,
196
- internalType: "bytes",
197
- name: "userData",
198
- type: "bytes",
199
- },
200
- ],
201
- name: "IndexUnsubscribed",
202
- type: "event",
203
- },
204
- {
205
- anonymous: false,
206
- inputs: [
207
- {
208
- indexed: true,
209
- internalType: "contract ISuperfluidToken",
210
- name: "token",
211
- type: "address",
212
- },
213
- {
214
- indexed: true,
215
- internalType: "address",
216
- name: "publisher",
217
- type: "address",
218
- },
219
- {
220
- indexed: true,
221
- internalType: "uint32",
222
- name: "indexId",
223
- type: "uint32",
224
- },
225
- {
226
- indexed: false,
227
- internalType: "uint128",
228
- name: "oldIndexValue",
229
- type: "uint128",
230
- },
231
- {
232
- indexed: false,
233
- internalType: "uint128",
234
- name: "newIndexValue",
235
- type: "uint128",
236
- },
237
- {
238
- indexed: false,
239
- internalType: "uint128",
240
- name: "totalUnitsPending",
241
- type: "uint128",
242
- },
243
- {
244
- indexed: false,
245
- internalType: "uint128",
246
- name: "totalUnitsApproved",
247
- type: "uint128",
248
- },
249
- {
250
- indexed: false,
251
- internalType: "bytes",
252
- name: "userData",
253
- type: "bytes",
254
- },
255
- ],
256
- name: "IndexUpdated",
257
- type: "event",
258
- },
259
- {
260
- anonymous: false,
261
- inputs: [
262
- {
263
- indexed: true,
264
- internalType: "contract ISuperfluidToken",
265
- name: "token",
266
- type: "address",
267
- },
268
- {
269
- indexed: true,
270
- internalType: "address",
271
- name: "subscriber",
272
- type: "address",
273
- },
274
- {
275
- indexed: false,
276
- internalType: "address",
277
- name: "publisher",
278
- type: "address",
279
- },
280
- {
281
- indexed: false,
282
- internalType: "uint32",
283
- name: "indexId",
284
- type: "uint32",
285
- },
286
- {
287
- indexed: false,
288
- internalType: "bytes",
289
- name: "userData",
290
- type: "bytes",
291
- },
292
- ],
293
- name: "SubscriptionApproved",
294
- type: "event",
295
- },
296
- {
297
- anonymous: false,
298
- inputs: [
299
- {
300
- indexed: true,
301
- internalType: "contract ISuperfluidToken",
302
- name: "token",
303
- type: "address",
304
- },
305
- {
306
- indexed: true,
307
- internalType: "address",
308
- name: "subscriber",
309
- type: "address",
310
- },
311
- {
312
- indexed: false,
313
- internalType: "address",
314
- name: "publisher",
315
- type: "address",
316
- },
317
- {
318
- indexed: false,
319
- internalType: "uint32",
320
- name: "indexId",
321
- type: "uint32",
322
- },
323
- {
324
- indexed: false,
325
- internalType: "uint256",
326
- name: "amount",
327
- type: "uint256",
328
- },
329
- ],
330
- name: "SubscriptionDistributionClaimed",
331
- type: "event",
332
- },
333
- {
334
- anonymous: false,
335
- inputs: [
336
- {
337
- indexed: true,
338
- internalType: "contract ISuperfluidToken",
339
- name: "token",
340
- type: "address",
341
- },
342
- {
343
- indexed: true,
344
- internalType: "address",
345
- name: "subscriber",
346
- type: "address",
347
- },
348
- {
349
- indexed: false,
350
- internalType: "address",
351
- name: "publisher",
352
- type: "address",
353
- },
354
- {
355
- indexed: false,
356
- internalType: "uint32",
357
- name: "indexId",
358
- type: "uint32",
359
- },
360
- {
361
- indexed: false,
362
- internalType: "bytes",
363
- name: "userData",
364
- type: "bytes",
365
- },
366
- ],
367
- name: "SubscriptionRevoked",
368
- type: "event",
369
- },
370
- {
371
- anonymous: false,
372
- inputs: [
373
- {
374
- indexed: true,
375
- internalType: "contract ISuperfluidToken",
376
- name: "token",
377
- type: "address",
378
- },
379
- {
380
- indexed: true,
381
- internalType: "address",
382
- name: "subscriber",
383
- type: "address",
384
- },
385
- {
386
- indexed: false,
387
- internalType: "address",
388
- name: "publisher",
389
- type: "address",
390
- },
391
- {
392
- indexed: false,
393
- internalType: "uint32",
394
- name: "indexId",
395
- type: "uint32",
396
- },
397
- {
398
- indexed: false,
399
- internalType: "uint128",
400
- name: "units",
401
- type: "uint128",
402
- },
403
- {
404
- indexed: false,
405
- internalType: "bytes",
406
- name: "userData",
407
- type: "bytes",
408
- },
409
- ],
410
- name: "SubscriptionUnitsUpdated",
411
- type: "event",
412
- },
413
- {
414
- inputs: [
415
- {
416
- internalType: "contract ISuperfluidToken",
417
- name: "token",
418
- type: "address",
419
- },
420
- {
421
- internalType: "address",
422
- name: "account",
423
- type: "address",
424
- },
425
- {
426
- internalType: "uint256",
427
- name: "time",
428
- type: "uint256",
429
- },
430
- ],
431
- name: "realtimeBalanceOf",
432
- outputs: [
433
- {
434
- internalType: "int256",
435
- name: "dynamicBalance",
436
- type: "int256",
437
- },
438
- {
439
- internalType: "uint256",
440
- name: "deposit",
441
- type: "uint256",
442
- },
443
- {
444
- internalType: "uint256",
445
- name: "owedDeposit",
446
- type: "uint256",
447
- },
448
- ],
449
- stateMutability: "view",
450
- type: "function",
451
- },
452
- {
453
- inputs: [],
454
- name: "agreementType",
455
- outputs: [
456
- {
457
- internalType: "bytes32",
458
- name: "",
459
- type: "bytes32",
460
- },
461
- ],
462
- stateMutability: "pure",
463
- type: "function",
464
- },
465
- {
466
- inputs: [
467
- {
468
- internalType: "contract ISuperfluidToken",
469
- name: "token",
470
- type: "address",
471
- },
472
- {
473
- internalType: "uint32",
474
- name: "indexId",
475
- type: "uint32",
476
- },
477
- {
478
- internalType: "bytes",
479
- name: "ctx",
480
- type: "bytes",
481
- },
482
- ],
483
- name: "createIndex",
484
- outputs: [
485
- {
486
- internalType: "bytes",
487
- name: "newCtx",
488
- type: "bytes",
489
- },
490
- ],
491
- stateMutability: "nonpayable",
492
- type: "function",
493
- },
494
- {
495
- inputs: [
496
- {
497
- internalType: "contract ISuperfluidToken",
498
- name: "token",
499
- type: "address",
500
- },
501
- {
502
- internalType: "address",
503
- name: "publisher",
504
- type: "address",
505
- },
506
- {
507
- internalType: "uint32",
508
- name: "indexId",
509
- type: "uint32",
510
- },
511
- ],
512
- name: "getIndex",
513
- outputs: [
514
- {
515
- internalType: "bool",
516
- name: "exist",
517
- type: "bool",
518
- },
519
- {
520
- internalType: "uint128",
521
- name: "indexValue",
522
- type: "uint128",
523
- },
524
- {
525
- internalType: "uint128",
526
- name: "totalUnitsApproved",
527
- type: "uint128",
528
- },
529
- {
530
- internalType: "uint128",
531
- name: "totalUnitsPending",
532
- type: "uint128",
533
- },
534
- ],
535
- stateMutability: "view",
536
- type: "function",
537
- },
538
- {
539
- inputs: [
540
- {
541
- internalType: "contract ISuperfluidToken",
542
- name: "token",
543
- type: "address",
544
- },
545
- {
546
- internalType: "address",
547
- name: "publisher",
548
- type: "address",
549
- },
550
- {
551
- internalType: "uint32",
552
- name: "indexId",
553
- type: "uint32",
554
- },
555
- {
556
- internalType: "uint256",
557
- name: "amount",
558
- type: "uint256",
559
- },
560
- ],
561
- name: "calculateDistribution",
562
- outputs: [
563
- {
564
- internalType: "uint256",
565
- name: "actualAmount",
566
- type: "uint256",
567
- },
568
- {
569
- internalType: "uint128",
570
- name: "newIndexValue",
571
- type: "uint128",
572
- },
573
- ],
574
- stateMutability: "view",
575
- type: "function",
576
- },
577
- {
578
- inputs: [
579
- {
580
- internalType: "contract ISuperfluidToken",
581
- name: "token",
582
- type: "address",
583
- },
584
- {
585
- internalType: "uint32",
586
- name: "indexId",
587
- type: "uint32",
588
- },
589
- {
590
- internalType: "uint128",
591
- name: "indexValue",
592
- type: "uint128",
593
- },
594
- {
595
- internalType: "bytes",
596
- name: "ctx",
597
- type: "bytes",
598
- },
599
- ],
600
- name: "updateIndex",
601
- outputs: [
602
- {
603
- internalType: "bytes",
604
- name: "newCtx",
605
- type: "bytes",
606
- },
607
- ],
608
- stateMutability: "nonpayable",
609
- type: "function",
610
- },
611
- {
612
- inputs: [
613
- {
614
- internalType: "contract ISuperfluidToken",
615
- name: "token",
616
- type: "address",
617
- },
618
- {
619
- internalType: "uint32",
620
- name: "indexId",
621
- type: "uint32",
622
- },
623
- {
624
- internalType: "uint256",
625
- name: "amount",
626
- type: "uint256",
627
- },
628
- {
629
- internalType: "bytes",
630
- name: "ctx",
631
- type: "bytes",
632
- },
633
- ],
634
- name: "distribute",
635
- outputs: [
636
- {
637
- internalType: "bytes",
638
- name: "newCtx",
639
- type: "bytes",
640
- },
641
- ],
642
- stateMutability: "nonpayable",
643
- type: "function",
644
- },
645
- {
646
- inputs: [
647
- {
648
- internalType: "contract ISuperfluidToken",
649
- name: "token",
650
- type: "address",
651
- },
652
- {
653
- internalType: "address",
654
- name: "publisher",
655
- type: "address",
656
- },
657
- {
658
- internalType: "uint32",
659
- name: "indexId",
660
- type: "uint32",
661
- },
662
- {
663
- internalType: "bytes",
664
- name: "ctx",
665
- type: "bytes",
666
- },
667
- ],
668
- name: "approveSubscription",
669
- outputs: [
670
- {
671
- internalType: "bytes",
672
- name: "newCtx",
673
- type: "bytes",
674
- },
675
- ],
676
- stateMutability: "nonpayable",
677
- type: "function",
678
- },
679
- {
680
- inputs: [
681
- {
682
- internalType: "contract ISuperfluidToken",
683
- name: "token",
684
- type: "address",
685
- },
686
- {
687
- internalType: "address",
688
- name: "publisher",
689
- type: "address",
690
- },
691
- {
692
- internalType: "uint32",
693
- name: "indexId",
694
- type: "uint32",
695
- },
696
- {
697
- internalType: "bytes",
698
- name: "ctx",
699
- type: "bytes",
700
- },
701
- ],
702
- name: "revokeSubscription",
703
- outputs: [
704
- {
705
- internalType: "bytes",
706
- name: "newCtx",
707
- type: "bytes",
708
- },
709
- ],
710
- stateMutability: "nonpayable",
711
- type: "function",
712
- },
713
- {
714
- inputs: [
715
- {
716
- internalType: "contract ISuperfluidToken",
717
- name: "token",
718
- type: "address",
719
- },
720
- {
721
- internalType: "uint32",
722
- name: "indexId",
723
- type: "uint32",
724
- },
725
- {
726
- internalType: "address",
727
- name: "subscriber",
728
- type: "address",
729
- },
730
- {
731
- internalType: "uint128",
732
- name: "units",
733
- type: "uint128",
734
- },
735
- {
736
- internalType: "bytes",
737
- name: "ctx",
738
- type: "bytes",
739
- },
740
- ],
741
- name: "updateSubscription",
742
- outputs: [
743
- {
744
- internalType: "bytes",
745
- name: "newCtx",
746
- type: "bytes",
747
- },
748
- ],
749
- stateMutability: "nonpayable",
750
- type: "function",
751
- },
752
- {
753
- inputs: [
754
- {
755
- internalType: "contract ISuperfluidToken",
756
- name: "token",
757
- type: "address",
758
- },
759
- {
760
- internalType: "address",
761
- name: "publisher",
762
- type: "address",
763
- },
764
- {
765
- internalType: "uint32",
766
- name: "indexId",
767
- type: "uint32",
768
- },
769
- {
770
- internalType: "address",
771
- name: "subscriber",
772
- type: "address",
773
- },
774
- ],
775
- name: "getSubscription",
776
- outputs: [
777
- {
778
- internalType: "bool",
779
- name: "exist",
780
- type: "bool",
781
- },
782
- {
783
- internalType: "bool",
784
- name: "approved",
785
- type: "bool",
786
- },
787
- {
788
- internalType: "uint128",
789
- name: "units",
790
- type: "uint128",
791
- },
792
- {
793
- internalType: "uint256",
794
- name: "pendingDistribution",
795
- type: "uint256",
796
- },
797
- ],
798
- stateMutability: "view",
799
- type: "function",
800
- },
801
- {
802
- inputs: [
803
- {
804
- internalType: "contract ISuperfluidToken",
805
- name: "token",
806
- type: "address",
807
- },
808
- {
809
- internalType: "bytes32",
810
- name: "agreementId",
811
- type: "bytes32",
812
- },
813
- ],
814
- name: "getSubscriptionByID",
815
- outputs: [
816
- {
817
- internalType: "address",
818
- name: "publisher",
819
- type: "address",
820
- },
821
- {
822
- internalType: "uint32",
823
- name: "indexId",
824
- type: "uint32",
825
- },
826
- {
827
- internalType: "bool",
828
- name: "approved",
829
- type: "bool",
830
- },
831
- {
832
- internalType: "uint128",
833
- name: "units",
834
- type: "uint128",
835
- },
836
- {
837
- internalType: "uint256",
838
- name: "pendingDistribution",
839
- type: "uint256",
840
- },
841
- ],
842
- stateMutability: "view",
843
- type: "function",
844
- },
845
- {
846
- inputs: [
847
- {
848
- internalType: "contract ISuperfluidToken",
849
- name: "token",
850
- type: "address",
851
- },
852
- {
853
- internalType: "address",
854
- name: "subscriber",
855
- type: "address",
856
- },
857
- ],
858
- name: "listSubscriptions",
859
- outputs: [
860
- {
861
- internalType: "address[]",
862
- name: "publishers",
863
- type: "address[]",
864
- },
865
- {
866
- internalType: "uint32[]",
867
- name: "indexIds",
868
- type: "uint32[]",
869
- },
870
- {
871
- internalType: "uint128[]",
872
- name: "unitsList",
873
- type: "uint128[]",
874
- },
875
- ],
876
- stateMutability: "view",
877
- type: "function",
878
- },
879
- {
880
- inputs: [
881
- {
882
- internalType: "contract ISuperfluidToken",
883
- name: "token",
884
- type: "address",
885
- },
886
- {
887
- internalType: "address",
888
- name: "publisher",
889
- type: "address",
890
- },
891
- {
892
- internalType: "uint32",
893
- name: "indexId",
894
- type: "uint32",
895
- },
896
- {
897
- internalType: "address",
898
- name: "subscriber",
899
- type: "address",
900
- },
901
- {
902
- internalType: "bytes",
903
- name: "ctx",
904
- type: "bytes",
905
- },
906
- ],
907
- name: "deleteSubscription",
908
- outputs: [
909
- {
910
- internalType: "bytes",
911
- name: "newCtx",
912
- type: "bytes",
913
- },
914
- ],
915
- stateMutability: "nonpayable",
916
- type: "function",
917
- },
918
- {
919
- inputs: [
920
- {
921
- internalType: "contract ISuperfluidToken",
922
- name: "token",
923
- type: "address",
924
- },
925
- {
926
- internalType: "address",
927
- name: "publisher",
928
- type: "address",
929
- },
930
- {
931
- internalType: "uint32",
932
- name: "indexId",
933
- type: "uint32",
934
- },
935
- {
936
- internalType: "address",
937
- name: "subscriber",
938
- type: "address",
939
- },
940
- {
941
- internalType: "bytes",
942
- name: "ctx",
943
- type: "bytes",
944
- },
945
- ],
946
- name: "claim",
947
- outputs: [
948
- {
949
- internalType: "bytes",
950
- name: "newCtx",
951
- type: "bytes",
952
- },
953
- ],
954
- stateMutability: "nonpayable",
955
- type: "function",
956
- },
957
- ];
958
- class IInstantDistributionAgreementV1__factory {
959
- static createInterface() {
960
- return new ethers_1.utils.Interface(_abi);
961
- }
962
- static connect(address, signerOrProvider) {
963
- return new ethers_1.Contract(address, _abi, signerOrProvider);
964
- }
965
- }
966
- exports.IInstantDistributionAgreementV1__factory = IInstantDistributionAgreementV1__factory;
967
- IInstantDistributionAgreementV1__factory.abi = _abi;
968
- //# sourceMappingURL=IInstantDistributionAgreementV1__factory.js.map