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