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