@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,878 +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.IConstantFlowAgreementV1__factory = void 0;
7
- const ethers_1 = require("ethers");
8
- const _abi = [
9
- {
10
- inputs: [],
11
- name: "CFA_ACL_FLOW_RATE_ALLOWANCE_EXCEEDED",
12
- type: "error",
13
- },
14
- {
15
- inputs: [],
16
- name: "CFA_ACL_NO_NEGATIVE_ALLOWANCE",
17
- type: "error",
18
- },
19
- {
20
- inputs: [],
21
- name: "CFA_ACL_NO_SENDER_CREATE",
22
- type: "error",
23
- },
24
- {
25
- inputs: [],
26
- name: "CFA_ACL_NO_SENDER_FLOW_OPERATOR",
27
- type: "error",
28
- },
29
- {
30
- inputs: [],
31
- name: "CFA_ACL_NO_SENDER_UPDATE",
32
- type: "error",
33
- },
34
- {
35
- inputs: [],
36
- name: "CFA_ACL_OPERATOR_NO_CREATE_PERMISSIONS",
37
- type: "error",
38
- },
39
- {
40
- inputs: [],
41
- name: "CFA_ACL_OPERATOR_NO_DELETE_PERMISSIONS",
42
- type: "error",
43
- },
44
- {
45
- inputs: [],
46
- name: "CFA_ACL_OPERATOR_NO_UPDATE_PERMISSIONS",
47
- type: "error",
48
- },
49
- {
50
- inputs: [],
51
- name: "CFA_ACL_UNCLEAN_PERMISSIONS",
52
- type: "error",
53
- },
54
- {
55
- inputs: [],
56
- name: "CFA_DEPOSIT_TOO_BIG",
57
- type: "error",
58
- },
59
- {
60
- inputs: [],
61
- name: "CFA_FLOW_RATE_TOO_BIG",
62
- type: "error",
63
- },
64
- {
65
- inputs: [],
66
- name: "CFA_INVALID_FLOW_RATE",
67
- type: "error",
68
- },
69
- {
70
- inputs: [],
71
- name: "CFA_NON_CRITICAL_SENDER",
72
- type: "error",
73
- },
74
- {
75
- inputs: [],
76
- name: "CFA_NO_SELF_FLOW",
77
- type: "error",
78
- },
79
- {
80
- anonymous: false,
81
- inputs: [
82
- {
83
- indexed: true,
84
- internalType: "contract ISuperfluidToken",
85
- name: "token",
86
- type: "address",
87
- },
88
- {
89
- indexed: true,
90
- internalType: "address",
91
- name: "sender",
92
- type: "address",
93
- },
94
- {
95
- indexed: true,
96
- internalType: "address",
97
- name: "flowOperator",
98
- type: "address",
99
- },
100
- {
101
- indexed: false,
102
- internalType: "uint8",
103
- name: "permissions",
104
- type: "uint8",
105
- },
106
- {
107
- indexed: false,
108
- internalType: "int96",
109
- name: "flowRateAllowance",
110
- type: "int96",
111
- },
112
- ],
113
- name: "FlowOperatorUpdated",
114
- type: "event",
115
- },
116
- {
117
- anonymous: false,
118
- inputs: [
119
- {
120
- indexed: true,
121
- internalType: "contract ISuperfluidToken",
122
- name: "token",
123
- type: "address",
124
- },
125
- {
126
- indexed: true,
127
- internalType: "address",
128
- name: "sender",
129
- type: "address",
130
- },
131
- {
132
- indexed: true,
133
- internalType: "address",
134
- name: "receiver",
135
- type: "address",
136
- },
137
- {
138
- indexed: false,
139
- internalType: "int96",
140
- name: "flowRate",
141
- type: "int96",
142
- },
143
- {
144
- indexed: false,
145
- internalType: "int256",
146
- name: "totalSenderFlowRate",
147
- type: "int256",
148
- },
149
- {
150
- indexed: false,
151
- internalType: "int256",
152
- name: "totalReceiverFlowRate",
153
- type: "int256",
154
- },
155
- {
156
- indexed: false,
157
- internalType: "bytes",
158
- name: "userData",
159
- type: "bytes",
160
- },
161
- ],
162
- name: "FlowUpdated",
163
- type: "event",
164
- },
165
- {
166
- anonymous: false,
167
- inputs: [
168
- {
169
- indexed: true,
170
- internalType: "address",
171
- name: "flowOperator",
172
- type: "address",
173
- },
174
- {
175
- indexed: false,
176
- internalType: "uint256",
177
- name: "deposit",
178
- type: "uint256",
179
- },
180
- ],
181
- name: "FlowUpdatedExtension",
182
- type: "event",
183
- },
184
- {
185
- inputs: [
186
- {
187
- internalType: "contract ISuperfluidToken",
188
- name: "token",
189
- type: "address",
190
- },
191
- {
192
- internalType: "address",
193
- name: "account",
194
- type: "address",
195
- },
196
- {
197
- internalType: "uint256",
198
- name: "time",
199
- type: "uint256",
200
- },
201
- ],
202
- name: "realtimeBalanceOf",
203
- outputs: [
204
- {
205
- internalType: "int256",
206
- name: "dynamicBalance",
207
- type: "int256",
208
- },
209
- {
210
- internalType: "uint256",
211
- name: "deposit",
212
- type: "uint256",
213
- },
214
- {
215
- internalType: "uint256",
216
- name: "owedDeposit",
217
- type: "uint256",
218
- },
219
- ],
220
- stateMutability: "view",
221
- type: "function",
222
- },
223
- {
224
- inputs: [],
225
- name: "agreementType",
226
- outputs: [
227
- {
228
- internalType: "bytes32",
229
- name: "",
230
- type: "bytes32",
231
- },
232
- ],
233
- stateMutability: "pure",
234
- type: "function",
235
- },
236
- {
237
- inputs: [
238
- {
239
- internalType: "contract ISuperfluidToken",
240
- name: "token",
241
- type: "address",
242
- },
243
- {
244
- internalType: "uint256",
245
- name: "deposit",
246
- type: "uint256",
247
- },
248
- ],
249
- name: "getMaximumFlowRateFromDeposit",
250
- outputs: [
251
- {
252
- internalType: "int96",
253
- name: "flowRate",
254
- type: "int96",
255
- },
256
- ],
257
- stateMutability: "view",
258
- type: "function",
259
- },
260
- {
261
- inputs: [
262
- {
263
- internalType: "contract ISuperfluidToken",
264
- name: "token",
265
- type: "address",
266
- },
267
- {
268
- internalType: "int96",
269
- name: "flowRate",
270
- type: "int96",
271
- },
272
- ],
273
- name: "getDepositRequiredForFlowRate",
274
- outputs: [
275
- {
276
- internalType: "uint256",
277
- name: "deposit",
278
- type: "uint256",
279
- },
280
- ],
281
- stateMutability: "view",
282
- type: "function",
283
- },
284
- {
285
- inputs: [
286
- {
287
- internalType: "contract ISuperfluidToken",
288
- name: "token",
289
- type: "address",
290
- },
291
- {
292
- internalType: "address",
293
- name: "account",
294
- type: "address",
295
- },
296
- ],
297
- name: "isPatricianPeriodNow",
298
- outputs: [
299
- {
300
- internalType: "bool",
301
- name: "isCurrentlyPatricianPeriod",
302
- type: "bool",
303
- },
304
- {
305
- internalType: "uint256",
306
- name: "timestamp",
307
- type: "uint256",
308
- },
309
- ],
310
- stateMutability: "view",
311
- type: "function",
312
- },
313
- {
314
- inputs: [
315
- {
316
- internalType: "contract ISuperfluidToken",
317
- name: "token",
318
- type: "address",
319
- },
320
- {
321
- internalType: "address",
322
- name: "account",
323
- type: "address",
324
- },
325
- {
326
- internalType: "uint256",
327
- name: "timestamp",
328
- type: "uint256",
329
- },
330
- ],
331
- name: "isPatricianPeriod",
332
- outputs: [
333
- {
334
- internalType: "bool",
335
- name: "",
336
- type: "bool",
337
- },
338
- ],
339
- stateMutability: "view",
340
- type: "function",
341
- },
342
- {
343
- inputs: [
344
- {
345
- internalType: "contract ISuperfluidToken",
346
- name: "token",
347
- type: "address",
348
- },
349
- {
350
- internalType: "address",
351
- name: "flowOperator",
352
- type: "address",
353
- },
354
- {
355
- internalType: "uint8",
356
- name: "permissions",
357
- type: "uint8",
358
- },
359
- {
360
- internalType: "int96",
361
- name: "flowRateAllowance",
362
- type: "int96",
363
- },
364
- {
365
- internalType: "bytes",
366
- name: "ctx",
367
- type: "bytes",
368
- },
369
- ],
370
- name: "updateFlowOperatorPermissions",
371
- outputs: [
372
- {
373
- internalType: "bytes",
374
- name: "newCtx",
375
- type: "bytes",
376
- },
377
- ],
378
- stateMutability: "nonpayable",
379
- type: "function",
380
- },
381
- {
382
- inputs: [
383
- {
384
- internalType: "contract ISuperfluidToken",
385
- name: "token",
386
- type: "address",
387
- },
388
- {
389
- internalType: "address",
390
- name: "flowOperator",
391
- type: "address",
392
- },
393
- {
394
- internalType: "bytes",
395
- name: "ctx",
396
- type: "bytes",
397
- },
398
- ],
399
- name: "authorizeFlowOperatorWithFullControl",
400
- outputs: [
401
- {
402
- internalType: "bytes",
403
- name: "newCtx",
404
- type: "bytes",
405
- },
406
- ],
407
- stateMutability: "nonpayable",
408
- type: "function",
409
- },
410
- {
411
- inputs: [
412
- {
413
- internalType: "contract ISuperfluidToken",
414
- name: "token",
415
- type: "address",
416
- },
417
- {
418
- internalType: "address",
419
- name: "flowOperator",
420
- type: "address",
421
- },
422
- {
423
- internalType: "bytes",
424
- name: "ctx",
425
- type: "bytes",
426
- },
427
- ],
428
- name: "revokeFlowOperatorWithFullControl",
429
- outputs: [
430
- {
431
- internalType: "bytes",
432
- name: "newCtx",
433
- type: "bytes",
434
- },
435
- ],
436
- stateMutability: "nonpayable",
437
- type: "function",
438
- },
439
- {
440
- inputs: [
441
- {
442
- internalType: "contract ISuperfluidToken",
443
- name: "token",
444
- type: "address",
445
- },
446
- {
447
- internalType: "address",
448
- name: "sender",
449
- type: "address",
450
- },
451
- {
452
- internalType: "address",
453
- name: "flowOperator",
454
- type: "address",
455
- },
456
- ],
457
- name: "getFlowOperatorData",
458
- outputs: [
459
- {
460
- internalType: "bytes32",
461
- name: "flowOperatorId",
462
- type: "bytes32",
463
- },
464
- {
465
- internalType: "uint8",
466
- name: "permissions",
467
- type: "uint8",
468
- },
469
- {
470
- internalType: "int96",
471
- name: "flowRateAllowance",
472
- type: "int96",
473
- },
474
- ],
475
- stateMutability: "view",
476
- type: "function",
477
- },
478
- {
479
- inputs: [
480
- {
481
- internalType: "contract ISuperfluidToken",
482
- name: "token",
483
- type: "address",
484
- },
485
- {
486
- internalType: "bytes32",
487
- name: "flowOperatorId",
488
- type: "bytes32",
489
- },
490
- ],
491
- name: "getFlowOperatorDataByID",
492
- outputs: [
493
- {
494
- internalType: "uint8",
495
- name: "permissions",
496
- type: "uint8",
497
- },
498
- {
499
- internalType: "int96",
500
- name: "flowRateAllowance",
501
- type: "int96",
502
- },
503
- ],
504
- stateMutability: "view",
505
- type: "function",
506
- },
507
- {
508
- inputs: [
509
- {
510
- internalType: "contract ISuperfluidToken",
511
- name: "token",
512
- type: "address",
513
- },
514
- {
515
- internalType: "address",
516
- name: "receiver",
517
- type: "address",
518
- },
519
- {
520
- internalType: "int96",
521
- name: "flowRate",
522
- type: "int96",
523
- },
524
- {
525
- internalType: "bytes",
526
- name: "ctx",
527
- type: "bytes",
528
- },
529
- ],
530
- name: "createFlow",
531
- outputs: [
532
- {
533
- internalType: "bytes",
534
- name: "newCtx",
535
- type: "bytes",
536
- },
537
- ],
538
- stateMutability: "nonpayable",
539
- type: "function",
540
- },
541
- {
542
- inputs: [
543
- {
544
- internalType: "contract ISuperfluidToken",
545
- name: "token",
546
- type: "address",
547
- },
548
- {
549
- internalType: "address",
550
- name: "sender",
551
- type: "address",
552
- },
553
- {
554
- internalType: "address",
555
- name: "receiver",
556
- type: "address",
557
- },
558
- {
559
- internalType: "int96",
560
- name: "flowRate",
561
- type: "int96",
562
- },
563
- {
564
- internalType: "bytes",
565
- name: "ctx",
566
- type: "bytes",
567
- },
568
- ],
569
- name: "createFlowByOperator",
570
- outputs: [
571
- {
572
- internalType: "bytes",
573
- name: "newCtx",
574
- type: "bytes",
575
- },
576
- ],
577
- stateMutability: "nonpayable",
578
- type: "function",
579
- },
580
- {
581
- inputs: [
582
- {
583
- internalType: "contract ISuperfluidToken",
584
- name: "token",
585
- type: "address",
586
- },
587
- {
588
- internalType: "address",
589
- name: "receiver",
590
- type: "address",
591
- },
592
- {
593
- internalType: "int96",
594
- name: "flowRate",
595
- type: "int96",
596
- },
597
- {
598
- internalType: "bytes",
599
- name: "ctx",
600
- type: "bytes",
601
- },
602
- ],
603
- name: "updateFlow",
604
- outputs: [
605
- {
606
- internalType: "bytes",
607
- name: "newCtx",
608
- type: "bytes",
609
- },
610
- ],
611
- stateMutability: "nonpayable",
612
- type: "function",
613
- },
614
- {
615
- inputs: [
616
- {
617
- internalType: "contract ISuperfluidToken",
618
- name: "token",
619
- type: "address",
620
- },
621
- {
622
- internalType: "address",
623
- name: "sender",
624
- type: "address",
625
- },
626
- {
627
- internalType: "address",
628
- name: "receiver",
629
- type: "address",
630
- },
631
- {
632
- internalType: "int96",
633
- name: "flowRate",
634
- type: "int96",
635
- },
636
- {
637
- internalType: "bytes",
638
- name: "ctx",
639
- type: "bytes",
640
- },
641
- ],
642
- name: "updateFlowByOperator",
643
- outputs: [
644
- {
645
- internalType: "bytes",
646
- name: "newCtx",
647
- type: "bytes",
648
- },
649
- ],
650
- stateMutability: "nonpayable",
651
- type: "function",
652
- },
653
- {
654
- inputs: [
655
- {
656
- internalType: "contract ISuperfluidToken",
657
- name: "token",
658
- type: "address",
659
- },
660
- {
661
- internalType: "address",
662
- name: "sender",
663
- type: "address",
664
- },
665
- {
666
- internalType: "address",
667
- name: "receiver",
668
- type: "address",
669
- },
670
- ],
671
- name: "getFlow",
672
- outputs: [
673
- {
674
- internalType: "uint256",
675
- name: "timestamp",
676
- type: "uint256",
677
- },
678
- {
679
- internalType: "int96",
680
- name: "flowRate",
681
- type: "int96",
682
- },
683
- {
684
- internalType: "uint256",
685
- name: "deposit",
686
- type: "uint256",
687
- },
688
- {
689
- internalType: "uint256",
690
- name: "owedDeposit",
691
- type: "uint256",
692
- },
693
- ],
694
- stateMutability: "view",
695
- type: "function",
696
- },
697
- {
698
- inputs: [
699
- {
700
- internalType: "contract ISuperfluidToken",
701
- name: "token",
702
- type: "address",
703
- },
704
- {
705
- internalType: "bytes32",
706
- name: "agreementId",
707
- type: "bytes32",
708
- },
709
- ],
710
- name: "getFlowByID",
711
- outputs: [
712
- {
713
- internalType: "uint256",
714
- name: "timestamp",
715
- type: "uint256",
716
- },
717
- {
718
- internalType: "int96",
719
- name: "flowRate",
720
- type: "int96",
721
- },
722
- {
723
- internalType: "uint256",
724
- name: "deposit",
725
- type: "uint256",
726
- },
727
- {
728
- internalType: "uint256",
729
- name: "owedDeposit",
730
- type: "uint256",
731
- },
732
- ],
733
- stateMutability: "view",
734
- type: "function",
735
- },
736
- {
737
- inputs: [
738
- {
739
- internalType: "contract ISuperfluidToken",
740
- name: "token",
741
- type: "address",
742
- },
743
- {
744
- internalType: "address",
745
- name: "account",
746
- type: "address",
747
- },
748
- ],
749
- name: "getAccountFlowInfo",
750
- outputs: [
751
- {
752
- internalType: "uint256",
753
- name: "timestamp",
754
- type: "uint256",
755
- },
756
- {
757
- internalType: "int96",
758
- name: "flowRate",
759
- type: "int96",
760
- },
761
- {
762
- internalType: "uint256",
763
- name: "deposit",
764
- type: "uint256",
765
- },
766
- {
767
- internalType: "uint256",
768
- name: "owedDeposit",
769
- type: "uint256",
770
- },
771
- ],
772
- stateMutability: "view",
773
- type: "function",
774
- },
775
- {
776
- inputs: [
777
- {
778
- internalType: "contract ISuperfluidToken",
779
- name: "token",
780
- type: "address",
781
- },
782
- {
783
- internalType: "address",
784
- name: "account",
785
- type: "address",
786
- },
787
- ],
788
- name: "getNetFlow",
789
- outputs: [
790
- {
791
- internalType: "int96",
792
- name: "flowRate",
793
- type: "int96",
794
- },
795
- ],
796
- stateMutability: "view",
797
- type: "function",
798
- },
799
- {
800
- inputs: [
801
- {
802
- internalType: "contract ISuperfluidToken",
803
- name: "token",
804
- type: "address",
805
- },
806
- {
807
- internalType: "address",
808
- name: "sender",
809
- type: "address",
810
- },
811
- {
812
- internalType: "address",
813
- name: "receiver",
814
- type: "address",
815
- },
816
- {
817
- internalType: "bytes",
818
- name: "ctx",
819
- type: "bytes",
820
- },
821
- ],
822
- name: "deleteFlow",
823
- outputs: [
824
- {
825
- internalType: "bytes",
826
- name: "newCtx",
827
- type: "bytes",
828
- },
829
- ],
830
- stateMutability: "nonpayable",
831
- type: "function",
832
- },
833
- {
834
- inputs: [
835
- {
836
- internalType: "contract ISuperfluidToken",
837
- name: "token",
838
- type: "address",
839
- },
840
- {
841
- internalType: "address",
842
- name: "sender",
843
- type: "address",
844
- },
845
- {
846
- internalType: "address",
847
- name: "receiver",
848
- type: "address",
849
- },
850
- {
851
- internalType: "bytes",
852
- name: "ctx",
853
- type: "bytes",
854
- },
855
- ],
856
- name: "deleteFlowByOperator",
857
- outputs: [
858
- {
859
- internalType: "bytes",
860
- name: "newCtx",
861
- type: "bytes",
862
- },
863
- ],
864
- stateMutability: "nonpayable",
865
- type: "function",
866
- },
867
- ];
868
- class IConstantFlowAgreementV1__factory {
869
- static createInterface() {
870
- return new ethers_1.utils.Interface(_abi);
871
- }
872
- static connect(address, signerOrProvider) {
873
- return new ethers_1.Contract(address, _abi, signerOrProvider);
874
- }
875
- }
876
- exports.IConstantFlowAgreementV1__factory = IConstantFlowAgreementV1__factory;
877
- IConstantFlowAgreementV1__factory.abi = _abi;
878
- //# sourceMappingURL=IConstantFlowAgreementV1__factory.js.map